:root {
  --gold-50: #fff8e6;
  --gold-100: #ffefc2;
  --gold-200: #f9d77f;
  --gold-300: #f3bd45;
  --gold-400: #e99f20;
  --gold-500: #d9820c;
  --gold-600: #b76408;
  --gold-700: #944b0b;
  --gold-800: #73390f;
  --gold-900: #4a260b;
  --sunshine-50: #fffdf3;
  --sunshine-100: #fff3b8;
  --sunshine-200: #ffe484;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-warm: 0 12px 30px rgba(146, 79, 8, 0.12);
  --shadow-gold: 0 18px 42px rgba(217, 130, 12, 0.24);
  --radius-lg: 18px;
  --radius-md: 14px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--gold-50), #ffffff 42%, var(--sunshine-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.mobile-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

main {
  min-height: 60vh;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  box-shadow: 0 12px 32px rgba(105, 58, 6, 0.24);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

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

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

.nav-link {
  position: relative;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 280px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

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

.header-search button {
  border: 0;
  color: var(--gold-800);
  background: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 0 0 18px 18px;
  background: rgba(90, 45, 6, 0.30);
}

.mobile-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-channel {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-carousel {
  position: relative;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  overflow: hidden;
}

.hero-shell {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-bg {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  height: 620px;
  opacity: 0.14;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.15);
  transform: scale(1.08);
}

.hero-bg::after,
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(135deg, rgba(89, 45, 4, 0.82), rgba(217, 130, 12, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--gold-900);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(79, 38, 3, 0.18);
}

.hero-content h1,
.compact-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero-content p,
.compact-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.3vw, 22px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.hero-tags span,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  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(--gold-900);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(74, 38, 5, 0.22);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(64, 32, 4, 0.36);
  transform: rotate(1.5deg);
}

.hero-poster .poster-frame {
  aspect-ratio: 16 / 10;
}

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

.hero-dot {
  width: 36px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.page-hero {
  padding: calc(var(--header-height) + 64px) 0 64px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, var(--gold-600), var(--gold-800));
}

.compact-hero h1 {
  margin-bottom: 12px;
}

.breadcrumb,
.breadcrumb-line a {
  color: inherit;
  font-weight: 800;
}

.category-strip {
  padding-top: 46px;
}

.page-section {
  padding: 56px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-700);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.category-tile,
.category-card,
.detail-card,
.side-card,
.search-board,
.filter-panel,
.ranking-aside,
.warm-panel,
.sunshine-panel {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-warm);
}

.category-tile {
  display: block;
  min-height: 128px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.category-tile span {
  display: block;
  color: var(--gray-600);
  font-size: 14px;
}

.category-tile:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.category-tile:hover span {
  color: rgba(255, 255, 255, 0.82);
}

.video-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.46), transparent 26%), linear-gradient(135deg, var(--gold-300), var(--gold-700));
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.poster-frame img.is-missing-image {
  opacity: 0;
}

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

.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.video-card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}

.badge {
  color: var(--gold-800);
  background: var(--gold-100);
}

.video-card strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--gray-900);
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-card:hover strong {
  color: var(--gold-700);
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

.video-card-large {
  position: relative;
  min-height: 260px;
}

.video-card-large .poster-frame {
  aspect-ratio: 16 / 9;
  height: 100%;
}

.video-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48), transparent);
}

.video-card-overlay strong {
  min-height: 0;
  color: #ffffff;
  font-size: 22px;
}

.video-card-overlay .card-desc,
.video-card-overlay .card-meta {
  color: rgba(255, 255, 255, 0.82);
}

.video-card-horizontal {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 102px;
}

.video-card-horizontal .poster-frame {
  aspect-ratio: auto;
  height: 100%;
}

.video-card-horizontal .video-card-body {
  padding: 12px;
}

.video-card-horizontal strong {
  min-height: 0;
  font-size: 14px;
}

.video-card-horizontal .card-desc {
  min-height: 0;
  font-size: 13px;
}

.warm-panel {
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 239, 194, 0.78), rgba(255, 255, 255, 0.92));
}

.sunshine-panel {
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 243, 184, 0.78), rgba(255, 248, 230, 0.88));
}

.ranking-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.text-link {
  color: var(--gold-700);
  font-weight: 900;
}

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

