:root {
  --orange: #f97316;
  --orange-deep: #ea580c;
  --amber: #f59e0b;
  --pink: #ec4899;
  --red: #ef4444;
  --blue: #0ea5e9;
  --green: #10b981;
  --purple: #8b5cf6;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --soft-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #fff7ed 0, #f8fafc 280px, #f8fafc 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.38);
}

.brand-icon span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
}

.brand-icon.mini {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.brand-icon.mini span {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 25px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--orange-deep), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

.brand-text small {
  color: var(--slate-600);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--slate-700);
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--orange-deep);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 24px 18px;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  color: var(--slate-700);
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 22px;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 42px;
  padding: 56px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.36)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(249, 115, 22, 0.28), transparent 38%), radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.22), transparent 40%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.9);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
  font-weight: 700;
  font-size: 14px;
}

.hero-content h1,
.page-hero h1 {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero-content p,
.page-hero p {
  margin: 0;
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-tags,
.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-tags span,
.overview-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

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

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.34);
}

.secondary-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ghost-button {
  color: var(--orange-deep);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

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

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

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 56px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 28px;
  line-height: 1;
}

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

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.search-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.home-search,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--slate-800);
  background: #ffffff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #fdba74;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.home-search button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  font-weight: 800;
}

.quick-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-tags a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--orange-deep);
  background: #fff7ed;
  font-weight: 700;
  font-size: 14px;
}

.block-section {
  margin-top: 58px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 900;
  color: var(--slate-900);
}

.section-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #cbd5e1, transparent);
}

.section-more {
  color: var(--orange-deep);
  font-weight: 800;
  font-size: 14px;
}

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

.large-list {
  display: grid;
  gap: 22px;
}

.poster-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link,
.poster-body {
  display: flex;
  flex-direction: column;
}

.poster-media,
.mini-thumb,
.category-image,
.overview-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at 20% 15%, rgba(249, 115, 22, 0.55), transparent 36%), linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.poster-media {
  aspect-ratio: 16 / 9;
}

.wide-card .poster-media {
  aspect-ratio: 21 / 9;
}

.poster-media img,
.mini-thumb img,
.category-image img,
.overview-media img,
.detail-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.poster-card:hover .poster-media img,
.mini-card:hover .mini-thumb img,
.category-tile:hover img,
.category-overview:hover img,
.detail-side:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-card:hover .poster-shade {
  opacity: 1;
}

.duration-badge,
.play-badge,
.mini-thumb em {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
  font-style: normal;
}

.duration-badge {
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.88);
  background: linear-gradient(135deg, var(--orange), var(--amber));
  opacity: 0;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.38);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poster-body {
  padding: 16px;
  gap: 8px;
}

.tagline {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 9px;
  color: var(--orange-deep);
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.poster-body strong {
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.poster-card:hover .poster-body strong {
  color: var(--orange-deep);
}

.poster-meta,
.poster-desc {
  color: var(--slate-500);
  font-size: 13px;
}

.poster-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-tile,
.category-overview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-image {
  aspect-ratio: 16 / 10;
}

.category-tile strong,
.category-tile small {
  padding: 0 16px;
}

.category-tile strong {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 900;
}

.category-tile small {
  margin: 6px 0 16px;
  color: var(--slate-500);
  font-size: 13px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.side-rank {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.mini-list,
.rank-list {
  display: grid;
  gap: 12px;
}

.mini-card,
.rank-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover,
.rank-card:hover {
  background: #ffffff;
  transform: translateX(4px);
}

.mini-thumb {
  width: 112px;
  height: 74px;
  flex: 0 0 112px;
  border-radius: 13px;
}

.mini-thumb em {
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  font-size: 11px;
}

.mini-info,
.rank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-info strong,
.rank-info strong {
  color: var(--slate-900);
  line-height: 1.3;
  font-weight: 800;
}

.mini-info small,
.rank-info small,
.rank-info span {
  color: var(--slate-500);
  font-size: 13px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-card {
  gap: 18px;
  padding: 14px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.rank-index {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.rank-card .mini-thumb {
  width: 160px;
  height: 96px;
  flex-basis: 160px;
}

.page-hero {
  position: relative;
  margin-top: 32px;
  padding: 58px;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.74)), var(--page-hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.compact-hero {
  background-image: radial-gradient(circle at 20% 0, rgba(249, 115, 22, 0.34), transparent 36%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero h1 {
  color: white;
  font-size: clamp(34px, 5vw, 56px);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(130px, 0.55fr)) auto;
  padding: 18px;
  margin-bottom: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel .ghost-button {
  align-self: end;
}

.filter-empty {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 16px;
  color: var(--slate-600);
  background: #fff7ed;
  font-weight: 800;
}

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

.category-overview {
  flex-direction: row;
}

.overview-media {
  width: 220px;
  min-height: 170px;
  flex: 0 0 220px;
}

.overview-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overview-body strong {
  font-size: 24px;
  font-weight: 900;
}

.overview-body small {
  color: var(--slate-500);
}

.overview-tags span {
  color: var(--orange-deep);
  background: #ffedd5;
}

.detail-wrap {
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--slate-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange-deep);
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  background: #000000;
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.42);
  font-size: 42px;
}

.player-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-side {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.detail-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.detail-side-content {
  padding: 22px;
}

.detail-side h1 {
  margin: 14px 0 10px;
  font-size: 30px;
  line-height: 1.16;
}

.detail-side p {
  color: var(--slate-600);
}

.detail-side .hero-tags span {
  color: var(--orange-deep);
  background: #ffedd5;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.detail-meta div {
  padding: 16px;
  border-radius: 18px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.detail-meta strong,
.detail-meta span {
  display: block;
}

.detail-meta strong {
  color: var(--slate-500);
  font-size: 13px;
}

.detail-meta span {
  margin-top: 5px;
  color: var(--slate-900);
  font-weight: 800;
}

.content-card {
  padding: 26px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.content-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 16px;
}

.text-page {
  margin-top: 34px;
  max-width: 900px;
}

.site-footer {
  margin-top: 76px;
  color: #e2e8f0;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 52px 0 36px;
}

.footer-grid h3,
.footer-brand strong {
  color: #ffffff;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #94a3b8;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

img.image-missing {
  opacity: 0;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

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

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

  .hero-slide {
    padding: 38px;
  }

  .hero-poster {
    display: none;
  }

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

  .side-rank {
    position: static;
  }

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

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

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

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

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

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .hero-carousel {
    min-height: 560px;
    border-radius: 24px;
  }

  .hero-slide,
  .page-hero {
    padding: 30px 22px;
  }

  .hero-controls {
    left: 24px;
    bottom: 22px;
  }

  .search-strip {
    grid-template-columns: 1fr;
  }

  .home-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .poster-body {
    padding: 13px;
  }

  .poster-body strong {
    font-size: 15px;
  }

  .poster-desc {
    display: none;
  }

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

  .category-overview {
    flex-direction: column;
  }

  .overview-media {
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .rank-card {
    align-items: flex-start;
  }

  .rank-card .mini-thumb {
    width: 110px;
    height: 76px;
    flex-basis: 110px;
  }

  .rank-index {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

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

  .player-shell,
  .player-shell video {
    min-height: 260px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .hero-content h1,
  .page-hero h1 {
    font-size: 32px;
  }

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