/* ============================================================
   JUSTWATCH 风格流媒体指南 —— 全局样式
   设计要点：深蓝黑底 #101720 / #0c131e，品牌黄 #fbc500
   字体：Lato（正文）+ Anton（展示标题）
   ============================================================ */

:root {
  --jw-bg: #101720;
  --jw-bg-deep: #0c131e;
  --jw-bg-card: #111924;
  --jw-bg-elev: #1c252f;
  --jw-text: #fff;
  --jw-text-dim: #d2d3d5;
  --jw-text-mute: #c6c8cd;
  --jw-text-soft: #909398;
  --jw-text-faint: #657182;
  --jw-accent: #fbc500;
  --jw-green: #339b2a;
  --jw-line: #1a2029;
  --jw-section-gap: 96px;
  --jw-radius: 4px;
  --jw-gutter: 7.5vw;
  --jw-font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --jw-font-display: 'Anton', var(--jw-font);
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  src: local('Anton'), url('../assets/anton-regular.woff2') format('woff2');
  font-display: swap;
}

/* 基础重置 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--jw-font);
  background: var(--jw-bg);
  color: var(--jw-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

.container { padding-left: var(--jw-gutter); padding-right: var(--jw-gutter); }

/* 通用标题 */
h1, h2, h3, h4 { font-family: var(--jw-font); }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  height: 64px;
  padding: 0 24px;
  background: rgba(12, 19, 30, 0.1);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.site-header.is-scrolled,
.site-header:hover {
  background: #0c131e;
  border-bottom-color: #1a2029;
}
.header-brand { display: flex; align-items: center; }
.header-brand__link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-brand__logo {
  height: 44px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.header-brand__name {
  font-family: 'Anton', 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--jw-accent);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-brand__link:hover .header-brand__name { color: #ffd21f; }
.header-logo a { display: flex; align-items: center; }
.header-logo img { height: 26px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}
.header-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--jw-text-dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.header-nav a:hover { color: #fff; }
.header-nav a.active { color: #fff; border-bottom-color: var(--jw-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--jw-bg-elev);
  border: 1px solid #2a3442;
  border-radius: 6px;
  margin-left: auto;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.header-search:focus-within { border-color: var(--jw-accent); box-shadow: 0 0 0 2px rgba(251, 197, 0, 0.18); }
.header-search svg { color: var(--jw-text-soft); flex-shrink: 0; }
.header-search input {
  width: 220px;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.header-search input::placeholder { color: var(--jw-text-faint); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 900; border-radius: var(--jw-radius); transition: transform 0.06s, background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--jw-accent); outline-offset: 2px; }
.btn-gold { background: var(--jw-accent); color: #000; font-weight: 900; }
.btn-gold:hover { background: #ffd633; }
.btn-outline { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.18); }

.btn.signup-btn { height: 38px; padding: 0 18px; font-size: 14px; }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; color: var(--jw-text-dim);
  border-radius: 6px;
}
.icon-btn:hover { background: var(--jw-bg-elev); color: #fff; }
.dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; background: var(--jw-accent); border-radius: 50%; }
.avatar-btn { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7a5cff, #f093fb); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 4px; }
.hamburger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ============ 全局 Hero ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  min-height: 500px;
  padding: 150px 7.5vw 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#00000073, #00000059 55%, #000000d9 85%, #000);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/global-sports-hero-1-comp.png');
  background-position: 30% 35%;
  background-size: cover;
  z-index: 0;
  transform: scale(1.05);
}
[dir] .hero-bg--default {
  background-image: linear-gradient(180deg, #101720 0%, #0a0f18 100%);
}
/* 首页 Hero 暗化海报墙背景 */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 1fr;
  grid-auto-flow: dense;
  gap: 2px;
  filter: saturate(1.1);
}
.hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(90deg, #0a0f18e6 0%, #1017209e 35%, #1017209e 65%, #0a0f18e6 100%),
    linear-gradient(180deg, #0a0f18d9 0%, #10172059 40%, #10172059 62%, #0a0f18f2 100%);
}
.hero--home { overflow: hidden; }
.hero > :not(.hero-collage) { position: relative; z-index: 2; }
.hero-collage__cell {
  position: relative;
  overflow: hidden;
  background: #0c131e;
  min-height: 120px;
}
.hero-collage__cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-collage__cell.span2 { grid-column: span 2; }
.hero-collage__cell.span-r2 { grid-row: span 2; }
.hero__eyebrow {
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--jw-accent);
  font-weight: 900;
  text-transform: uppercase;
}
.hero__heading {
  max-width: 13ch;
  text-align: center;
  font-family: var(--jw-font);
  font-size: 51px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 auto;
}
.hero__heading .accent { color: var(--jw-accent); }
.hero__sub {
  text-align: center;
  color: var(--jw-text-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}
.hero__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(680px, 100%);
  height: 52px;
  padding: 0 8px 0 20px;
  background: #0c131e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.15s;
}
.hero__search:focus-within { border-color: var(--jw-accent); }
.hero__search svg { color: var(--jw-text-soft); }
.hero__search input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 16px; font-family: inherit;
}
.hero__search input::placeholder { color: var(--jw-text-soft); }
.hero__search .search-go {
  height: 38px; padding: 0 22px; border-radius: 6px; font-size: 14px;
}
.hero__providers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 860px;
}
.hero__providers p { width: 100%; text-align: center; color: var(--jw-text-faint); font-size: 14px; margin-bottom: 4px; }
.hero__providers .provider-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--jw-text-dim);
  font-size: 14px; font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}
