* {
  box-sizing: border-box;
}

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --emerald-500: #10b981;
  --slate-900: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.09);
}

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(--gray-800);
  background: linear-gradient(180deg, var(--green-50), #ffffff 360px);
  line-height: 1.6;
}

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

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

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: 80;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-600), var(--green-500), var(--emerald-500));
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.22);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--green-600);
  background: #ffffff;
  font-weight: 900;
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 20px rgba(22, 163, 74, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.logo-text em {
  font-style: normal;
  color: #dcfce7;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

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

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

.header-search {
  position: relative;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(12px);
}

.header-search input,
.mobile-panel input,
.hero-search-form input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 8px 12px;
  color: #ffffff;
  background: transparent;
}

.header-search input::placeholder,
.mobile-panel input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.mobile-panel button,
.hero-search-form button {
  border: 0;
  border-radius: 999px;
  color: var(--green-700);
  background: #ffffff;
  font-weight: 800;
  padding: 8px 15px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  background: rgba(21, 128, 61, 0.98);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  flex: 1;
  min-width: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #15803d 0%, #22c55e 48%, #059669 100%);
}

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

.hero-shell {
  position: relative;
  z-index: 3;
  min-height: 610px;
  padding: 74px 0 110px;
}

.hero-slide {
  display: none;
  align-items: center;
  gap: 56px;
  animation: fadeIn 0.5s ease both;
}

.hero-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcfce7;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 14px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  font-size: clamp(17px, 2.1vw, 23px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
}

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

.hero-tags {
  margin: 26px 0 32px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-actions,
.cta-links,
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--green-700);
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.hero-poster {
  display: block;
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  transform: rotate(2deg);
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.32));
}

.hero-poster::before,
.hero-poster::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-poster::before {
  inset: 28px -18px -22px 36px;
}

.hero-poster::after {
  inset: 58px -36px -42px 76px;
  opacity: 0.58;
}

.hero-poster .poster-wrap {
  position: relative;
  z-index: 2;
  height: 460px;
  border-radius: 30px;
}

.hero-control {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.hero-control button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(8px);
  font-size: 26px;
  line-height: 1;
}

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

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

.hero-dots button.is-active {
  width: 30px;
  background: #ffffff;
}

.hero-wave {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 96px;
  color: var(--green-50);
}

.hero-wave path {
  fill: currentColor;
}

.block-section,
.white-section,
.soft-section {
  padding: 70px 0;
}

.soft-section {
  background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
}

.white-section {
  background: #ffffff;
}

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

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 5px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: var(--gray-800);
}

.eyebrow {
  color: var(--green-600);
  font-size: 13px;
}

.section-more {
  color: var(--green-600);
  font-weight: 900;
}

.category-grid,
.card-grid,
.overview-grid,
.archive-grid {
  display: grid;
  gap: 22px;
}

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

.category-card,
.overview-card,
.archive-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 138px;
  padding: 24px;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.category-card::before,
.overview-card::before,
.archive-card::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 span,
.category-card strong,
.overview-card span,
.overview-card strong,
.archive-card strong,
.archive-card span {
  position: relative;
  z-index: 1;
}

.category-card span,
.overview-name,
.archive-card strong {
  font-size: 21px;
  font-weight: 900;
  color: var(--gray-800);
}

.category-card strong,
.overview-card strong,
.archive-card span {
  color: var(--green-600);
}

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

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

.category-card:hover span,
.category-card:hover strong,
.overview-card:hover span,
.overview-card:hover strong,
.archive-card:hover strong,
.archive-card:hover span {
  color: #ffffff;
}

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

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

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

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #16a34a, #10b981 52%, #dcfce7);
}

.poster-wrap.is-missing::after {
  content: "电视剧在线";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

.movie-card:hover img,
.hero-poster:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: #ffffff;
  background: var(--green-500);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.card-body,
.large-card-body,
.horizontal-card-body {
  display: block;
  padding: 17px;
}

.movie-card strong {
  display: block;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 7px;
}

.movie-card em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gray-600);
  font-style: normal;
  font-size: 14px;
  min-height: 44px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 12px;
}

.meta-row b {
  font-weight: 800;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  color: var(--green-700);
  background: var(--green-100);
}

.movie-card-large {
  height: 100%;
  position: relative;
  min-height: 438px;
}

