:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.84);
  --panel-strong: rgba(15, 23, 42, 0.96);
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #06b6d4;
  --cyan-soft: rgba(6, 182, 212, 0.16);
  --cyan-line: rgba(34, 211, 238, 0.34);
  --shadow: 0 25px 70px rgba(2, 6, 23, 0.42);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.18), transparent 34rem),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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(2, 6, 23, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #001018;
  background: linear-gradient(135deg, #22d3ee, #67e8f9);
  border-radius: 13px;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

.logo-text {
  font-size: 1.08rem;
}

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

.nav-link,
.mobile-link {
  color: #cbd5e1;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: rgba(34, 211, 238, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle,
.menu-toggle,
.search-head button {
  border: 1px solid var(--line);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.search-toggle {
  padding: 10px 18px;
  border-radius: 999px;
}

.search-toggle:hover,
.menu-toggle:hover,
.search-head button:hover {
  border-color: var(--cyan-line);
  background: rgba(8, 145, 178, 0.24);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #e2e8f0;
  border-radius: 99px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: rgba(2, 6, 23, 0.94);
}

.mobile-menu.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 16px;
}

.hero {
  position: relative;
  height: 78vh;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.01);
}

.hero-bg,
.hero-bg img,
.hero-bg span,
.detail-bg,
.detail-bg img,
.detail-bg span {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fade {
  background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.78) 34%, rgba(2, 6, 23, 0.28) 100%);
}

.hero-side-fade {
  background: linear-gradient(to right, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.74));
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 46px;
  padding-bottom: 86px;
}

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

.hero-badges,
.hero-tags,
.tag-row,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span,
.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid var(--cyan-line);
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero-badges span:nth-child(n+2) {
  color: #e2e8f0;
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.68);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero p,
.page-hero p,
.section-heading p,
.detail-copy .lead-text {
  color: #cbd5e1;
  line-height: 1.85;
}

.hero p {
  max-width: 660px;
  font-size: 1.12rem;
}

.hero-tags {
  margin: 26px 0;
}

.hero-actions,
.detail-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  color: #001018;
  background: linear-gradient(135deg, #22d3ee, #67e8f9);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  box-shadow: 0 22px 50px rgba(6, 182, 212, 0.34);
}

.ghost-btn {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.hero-poster {
  display: block;
  align-self: end;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: #22d3ee;
}

.quick-search,
.page-hero,
.section-block {
  position: relative;
}

.quick-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: -34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search h2,
.page-hero h1,
.section-heading h2 {
  margin: 6px 0 0;
}

.eyebrow {
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-block {
  padding: 70px 0 0;
}

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

.section-heading h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p {
  max-width: 640px;
  margin: 10px 0 0;
}

.section-heading > a {
  color: #67e8f9;
  border-bottom: 1px solid rgba(103, 232, 249, 0.5);
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  border-color: var(--cyan-line);
  box-shadow: 0 25px 60px rgba(6, 182, 212, 0.14);
  transform: translateY(-6px);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.3s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.74), transparent 55%);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  color: #001018;
  background: #67e8f9;
  border-radius: 999px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.movie-info {
  padding: 15px;
}

.movie-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.movie-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 8px;
  color: rgba(148, 163, 184, 0.55);
}

.movie-info h3,
.rank-item h3 {
  margin: 8px 0;
  line-height: 1.35;
}

.movie-info h3 a,
.rank-item h3 a {
  transition: color 0.25s ease;
}

.movie-info h3 a:hover,
.rank-item h3 a:hover {
  color: #67e8f9;
}

