:root {
  --page: #f3f5f2;
  --surface: #ffffff;
  --surface-soft: #f7f9f5;
  --surface-muted: #eef2eb;
  --ink: #29312d;
  --ink-soft: #5f6a65;
  --muted: #88928d;
  --line: #e5eae3;
  --line-strong: #d8dfd5;
  --green: #6caa0f;
  --green-deep: #416d08;
  --green-soft: #edf6df;
  --green-wash: #f5faed;
  --accent-warm: #c68a35;
  --shadow-sm: 0 2px 8px rgba(35, 51, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(32, 54, 40, 0.09);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1140px;
  --header-height: 66px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 10%, rgba(108, 170, 15, 0.045), transparent 24rem),
    var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

::selection {
  background: rgba(108, 170, 15, 0.24);
}

:focus-visible {
  outline: 3px solid rgba(108, 170, 15, 0.38);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  flex: 0 0 auto;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 1px rgba(26, 40, 31, 0.06),
    0 6px 24px rgba(26, 40, 31, 0.055);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow:
    0 1px 2px rgba(26, 40, 31, 0.08),
    0 10px 30px rgba(26, 40, 31, 0.08);
}

.header-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 44px;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px 9px 9px 3px;
  background: linear-gradient(145deg, #8ccb2d 0%, var(--green) 52%, #4c820b 100%);
  box-shadow: 0 6px 14px rgba(108, 170, 15, 0.2);
}

.brand-mark::before {
  position: absolute;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 50% 12%;
  transform: rotate(-14deg);
}

.brand-mark i {
  position: absolute;
  right: 5px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7f9e8;
}

.brand-name {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-left: 26px;
}

.nav-list {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: #727c77;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 13px;
  bottom: 9px;
  left: 13px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--green-deep);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  flex: 0 0 238px;
  height: 36px;
  margin-left: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f3f5f1;
  transition:
    flex-basis 220ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.header-search:focus-within {
  flex-basis: 280px;
  border-color: rgba(108, 170, 15, 0.36);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 170, 15, 0.08);
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 4px 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.header-search input::placeholder {
  color: #9ba39f;
}

.header-search button {
  display: grid;
  width: 38px;
  height: 100%;
  flex: 0 0 38px;
  place-items: center;
  background: transparent;
  color: #6f7a74;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.header-search button:hover {
  color: var(--green-deep);
  transform: translateX(1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--ink);
}

.nav-toggle > span {
  grid-area: 1 / 1;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: inline-flex;
}

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

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 388px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #e5ebdf;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(112deg, #fbfcf8 0%, #f3f8eb 55%, #eef3e3 100%);
  box-shadow: var(--shadow-sm);
}

.hero-banner::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 470px;
  height: 470px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 182, 65, 0.13), transparent 68%);
}

.hero-banner::after {
  position: absolute;
  bottom: -120px;
  left: 32%;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(100, 126, 85, 0.12);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: 48px 18px 42px 50px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0;
  color: #263028;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.hero-copy h1 em {
  color: var(--green-deep);
  font-style: normal;
}

.hero-description {
  max-width: 540px;
  margin: 18px 0 0;
  color: #657068;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(88, 138, 13, 0.2);
}

.button-primary:hover {
  background: #5a9309;
  box-shadow: 0 10px 28px rgba(88, 138, 13, 0.26);
}

.button-ghost {
  border-color: #dce3d7;
  background: rgba(255, 255, 255, 0.7);
  color: #465249;
}

.button-ghost:hover {
  border-color: #bdcbb4;
  background: #fff;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  border-color: #dae1d6;
  background: #fff;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 76px;
}

.hero-stats dt {
  color: #8a948e;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #344039;
  font-size: 24px;
  font-weight: 720;
  line-height: 1.2;
}

.hero-stats dd span {
  margin-left: 2px;
  color: var(--green);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 388px;
}

.hero-halo {
  position: absolute;
  top: 50%;
  left: 49%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(103, 152, 53, 0.13);
  filter: blur(2px);
  transform: translate(-50%, -50%);
}

