:root {
  --color-primary: #ea580c;
  --color-primary-dark: #c2410c;
  --color-primary-soft: #ffedd5;
  --color-blue: #2563eb;
  --color-green: #16a34a;
  --color-yellow: #facc15;
  --color-ink: #111827;
  --color-muted: #6b7280;
  --color-soft: #f8fafc;
  --color-border: #e5e7eb;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

.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.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-symbol {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.35);
}

.logo-text {
  display: grid;
  gap: 0;
}

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

.logo-text small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.nav-more > button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  color: #374151;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-more:hover > button {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}

.nav-more {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.2s ease;
}

.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  justify-content: flex-start;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #111827;
}

.hero-slider {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  min-height: 640px;
}

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

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

.hero-background,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.04);
}

.hero-gradient,
.detail-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(251, 146, 60, 0.38), transparent 30%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(194, 65, 12, 0.78));
}

.hero-content {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
  color: #ffffff;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #ffedd5;
  font-size: clamp(18px, 2.3vw, 25px);
}

.hero-kicker,
.section-kicker,
.channel-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-tags span,
.card-tags span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 18px 28px rgba(234, 88, 12, 0.34);
}

.btn.ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

.hero-poster img,
.detail-poster img,
.poster-frame img,
.rank-cover img,
.category-thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span,
.detail-poster span {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.94);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

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

.hero-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.channel-strip {
  position: relative;
  margin-top: -56px;
  z-index: 6;
}

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

.channel-card,
.category-overview-card,
.movie-card,
.rank-card,
.search-cta,
.filter-panel,
.detail-content,
.detail-side {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.channel-card {
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.channel-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  font-size: 24px;
}

.channel-card strong,
.category-overview-card h2,
.section-head h2 {
  margin: 0;
  color: var(--color-ink);
  line-height: 1.2;
}

.channel-card em {
  color: var(--color-muted);
  font-size: 14px;
  font-style: normal;
}

.section-block {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 900;
}

.section-action,
.text-link {
  color: var(--color-primary);
  font-weight: 900;
}

.search-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 28px;
}

.search-cta h2 {
  margin: 8px 0 6px;
  font-size: 28px;
  line-height: 1.2;
}

.search-cta p {
  margin: 0;
  color: var(--color-muted);
}

.hero-search {
  display: flex;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #f9fafb;
}

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

.hero-search button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-primary);
  font-weight: 900;
  cursor: pointer;
}

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

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

.movie-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #fed7aa 48%, #fb923c);
}

.poster-frame img {
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.66));
  opacity: 0.74;
}

.play-badge,
.year-badge {
  position: absolute;
  z-index: 2;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.9);
  transition: 0.2s ease;
}

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

.year-badge {
  right: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title:hover {
  color: var(--color-primary);
}

.card-desc {
  display: -webkit-box;
  min-height: 46px;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags span {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  font-size: 12px;
}

.card-meta,
.rank-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.card-meta span,
.rank-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  font-weight: 700;
}

.light-band {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.ranking-band {
  background: #111827;
  color: #ffffff;
}

.ranking-band .section-head h2 {
  color: #ffffff;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

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

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 126px;
  padding: 14px;
  overflow: hidden;
}

.rank-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  font-weight: 900;
}

.rank-cover {
  width: 92px;
  height: 112px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.rank-info {
  min-width: 0;
}

.rank-title {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-title:hover {
  color: var(--color-primary);
}

.rank-info p {
  display: -webkit-box;
  margin: 6px 0 10px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-list-large .rank-card {
  grid-template-columns: auto 108px minmax(0, 1fr);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(251, 146, 60, 0.62), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.26), transparent 22%),
    linear-gradient(135deg, #111827, #7c2d12 70%, #ea580c);
}

.page-hero h1 {
  max-width: 860px;
  margin: 14px 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 900;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 0.8fr));
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  outline: 0;
  padding: 0 12px;
  color: #111827;
  background: #f9fafb;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.14);
}

.empty-state {
  display: none;
  padding: 34px;
  border: 1px dashed #fdba74;
  border-radius: var(--radius-lg);
  color: var(--color-primary-dark);
  background: #fff7ed;
  text-align: center;
  font-weight: 900;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 118px;
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.category-overview-card h2 {
  margin: 10px 0 8px;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--color-muted);
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
}

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

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

.detail-poster {
  position: relative;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
}

.detail-heading h1 {
  max-width: 840px;
  margin: 16px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.detail-heading p {
  max-width: 780px;
  margin: 0 0 22px;
  color: #ffedd5;
  font-size: 19px;
}

.detail-meta {
  margin: 22px 0 28px;
}

.player-section {
  margin-top: -48px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 26px 58px rgba(15, 23, 42, 0.25);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.34);
  font-weight: 900;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.player-shell.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: #fed7aa;
  text-align: center;
  font-weight: 800;
}

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

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

.detail-content h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
}

.detail-content p {
  margin: 0 0 28px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.detail-side dt {
  color: #6b7280;
  font-weight: 900;
}

.detail-side dd {
  margin: 0;
  color: #111827;
  word-break: break-word;
}

.detail-side a {
  color: var(--color-primary);
  font-weight: 900;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 38px;
  padding-top: 56px;
  padding-bottom: 42px;
}

.footer-logo {
  margin-bottom: 14px;
  color: #ffffff;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}

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

.site-footer a:hover {
  color: #fb923c;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 14px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-content,
  .search-cta,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .category-overview-grid,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

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

  .main-nav a,
  .nav-more > button {
    justify-content: center;
  }

  .nav-more {
    display: none;
  }

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

  .hero-slider,
  .hero-track,
  .hero-slide,
  .hero-content {
    min-height: 560px;
  }

  .hero-copy h1,
  .detail-heading h1,
  .page-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-actions,
  .hero-search,
  .footer-bottom {
    flex-direction: column;
  }

  .hero-search {
    border-radius: 20px;
  }

  .hero-search input,
  .hero-search button {
    min-height: 46px;
  }

  .channel-grid,
  .movie-grid,
  .featured-grid,
  .filter-panel,
  .detail-heading,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 92px;
  }

  .rank-card,
  .rank-list-large .rank-card {
    grid-template-columns: auto 78px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-cover {
    width: 78px;
    height: 96px;
  }

  .rank-meta span:nth-child(n + 3) {
    display: none;
  }

  .detail-poster {
    max-width: 230px;
  }

  .player-shell {
    border-width: 4px;
    border-radius: 18px;
  }
}
