:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #0284c7;
  --sky: #0ea5e9;
  --deep: #1d4ed8;
  --dark: #020617;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
  --soft-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.96), rgba(37, 99, 235, 0.96));
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #0284c7;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

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

.logo-text strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.logo-text small {
  opacity: 0.86;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  white-space: nowrap;
  flex: 1 1 auto;
}

.desktop-nav a,
.mobile-panel a {
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-search {
  width: 275px;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.header-search input,
.mobile-panel input,
.hero-search input,
.filter-input-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}

.header-search input {
  color: #ffffff;
  padding: 7px 10px;
}

.header-search input::placeholder,
.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.header-search button,
.mobile-panel button,
.hero-search button,
.primary-btn {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  color: #0369a1;
  background: #ffffff;
  font-weight: 800;
  padding: 9px 16px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 2px;
}

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

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.mobile-panel input {
  color: #ffffff;
  padding: 10px;
}

.mobile-panel nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

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

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-slides {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::after,
.detail-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.26), transparent 30%), radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2), transparent 26%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding: 78px 0;
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span,
.category-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: #075985;
  background: rgba(224, 242, 254, 0.92);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 820px;
}

.hero-one-line {
  max-width: 700px;
  margin: 0 0 16px;
  color: #dbeafe;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
}

.hero-summary {
  max-width: 710px;
  margin: 0;
  color: #e0f2fe;
  font-size: 17px;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-tags span {
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 13px;
  font-size: 14px;
}

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

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #0369a1;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  padding: 0 18px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-panel {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2)) 34px 22px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.52), rgba(2, 132, 199, 0.24));
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-search input {
  color: #ffffff;
  padding: 12px 13px;
}

.hero-mini-list {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
}

.hero-mini-list h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.hero-mini-list a,
.ranking-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-mini-list a:last-child {
  border-bottom: 0;
}

.hero-mini-list span,
.ranking-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-mini-list strong {
  color: #bae6fd;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 28px;
}

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

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px;
  border-radius: 50%;
  padding: 0;
  font-size: 0 !important;
  background: rgba(255, 255, 255, 0.42) !important;
}

.hero-dot.is-active {
  width: 28px !important;
  border-radius: 999px;
  background: #ffffff !important;
}

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

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

.section-heading h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--blue);
  font-weight: 800;
}

.inline-heading {
  align-items: center;
}

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

.category-card,
.category-detail-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  color: #ffffff;
  background-size: cover;
  background-position: center;
  padding: 22px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-detail-card:hover,
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-card span {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.category-detail-card p {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  color: #dbeafe;
  font-size: 14px;
}

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

.compact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  background-color: #dbeafe;
  background-size: cover;
  background-position: center;
}

.card-poster::after,
.detail-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.72));
}

.card-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  font-weight: 900;
}

.card-body {
  padding: 18px;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta span {
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 4px 8px;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--blue);
}

.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-tags {
  margin-top: 14px;
}

.card-tags a,
.card-tags span {
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(120deg, #0284c7, #2563eb);
  background-size: cover;
  background-position: center;
}

.page-hero > div,
.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #dbeafe;
  font-size: 14px;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-input-wrap {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 16px;
  background: var(--surface-soft);
  padding: 0 16px;
}

.filter-input-wrap input {
  color: var(--text);
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.filter-selects select {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-soft);
  padding: 0 14px;
  outline: 0;
}

.empty-state {
  display: none;
  margin-top: 28px;
  padding: 36px;
  border-radius: 22px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.empty-state.is-visible {
  display: block;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  grid-template-columns: 46px minmax(0, 1fr) minmax(220px, 0.8fr) auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--deep));
  font-weight: 900;
}

.ranking-info {
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.category-detail-card {
  min-height: 270px;
  justify-content: space-between;
}

.category-detail-card h2 {
  position: relative;
  z-index: 2;
  margin: 16px 0 10px;
  font-size: 32px;
}

.category-examples {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.category-examples a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 10px;
  font-size: 13px;
}

.category-enter {
  position: relative;
  z-index: 2;
  width: fit-content;
  border-radius: 999px;
  color: #0369a1;
  background: #ffffff;
  padding: 10px 16px;
  font-weight: 900;
}

.detail-hero {
  min-height: 560px;
}

.detail-intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  background-color: #dbeafe;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.32);
}

.detail-text h1 {
  margin: 18px 0 16px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 22px;
  font-weight: 700;
}

.detail-tags {
  margin-bottom: 28px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  z-index: 3;
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: #0284c7;
  background: #ffffff;
  font-size: 30px;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.3);
}

.player-error {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.86);
  padding: 12px 14px;
  text-align: center;
}

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

.detail-article,
.detail-aside {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.detail-article h2,
.detail-aside h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-article p {
  margin: 0 0 26px;
  color: #334155;
  font-size: 17px;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.detail-aside dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.detail-aside dl div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-aside dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-aside dt {
  color: var(--muted);
}

.detail-aside dd {
  margin: 0;
  font-weight: 800;
}

.detail-aside a {
  color: var(--blue);
}

.site-footer {
  color: #cbd5e1;
  background: #020617;
  margin-top: 52px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  padding: 48px 0;
}

.footer-brand p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #94a3b8;
}

.footer-logo .logo-mark {
  box-shadow: none;
}

.footer-logo span:last-child {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

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

.footer-links h3 {
  margin: 0 0 14px;
  color: #7dd3fc;
}

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

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 18px;
  color: #94a3b8;
  text-align: center;
}

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

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-panel {
    padding: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

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

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

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

  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .logo-text small {
    display: none;
  }

  .header-search {
    display: none;
  }

  .hero,
  .hero-slides {
    min-height: 620px;
  }

  .hero-content {
    width: min(100% - 32px, 100%);
    margin: 0 auto;
    padding: 58px 0;
  }

  .hero-summary {
    display: none;
  }

  .hero-panel {
    padding: 20px 16px 30px;
  }

  .section-wrap {
    width: min(100% - 28px, 100%);
    padding: 50px 0;
  }

  .section-heading {
    display: grid;
  }

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

  .card-body {
    padding: 14px;
  }

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

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

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

  .ranking-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .ranking-info {
    display: none;
  }

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

  .detail-cover {
    width: 210px;
  }

  .detail-one-line {
    font-size: 18px;
  }

  .detail-article,
  .detail-aside {
    padding: 22px;
  }
}

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

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

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