.ranking-list.full {
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 54px 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.rank-number {
  color: var(--gold-700);
  font-size: 22px;
  font-weight: 900;
}

.rank-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

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

.rank-info strong,
.rank-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  font-weight: 900;
}

.rank-info span {
  color: var(--gray-500);
  font-size: 14px;
}

.rank-score,
.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--gold-800);
  background: var(--gold-100);
  font-weight: 900;
}

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

.category-card {
  padding: 22px;
}

.category-card-main {
  display: block;
}

.category-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  font-weight: 900;
}

.category-card h2 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.category-card p {
  color: var(--gray-600);
  margin: 0;
}

.category-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-mini-links a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--gold-800);
  background: var(--gold-100);
  font-size: 13px;
  font-weight: 700;
}

.filter-panel,
.search-board {
  margin-bottom: 28px;
  padding: 20px;
}

.filter-search input,
.search-board input,
.search-board select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
  padding: 12px 14px;
}

.filter-search input:focus,
.search-board input:focus,
.search-board select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(217, 130, 12, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.filter-row span {
  color: var(--gray-600);
  font-weight: 900;
}

.filter-row button {
  border: 0;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 8px 12px;
  font-weight: 800;
}

.filter-row button.is-active,
.filter-row button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--gray-600);
  background: #ffffff;
  box-shadow: var(--shadow-warm);
}

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

.search-board {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}

.search-board label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 900;
}

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

.ranking-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.ranking-aside h2 {
  margin: 0 0 16px;
}

.ranking-aside a {
  display: block;
  padding: 10px 0;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 800;
}

.ranking-aside a:hover {
  color: var(--gold-700);
}

.detail-top {
  padding: calc(var(--header-height) + 28px) 0 0;
}

.detail-container {
  padding-top: 28px;
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold-700);
  font-weight: 800;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(34, 18, 3, 0.36);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.10));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-shell.is-started .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  font-size: 34px;
  text-indent: 4px;
}

.player-status {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

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

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.detail-title-row h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

.detail-title-row p {
  margin: 10px 0 0;
  color: var(--gray-600);
  font-size: 17px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-weight: 800;
}

.detail-card h2,
.side-card h2 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.detail-card p {
  color: var(--gray-700);
  margin: 0;
}

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

.info-grid div {
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background: var(--gray-50);
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  color: var(--gray-500);
  font-size: 13px;
}

.info-grid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-list a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gold-800);
  background: var(--gold-100);
  font-weight: 800;
}

.review-box {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 239, 194, 0.62), rgba(255, 253, 243, 0.88));
}

.sticky-card {
  position: sticky;
  top: 96px;
}

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

.site-footer {
  margin-top: 64px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-800), var(--gold-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.74);
}

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

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

.footer-bottom {
  padding: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.70);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .header-search {
    width: 220px;
  }

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

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

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

  .detail-side,
  .ranking-aside,
  .sticky-card {
    position: static;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 64px;
  }

  .desktop-nav,
  .header-search {
    display: none;
  }

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

  body.mobile-open .mobile-nav {
    display: block;
  }

  .mobile-nav .nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .mobile-nav .nav-link:hover,
  .mobile-nav .nav-link.is-active {
    background: rgba(255, 255, 255, 0.14);
  }

  .hero-shell {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 0 96px;
  }

  .hero-poster {
    transform: none;
  }

  .grid-three,
  .grid-four,
  .grid-six,
  .category-grid,
  .category-grid.compact,
  .category-card-grid,
  .footer-grid,
  .search-board,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-title-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .site-header-inner,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

  .brand-text {
    font-size: 19px;
  }

  .hero-shell {
    min-height: 720px;
  }

  .hero-content h1,
  .compact-hero h1 {
    font-size: 38px;
  }

  .hero-content p,
  .compact-hero p {
    font-size: 16px;
  }

  .grid-three,
  .grid-four,
  .grid-six,
  .category-grid,
  .category-grid.compact,
  .category-card-grid,
  .footer-grid,
  .search-board,
  .info-grid,
  .mobile-channel-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-score {
    grid-column: 3;
    width: fit-content;
  }

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

  .warm-panel,
  .sunshine-panel,
  .detail-card,
  .side-card {
    padding: 20px;
  }
}
