:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--green-50), #ffffff 42%, #f8fafc);
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-600), var(--green-500), var(--emerald-500));
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.28);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 24px;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input {
  width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  transition: width 0.2s ease, background 0.2s ease;
}

.top-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.top-search input:focus {
  width: 240px;
  background: rgba(255, 255, 255, 0.24);
}

.top-search button,
.mobile-search button,
.menu-button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.top-search button {
  width: 38px;
  height: 38px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-search {
  flex-basis: 100%;
}

.mobile-search input {
  width: 100%;
  flex: 1;
}

.mobile-search button {
  padding: 10px 16px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #15803d 0%, #10b981 52%, #16a34a 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at 2px 2px, #ffffff 1px, transparent 0);
  background-size: 38px 38px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 610px;
  padding: 82px 0 118px;
}

.hero-slide {
  display: none;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 46px;
  animation: fadeUp 0.6s ease both;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-700);
  background: var(--green-100);
}

.hero-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags .tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-600), var(--emerald-500));
}

.hero-actions .btn.primary {
  color: var(--green-700);
  background: #ffffff;
}

.btn.ghost {
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
  color: var(--green-700);
  background: var(--green-100);
}

.btn.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 430px;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.16);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.55));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.5;
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.88), rgba(240, 253, 244, 0.92));
}

.section-white {
  background: #ffffff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  flex-shrink: 0;
  color: var(--green-700);
  font-weight: 800;
}

.category-grid,
.category-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card,
.category-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border-radius: 22px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.category-card::before,
.category-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, var(--green-500), var(--emerald-500));
  transition: opacity 0.25s ease;
}

.category-card:hover,
.category-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.category-card:hover::before,
.category-panel:hover::before {
  opacity: 1;
}

.category-card > *,
.category-panel > * {
  position: relative;
  z-index: 1;
}

.category-card span,
.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  background: var(--green-100);
}

.category-card strong,
.category-panel strong {
  font-size: 20px;
}

.category-card em,
.category-panel em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.category-card:hover em,
.category-panel:hover em {
  color: rgba(255, 255, 255, 0.88);
}

.panel-picks {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.category-panel:hover .panel-picks {
  color: rgba(255, 255, 255, 0.88);
}

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

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

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

.grid-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.cover-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #052e16;
}

.cover-wrap img,
.large-cover img,
.horizontal-cover img,
.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.grid-card:hover .cover-wrap img,
.large-card:hover .large-cover img,
.horizontal-card:hover .horizontal-cover img,
.rank-card:hover .rank-cover img {
  transform: scale(1.08);
}

.badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-600), var(--emerald-500));
  font-size: 12px;
  font-weight: 800;
}

.cover-wrap .badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-body strong {
  min-height: 44px;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta em,
.detail-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #4b5563;
  background: #f3f4f6;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 30px;
}

.large-card {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background: #052e16;
  box-shadow: var(--shadow);
}

.large-cover,
.large-overlay {
  position: absolute;
  inset: 0;
}

.large-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.large-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 12px;
  padding: 30px;
  color: #ffffff;
}

.large-content strong {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.large-content span:not(.badge),
.large-content em {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.7;
}

.horizontal-list {
  display: grid;
  gap: 16px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.horizontal-cover {
  overflow: hidden;
  height: 92px;
  border-radius: 14px;
  background: #052e16;
}

.horizontal-body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.horizontal-body strong,
.rank-body strong {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-body em,
.rank-body span,
.rank-body em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.horizontal-body span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: 54px 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-600), var(--emerald-500));
  font-weight: 900;
}

.rank-cover {
  overflow: hidden;
  height: 72px;
  border-radius: 14px;
  background: #052e16;
}

.rank-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-body em {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-meta {
  color: var(--green-700);
  font-weight: 900;
  white-space: nowrap;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(120deg, var(--green-600), var(--emerald-500));
  padding: 74px 0;
}

.ranking-hero {
  background: linear-gradient(120deg, #14532d, var(--green-600), var(--emerald-500));
}

.page-hero h1 {
  margin: 14px 0;
  font-size: clamp(38px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.search-filter {
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, 170px));
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: #f9fafb;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13);
}

.is-hidden {
  display: none !important;
}

.player-section {
  padding: 24px 0 32px;
  background: #050505;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.18), rgba(0, 0, 0, 0.58));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  background: #ffffff;
  font-size: 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
  font-size: 18px;
}

.player-shell.is-playing .play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-section {
  background: #f8fafc;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.detail-card,
.side-card {
  border-radius: 24px;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.detail-title-row h1 {
  margin: 16px 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.detail-meta {
  margin-bottom: 18px;
}

.tag-row {
  margin-bottom: 26px;
}

.prose-block {
  margin-top: 26px;
}

.prose-block h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.prose-block p {
  margin: 0 0 16px;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.review-block {
  padding: 22px;
  border-left: 5px solid var(--green-500);
  border-radius: 18px;
  background: linear-gradient(90deg, var(--green-50), #ffffff);
}

.poster-card {
  display: grid;
  gap: 16px;
}

.poster-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #052e16;
}

.info-list {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.info-list dt {
  color: var(--muted);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  line-height: 1.6;
}

.site-footer {
  color: #d1fae5;
  background: #052e16;
  padding: 42px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  max-width: 560px;
  margin: 12px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .top-search {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-slide,
  .feature-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-controls {
    left: 0;
  }

  .category-grid,
  .category-panel-grid,
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-row {
    min-height: 68px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 108px;
  }

  .hero-slide.is-active {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 310px;
  }

  .hero-controls {
    bottom: 44px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .category-panel-grid,
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .grid-card {
    border-radius: 16px;
  }

  .card-body {
    padding: 14px;
  }

  .horizontal-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .rank-card {
    grid-template-columns: 38px 82px minmax(0, 1fr);
  }

  .rank-meta {
    display: none;
  }

  .rank-cover {
    height: 62px;
  }

  .filter-bar,
  .search-filter {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .side-card {
    padding: 20px;
    border-radius: 18px;
  }

  .detail-title-row {
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .category-grid,
  .category-panel-grid,
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .player-shell {
    border-radius: 14px;
  }
}