.movie-card-large .poster-wrap {
  height: 100%;
  min-height: 438px;
  aspect-ratio: auto;
}

.large-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #ffffff;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.86));
}

.large-card-body strong {
  color: #ffffff;
  font-size: 28px;
}

.large-card-body em,
.large-card-body .meta-row {
  color: rgba(255, 255, 255, 0.86);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 28px;
}

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

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  box-shadow: none;
  background: transparent;
  border-radius: 14px;
}

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

.movie-card-horizontal .poster-wrap {
  border-radius: 14px;
}

.movie-card-horizontal .horizontal-card-body {
  padding: 4px 0;
}

.movie-card-horizontal strong {
  font-size: 16px;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
}

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

.rank-main strong {
  margin: 0 0 4px;
}

.rank-main em {
  min-height: 0;
  -webkit-line-clamp: 1;
}

.rank-score {
  justify-self: end;
  color: var(--green-600);
  font-size: 22px;
  font-weight: 900;
}

.cta-panel {
  color: #ffffff;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(120deg, var(--green-600), var(--emerald-500));
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
}

.cta-panel p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #dcfce7;
  font-size: 18px;
}

.cta-links {
  justify-content: center;
  max-height: 148px;
  overflow: auto;
}

.cta-links a,
.pager a {
  color: var(--green-700);
  background: #ffffff;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, var(--green-600), var(--emerald-500));
}

.page-hero {
  padding: 72px 0;
}

.page-hero h1 {
  margin-top: 10px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 210px));
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select,
.hero-search-form input {
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--gray-800);
  background: var(--gray-100);
}

.empty-state {
  text-align: center;
  color: var(--gray-600);
  border-radius: 22px;
  background: #ffffff;
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

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

.overview-card {
  min-height: 190px;
}

.overview-desc {
  color: var(--gray-600);
  margin: 10px 0 20px;
}

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

.pager {
  justify-content: center;
  margin-top: 32px;
}

.pager a {
  color: #ffffff;
  background: var(--green-600);
}

.hero-search-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-search-form input {
  background: #ffffff;
}

.detail-hero {
  padding: 44px 0 64px;
  background: #0f172a;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.05);
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 163, 74, 0.95), rgba(15, 23, 42, 0.88));
}

.detail-hero-shell {
  position: relative;
  z-index: 2;
}

.detail-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  margin-top: 28px;
}

.detail-cover {
  border-radius: 28px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.32);
  aspect-ratio: 3 / 4;
}

.detail-copy h1 {
  font-size: clamp(38px, 5vw, 66px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.detail-meta span {
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.detail-main {
  display: grid;
  gap: 26px;
  padding: 44px 0 74px;
}

.content-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 34px);
}

.content-card h2 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: clamp(24px, 3vw, 34px);
}

.content-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.player-card {
  background: linear-gradient(180deg, #0f172a, #111827);
  color: #ffffff;
}

.player-card h2 {
  color: #ffffff;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.38), rgba(15, 23, 42, 0.68));
}

.play-overlay[hidden] {
  display: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-600);
  background: #ffffff;
  font-size: 34px;
  padding-left: 5px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #1f2937, #111827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  padding: 52px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-grid h3 {
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: #86efac;
}

.footer-grid p {
  margin: 0;
  color: #d1d5db;
}

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-slide.is-active,
  .featured-layout,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-poster {
    min-height: 320px;
    max-width: 460px;
  }

  .hero-poster .poster-wrap {
    height: 360px;
  }

  .category-grid,
  .card-grid.four,
  .overview-grid,
  .archive-grid,
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-poster,
  .hero-poster .poster-wrap {
    min-height: 0;
    height: 280px;
  }

  .hero-control {
    bottom: 34px;
  }

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

  .category-grid,
  .card-grid.four,
  .card-grid.three,
  .overview-grid,
  .archive-grid,
  .rank-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal {
    grid-template-columns: 120px 1fr;
  }

  .movie-card-horizontal .poster-wrap {
    aspect-ratio: 4 / 3;
  }

  .rank-row {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

  .detail-cover {
    max-width: 280px;
  }

  .content-card {
    border-radius: 18px;
  }

  .hero-search-form,
  .mobile-panel form {
    border-radius: 24px;
    flex-direction: column;
  }
}
