/* Generic content base template set */
:root {
  --neo-bg: #fffdf5;
  --neo-ink: #000000;
  --neo-red: #ff6b6b;
  --neo-yellow: #ffd93d;
  --neo-violet: #c4b5fd;
  --neo-white: #ffffff;
  --neo-shadow-sm: 4px 4px 0 0 #000000;
  --neo-shadow-md: 8px 8px 0 0 #000000;
  --neo-shadow-lg: 12px 12px 0 0 #000000;
  --neo-max: 1240px;
  --neo-font: "Space Grotesk", "Arial Black", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.ait-page {
  margin: 0;
  color: var(--neo-ink);
  background-color: var(--neo-bg);
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  font-family: var(--neo-font);
  font-weight: 700;
  line-height: 1.55;
}

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

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

.ait-page button,
.ait-page input {
  font: inherit;
}

.neo-wrap {
  width: min(100% - 32px, var(--neo-max));
  margin: 0 auto;
}

.neo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--neo-yellow);
  border-bottom: 4px solid var(--neo-ink);
}

.neo-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.neo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.neo-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  background: var(--neo-red);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
}

.neo-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neo-brand-mark span {
  font-size: 22px;
  font-weight: 900;
}

.neo-brand-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}

.neo-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  scrollbar-width: none;
}

.neo-nav::-webkit-scrollbar {
  display: none;
}

.neo-nav a,
.neo-mobile-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--neo-white);
  border: 3px solid var(--neo-ink);
  box-shadow: 3px 3px 0 0 #000000;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 120ms linear, box-shadow 120ms linear, background 120ms linear;
}

.neo-nav a:hover,
.neo-nav a.is-active,
.neo-mobile-menu a:hover {
  background: var(--neo-red);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 #000000;
}

.neo-search {
  display: flex;
  align-items: stretch;
}

.neo-search input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  color: var(--neo-ink);
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  border-right: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 900;
  outline: none;
}

.neo-search input:focus {
  background: var(--neo-violet);
}

.neo-search button,
.neo-button,
.neo-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--neo-ink);
  background: var(--neo-red);
  border: 4px solid var(--neo-ink);
  border-radius: 0;
  box-shadow: var(--neo-shadow-sm);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 100ms linear, box-shadow 100ms linear, background 100ms linear;
}

.neo-search button:active,
.neo-button:active,
.neo-menu-toggle:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.neo-button:hover,
.neo-search button:hover,
.neo-menu-toggle:hover {
  background: var(--neo-yellow);
}

.neo-button-secondary {
  background: var(--neo-violet);
}

.neo-button-small {
  min-height: 42px;
  padding: 0 14px;
}

.neo-menu-toggle {
  display: none;
  background: var(--neo-white);
}

.neo-mobile-menu {
  display: none;
  border-top: 4px solid var(--neo-ink);
  padding: 12px 16px 16px;
  background: var(--neo-violet);
}

.neo-mobile-menu.is-open {
  display: grid;
  gap: 10px;
}

.neo-hero,
.neo-page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--neo-violet);
  border-bottom: 4px solid var(--neo-ink);
}

.neo-chaos::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(#000000 2px, transparent 2.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.neo-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.neo-hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.neo-hero-copy,
.neo-hero-panel,
.neo-info-card,
.neo-filter-panel,
.neo-empty,
.neo-notice {
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-lg);
}

.neo-hero-copy {
  padding: clamp(28px, 5vw, 56px);
}

.neo-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px;
  background: var(--neo-yellow);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.neo-hero h1,
.neo-page-hero h1,
.neo-detail-copy h1,
.neo-play-main h1,
.neo-article h1,
.neo-info h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.neo-hero-sub,
.neo-page-hero p,
.neo-summary {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 900;
  line-height: 1.35;
}

.neo-hero-search {
  width: min(100%, 680px);
  margin-top: 28px;
}