.hero__providers .provider-chip:hover { background: rgba(255, 255, 255, 0.12); }
.hero__providers .provider-chip img { width: 22px; height: 22px; border-radius: 4px; }

/* ============ 榜单模块（Top 10） ============ */
.ranking-section { padding: 0 var(--jw-gutter); }
.ranking-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: var(--jw-section-gap); }
.ranking-col h2 { font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.ranking-items { display: flex; flex-direction: column; }
.ranking-item {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 0; border-radius: 6px;
}
.ranking-item:hover { background: rgba(255, 255, 255, 0.03); }
.ranking-num {
  width: 54px; flex-shrink: 0; text-align: right;
  font-family: var(--jw-font-display);
  font-size: 52px; line-height: 1;
  color: #fff;
  opacity: 0.9;
  letter-spacing: 1px;
}
.ranking-poster { position: relative; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.ranking-poster img { width: 72px; height: 108px; object-fit: cover; }
.ranking-meta { min-width: 0; }
.ranking-title { font-weight: 700; font-size: 16px; padding: 4px; }
.ranking-sub { color: var(--jw-text-soft); font-size: 13px; padding: 4px; }

/* ============ 横向滚动横栏 ============ */
.rail { padding: 0 var(--jw-gutter); margin-bottom: var(--jw-section-gap); }
/* 官网式两栏布局：标题栏在左、内容横栏在右（对齐 justwatch.com 的 global-titles 结构） */
.rail-split { display: flex; gap: 48px; align-items: flex-start; }
.rail-split__head { flex-shrink: 0; width: 300px; padding-top: 6px; }
.rail-split__body { flex: 1; min-width: 0; }
@media (max-width: 1200px) { .rail-split { gap: 28px; } .rail-split__head { width: 250px; } }
@media (max-width: 700px) {
  .rail-split { flex-direction: column; gap: 16px; }
  .rail-split__head { width: 100%; padding-top: 0; }
}
.rail__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rail__title { font-size: 20px; font-weight: 900; color: #eae bee; letter-spacing: 0.2px; }
.rail__see-all { color: var(--jw-text-faint); font-size: 14px; font-weight: 700; }
.rail__see-all:hover { color: var(--jw-accent); }
.rail-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.rail-scroll::-webkit-scrollbar { display: none; }

/* 横栏左右箭头控制 */
.rail-nav { position: relative; }
.rail-nav__btn {
  position: absolute;
  z-index: 20;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 23, 32, 0.82);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.92;
  transition: background 0.18s, color 0.18s, opacity 0.18s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  user-select: none;
}
.rail-nav__btn:active { transform: translateY(-50%) scale(0.92); }
.rail-nav:hover .rail-nav__btn { opacity: 1; }
.rail-nav__btn:hover { background: var(--jw-accent); color: #101720; border-color: var(--jw-accent); }
.rail-nav__btn--prev { left: 10px; }
.rail-nav__btn--next { right: 10px; }
@media (max-width: 600px) {
  .rail-nav__btn { width: 38px; height: 38px; font-size: 18px; }
}

/* 标题卡片 */
.title-card {
  flex-shrink: 0;
  width: 168px;
  scroll-snap-align: start;
  cursor: pointer;
}
.title-card:hover .title-card__poster { box-shadow: 0 0 0 2px var(--jw-accent); }
.title-card__poster {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--jw-bg-card);
  transition: box-shadow 0.12s;
}
.title-card__poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.title-card:hover .title-card__poster img { transform: scale(1.03); }
.title-card__badges {
  position: absolute; bottom: 6px; left: 6px;
  display: flex; align-items: center; gap: 4px;
}
.title-card__badges img.title-provider { width: 18px; height: 18px; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.title-card__num {
  position: absolute; top: 0; left: 0;
  background: var(--jw-accent); color: #000;
  font-weight: 900; font-size: 12px;
  padding: 3px 7px; border-bottom-right-radius: 4px;
}
.title-card__meta { margin-top: 8px; }
.title-card__meta .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-card__meta .info { color: var(--jw-text-soft); font-size: 13px; margin-top: 2px; }

/* ============ 分区（流媒体服务） ============ */
.distributor-section { padding: 0 var(--jw-gutter); margin-bottom: 20px; display: flex; gap: 48px; align-items: flex-start; }
.distributor-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex-shrink: 0; width: 300px; }
.distributor-head img.logo { height: 30px; }
.distributor-head .tag { font-size: 20px; font-weight: 900; line-height: 1.25; }
.distributor-head .tag .provider-name { color: #fff; }
.distributor-head .link { align-self: flex-end; color: var(--jw-text-faint); font-size: 14px; font-weight: 700; }
.distributor-head .link:hover { color: var(--jw-accent); }
.distributor-grid {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.distributor-grid::-webkit-scrollbar { display: none; }
.distributor-grid .title-card { width: 160px; flex-shrink: 0; }
@media (max-width: 1200px) {
  .distributor-section { gap: 28px; }
  .distributor-head { width: 250px; }
}
@media (max-width: 700px) {
  .distributor-section { flex-direction: column; gap: 16px; }
  .distributor-head { width: 100%; flex-direction: row; align-items: center; }
  .distributor-head .link { margin-left: auto; }
}

/* ============ 免费观看区块 ============ */
.free-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 56px 7.5vw;
  margin-bottom: var(--jw-section-gap);
}
.free-banner__bg {
  position: absolute; inset: 0;
  background-image: url('../assets/all_in_one_place-comp-2.webp');
  background-size: cover; background-position: center;
}
.free-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 24, 0.95), rgba(10, 15, 24, 0.65));
}
.free-banner__content { position: relative; z-index: 2; max-width: 460px; }
.free-banner__content h2 { font-size: 34px; font-weight: 900; line-height: 1.1; margin-bottom: 12px; }
.free-banner__content p { color: var(--jw-text-dim); margin-bottom: 24px; }
.free-banner__content .btn { height: 46px; padding: 0 30px; font-size: 15px; }

