/* ============ 防错乱基线 ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
table { max-width: 100%; }
pre, code { white-space: pre-wrap; word-break: break-word; overflow: auto; max-width: 100%; }
a, p, h1, h2, h3, li, span { overflow-wrap: anywhere; word-break: break-word; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 16px; }
main, section, article, aside { position: relative; }

/* ============ 主题变量：影院红黑撞色 · 明亮主题 ============ */
:root {
  --red: #c8102e;
  --red-deep: #8f0b21;
  --dark: #141414;
  --dark-2: #1f1c1d;
  --ink: #241d1f;
  --muted: #8a7c7f;
  --bg: #faf6f6;
  --card: #ffffff;
  --line: #f0dfe2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
  --shadow-hover: 0 16px 40px rgba(200, 16, 46, 0.16);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.35; }

/* ============ 深色头部 + 下划线导航 ============ */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { color: #fff; font-size: 19px; letter-spacing: 1px; white-space: nowrap; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.site-nav a {
  color: #d9cfd1;
  padding: 8px 10px;
  font-size: 14px;
  position: relative;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: #fff; }

.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 0;
}
.search-input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px 0 0 999px;
  padding: 9px 16px;
  font-size: 16px;
  width: 190px;
  max-width: 100%;
  min-width: 0;
  outline: none;
  color: var(--ink);
}
.search-input:focus { border-color: var(--red); }
.search-btn {
  border: none;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 999px 999px 0;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.search-btn:hover { opacity: .9; }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 42px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ============ 主体 ============ */
.site-main { padding-bottom: 56px; min-height: 50vh; }
.page-body { padding-top: 26px; }
.home-body { padding-top: 8px; }

.section-head { margin: 34px 0 20px; }
.section-title { font-size: 24px; font-weight: 700; color: var(--dark); }
.section-title .title-flame { color: var(--red); }
.section-sub { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* ============ 正在热播 · 滚动榜单条 ============ */
.hero-rank {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 70%, var(--bg) 100%);
  padding: 6px 0 34px;
}
.hero-rank .section-title { color: #fff; font-size: 26px; }
.hero-rank .section-sub { color: #b7a9ac; }
.rank-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-behavior: smooth;
  counter-reset: rank;
  -webkit-overflow-scrolling: touch;
}
.rank-strip::-webkit-scrollbar { height: 6px; }
.rank-strip::-webkit-scrollbar-thumb { background: rgba(200, 16, 46, .5); border-radius: 6px; }
.rank-item {
  flex: 0 0 auto;
  width: 158px;
  min-width: 0;
  counter-increment: rank;
  position: relative;
  color: #fff;
  display: block;
}
.rank-num::before {
  content: counter(rank);
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(200, 16, 46, .45);
}
.rank-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #2a2426, #3a3033);
  box-shadow: var(--shadow);
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-item:hover .rank-thumb img { transform: scale(1.05); transition: transform .35s ease; }
.rank-title { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #fff;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.rank-meta { display: block; margin-top: 2px; font-size: 12px; color: #b7a9ac; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ HOT 火苗角标 ============ */
.hot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: linear-gradient(135deg, #ff5a3c, var(--red));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px 3px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(200, 16, 46, .4);
}
.hot-badge::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 8px;
  height: 10px;
  transform: translateY(-52%);
  background: #ffd166;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
}
.rank-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(20, 20, 20, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-grid { counter-reset: gridrank; }
.rank-grid .movie-card { counter-increment: gridrank; }
.rank-grid .rank-flag::before { content: counter(gridrank); }

/* ============ 海报网格卡片 ============ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 22px;
}
.movie-card {
  min-width: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.movie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #f3e6e8, #ecd8dc);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.movie-card:hover .card-thumb img { transform: scale(1.06); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.card-title { font-size: 14.5px; font-weight: 600; }
.card-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-intro { margin: 0; color: var(--muted); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin: auto 0 0; padding-top: 4px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card-meta a { color: var(--red); }

/* ============ 横向列表行卡片 ============ */
.movie-list { display: flex; flex-direction: column; gap: 18px; }
.movie-row {
  display: flex;
  gap: 18px;
  min-width: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.movie-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.row-thumb {
  flex: 0 0 118px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f3e6e8, #ecd8dc);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-title { font-size: 17px; font-weight: 700; }
.row-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-intro { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { margin: auto 0 0; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.row-meta a { color: var(--red); }
.row-tags { margin: 0; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.row-tags a { background: #faedee; color: var(--red-deep); border-radius: 999px; padding: 2px 10px; }

/* ============ 双栏布局 ============ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 340px);
  gap: 28px;
  align-items: start;
}
.main-col { min-width: 0; }
.sidebar { min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* ============ 侧栏 ============ */
.side-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 0;
}
.side-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}
.side-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
}
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topic-item {
  display: block;
  min-width: 0;
  background: linear-gradient(135deg, #fdf3f4, #f9e6e9);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-deep);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topic-item:hover { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: #f7ecee;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag-cloud a:hover { background: var(--red); color: #fff; }
.side-search { display: flex; min-width: 0; }
.side-search .search-input { flex: 1; width: auto; }
.side-list { display: flex; flex-direction: column; gap: 12px; }
.side-item { display: flex; gap: 12px; min-width: 0; align-items: center; }
.side-thumb {
  flex: 0 0 56px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f3e6e8, #ecd8dc);
}
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.side-item-title { font-size: 13px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-item-date { font-size: 12px; color: var(--muted); }

/* ============ 面包屑 ============ */
.breadcrumb { margin-bottom: 6px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; min-width: 0; max-width: 100%; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: #d3bfc3; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; display: inline-block; }

/* ============ 分页 ============ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 6px;
}
.pagination a {
  min-width: 40px;
  padding: 8px 14px;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pagination a:hover { background: var(--red); color: #fff; }
.pagination a:first-child,
.pagination a:last-child { background: var(--dark); color: #fff; }
.pagination a:first-child:hover,
.pagination a:last-child:hover { background: var(--red); }

/* ============ 视频详情 ============ */
.player-module {
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 20, 20, .3);
}
.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.hls-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-head {
  display: flex;
  gap: 24px;
  margin-top: 26px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  min-width: 0;
}
.video-poster {
  flex: 0 0 190px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f3e6e8, #ecd8dc);
  box-shadow: var(--shadow);
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.video-title { font-size: 26px; font-weight: 800; color: var(--dark); }
.video-score { margin: 0; font-size: 14px; color: var(--muted); }
.video-score strong { color: var(--red); font-size: 26px; font-weight: 800; margin: 0 2px; }
.score-note { font-size: 12px; }
.video-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ink);
}
.video-meta li { min-width: 0; overflow-wrap: anywhere; }
.video-meta .meta-wide { grid-column: 1 / -1; }
.meta-label { color: var(--muted); margin-right: 8px; }
.video-intro { margin: 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.video-body {
  margin-top: 26px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.video-body .section-title { font-size: 19px; margin-bottom: 14px; }
.video-content { font-size: 14px; line-height: 1.9; color: #43393b; min-width: 0; }
.video-content img { border-radius: var(--radius-sm); margin: 12px auto; }
.video-content p { margin: 0 0 12px; }
.video-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.video-content blockquote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 4px solid var(--red);
  background: #fdf3f4;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.related { margin-top: 30px; }
.related .section-title { margin-bottom: 16px; }

/* ============ 搜索无结果 ============ */
.no-result {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 24px;
  text-align: center;
}
.no-result-icon { font-size: 44px; margin: 0 0 12px; color: var(--red); font-weight: 800; }
.no-result-text { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.no-result-tip { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(200, 16, 46, .3);
}
.btn-primary:hover { color: #fff; opacity: .9; }

/* ============ 关于我们 ============ */
.about-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.about-content { font-size: 14px; line-height: 1.9; color: #43393b; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.stat-item {
  background: linear-gradient(135deg, #fdf3f4, #f9e6e9);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  min-width: 0;
}
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--red); }
.stat-label { font-size: 13px; color: var(--muted); }
.about-contact p { margin: 6px 0; font-size: 14px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--dark); color: #b7a9ac; margin-top: 20px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 30px;
  padding: 40px 16px 30px;
}
.footer-col { min-width: 0; }
.footer-logo { margin: 0 0 10px; font-size: 20px; color: #fff; }
.footer-desc { margin: 0; font-size: 13px; line-height: 1.8; }
.footer-title { font-size: 15px; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a { color: #b7a9ac; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { margin: 6px 0; font-size: 13px; }
.footer-contact a { color: #e6b7bf; }
.footer-contact a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; }
.footer-copy p { margin: 0; font-size: 12.5px; text-align: center; }
.footer-copy a { color: #e6b7bf; }

/* ============ 404 ============ */
.error-page { background: var(--dark); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.error-wrap { text-align: center; max-width: 460px; width: 100%; }
.error-code {
  font-size: 96px;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, var(--red), #ff6b52);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.error-title { color: #fff; font-size: 24px; margin: 10px 0; }
.error-desc { color: #b7a9ac; font-size: 14px; margin: 0 0 24px; }
.error-search { display: flex; justify-content: center; margin-bottom: 22px; }
.error-search .search-input { flex: 1; width: auto; border: none; }

/* ============ 骨架屏 / 淡入 ============ */
.card-thumb, .row-thumb, .side-thumb, .rank-thumb, .video-poster {
  background-image: linear-gradient(100deg, #f3e6e8 30%, #fbf1f2 45%, #f3e6e8 60%);
  background-size: 220% 100%;
  animation: skeleton 1.6s ease infinite;
}
@keyframes skeleton {
  0% { background-position: 120% 0; }
  100% { background-position: -80% 0; }
}
.js .card-thumb img, .js .row-thumb img, .js .side-thumb img, .js .rank-thumb img, .js .video-poster img {
  opacity: 0;
  transition: opacity .5s ease;
}
.js img.img-loaded { opacity: 1; }
.js img.img-broken { visibility: hidden; }
.js .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  .card-thumb, .row-thumb, .side-thumb, .rank-thumb, .video-poster { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { margin-top: 6px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header-inner { gap: 10px; }
  .site-logo { order: 1; }
  .nav-toggle { display: flex; order: 2; margin-left: auto; }
  .header-search { order: 3; width: 100%; flex-basis: 100%; }
  .header-search .search-input { flex: 1; width: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); white-space: normal; }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--red); }

  .section-title { font-size: 20px; }
  .hero-rank .section-title { font-size: 21px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 14px; }
  .movie-row { padding: 12px; gap: 12px; }
  .row-thumb { flex-basis: 92px; }
  .row-title { font-size: 15px; }
  .row-intro { -webkit-line-clamp: 2; }
  .video-head { flex-direction: column; }
  .video-poster { flex: 0 0 auto; width: 180px; max-width: 60%; }
  .video-title { font-size: 21px; }
  .video-meta { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rank-item { width: 132px; }
  .topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-item { width: 118px; }
  .pagination a { min-width: 36px; padding: 7px 11px; }
  .breadcrumb span { max-width: 180px; }
  .error-code { font-size: 72px; }
}
