:root {
  --bg: #f8fbff;
  --bg-soft: #eef9ff;
  --panel: #ffffff;
  --text: #132033;
  --muted: #66758a;
  --line: rgba(17, 39, 71, 0.12);
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --orange: #f97316;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 42%, #f8fbff 100%);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 20, 36, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.34);
}

.brand-text {
  white-space: nowrap;
  font-size: 20px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 5px;
}

.header-search input,
.large-search input {
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}

.header-search input {
  width: 220px;
  color: #ffffff;
  padding: 8px 10px;
}

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

.header-search button,
.large-search button,
.primary-button,
.ghost-button,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.large-search button,
.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.header-search button {
  padding: 8px 14px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 99px;
}

.hero-carousel {
  position: relative;
  height: clamp(540px, 72vw, 760px);
  overflow: hidden;
  color: #ffffff;
  background: #071827;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, transparent 45%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: min(var(--container), calc(100% - 40px));
  transform: translateX(-50%);
  max-width: 780px;
}

.hero-badges,
.hero-tags,
.detail-meta,
.detail-tags,
.tag-row,
.filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span,
.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-badges span,
.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-content h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  margin: 22px 0 20px;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.75;
  margin: 0 0 22px;
}

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

.primary-button,
.ghost-button {
  padding: 14px 24px;
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-panel,
.content-section,
.library-toolbar,
.page-hero,
.detail-hero-inner {
  width: min(var(--container), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.home-search-panel {
  margin-top: -44px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-search-panel h2,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.home-search-panel h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.home-search-panel p,
.page-hero p,
.prose-card p,
.detail-article p,
.category-overview-body p {
  color: var(--muted);
  line-height: 1.8;
}

.large-search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.large-search input {
  min-width: 0;
  flex: 1;
  padding: 12px 14px;
  color: var(--text);
}

.large-search button {
  padding: 12px 20px;
}

.content-section {
  padding: 58px 0;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-more,
.text-link {
  color: var(--cyan-dark);
  background: rgba(6, 182, 212, 0.1);
  padding: 10px 16px;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.08));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 16px;
  right: 16px;
  color: #ffffff;
}

.category-tile strong {
  bottom: 42px;
  font-size: 20px;
}

.category-tile em {
  bottom: 18px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.76);
}

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

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

.movie-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #155e75);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 56%);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.92);
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-score {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.96);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.26);
}

.movie-card-body {
  padding: 16px;
}

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

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

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

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row span {
  color: var(--cyan-dark);
  background: rgba(6, 182, 212, 0.1);
  padding: 5px 9px;
  font-size: 12px;
}

.latest-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.09), rgba(37, 99, 235, 0.08));
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.07);
}

.rank-item img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-number {
  color: var(--cyan-dark);
  font-size: 24px;
  font-weight: 950;
}

.rank-info {
  display: grid;
  gap: 6px;
}

.rank-info strong {
  line-height: 1.4;
}

.rank-info em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  margin-top: 32px;
  padding: 70px 42px;
  color: #ffffff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.45), transparent 34%),
    linear-gradient(135deg, #071827, #0f3150 54%, #155e75);
  box-shadow: var(--shadow);
}

.compact-page-hero p,
.category-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.library-toolbar {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  background: #ffffff;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #ffffff;
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.result-count,
.search-empty {
  margin: 0;
  color: var(--muted);
}

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

.category-overview-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 180px;
  background: #0f172a;
}

.category-cover-stack img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.side-panel,
.detail-side-card,
.prose-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.side-panel {
  position: sticky;
  top: 100px;
}

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

.compact-rank-list .rank-item {
  grid-template-columns: 36px 52px 1fr;
  gap: 10px;
}

.compact-rank-list .rank-item img {
  width: 52px;
  height: 70px;
}

.table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.ranking-table th {
  color: var(--muted);
  background: #f8fbff;
  font-size: 13px;
}

.ranking-table a {
  font-weight: 800;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: #071827;
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.04);
}

.detail-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.42)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 48%);
}

.detail-hero-inner {
  position: relative;
  padding: 44px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster img {
  width: 320px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.detail-info h1 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.player-section {
  margin-top: -70px;
  position: relative;
  z-index: 4;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.3);
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.big-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: none;
  color: #ffffff;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), rgba(2, 6, 23, 0.6));
  cursor: pointer;
}

.big-play-button span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.34);
  font-size: 34px;
}

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

.player-shell.is-playing .big-play-button {
  display: none;
}

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

.detail-article,
.detail-side-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.detail-article h2,
.detail-side-card h2,
.prose-card h2 {
  margin-top: 0;
}

.detail-article p {
  font-size: 17px;
}

.detail-side-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-side-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
}

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

.detail-side-card dd {
  margin: 0;
  font-weight: 700;
}

.previous-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.previous-next a {
  display: block;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.previous-next a:hover {
  color: var(--cyan-dark);
}

.sitemap-list {
  columns: 2;
  padding-left: 22px;
}

.sitemap-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.sitemap-list a {
  font-weight: 800;
}

.sitemap-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  margin-top: 30px;
  padding: 46px 20px 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #061523;
}

.footer-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2 {
  color: #ffffff;
  font-size: 16px;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-bottom {
  width: min(var(--container), 100%);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .category-grid,
  .dense-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .category-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

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

  .nav-link {
    padding: 12px 14px;
  }

  .header-search {
    width: 100%;
    order: 4;
  }

  .header-search input {
    flex: 1;
    width: auto;
  }

  .home-search-panel,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-list,
  .previous-next {
    grid-template-columns: 1fr;
  }

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

  .detail-poster img {
    width: 240px;
  }

  .detail-layout {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 18px;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-content {
    bottom: 82px;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-panel,
  .page-hero,
  .library-toolbar,
  .detail-article,
  .detail-side-card,
  .side-panel,
  .prose-card {
    border-radius: 18px;
    padding: 20px;
  }

  .content-section {
    padding: 38px 0;
  }

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

  .large-search {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .large-search button {
    width: 100%;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .dense-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding: 30px 0 110px;
  }

  .player-section {
    margin-top: -90px;
  }

  .sitemap-list {
    columns: 1;
  }

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