/* 图片卡片统一禁点击（用户要求：图片全部加限制，不能点击） */
.title-card,
.top10-card,
.genre-card,
.sports-card,
.featured-card,
.rail-card,
.hero-card,
.poster-card,
[class*="card"] a[href*="/show"],
a[href*="/show"] {
  pointer-events: none;
  cursor: default;
}
/* 恢复 See all / 导航等文本链接可点击 */
.rail__see-all,
.top10__see,
.provider-picks__head .rail__see-all,
.distributor-head .link,
.header-nav a,
.footer-col ul a,
.country-col ul a,
.btn {
  pointer-events: auto;
  cursor: pointer;
}

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--jw-line); background: var(--jw-bg-deep); padding: 56px 7.5vw 40px; }
.footer-col--brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-col--brand img { height: 20px; }
.footer-col--brand .brand-name { font-weight: 900; font-size: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 { font-size: 14px; color: var(--jw-text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--jw-text-dim); font-size: 14px; }
.footer-col ul a:hover { color: var(--jw-accent); }
/* 页脚 Top5 榜单（对齐官网） */
.footer-top5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--jw-line);
}
@media (max-width: 1200px) { .footer-top5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .footer-top5 { grid-template-columns: repeat(2, 1fr); } }
/* 国家列表（对齐官网 JustWatch is available in） */
.footer-countries {
  margin-top: 40px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--jw-line);
}
.footer-countries > h4 {
  font-size: 15px;
  color: var(--jw-text-dim);
  font-weight: 800;
  margin-bottom: 20px;
}
.countries-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
@media (max-width: 1200px) { .countries-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .countries-cols { grid-template-columns: repeat(2, 1fr); } }
.country-col h5 { font-size: 13px; color: var(--jw-text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }
.country-col ul li { margin-bottom: 6px; }
.country-col ul a { color: var(--jw-text-dim); font-size: 13px; }
.country-col ul a:hover { color: var(--jw-accent); }
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--jw-line);
  color: var(--jw-text-faint);
  font-size: 12px;
}
.footer-legal nav { display: flex; gap: 18px; margin-left: auto; }
.footer-legal nav a:hover { color: var(--jw-accent); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  background: var(--jw-bg-elev); color: var(--jw-text-dim);
  border-radius: 6px; font-weight: 700; font-size: 14px;
}