.movie-info p,
.rank-item p {
  display: -webkit-box;
  min-height: 3.5em;
  margin: 0 0 12px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row span {
  min-height: 24px;
  padding: 3px 9px;
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.76rem;
}

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

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.category-tile img,
.category-tile span {
  position: absolute;
  inset: 0;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.category-tile span {
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.18));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile strong {
  margin-top: 112px;
  font-size: 1.28rem;
}

.category-tile em {
  margin-top: 10px;
  color: #cbd5e1;
  font-style: normal;
  line-height: 1.65;
}

.category-tile:hover img {
  opacity: 0.72;
  transform: scale(1.06);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.74);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rank-item:hover {
  border-color: var(--cyan-line);
  transform: translateY(-4px);
}

.rank-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.rank-poster img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.rank-poster span {
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  color: #001018;
  background: #67e8f9;
  border-radius: 999px;
  font-weight: 900;
}

.page-main {
  padding-bottom: 90px;
}

.page-hero {
  padding: 70px 0 18px;
}

.page-hero h1 {
  margin: 12px 0 14px;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-nav a {
  padding: 9px 14px;
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
}

.category-nav a:hover {
  color: #67e8f9;
  border-color: var(--cyan-line);
}

.filter-panel {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-panel input,
.filter-panel select,
.search-input {
  width: 100%;
  min-height: 44px;
  color: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  outline: none;
}

.filter-panel input,
.search-input {
  padding: 0 14px;
}

.filter-panel select {
  max-width: 170px;
  padding: 0 12px;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-input:focus {
  border-color: var(--cyan-line);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.empty-state {
  display: none;
  padding: 38px;
  color: #cbd5e1;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
}

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

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: start center;
  padding: 92px 16px 16px;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(12px);
}

.search-panel.is-open {
  display: grid;
}

.search-card {
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.search-head button {
  padding: 8px 12px;
  border-radius: 999px;
}

.search-input {
  display: block;
  width: calc(100% - 36px);
  margin: 18px;
}

.search-results {
  max-height: 520px;
  overflow: auto;
  padding: 0 18px 18px;
}

.search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.25s ease;
}

.search-result:hover {
  background: rgba(34, 211, 238, 0.1);
}

.search-result img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.search-result strong {
  display: block;
  margin: 4px 0 6px;
}

.search-result span {
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-main {
  padding-bottom: 88px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 70px;
}

.detail-bg {
  z-index: -1;
}

.detail-bg img {
  opacity: 0.28;
  filter: blur(4px);
  transform: scale(1.04);
}

.detail-bg span {
  background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.9) 54%, rgba(2, 6, 23, 0.68));
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  color: #94a3b8;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-poster img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.detail-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.64);
}

.detail-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-meta dd {
  margin: 0;
  color: #f8fafc;
}

.detail-tags {
  margin-bottom: 26px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 26px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  border: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.25));
  cursor: pointer;
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  color: #001018;
  background: #67e8f9;
  border-radius: 999px;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.55);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.4rem;
}

.player-overlay em {
  color: #cbd5e1;
  font-style: normal;
}

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

.content-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.74);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.content-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.95;
}

.detail-nav-links {
  justify-content: space-between;
  margin: 6px 0 12px;
}

.detail-nav-links a {
  max-width: min(100%, 520px);
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
}

.detail-nav-links a:hover {
  color: #67e8f9;
  border-color: var(--cyan-line);
}

.site-footer {
  margin-top: 90px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 26px;
}

.footer-grid p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.footer-links a,
.footer-tags a {
  padding: 8px 12px;
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.footer-links a:hover,
.footer-tags a:hover {
  color: #67e8f9;
  border-color: var(--cyan-line);
}

[data-card].is-hidden {
  display: none;
}

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

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

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 120px;
    padding-bottom: 90px;
  }

  .hero-poster {
    display: none;
  }

  .quick-search,
  .section-heading,
  .filter-panel,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .category-grid,
  .category-grid.large,
  .rank-list,
  .rank-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid {
    display: grid;
  }

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

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

  .site-header .search-toggle {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1,
  .detail-copy h1 {
    letter-spacing: -0.03em;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .category-grid,
  .category-grid.large,
  .rank-list,
  .rank-list.compact {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .rank-poster img {
    height: 112px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .player-overlay strong {
    font-size: 1.12rem;
  }
}

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

.index-list a {
  display: block;
  padding: 12px 14px;
  overflow: hidden;
  color: #cbd5e1;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
}

.index-list a:hover {
  color: #67e8f9;
  border-color: var(--cyan-line);
}

@media (max-width: 900px) {
  .index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .index-list {
    grid-template-columns: 1fr;
  }
}
