:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --card: rgba(15, 23, 42, 0.88);
  --card-strong: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --accent: #2563eb;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(37, 99, 235, 0.28), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.18), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(22px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

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

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

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

.nav-link {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
}

.header-search input,
.mobile-panel input,
.search-page-form input,
.local-filter {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-panel input:focus,
.search-page-form input:focus,
.local-filter:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.header-search button,
.search-page-form button {
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  cursor: pointer;
}

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

.mobile-toggle {
  display: none;
  margin-left: auto;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  padding: 8px 12px;
}

.mobile-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-panel input {
  padding: 12px 16px;
}

.mobile-panel button {
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  padding: 0 16px;
}

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

.mobile-panel a {
  color: #dbeafe;
  padding: 8px 0;
}

.page-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.hero-section {
  margin-bottom: 64px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(8, 145, 178, 0.86) 45%, rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.24), transparent 22rem);
  box-shadow: var(--shadow);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 420px;
  gap: 44px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.section-heading span,
.page-hero > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #bfdbfe;
  border: 1px solid rgba(191, 219, 254, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.36);
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(36px, 5.8vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  color: #e0f2fe;
  font-size: clamp(24px, 3vw, 38px);
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
}

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

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

.primary-button {
  color: #075985;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.22);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.45);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.55);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-glow {
  position: absolute;
  inset: auto 24px 24px;
  height: 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.8);
  filter: blur(14px);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: clamp(32px, 6vw, 72px);
  bottom: 30px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

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

.section-block {
  margin: 0 0 64px;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--blue);
  font-weight: 800;
}

.compact-heading {
  align-items: start;
  flex-direction: column;
}

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

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

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

.movie-card,
.rank-row,
.detail-card,
.sticky-panel,
.category-overview-card,
.video-shell {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.92));
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.32);
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.22);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.movie-cover img,
.rank-cover img,
.related-item img,
.poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.78));
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.8);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.duration-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  padding: 4px 9px;
  font-size: 12px;
}

.movie-card-body {
  padding: 18px;
}

.category-pill {
  display: inline-flex;
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h2,
.movie-card h3,
.rank-row h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h2 a:hover,
.movie-card h3 a:hover,
.rank-row h3 a:hover,
.related-item:hover strong {
  color: var(--blue);
}

.movie-card p,
.rank-row p,
.category-card p,
.category-overview-card p,
.page-hero p,
.footer-grid p,
.text-section p {
  color: var(--muted);
  line-height: 1.75;
}

.movie-card p {
  min-height: 54px;
  margin: 0 0 14px;
  font-size: 14px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #cbd5e1;
  font-size: 13px;
}

.tag-row {
  margin-top: 14px;
}

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

.category-card,
.category-main-link,
.side-category-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.side-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.4);
}

.category-icon,
.category-main-link span,
.side-category-card span {
  display: block;
  margin-bottom: 16px;
  font-size: 34px;
}

.category-card h3,
.category-main-link h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.category-card div {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.gradient-red { background: linear-gradient(135deg, #ef4444, #be123c); }
.gradient-blue { background: linear-gradient(135deg, #2563eb, #0891b2); }
.gradient-purple { background: linear-gradient(135deg, #7c3aed, #db2777); }
.gradient-cyan { background: linear-gradient(135deg, #0891b2, #2563eb); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.gradient-green { background: linear-gradient(135deg, #16a34a, #059669); }
.gradient-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.gradient-yellow { background: linear-gradient(135deg, #eab308, #ea580c); }
.gradient-slate { background: linear-gradient(135deg, #334155, #020617); }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

.rank-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 132px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border-radius: 22px;
  padding: 14px;
}

.full-rank-list .rank-row {
  grid-template-columns: auto 180px minmax(0, 1fr);
}

.rank-number {
  align-self: center;
  color: #7dd3fc;
  font-size: 28px;
  font-weight: 900;
  min-width: 46px;
  text-align: center;
}

.rank-cover {
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

.rank-content {
  padding: 4px 0;
}

.rank-content h3 {
  font-size: 22px;
}

.page-hero {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 30px;
  margin-bottom: 36px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.18), transparent 26rem),
    linear-gradient(135deg, rgba(37, 99, 235, 0.72), rgba(15, 23, 42, 0.92));
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 850px;
  margin: 0;
  font-size: 17px;
}

.list-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.7);
  padding: 16px;
}

.list-controls label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 700;
}

.wide-controls label:first-child {
  flex: 1 1 520px;
}

.local-filter,
.movie-sort {
  min-height: 44px;
  padding: 0 15px;
}

.movie-sort {
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: #0f172a;
  outline: none;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 28px;
}

.category-main-link {
  border-radius: 0;
}

.category-mini-list {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(2, 6, 23, 0.55);
}

.related-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 10px;
  transition: background 0.2s ease;
}

.related-item:hover {
  background: rgba(148, 163, 184, 0.12);
}

.related-item img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0f172a;
}

.related-item strong,
.related-item em {
  display: block;
}

.related-item strong {
  line-height: 1.45;
}

.related-item em {
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin-top: 24px;
}

.search-page-form input {
  padding: 15px 18px;
}

.search-page-form button {
  min-width: 110px;
  padding: 0 22px;
}

.search-state {
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  padding: 16px;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #cbd5e1;
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 700;
}

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

.detail-main-column {
  display: grid;
  gap: 24px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.42);
  font-size: 36px;
  transform: translateX(3px);
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fecaca;
  background: rgba(0, 0, 0, 0.82);
  padding: 24px;
  text-align: center;
}

.detail-card {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
}

.detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: start;
}

.detail-card h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.detail-one-line {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.poster-thumb {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

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

.detail-meta-grid span {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.32);
  padding: 12px;
  color: #e2e8f0;
}

.detail-meta-grid strong {
  color: var(--muted);
  font-size: 12px;
}

.large-tags {
  margin-bottom: 28px;
}

.text-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}

.text-section h2,
.sticky-panel h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.text-section p {
  margin: 0;
  color: #dbeafe;
  white-space: pre-line;
}

.review-box {
  border-radius: 22px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(14, 165, 233, 0.08);
  padding: 24px;
}

.detail-sidebar {
  display: grid;
  gap: 18px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
  border-radius: 26px;
  padding: 18px;
}

.related-list {
  display: grid;
  gap: 8px;
}

.side-category-card strong,
.side-category-card em {
  display: block;
}

.side-category-card strong {
  font-size: 22px;
}

.side-category-card em {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 30px;
}

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

.footer-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: #cbd5e1;
}

.footer-grid a:hover {
  color: var(--blue);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #64748b;
  padding: 18px 0 28px;
  text-align: center;
}

.is-filter-hidden {
  display: none !important;
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-slide {
    grid-template-columns: 1fr 320px;
  }

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

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

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

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  .page-main {
    width: min(100% - 22px, 1280px);
    padding-top: 20px;
  }

  .nav-shell {
    width: min(100% - 22px, 1280px);
    gap: 12px;
  }

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

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .hero-carousel {
    min-height: 760px;
    border-radius: 24px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 26px;
  }

  .hero-poster {
    max-width: 260px;
  }

  .hero-dots {
    left: 26px;
    bottom: 20px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid,
  .feature-grid,
  .small-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    font-size: 18px;
    min-width: 36px;
  }

  .rank-cover {
    height: 96px;
  }

  .rank-content h3 {
    font-size: 18px;
  }

  .rank-content p {
    display: none;
  }

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

  .poster-thumb {
    max-width: 190px;
  }

  .search-page-form {
    flex-direction: column;
  }
}