.neo-hero-search input {
  height: 62px;
  font-size: 18px;
}

.neo-hero-search button {
  min-height: 62px;
  padding: 0 26px;
}

.neo-hero-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  background: var(--neo-yellow);
  transform: rotate(1deg);
}

.neo-sticker {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.neo-sticker-red {
  background: var(--neo-red);
}

.neo-sticker-yellow {
  background: var(--neo-yellow);
}

.neo-channel,
.neo-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  color: var(--neo-ink);
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
  transition: transform 160ms linear, box-shadow 160ms linear, background 160ms linear;
}

.neo-channel:hover,
.neo-side-item:hover {
  background: var(--neo-red);
  transform: translate(-2px, -2px);
  box-shadow: var(--neo-shadow-md);
}

.neo-channel span,
.neo-side-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.neo-channel strong {
  flex: 0 0 auto;
  font-size: 12px;
  text-transform: uppercase;
}

.neo-section {
  padding: 48px 0;
}

.neo-section-tight {
  padding: 28px 0;
}

.neo-section-yellow {
  background: var(--neo-yellow);
  border-top: 4px solid var(--neo-ink);
  border-bottom: 4px solid var(--neo-ink);
}

.neo-section-violet {
  background: var(--neo-violet);
  border-top: 4px solid var(--neo-ink);
  border-bottom: 4px solid var(--neo-ink);
}

.neo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.neo-section-head h2,
.neo-faq h2,
.neo-play-side h2,
.neo-episodes h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.neo-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 24px;
}

.neo-poster-grid-large {
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
}

.neo-card {
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-md);
  transition: transform 180ms linear, box-shadow 180ms linear;
}

.neo-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--neo-shadow-lg);
}

.neo-poster-card a {
  display: block;
  height: 100%;
}

.neo-poster-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(#000000 1.5px, transparent 1.5px),
    var(--neo-violet);
  background-size: 18px 18px;
  border-bottom: 4px solid var(--neo-ink);
}

.neo-poster-media-large {
  min-height: 420px;
  border-bottom: 0;
}

.neo-poster-media img,
.neo-article-cover img,
.neo-article-section img,
.neo-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neo-poster-media:empty::after {
  content: "NO IMAGE";
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  border: 4px solid var(--neo-ink);
  background: var(--neo-yellow);
  font-size: 18px;
  font-weight: 900;
}

.neo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  background: var(--neo-red);
  border: 3px solid var(--neo-ink);
  box-shadow: 3px 3px 0 0 #000000;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.neo-card-body {
  padding: 14px;
}

.neo-card-body h3 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.neo-card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--neo-ink);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.neo-page-hero {
  background: var(--neo-red);
}

.neo-page-hero p {
  max-width: 820px;
}

.neo-filter-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  margin-bottom: 32px;
  background: var(--neo-white);
}

.neo-filter-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.neo-filter-row strong {
  padding-top: 6px;
  font-size: 14px;
  font-weight: 900;
}

.neo-filter-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neo-filter-option {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 5px 10px;
  background: var(--neo-yellow);
  border: 3px solid var(--neo-ink);
  box-shadow: 3px 3px 0 0 #000000;
  font-size: 12px;
  font-weight: 900;
}

.neo-filter-option.is-active,
.neo-filter-option:hover {
  background: var(--neo-red);
}

.neo-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.neo-home-channel-grid {
  margin-bottom: 0;
}

.neo-channel-card {
  min-height: 96px;
  align-items: flex-start;
  flex-direction: column;
}

.neo-action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.neo-resource-grid,
.neo-guide-grid,
.neo-trust-grid {
  display: grid;
  gap: 20px;
}

.neo-resource-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.neo-resource-card a {
  display: grid;
  height: 100%;
}

.neo-resource-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 4px solid var(--neo-ink);
  background: var(--neo-violet);
}

.neo-resource-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neo-guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.neo-guide-card {
  background: var(--neo-white);
}

