* {
  box-sizing: border-box;
}

:root {
  --sky: #0ea5e9;
  --sky-dark: #0369a1;
  --pink: #ec4899;
  --amber: #f59e0b;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #fdf2f8 100%);
}

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

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

img.image-hidden {
  opacity: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--sky-dark), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: #374151;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--sky-dark);
}

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

.header-search {
  position: relative;
  width: 220px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.search-panel input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 11px 44px 11px 16px;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.search-panel input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.header-search button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--sky), var(--pink));
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #334155;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.mobile-search input {
  padding-right: 16px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sky), var(--pink));
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: linear-gradient(135deg, #38bdf8 0%, #f9a8d4 52%, #fde68a 100%);
}

.hero-light {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.34;
  background: #ffffff;
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-light-one {
  width: 190px;
  height: 190px;
  left: 7%;
  top: 10%;
}

.hero-light-two {
  width: 250px;
  height: 250px;
  right: 9%;
  top: 26%;
  animation-delay: 0.8s;
}

.hero-light-three {
  width: 290px;
  height: 290px;
  left: 42%;
  bottom: 8%;
  animation-delay: 1.5s;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  padding: 54px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy {
  color: #ffffff;
  text-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.hero-pill,
.detail-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
}

.hero-pill {
  margin-bottom: 18px;
  padding: 8px 16px;
  color: var(--sky-dark);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  text-shadow: none;
}

.hero h1,
.hero h2 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p {
  width: min(650px, 100%);
  margin: 0 0 24px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--pink));
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-light {
  color: var(--sky-dark);
  background: #ffffff;
}

.btn-block {
  width: 100%;
}

.hero-cover {
  justify-self: center;
  width: min(390px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  transform: rotate(1deg);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 30px;
  z-index: 5;
}

.hero-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.hero-next {
  right: 0;
  transform: translate(50%, -50%);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
  padding: 72px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(135deg, #f0f9ff 0%, #fff1f2 100%);
}

.section-category {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 45%, #f0f9ff 100%);
}

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

.eyebrow {
  margin-bottom: 10px;
  padding: 6px 12px;
  color: var(--sky-dark);
  background: #e0f2fe;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.detail-card h1 {
  margin: 0;
  color: #111827;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.text-link {
  color: var(--sky-dark);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

.movie-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

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

.poster-shell::after,
.rank-poster::after,
.aside-cover::after,
.category-cover-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0.04) 58%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shell::after,
.rank-row:hover .rank-poster::after,
.category-overview-card:hover .category-cover-stack::after {
  opacity: 1;
}

.poster-shell img,
.rank-poster img,
.aside-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-shell img,
.rank-row:hover .rank-poster img,
.aside-cover:hover img {
  transform: scale(1.07);
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: rgba(14, 165, 233, 0.92);
  backdrop-filter: blur(10px);
}

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

.movie-title {
  display: block;
  margin-bottom: 9px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.2s ease;
}

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

.movie-card-body p,
.rank-copy p,
.category-card p,
.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.movie-meta span,
.detail-meta span {
  color: #64748b;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
}

.tag-row-large span {
  font-size: 13px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 15px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff, #f8fafc);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.rank-poster {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe, #fce7f3);
}

.rank-number {
  position: absolute;
  left: -6px;
  top: -6px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), #f97316);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.28);
}

.rank-copy a {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 20px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
  padding: 25px;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(236, 72, 153, 0.14));
  transition: opacity 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

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

.home-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
}

.home-cta p {
  width: min(780px, 100%);
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--pink));
}

.page-hero h1 {
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(34px, 6vw, 58px);
}

.page-hero p {
  width: min(820px, 100%);
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  color: #111827;
}

.category-overview-card span {
  color: var(--sky-dark);
  font-weight: 900;
}

.category-cover-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 112px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe, #fce7f3);
}

.category-cover-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-panel,
.search-panel {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
  display: block;
  margin-bottom: 10px;
  color: #374151;
  font-weight: 800;
}

.filter-panel input {
  max-width: 560px;
  padding-right: 16px;
}

.search-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.search-panel input {
  padding-right: 16px;
}

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

.detail-wrap {
  padding: 28px 0 72px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 55%, #fdf2f8 100%);
}

.detail-breadcrumb {
  margin-bottom: 24px;
  color: #64748b;
}

.detail-breadcrumb a {
  color: var(--sky-dark);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.26);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12), rgba(15, 23, 42, 0.76));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-symbol {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--sky-dark);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

.detail-card,
.aside-panel {
  margin-top: 22px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.detail-badge {
  margin-bottom: 14px;
  padding: 7px 13px;
  color: var(--sky-dark);
  background: #e0f2fe;
}

.detail-card h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
}

.detail-one-line {
  margin: 16px 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-weight: 700;
}

.detail-card h2 {
  margin: 30px 0 12px;
  color: #111827;
  font-size: 24px;
}

.detail-card p {
  color: #4b5563;
  line-height: 1.9;
}

.detail-aside {
  position: sticky;
  top: 100px;
}

.aside-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: linear-gradient(135deg, #e0f2fe, #fce7f3);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.aside-panel h2 {
  margin: 0 0 18px;
}

.aside-panel dl {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.aside-panel dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
}

.aside-panel dt {
  color: #94a3b8;
  font-weight: 700;
}

.aside-panel dd {
  margin: 0;
  color: #334155;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #111827, #1f2937 50%, #111827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding: 54px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  color: #94a3b8;
  line-height: 1.8;
}

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

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 9px 0;
}

.site-footer a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 20px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

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

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 14px;
    font-size: 14px;
  }

  .header-search {
    width: 180px;
  }

  .movie-grid-four,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .menu-button {
    display: block;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero,
  .hero-stage {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: center;
    gap: 28px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-cover {
    width: min(320px, 84vw);
    order: 1;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-arrow {
    display: none;
  }

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

  .movie-grid-three,
  .movie-grid-four,
  .rank-grid,
  .ranking-list,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand-text {
    font-size: 18px;
  }

  .hero,
  .hero-stage {
    min-height: 680px;
  }

  .hero h1,
  .hero h2 {
    font-size: 38px;
  }

  .section {
    padding: 48px 0;
  }

  .movie-grid-three,
  .movie-grid-four,
  .rank-grid,
  .ranking-list,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .rank-row,
  .category-overview-card {
    grid-template-columns: 118px 1fr;
  }

  .search-panel form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .detail-card,
  .aside-panel {
    padding: 20px;
  }
}
