:root {
  --bg: #0c0a09;
  --panel: #1c1917;
  --panel-soft: #292524;
  --panel-glass: rgba(28, 25, 23, 0.72);
  --line: rgba(245, 158, 11, 0.18);
  --text: #ffffff;
  --muted: #d6d3d1;
  --soft: #a8a29e;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(68, 64, 60, 0.72));
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 9, 0.78);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 40px, var(--container));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #1c1917;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.logo-text {
  font-size: 21px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1c1917;
  background: var(--amber);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 12px;
  background: rgba(41, 37, 36, 0.8);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #0c0a09;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.2) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.98) 0%, rgba(12, 10, 9, 0.82) 42%, rgba(12, 10, 9, 0.24) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 10, 9, 0.1) 38%, rgba(12, 10, 9, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 56px;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--amber-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-copy p {
  max-width: 630px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 999px;
  font-size: 12px;
}

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

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

.primary-btn,
.hero-search button,
.rank-action {
  color: #1c1917;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.28);
}

.ghost-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.hero-search button:hover,
.rank-action:hover {
  transform: translateY(-2px);
}

.hero-search {
  display: flex;
  width: min(100%, 560px);
  margin-top: 28px;
  padding: 8px;
  background: rgba(28, 25, 23, 0.76);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  color: var(--text);
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
}

.hero-search input::placeholder {
  color: var(--soft);
}

.hero-search button {
  border: 0;
  cursor: pointer;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  height: 440px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: #1c1917;
  background: var(--amber);
  border-radius: 999px;
  font-weight: 800;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 30px;
  background: var(--amber);
}

.section-block {
  margin: 72px auto;
}

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

.section-heading h2,
.page-title-block h1,
.channel-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
  color: var(--amber-light);
  font-weight: 800;
}

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

.horizontal-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 210px;
  background: rgba(28, 25, 23, 0.84);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.horizontal-info {
  padding: 18px;
}

.horizontal-info h3,
.movie-card h3,
.rank-info h2 {
  margin: 8px 0 8px;
  line-height: 1.25;
}

.horizontal-info p,
.movie-card p,
.rank-info p,
.category-card p,
.category-overview-card p,
.page-title-block p,
.channel-hero p {
  color: var(--muted);
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: rgba(28, 25, 23, 0.86);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(-5px);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--panel-soft);
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.06);
}

.cover-play,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cover-play {
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  color: #1c1917;
  background: rgba(245, 158, 11, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  color: #1c1917;
  background: var(--amber);
  border-radius: 999px;
  font-weight: 900;
}

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

.movie-card-meta,
.detail-meta,
.channel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--soft);
  font-size: 12px;
}

.movie-card-meta span,
.detail-meta span,
.channel-stats span {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

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

.movie-card p {
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 13px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--soft);
  font-size: 12px;
}

.card-bottom a {
  color: var(--amber-light);
  font-weight: 800;
}

.category-zone,
.dark-panel,
.filter-panel,
.channel-hero,
.page-title-block,
.detail-article,
.detail-side,
.ranking-side {
  background: rgba(28, 25, 23, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.category-zone,
.dark-panel {
  padding: 30px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: var(--radius-lg);
  background: #1c1917;
  isolation: isolate;
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: transform 0.35s ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.08), rgba(12, 10, 9, 0.92));
}

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

.category-card span {
  width: fit-content;
  padding: 4px 9px;
  color: #1c1917;
  background: var(--amber);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.category-card h3 {
  margin: 14px 0 6px;
  font-size: 22px;
}

.category-card ul,
.category-overview-card ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-main {
  padding: 52px 0 80px;
}

.page-title-block {
  padding: 32px;
  margin-bottom: 30px;
}

.page-title-block p,
.channel-hero p {
  max-width: 760px;
  margin: 12px 0 0;
}

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

.category-overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: rgba(28, 25, 23, 0.76);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-xl);
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 260px;
}

.category-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.category-overview-body span {
  color: var(--amber-light);
  font-weight: 800;
}

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

.channel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 32px;
  padding: 34px;
  margin-bottom: 30px;
}

.channel-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.filter-panel {
  padding: 22px;
  margin: 24px 0;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

.filter-grid label {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  height: 46px;
  color: var(--text);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  outline: 0;
  background: rgba(12, 10, 9, 0.7);
  padding: 0 13px;
}

.filter-grid option {
  color: #1c1917;
}

.filter-count {
  margin-top: 14px;
  color: var(--soft);
}

.movie-card.is-hidden,
.rank-row.is-hidden {
  display: none;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 96px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #1c1917;
  background: var(--amber);
  border-radius: 999px;
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-side {
  position: sticky;
  top: 96px;
  height: fit-content;
  padding: 22px;
}

.movie-card.compact p {
  display: none;
}

.movie-card.compact .tag-row {
  display: none;
}

.detail-main {
  padding: 0 0 80px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  padding: 56px 0 36px;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-light);
}

.detail-copy h1 {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.detail-tags {
  margin-top: 16px;
}

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

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text);
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.54));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-triangle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: #1c1917;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(245, 158, 11, 0.36);
}

.play-triangle::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #1c1917;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 10px 12px;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.78);
  border-radius: 12px;
  font-size: 14px;
}

.player-message.is-visible {
  display: block;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 34px;
}

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article h2,
.detail-side h2,
.ranking-side h2 {
  margin: 0 0 16px;
}

.detail-article p {
  color: var(--muted);
  font-size: 16px;
}

.detail-table {
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
}

.detail-table div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-table dt {
  color: var(--soft);
}

.detail-table dd {
  margin: 0;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(245, 158, 11, 0.12);
  background: rgba(12, 10, 9, 0.72);
}

.footer-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 30px;
  padding: 38px 0;
}

.footer-inner p {
  max-width: 520px;
  color: var(--soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--amber-light);
}

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

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

  .featured-grid,
  .ranking-columns,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .ranking-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(28, 25, 23, 0.96);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .hero-slider {
    height: auto;
    min-height: 720px;
  }

  .hero-slide {
    position: relative;
    display: none;
    min-height: 720px;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 54px 0 86px;
  }

  .hero-poster {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 2 / 3;
    transform: none;
  }

  .hero-control {
    display: none;
  }

  .category-overview-grid,
  .category-overview-card,
  .channel-hero,
  .detail-hero,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .category-collage {
    min-height: 180px;
  }

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

@media (max-width: 640px) {
  .container,
  .header-inner,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 18px;
  }

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

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

  .hero-search input {
    height: 44px;
  }

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

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

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

  .category-zone,
  .dark-panel,
  .page-title-block,
  .channel-hero,
  .detail-article,
  .detail-side {
    padding: 20px;
    border-radius: 22px;
  }

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

  .rank-row {
    grid-template-columns: 42px 76px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / 4;
    width: 100%;
  }

  .detail-poster {
    width: min(100%, 260px);
  }

  .detail-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
