:root {
  --sky: #0284c7;
  --sky-soft: #e0f2fe;
  --pink: #db2777;
  --pink-soft: #fce7f3;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f8fafc;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
}

.logo-text {
  font-size: 22px;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--sky);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(280px, 24vw);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input {
  padding: 10px 8px 10px 16px;
}

.header-search button {
  width: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #334155;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: #fff;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-search input {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--sky);
  color: #fff;
  font-weight: 700;
}

.mobile-nav {
  display: grid;
  gap: 10px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0ea5e9 54%, #ec4899);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(12px) saturate(1.2);
  transform: scale(1.08);
  opacity: 0.44;
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
    radial-gradient(circle at 76% 26%, rgba(236, 72, 153, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 70px 0;
}

.hero-copy {
  max-width: 680px;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sky);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1,
.detail-info h1,
.page-hero h1 {
  margin: 18px 0;
  line-height: 1.08;
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -0.06em;
}

.hero-copy p,
.detail-info p,
.page-hero p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
  text-shadow: 0 8px 30px rgba(15, 23, 42, 0.35);
}

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

.hero-tags span,
.card-tags span {
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

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

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

.primary-btn {
  background: #fff;
  color: var(--sky);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.24);
}

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

.primary-btn.light {
  background: #fff;
  color: var(--sky);
}

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

.hero-poster {
  width: min(33vw, 340px);
  flex: 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(2, 6, 23, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-dots button.active {
  width: 30px;
  background: #fff;
}

.content-section {
  padding: 74px 0;
}

.white-section {
  background: #fff;
}

.soft-section {
  background: linear-gradient(135deg, #f0f9ff, #fff1f8);
}

.home-search-section {
  padding: 34px 0;
  background: #fff;
}

.search-panel,
.large-search {
  display: flex;
  align-items: center;
  gap: 22px;
}

.search-panel {
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc, #fdf2f8);
  box-shadow: var(--shadow);
}

.search-panel h2,
.section-head h2,
.ranking-card h2,
.detail-article h2,
.side-panel h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

.search-panel p,
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.large-search {
  flex: 0 1 520px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
}

.large-search input {
  padding: 15px 20px;
}

.large-search button {
  align-self: stretch;
  border: 0;
  padding: 0 26px;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  color: #fff;
  font-weight: 800;
}

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

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

.section-head > a,
.inline-head > a {
  color: var(--sky);
  font-weight: 800;
}

.inline-head {
  align-items: center;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e0f2fe, #fce7f3);
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-type {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(14, 165, 233, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.card-tags {
  margin-top: 12px;
}

.card-tags span {
  background: var(--sky-soft);
  color: var(--sky);
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 122px 1fr;
}

.movie-card.compact .poster-link {
  aspect-ratio: auto;
  min-height: 128px;
}

.movie-card.compact .card-body {
  padding: 14px;
}

.movie-card.compact .card-tags {
  display: none;
}

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

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  box-shadow: var(--shadow);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.8));
}

.category-name,
.category-desc,
.category-sample {
  position: absolute;
  left: 18px;
  right: 18px;
}

.category-name {
  bottom: 84px;
  font-size: 23px;
  font-weight: 900;
}

.category-desc {
  bottom: 42px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.category-sample {
  bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 34px;
}

.ranking-card,
.side-panel,
.detail-article {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.ranking-card {
  padding: 22px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

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

.rank-poster img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rank-poster span {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), #f97316);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.rank-title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 850;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.cta-section {
  padding: 78px 0;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 50px);
  letter-spacing: -0.05em;
}

.cta-section p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  position: relative;
  padding: 54px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, var(--sky), var(--pink));
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 6vw, 58px);
}

.page-hero p {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs:not(.light) {
  color: rgba(255, 255, 255, 0.82);
}

.filter-box {
  max-width: 640px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.filter-box input {
  padding: 16px 22px;
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
}

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

.detail-main {
  background: #fff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(1.25);
  transform: scale(1.08);
  opacity: 0.34;
}

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

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

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(42px, 6vw, 72px);
}

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

.detail-meta-grid span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.detail-meta-grid b {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.dark-player-section {
  padding-top: 54px;
  padding-bottom: 54px;
  background: #030712;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.78));
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.player-start {
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  color: #fff;
  box-shadow: 0 22px 46px rgba(14, 165, 233, 0.28);
}

.player-start span {
  margin-left: 6px;
  font-size: 40px;
}

.player-cover strong {
  max-width: 80%;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  text-align: center;
}

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

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

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 26px;
  color: #374151;
  font-size: 17px;
}

.info-table {
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-table span,
.info-table strong {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.info-table span:nth-last-child(2),
.info-table strong:last-child {
  border-bottom: 0;
}

.info-table span {
  background: #f8fafc;
  color: #64748b;
}

.info-table strong {
  font-weight: 750;
}

.info-table a {
  color: var(--sky);
}

.site-footer {
  padding: 48px 0 0;
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #cbd5e1;
}

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

.footer-bottom {
  margin-top: 38px;
  padding: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  text-align: center;
}

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

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

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

  .two-column,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-content,
  .detail-layout,
  .search-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-poster {
    width: min(72vw, 310px);
    margin: 0 auto;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .header-inner {
    height: 66px;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 700px;
  }

  .hero-content {
    padding: 50px 0 84px;
  }

  .hero-copy h1,
  .detail-info h1 {
    font-size: 40px;
  }

  .content-section {
    padding: 48px 0;
  }

  .section-head {
    display: grid;
    gap: 10px;
  }

  .featured-grid,
  .movie-grid,
  .catalog-grid,
  .mini-grid,
  .rank-grid,
  .category-grid,
  .large-category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card.compact,
  .rank-item {
    grid-template-columns: 112px 1fr;
  }

  .detail-layout {
    display: block;
  }

  .detail-poster {
    max-width: 260px;
    margin-bottom: 26px;
  }

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

  .info-table span,
  .info-table strong {
    border-bottom: 1px solid var(--line);
  }
}