/* ============================
   详情页 (show)
   ============================ */
.detail { position: relative; padding-top: 64px; overflow: hidden; }
.detail__backdrop { position: absolute; inset: 0; z-index: 0; }
.detail__backdrop img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(4px) brightness(0.45);
  transform: scale(1.08);
}
.detail__inner { position: relative; z-index: 2; }
.detail__layout { display: flex; gap: 40px; padding: 40px 0 56px; align-items: flex-start; }
.detail__poster { flex-shrink: 0; width: 260px; position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.detail__poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.detail__poster-badges { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 4px; }
.detail__poster-badges .title-provider { width: 22px; height: 22px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.7); }

.detail__info { min-width: 0; flex: 1; padding-top: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; color: var(--jw-text-faint); font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--jw-text-faint); }
.breadcrumb a:hover { color: var(--jw-accent); }
.detail__title { font-size: 52px; font-weight: 900; line-height: 1.05; margin-bottom: 12px; font-family: var(--jw-font-display); letter-spacing: 1px; }
.detail__meta { display: flex; align-items: center; gap: 10px; color: var(--jw-text-dim); font-size: 15px; margin-bottom: 18px; flex-wrap: wrap; }
.detail__meta .sep { color: var(--jw-text-faint); }
.detail__meta .malformed-link { color: var(--jw-text-faint); }
.detail__desc { color: var(--jw-text-dim); font-size: 16px; line-height: 1.6; max-width: 640px; margin-bottom: 22px; }
.detail__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 26px; }
.detail__facts .fact { display: flex; flex-direction: column; gap: 2px; }
.detail__facts .k { color: var(--jw-text-faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail__facts .v { color: #fff; font-size: 14px; font-weight: 600; }
.detail__actions { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.detail__actions .btn { height: 46px; padding: 0 24px; font-size: 15px; }
.detail__actions .icon-act { padding: 0; width: 46px; font-size: 22px; }
.imdb-row { display: flex; align-items: center; gap: 10px; }
.imdb-logo { height: 18px; width: auto; }
.imdb-score { color: #f5c518; font-weight: 900; font-size: 16px; }
.imdb-sep, .jwscore { color: var(--jw-text-faint); font-size: 14px; }

/* 观看选项 */
.watch-section { margin-bottom: 56px; }
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.watch-head h2 { font-size: 22px; font-weight: 900; }
.watch-toggle { display: flex; background: var(--jw-bg-card); border: 1px solid var(--jw-line); border-radius: 8px; padding: 4px; gap: 2px; }
.watch-toggle .seg { padding: 8px 20px; border-radius: 6px; color: var(--jw-text-soft); font-weight: 900; font-size: 14px; }
.watch-toggle .seg:hover { color: #fff; }
.watch-toggle .seg.active { background: var(--jw-accent); color: #000; }

.offer-list { display: flex; flex-direction: column; border: 1px solid var(--jw-line); border-radius: 8px; overflow: hidden; }
.offer { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--jw-line); background: var(--jw-bg-card); }
.offer:last-child { border-bottom: none; }
.offer:hover { background: #151e28; }
.offer-logo { width: 38px; height: 38px; border-radius: 6px; object-fit: contain; background: #222c38; padding: 4px; }
.offer-info { display: flex; flex-direction: column; }
.offer-provider { font-weight: 800; font-size: 15px; }
.offer-subs { color: var(--jw-text-soft); font-size: 13px; }
.offer-action { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.offer-note { color: var(--jw-text-faint); font-size: 13px; }
.offer-action .btn { height: 38px; padding: 0 22px; font-size: 14px; }

@media (max-width: 900px) {
  .detail__layout { flex-direction: column; align-items: center; text-align: center; }
  .detail__poster { width: 200px; }
  .detail__info { display: flex; flex-direction: column; align-items: center; }
  .detail__desc { margin-left: auto; margin-right: auto; }
  .detail__facts { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .detail__actions { justify-content: center; }
}

/* ============ 通用工具 ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================
   首页增强模块（真实 JustWatch）
   ============================ */

/* Hero（首页版） */
.hero--home { background: #0c131e; padding-top: 96px; padding-bottom: 80px; }
.hero--home .hero__eyebrow { color: var(--jw-text-soft); font-weight: 700; letter-spacing: 0.4px; font-size: 15px; text-transform: none; margin-bottom: 12px; }
.hero--home .hero__heading { max-width: 24ch; font-size: 42px; margin-bottom: 18px; line-height: 1.12; }
.hero--home .hero__heading .accent { color: var(--jw-accent); }
.hero__promo { color: var(--jw-text); font-size: 17px; line-height: 1.55; margin: 0 0 20px; max-width: 620px; }
.hero__promo strong { color: var(--jw-accent); font-weight: 800; }
.hero__promo-gift { margin-right: 6px; }
.hero__cta { margin: 0 0 34px; }
.hero__download, .footer__download { display: inline-block; padding: 14px 40px; font-size: 17px; font-weight: 800; border-radius: 10px; }
.hero--home .hero__providers { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; max-width: 100%; }
.hero--home .hero__providers::-webkit-scrollbar { display: none; }
.provider-logo {
  flex-shrink: 0; width: 44px; height: 44px; margin-right: 6px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
}
.provider-logo img { width: 32px; height: 32px; object-fit: contain; }
.hero__hint { width: 100%; text-align: left; color: var(--jw-text-faint); font-size: 13px; margin-bottom: 16px; }
.hero__search { margin-bottom: 28px; }

/* Top 10 */
.top10, .genre-top { margin-bottom: 72px; display: flex; gap: 48px; align-items: flex-start; }
@media (max-width: 1200px) { .top10, .genre-top { gap: 28px; } }
@media (max-width: 700px) { .top10, .genre-top { flex-direction: column; gap: 20px; } }
.top10__head { padding-top: 6px; flex-shrink: 0; width: 380px; padding-right: 48px; }
@media (max-width: 1200px) { .top10__head { width: 300px; padding-right: 28px; } }
@media (max-width: 700px) { .top10__head { width: 100%; padding-right: 0; position: static; } }
.top10__title { font-size: 20px; font-weight: 900; margin-bottom: 12px; line-height: 1.2; letter-spacing: 0.2px; color: #eae bee; }
.top10__desc { color: #8a8d98; font-size: 16px; line-height: 1.5; margin-bottom: 24px; max-width: 330px; }
.top10__see { display: inline-block; color: var(--jw-text-dim); font-size: 14px; font-weight: 700; padding-top: 4px; }
.top10__see:hover { color: var(--jw-accent); }
.top10__wr{ flex: 1; min-width: 0; }
.top10--scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.top10--scroll::-webkit-scrollbar { display: none; }
.top10-card { position: relative; flex-shrink: 0; width: 212px; scroll-snap-align: start; }
.top10-card:hover .top10-card__poster { box-shadow: 0 0 0 2px var(--jw-accent); }
.top10-card__num {
  position: absolute; top: -20px; left: -4px; z-index: 2;
  font-family: var(--jw-font-display);
  font-size: 108px; line-height: 1; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  pointer-events: none;
}
.top10-card__num--sm { font-size: 92px; }
.top10-card__poster { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 2/3; background: var(--jw-bg-card); transition: box-shadow 0.12s; }
.top10-card__poster img { width: 100%; height: 100%; object-fit: cover; }
.top10-card__meta { margin-top: 8px; }
.top10-card__meta .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top10-card__meta .info { color: var(--jw-text-soft); font-size: 13px; }
.top10-card__meta .score { margin-top: 2px; color: var(--jw-text-soft); font-size: 13px; }
.top10-card__meta .score .imdb { color: #f5c518; font-weight: 800; }
.top10-card__meta .dot-sep { color: var(--jw-text-faint); }

/* How JustWatch works */
.how { margin-bottom: 72px; }
.how__intro { text-align: center; margin-bottom: 32px; }
.how__title { font-size: 30px; font-weight: 900; }
.how__sub { color: var(--jw-text-soft); margin-top: 4px; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0 var(--jw-gutter); }
.how-card { border-radius: 10px; overflow: hidden; background: var(--jw-bg-card); }
.how-card__visual { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #0a1018; }
.how-card__title { font-size: 20px; font-weight: 900; margin: 16px 20px 6px; }
.how-card__text { color: var(--jw-text-soft); font-size: 14px; line-height: 1.55; padding: 0 20px 24px; }

/* 编辑精选 */
.featured { margin-bottom: 72px; }
.featured--scroll { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--jw-gutter) 12px; scrollbar-width: none; }
.featured--scroll::-webkit-scrollbar { display: none; }
.featured-card { position: relative; flex-shrink: 0; width: 420px; height: 236px; border-radius: 10px; overflow: hidden; scroll-snap-align: start; }
.featured-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); transition: transform 0.3s; }
.featured-card:hover .featured-card__bg { transform: scale(1.04); }
.featured-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--jw-accent); color: #000;
  font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 4px;
}
.featured-card__body { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.featured-card__sub { color: var(--jw-text-dim); font-size: 13px; font-weight: 700; }
.featured-card__title { font-size: 30px; font-weight: 900; margin: 2px 0 6px; font-family: var(--jw-font-display); letter-spacing: 0.5px; }
.featured-card__score { color: var(--jw-text-dim); font-size: 14px; display: block; }
.featured-card__score em { color: var(--jw-text-soft); font-style: normal; }
.featured-card__more { display: inline-block; margin-top: 12px; color: var(--jw-accent); font-weight: 800; font-size: 14px; }

/* 免费 / 基础横栏描述 */
.rail .rail__desc { color: #8a8d98; font-size: 16px; line-height: 24px; margin: 0 0 24px; }
.free { margin-bottom: 72px; }

/* 分类 Top10 */
.genre-top { margin-bottom: 40px; }
.genre-top .rail-scroll { margin-bottom: 6px; }
.genre-card { position: relative; flex-shrink: 0; width: 168px; scroll-snap-align: start; }
.genre-card img { width: 100%; border-radius: 4px; aspect-ratio: 2/3; object-fit: cover; }
.genre-card:hover img { box-shadow: 0 0 0 2px var(--jw-accent); }
.genre-card__num {
  position: absolute; top: -14px; left: -4px; z-index: 2;
  font-family: var(--jw-font-display); font-size: 86px; line-height: 1; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); pointer-events: none;
}
.genre-card__name { display: block; margin-top: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 流媒体精选 */
.provider-picks { margin-bottom: 72px; padding: 0 var(--jw-gutter); display: flex; gap: 48px; align-items: flex-start; }
.provider-picks__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex-shrink: 0; width: 300px; }
.provider-picks__logo { width: 34px; height: 34px; border-radius: 6px; }
.provider-picks__name { font-size: 20px; font-weight: 900; line-height: 1.25; }
.provider-picks__head .rail__see-all { align-self: flex-end; }
.provider-picks__head .rail__see-all:hover { color: var(--jw-accent); }
.provider-picks .rail-scroll { display: flex; flex: 1; min-width: 0; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.provider-picks .rail-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 1200px) {
  .provider-picks { gap: 28px; }
  .provider-picks__head { width: 250px; }
}
@media (max-width: 700px) {
  .provider-picks { flex-direction: column; gap: 16px; }
  .provider-picks__head { width: 100%; flex-direction: row; align-items: center; }
  .provider-picks__name { flex: 1; }
}

/* ============ 体育专区（对齐 JustWatch Sports） ============ */
.sports { margin-bottom: 72px; }
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.sports-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: var(--jw-bg-card);
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.sports-card:hover { border-color: var(--jw-accent); background: #1b2534; }
.sports-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.sports-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.sports-card__name { font-size: 14px; font-weight: 800; color: #fff; line-height: 1.2; }
.sports-card__count { font-size: 12px; color: var(--jw-text-soft); }

/* 首页 Hero 下部区（承接主样式） */
.title-card__badge { display: inline-flex; margin-right: 3px; }
.title-card__badge img { width: 18px; height: 18px; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* 页脚真实版 */
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid var(--jw-line); padding-bottom: 28px; }
.footer-logo { height: 26px; width: auto; }
.footer-brand { font-family: 'Anton','Lato',sans-serif; font-size: 24px; letter-spacing: 0.5px; color: var(--jw-accent); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.footer-brand__logo { height: 34px; width: auto; border-radius: 6px; }
.copyright { margin-left: auto; }

/* 移动端导航抽屉 */
.mobile-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: #0c131e; border-bottom: 1px solid var(--jw-line);
  flex-direction: column; padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 24px; font-weight: 700; color: var(--jw-text-dim); }
.mobile-nav a:hover { background: var(--jw-bg-elev); color: #fff; }
.header-search--mobile { display: none; }

@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-card { width: 82vw; }
  .hero--home .hero__heading { font-size: 34px; }
  .header-search--mobile { display: flex; margin-left: 0; width: 100%; order: 10; }
  .header-search--mobile input { flex: 1; }
  .hero__search .search-go { display: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1050px) {
  .site-header { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px; }
  .hero { padding-top: 130px; }
  .hero__heading { font-size: 40px; }
  .ranking-row { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .hero__heading { font-size: 32px; }
  .hero__providers .provider-chip:nth-child(n+7) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .title-card { width: 130px; }
}