.neo-guide-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1;
}

.neo-guide-card p,
.neo-guide-card li {
  font-size: 16px;
  line-height: 1.6;
}

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

.neo-trust-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  align-content: center;
  padding: 20px;
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-md);
  text-align: center;
}

.neo-trust-card strong {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.9;
}

.neo-trust-card span {
  font-size: 14px;
}

.neo-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.neo-pagination a,
.neo-pagination span,
.neo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
  font-weight: 900;
}

.neo-detail-grid,
.neo-play-grid {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.neo-detail-poster {
  position: sticky;
  top: 100px;
}

.neo-detail-copy,
.neo-play-main,
.neo-play-side,
.neo-article,
.neo-info {
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-lg);
  padding: clamp(24px, 4vw, 42px);
}

.neo-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.neo-info-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.neo-info-card {
  padding: 20px;
  box-shadow: var(--neo-shadow-sm);
}

.neo-info-card h2,
.neo-article-body h2,
.neo-info-body h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.neo-info-card p,
.neo-info-card li,
.neo-article-body p,
.neo-article-body li,
.neo-info-body p,
.neo-info-body li {
  font-size: 17px;
  line-height: 1.65;
}

.neo-player {
  margin: 24px 0;
}

.neo-player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--neo-ink);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-md);
}

.neo-player-stage.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62)),
    url("/seo-assets/player/website_large.jpg") center / cover no-repeat,
    var(--neo-ink);
  pointer-events: none;
}

.neo-player-stage video,
.neo-player-stage iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--neo-ink);
}

.neo-player-stage video {
  object-fit: contain;
}

.neo-player-stage.is-loading video,
.neo-player-stage.is-loading iframe {
  background: transparent;
}

.neo-player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: var(--neo-white);
  text-align: center;
}

.neo-player-state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 24px;
  color: var(--neo-white);
  text-align: center;
  background: rgba(10, 10, 10, 0.76);
}

.neo-player-state-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border: 5px solid currentColor;
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.neo-player-state-icon::before,
.neo-player-state-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  width: 5px;
  height: 34px;
  background: currentColor;
  transform: translateX(-50%);
}

.neo-player-state-icon::after {
  top: 56px;
  height: 6px;
  border-radius: 999px;
}

.neo-player-state.is-error {
  color: #ffef5a;
}

.neo-player-controls {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
}

.neo-control-group {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: start;
}

.neo-control-label {
  padding-top: 10px;
  font-size: 13px;
  font-weight: 900;
}

.neo-source-row,
.neo-episode-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.neo-play-source,
.neo-episode {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--neo-ink);
  background: var(--neo-yellow);
  border: 3px solid var(--neo-ink);
  box-shadow: 3px 3px 0 0 #000000;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.neo-play-source.is-active,
.neo-episode.is-active,
.neo-play-source:hover,
.neo-episode:hover {
  background: var(--neo-red);
}

@media (max-width: 640px) {
  .neo-control-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .neo-control-label {
    padding-top: 0;
  }
}

.neo-notice {
  margin-top: 24px;
  padding: 16px;
  background: var(--neo-yellow);
  box-shadow: var(--neo-shadow-sm);
}

.neo-play-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.neo-side-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.neo-side-item {
  justify-content: flex-start;
}

.neo-side-item img {
  width: 54px;
  height: 72px;
  flex: 0 0 54px;
  border: 3px solid var(--neo-ink);
}

.neo-article,
.neo-info {
  margin-top: 48px;
  margin-bottom: 48px;
  max-width: 980px;
}

.neo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--neo-muted);
  font-size: 14px;
  line-height: 1.6;
}

.neo-breadcrumb a {
  color: var(--neo-ink);
  font-weight: 900;
  text-decoration: none;
}

.neo-breadcrumb span[aria-current="page"] {
  overflow-wrap: anywhere;
}

.neo-meta {
  margin-top: 16px;
  padding: 12px;
  background: var(--neo-yellow);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
}