.hero-poster {
  position: absolute;
  top: 50%;
  width: 174px;
  color: #fff;
  transform-origin: 50% 100%;
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.hero-poster:hover {
  z-index: 8;
  filter: brightness(1.04);
}

.hero-poster--1 {
  left: 10%;
  z-index: 2;
  transform: translateY(-48%) rotate(-7deg);
}

.hero-poster--2 {
  left: 38%;
  z-index: 4;
  transform: translateY(-52%) rotate(1deg);
}

.hero-poster--3 {
  right: 7%;
  z-index: 3;
  transform: translateY(-47%) rotate(8deg);
}

.hero-poster--1:hover {
  transform: translateY(-51%) rotate(-9deg);
}

.hero-poster--2:hover {
  transform: translateY(-55%) rotate(1deg);
}

.hero-poster--3:hover {
  transform: translateY(-50%) rotate(10deg);
}

.hero-poster-title {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.93);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-art {
  --poster-a: #123f3b;
  --poster-b: #5ca865;
  --poster-ink: #e7f7d8;
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background:
    radial-gradient(circle at 82% 17%, color-mix(in srgb, var(--poster-ink) 72%, transparent) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 82%, transparent 0 44px, rgba(255, 255, 255, 0.16) 45px 46px, transparent 47px),
    linear-gradient(148deg, color-mix(in srgb, var(--poster-b) 25%, white) 0%, var(--poster-b) 34%, var(--poster-a) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  isolation: isolate;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.poster-art::before {
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -34%;
  width: 90%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.poster-art::after {
  position: absolute;
  z-index: -1;
  right: -22%;
  bottom: 7%;
  width: 80%;
  height: 16%;
  content: "";
  border-radius: 999px;
  background: var(--poster-ink);
  opacity: 0.26;
  transform: rotate(-34deg);
}

.poster-art--compact {
  box-shadow: 0 18px 40px rgba(22, 34, 25, 0.24);
}

.poster-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 360ms ease;
}

.poster-art.has-image:hover .poster-image {
  transform: scale(1.025);
}

.poster-shade {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(12, 21, 16, 0.5), transparent);
  pointer-events: none;
}

.poster-art.has-image .poster-title,
.poster-art.has-image .poster-meta {
  display: none;
}

.poster-art.has-image .poster-label {
  z-index: 3;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(17, 29, 21, 0.62);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.poster-art.image-error {
  background:
    radial-gradient(circle at 82% 17%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    linear-gradient(148deg, var(--poster-b), var(--poster-a));
}

.poster-art.image-error .poster-title {
  display: flex;
}

.poster-art.image-error .poster-meta {
  display: inline;
}

.poster-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.poster-orbit--one {
  top: 17%;
  right: 16%;
  width: 36%;
  aspect-ratio: 1;
}

.poster-orbit--two {
  top: 28%;
  right: 27%;
  width: 14%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
}

.poster-label {
  position: absolute;
  top: 12px;
  left: 13px;
  max-width: calc(100% - 26px);
  overflow: hidden;
  color: var(--poster-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.poster-title {
  position: absolute;
  right: 13px;
  bottom: 37px;
  left: 13px;
  display: flex;
  color: var(--poster-ink);
  flex-direction: column;
  font-size: clamp(16px, 1.7vw, 23px);
  font-weight: 780;
  letter-spacing: 0.02em;
  line-height: 1.22;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.poster-title span:empty {
  display: none;
}

.poster-meta {
  position: absolute;
  right: 13px;
  bottom: 13px;
  color: color-mix(in srgb, var(--poster-ink) 72%, transparent);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.section-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.content-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-heading {
  display: flex;
  min-height: 58px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-heading > div {
  position: relative;
  min-width: 0;
  padding-left: 19px;
}

.section-heading > div::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 26px;
  content: "";
  border-radius: 4px;
  background: var(--green);
  transform: translateY(-50%);
}

.section-heading h2 {
  margin: 0;
  color: #2e3732;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7d8781;
  font-size: 13px;
  white-space: nowrap;
  transition:
    color 160ms ease,
    gap 160ms ease;
}

.section-action span {
  color: #9ba39e;
}

.section-action:hover {
  gap: 10px;
  color: var(--green-deep);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px 20px;
}

.media-card {
  min-width: 0;
}

.media-card.reveal-ready {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.media-card.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.media-card-link {
  display: block;
  min-width: 0;
}

.poster-wrap {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.media-card:hover .poster-wrap,
.media-card:focus-within .poster-wrap {
  transform: translateY(-4px);
}

.media-card:hover .poster-art,
.media-card:focus-within .poster-art {
  box-shadow: 0 12px 26px rgba(27, 44, 31, 0.2);
}

.score-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(24, 37, 28, 0.75);
  color: #f4f8df;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  backdrop-filter: blur(5px);
}

.poster-hover {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  background: rgba(24, 40, 28, 0.78);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(6px);
}

.fallback-label {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.86);
  color: #5c665f;
  font-size: 9px;
  font-weight: 650;
  backdrop-filter: blur(4px);
}

.media-card--fallback .poster-art {
  filter: saturate(0.5);
}

.media-card:hover .poster-hover,
.media-card:focus-within .poster-hover {
  opacity: 1;
  transform: translateY(0);
}

.media-card-copy {
  padding-top: 11px;
}

.media-card-copy h3 {
  display: -webkit-box;
  min-height: 43px;
  margin: 0;
  overflow: hidden;
  color: #343d38;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.45;
  transition: color 160ms ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-card:hover .media-card-copy h3 {
  color: var(--green-deep);
}

.media-card-copy p {
  display: flex;
  margin: 6px 0 0;
  overflow: hidden;
  color: #909894;
  font-size: 11px;
  gap: 7px;
  white-space: nowrap;
}

.media-card-copy p span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-intro {
  margin: 24px 0 16px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(110deg, #fff 0%, #f8faf5 100%);
  box-shadow: var(--shadow-sm);
}

.compact-intro {
  min-height: 156px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  color: #969f9a;
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--green-deep);
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.page-intro p:not(.eyebrow) {
  margin: 9px 0 0;
  color: #758078;
}

.page-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.sort-form {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.sort-form label {
  color: #7f8983;
  font-size: 12px;
}

.sort-form select {
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid #dce2d8;
  border-radius: 8px;
  background: #fff;
  color: #4e5952;
  font-size: 13px;
}

.category-panel {
  padding-bottom: 28px;
}

.pagination {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.page-link,
.page-direction {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e6df;
  border-radius: 8px;
  background: #fff;
  color: #707a74;
  font-size: 12px;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.page-link:hover,
.page-direction:hover {
  border-color: #bad0a5;
  color: var(--green-deep);
}

.page-link.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.page-direction.is-disabled {
  cursor: default;
  opacity: 0.45;
}

.page-gap {
  padding: 0 5px;
  color: #9ba39f;
}

.search-summary {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: #6d7771;
}

.empty-state {
  padding: 70px 30px;
  text-align: center;
}

.empty-state strong {
  color: #465249;
  font-size: 20px;
}

.empty-state p {
  color: #8b948f;
}

.not-found {
  margin-top: 24px;
}

.error-code {
  display: block;
  color: var(--green);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.not-found h1 {
  margin: 12px 0 0;
}

.not-found .button {
  margin-top: 16px;
}

.ranking-panel {
  margin-top: 0;
}

.ranking-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  list-style: none;
}

.ranking-item {
  border-bottom: 1px solid var(--line);
}

.ranking-item > a {
  display: grid;
  min-height: 118px;
  padding: 14px 0;
  align-items: center;
  grid-template-columns: 44px 54px minmax(0, 1fr) 46px;
  gap: 14px;
}

.ranking-number {
  color: #a0aaa4;
  font-size: 14px;
  font-weight: 730;
  letter-spacing: 0.08em;
}

.ranking-item:nth-child(-n + 3) .ranking-number {
  color: var(--green-deep);
  font-size: 19px;
}

.ranking-poster {
  display: block;
  width: 54px;
}

.ranking-copy {
  min-width: 0;
}

.ranking-copy strong,
.ranking-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy strong {
  color: #303934;
  font-size: 15px;
}

.ranking-copy small {
  margin-top: 5px;
  color: #939c97;
  font-size: 11px;
}

.ranking-score {
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 780;
  text-align: right;
}

.people-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.person-card a {
  display: flex;
  min-height: 154px;
  padding: 20px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(155deg, #fff, #f8faf6);
  flex-direction: column;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.person-card a:hover {
  border-color: #c9d8bf;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.person-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50% 50% 50% 16%;
  background:
    linear-gradient(145deg, rgba(113, 172, 30, 0.2), rgba(42, 74, 43, 0.09)),
    #f3f8eb;
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 760;
}

.person-avatar--large {
  width: 104px;
  height: 104px;
  margin: 0;
  border-radius: 28% 28% 28% 10%;
  font-size: 38px;
}

.person-card strong {
  overflow: hidden;
  max-width: 100%;
  color: #354039;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-card small {
  margin-top: 4px;
  color: #909994;
  font-size: 11px;
}

.person-hero {
  margin-top: 24px;
  padding: 28px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, #fff 0%, #f6f9f1 100%);
  box-shadow: var(--shadow-sm);
}

.person-hero-main {
  display: flex;
  align-items: center;
  gap: 28px;
}

.person-hero-main h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.person-hero-main p:not(.eyebrow) {
  margin: 7px 0 12px;
  color: #768078;
}

.pill {
  display: inline-flex;
  min-height: 26px;
  padding: 3px 10px;
  align-items: center;
  border: 1px solid #dfe8d8;
  border-radius: 999px;
  background: var(--green-wash);
  color: var(--green-deep);
  font-size: 11px;
}

.detail-breadcrumbs {
  margin-top: 24px;
}

.detail-hero {
  display: grid;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 96% 8%, rgba(108, 170, 15, 0.08), transparent 20rem),
    #fff;
  box-shadow: var(--shadow-sm);
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 38px;
}

.detail-poster {
  width: 238px;
}

.detail-poster .poster-title {
  font-size: 28px;
}

.detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.pill-muted {
  border-color: #e7eae5;
  background: #f7f8f6;
  color: #77817b;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 790;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.detail-subline {
  display: flex;
  margin-top: 11px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #77817b;
  font-size: 13px;
}

.detail-score {
  display: inline-grid;
  min-width: 37px;
  height: 27px;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.detail-summary {
  max-width: 760px;
  margin: 18px 0;
  color: #59645d;
  font-size: 15px;
  line-height: 1.85;
}

.detail-meta {
  display: grid;
  margin: 2px 0 0;
  gap: 8px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-meta div {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}

.detail-meta dt {
  color: #929b96;
  font-size: 12px;
}

.detail-meta dd {
  margin: 0;
  overflow: hidden;
  color: #4f5a53;
  font-size: 12px;
  text-overflow: ellipsis;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.story-panel {
  display: grid;
  margin-top: 20px;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: 38px;
}

.story-copy h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.story-copy > p:not(.eyebrow) {
  margin: 0;
  color: #566159;
  font-size: 15px;
  line-height: 2;
  white-space: pre-line;
}

.alias-line {
  margin-top: 20px !important;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #929b96 !important;
  font-size: 12px !important;
}

.cast-panel {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.cast-panel h3 {
  margin: 0 0 15px;
  font-size: 17px;
}

.cast-list {
  display: grid;
  max-height: 420px;
  margin: 0;
  padding: 0 8px 0 0;
  overflow: auto;
  gap: 0;
  list-style: none;
  scrollbar-color: #cbd4c5 transparent;
  scrollbar-width: thin;
}

.cast-list li {
  display: flex;
  min-height: 42px;
  padding: 8px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f2ee;
  gap: 12px;
}

.cast-list span {
  color: #445048;
  font-size: 13px;
}

.cast-list small {
  max-width: 48%;
  overflow: hidden;
  color: #9aa29e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid #dde4da;
  background: #fbfcfa;
}

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

.footer-inner {
  display: grid;
  padding: 38px 0 30px;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 64px;
}

.brand--footer {
  width: fit-content;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: #818b85;
  font-size: 13px;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.footer-nav h2 {
  margin: 0 0 10px;
  color: #435048;
  font-size: 13px;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li + li {
  margin-top: 5px;
}

.footer-nav a {
  color: #8c9690;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--green-deep);
}

.footer-bottom {
  display: flex;
  padding: 17px 0 22px;
  justify-content: space-between;
  border-top: 1px solid #e8ece5;
  color: #a1a9a4;
  font-size: 11px;
  gap: 24px;
  flex-wrap: wrap;
}

.last-updated {
  color: #7b8880;
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dce4d7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #526058;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-backdrop {
  position: fixed;
  z-index: 29;
  inset: var(--header-height) 0 0;
  background: rgba(23, 35, 27, 0.32);
  backdrop-filter: blur(2px);
}

.mobile-backdrop[hidden] {
  display: none;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: lift-in 560ms both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 120ms;
  }

  .hero-copy > :nth-child(4),
  .hero-copy > :nth-child(5) {
    animation-delay: 170ms;
  }

  .hero-poster {
    animation: lift-in 620ms both;
  }

  .hero-poster--2 {
    animation-delay: 80ms;
  }

  .hero-poster--3 {
    animation-delay: 150ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1200px) {
  .media-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hero-copy {
    padding-left: 42px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: block;
    height: auto;
    max-height: calc(100vh - var(--header-height) - 20px);
    margin: 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      visibility 160ms ease,
      transform 160ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    display: block;
    height: auto;
  }

  .nav-link {
    height: 48px;
    padding: 0 14px;
    border-radius: 8px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: var(--green-wash);
  }

  .header-search,
  .header-search:focus-within {
    width: 100%;
    height: 42px;
    margin: 10px 0 0;
    flex-basis: auto;
  }

  .hero-banner {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.8fr);
  }

  .hero-poster {
    width: 150px;
  }

  .hero-poster--1 {
    left: 1%;
  }

  .hero-poster--2 {
    left: 32%;
  }

  .hero-poster--3 {
    right: 0;
  }

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

@media (max-width: 820px) {
  .header-inner,
  .page-shell,
  .footer-inner,
  .footer-bottom {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero-banner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 38px 32px 8px;
  }

  .hero-description {
    max-width: 620px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-poster {
    width: 150px;
  }

  .hero-poster--1 {
    left: 18%;
  }

  .hero-poster--2 {
    left: 40%;
  }

  .hero-poster--3 {
    right: 16%;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-hero {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
  }

  .detail-poster {
    width: 180px;
  }

  .detail-poster .poster-title {
    font-size: 22px;
  }

  .story-panel {
    grid-template-columns: 1fr;
  }

  .cast-panel {
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

@media (max-width: 620px) {
  :root {
    --header-height: 62px;
  }

  .header-inner,
  .page-shell,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 24px);
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-banner {
    margin-top: 12px;
    border-radius: 14px;
  }

  .hero-copy {
    padding: 30px 22px 4px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    padding: 0 14px;
  }

  .hero-stats {
    gap: 18px;
    margin-top: 26px;
    justify-content: space-between;
  }

  .hero-stats dd {
    font-size: 20px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-poster {
    width: 118px;
  }

  .hero-poster--1 {
    left: 11%;
  }

  .hero-poster--2 {
    left: 37%;
  }

  .hero-poster--3 {
    right: 9%;
  }

  .hero-poster-title {
    display: none;
  }

  .content-panel {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .section-stack {
    gap: 16px;
    margin-top: 16px;
  }

  .section-heading {
    min-height: 50px;
    margin-bottom: 14px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .section-heading > div {
    padding-left: 14px;
  }

  .section-heading > div::before {
    width: 3px;
    height: 22px;
  }

  .section-action {
    font-size: 11px;
  }

  .section-action span {
    display: none;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 13px;
  }

  .poster-title {
    font-size: 18px;
  }

  .media-card-copy h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .poster-hover {
    display: none;
  }

  .page-intro {
    margin: 12px 0;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .compact-intro {
    min-height: auto;
  }

  .page-intro-row {
    display: block;
  }

  .sort-form {
    margin-top: 18px;
    justify-content: flex-start;
  }

  .detail-breadcrumbs {
    margin-top: 14px;
  }

  .detail-hero {
    display: block;
    padding: 18px;
  }

  .detail-poster {
    width: min(72%, 220px);
    margin: 0 auto 24px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-actions .button {
    flex: 1;
  }

  .story-panel {
    margin-top: 14px;
  }

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

  .person-card a {
    min-height: 138px;
  }

  .person-hero {
    margin-top: 12px;
    padding: 22px 18px;
  }

  .person-hero-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .person-avatar--large {
    width: 76px;
    height: 76px;
    font-size: 28px;
  }

  .footer-inner {
    padding: 28px 0 24px;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 370px) {
  .hero-copy h1 {
    font-size: 30px;
  }

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

  .poster-title {
    font-size: 16px;
  }

  .media-card-copy p {
    font-size: 10px;
  }
}