.neo-article-cover,
.neo-article-section figure {
  margin: 28px 0;
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-md);
  background: var(--neo-white);
}

.neo-article-cover img,
.neo-article-section img {
  max-height: 520px;
  object-fit: cover;
}

.neo-article-cover figcaption,
.neo-article-section figcaption {
  padding: 12px;
  border-top: 4px solid var(--neo-ink);
  background: var(--neo-yellow);
  font-size: 14px;
}

.neo-article-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 4px solid var(--neo-ink);
}

.neo-faq {
  margin-top: 44px;
}

.neo-faq details {
  margin-top: 14px;
  background: var(--neo-white);
  border: 4px solid var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
}

.neo-faq summary {
  padding: 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.neo-faq p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 16px;
}

.neo-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 4px solid var(--neo-ink);
}

.neo-article-tags span,
.neo-article-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 3px solid var(--neo-ink);
  background: var(--neo-white);
  color: var(--neo-ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--neo-shadow-sm);
}

.neo-article-tags > span:first-child {
  background: var(--neo-yellow);
}

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

.neo-article-nav-card,
.neo-related-card {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  border: 4px solid var(--neo-ink);
  background: var(--neo-white);
  color: var(--neo-ink);
  text-decoration: none;
  box-shadow: var(--neo-shadow-sm);
}

.neo-article-nav-card span,
.neo-related-card span {
  color: var(--neo-muted);
  font-size: 14px;
  font-weight: 800;
}

.neo-article-nav-card strong,
.neo-related-card strong {
  font-size: 18px;
  line-height: 1.35;
}

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

.neo-info-body {
  margin-top: 28px;
}

.neo-info-body section,
.neo-info-body > h2,
.neo-info-body > p,
.neo-info-body > ul,
.neo-info-body > ol {
  margin-top: 18px;
}

.neo-footer {
  padding: 32px 0;
  color: var(--neo-white);
  background: var(--neo-ink);
  border-top: 4px solid var(--neo-ink);
}

.neo-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.neo-footer-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
}

.neo-footer-group {
  display: grid;
  gap: 8px;
}

.neo-footer-friend-title {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  color: var(--neo-ink);
  background: var(--neo-yellow);
  border: 2px solid var(--neo-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.neo-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.neo-footer a {
  padding: 6px 10px;
  color: var(--neo-white);
  border: 2px solid var(--neo-white);
}

.neo-footer a:hover {
  color: var(--neo-ink);
  background: var(--neo-white);
}

@media (max-width: 980px) {
  .neo-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .neo-nav,
  .neo-search-compact {
    display: none;
  }

  .neo-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .neo-hero-grid,
  .neo-detail-grid,
  .neo-play-grid,
  .neo-trust-grid {
    grid-template-columns: 1fr;
  }

  .neo-detail-poster {
    position: relative;
    top: auto;
  }

  .neo-footer-inner {
    grid-template-columns: 1fr;
  }

  .neo-footer-groups {
    justify-content: flex-start;
  }

  .neo-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .neo-wrap {
    width: min(100% - 20px, var(--neo-max));
  }

  .neo-header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .neo-brand-name {
    max-width: 132px;
    font-size: 16px;
  }

  .neo-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .neo-hero,
  .neo-page-hero,
  .neo-section {
    padding: 34px 0;
  }

  .neo-hero-copy,
  .neo-hero-panel,
  .neo-detail-copy,
  .neo-play-main,
  .neo-play-side,
  .neo-article,
  .neo-info {
    padding: 20px;
    box-shadow: var(--neo-shadow-md);
  }

  .neo-search {
    display: grid;
    gap: 10px;
  }

  .neo-search input {
    border-right: 4px solid var(--neo-ink);
  }

  .neo-article-nav,
  .neo-related-grid {
    grid-template-columns: 1fr;
  }

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

  .neo-filter-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
