:root {
  --page-bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffbeb;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.13);
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-soft: #fef3c7;
  --shadow: 0 24px 70px rgba(120, 53, 15, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fffaf0 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-dark);
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c 55%, #7c2d12);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.3);
}

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

.primary-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #78350f;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(340px, 100%);
  padding: 7px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(120, 53, 15, 0.08);
}

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

.header-search input {
  padding: 0 6px 0 12px;
}

.search-button,
.hero-search button,
.primary-button,
.secondary-button,
.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.search-button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  color: var(--brand-dark);
  background: #fff7ed;
  border-radius: 14px;
}

.search-panel {
  position: fixed;
  top: 78px;
  left: 50%;
  z-index: 60;
  display: none;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  transform: translateX(-50%);
  padding: 14px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.search-panel.open {
  display: block;
}

.search-result {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
}

.search-result:hover {
  background: #fff7ed;
}

.search-result img {
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
}

.search-result h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
}

.search-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #78350f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(251, 191, 36, 0.28), transparent 25rem),
    linear-gradient(135deg, #78350f 0%, #9a3412 40%, #451a03 100%);
}

.hero-carousel {
  position: relative;
  min-height: 660px;
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  height: 100%;
  object-fit: cover;
  opacity: 0.33;
  filter: saturate(1.12) contrast(1.05);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(69, 26, 3, 0.96) 0%, rgba(120, 53, 15, 0.82) 42%, rgba(69, 26, 3, 0.38) 100%),
    linear-gradient(0deg, rgba(69, 26, 3, 0.95) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 58px;
  padding: 84px 0 74px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero h1,
.page-hero h1,
.detail-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 690px;
  margin: 22px 0 0;
  color: #ffedd5;
  font-size: 19px;
  line-height: 1.9;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.player-button {
  min-height: 48px;
  padding: 0 22px;
}

.primary-button,
.player-button {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 42px rgba(217, 119, 6, 0.34);
}

.secondary-button {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-poster {
  position: relative;
  padding: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.hero-poster img {
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  border-radius: 24px;
}

.hero-rating {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #78350f;
  background: #fef3c7;
  border-radius: 24px;
  font-size: 23px;
  font-weight: 1000;
  box-shadow: 0 16px 42px rgba(69, 26, 3, 0.3);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

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

.hero-search-zone {
  position: relative;
  z-index: 4;
  margin-top: -44px;
}

.hero-search-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 10px 10px 18px;
  background: #fff7ed;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-search input {
  min-height: 36px;
}

.hero-search button {
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.quick-links a {
  padding: 10px 14px;
  color: #78350f;
  background: #fffbeb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.92), rgba(254, 243, 199, 0.8));
}

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

.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 1000;
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.more-link {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-weight: 900;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(120, 53, 15, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.38);
  box-shadow: 0 26px 68px rgba(120, 53, 15, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.poster-link img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  transition: transform 260ms ease;
}

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

.card-badge,
.rank-badge,
.card-rating {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.card-badge {
  left: 12px;
  top: 12px;
  color: #ffffff;
  background: rgba(146, 64, 14, 0.88);
  backdrop-filter: blur(10px);
}

.card-rating {
  right: 12px;
  bottom: 12px;
  color: #78350f;
  background: #fef3c7;
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 1000;
}

.card-body h3 a:hover {
  color: var(--brand);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
}

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

.card-tags span,
.detail-tags span {
  color: #92400e;
  background: #fff7ed;
  border: 1px solid var(--line);
}

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

.category-card {
  min-height: 186px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.28), transparent 9rem),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(120, 53, 15, 0.08);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(120, 53, 15, 0.15);
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 1000;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 58px 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(120, 53, 15, 0.07);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  border-radius: 16px;
  font-weight: 1000;
}

.ranking-item img {
  width: 92px;
  height: 122px;
  object-fit: cover;
  border-radius: 16px;
}

.ranking-info h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 1000;
}

.ranking-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.ranking-score {
  color: #92400e;
  font-weight: 1000;
}

.page-hero {
  padding: 78px 0 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(251, 191, 36, 0.22), transparent 24rem),
    linear-gradient(135deg, #78350f, #9a3412 48%, #451a03);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.9;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 34px 0 30px;
}

.filter-box {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(120, 53, 15, 0.08);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-tab {
  padding: 10px 14px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.filter-empty {
  display: none;
  padding: 32px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.filter-empty.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #451a03;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--detail-bg) center / cover no-repeat;
  opacity: 0.3;
  filter: blur(2px) saturate(1.12);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(69, 26, 3, 0.98), rgba(69, 26, 3, 0.76) 52%, rgba(69, 26, 3, 0.42)),
    linear-gradient(0deg, rgba(69, 26, 3, 1), transparent 46%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: end;
  padding: 74px 0 58px;
}

.detail-poster {
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

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

.detail-copy p {
  max-width: 780px;
  margin: 20px 0 0;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.9;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 8px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-weight: 900;
}

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

.content-card,
.side-card,
.player-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(120, 53, 15, 0.1);
}

.content-card,
.side-card {
  padding: 26px;
}

.content-card + .content-card {
  margin-top: 24px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 1000;
}

.content-card p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 2;
}

.content-card p + p {
  margin-top: 14px;
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111827;
  border-radius: 28px 28px 0 0;
}

.video-player {
  width: 100%;
  height: 100%;
  background: #111827;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  color: #ffffff;
  background: #111827;
  cursor: pointer;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  filter: saturate(1.1);
}

.play-circle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-left: 6px;
  color: #78350f;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.player-info {
  padding: 20px 24px 24px;
}

.player-info h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 1000;
}

.player-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.player-message {
  margin-top: 10px;
  color: #b91c1c;
  font-weight: 800;
}

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

.related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.related-item img {
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.related-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.related-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  padding: 36px 0;
  color: #ffedd5;
  background: linear-gradient(135deg, #451a03, #78350f);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: #fed7aa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

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

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

  .hero-content {
    grid-template-columns: 1fr 340px;
    gap: 34px;
  }

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

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    order: 4;
    display: none;
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .primary-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-search {
    order: 3;
    width: 100%;
  }

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

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

  .hero-poster {
    display: none;
  }

  .hero-search-card,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .quick-links,
  .filter-tabs {
    justify-content: flex-start;
  }

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

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

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

  .ranking-item {
    grid-template-columns: 42px 74px 1fr;
  }

  .ranking-score {
    grid-column: 3;
  }

  .footer-inner {
    display: grid;
  }
}

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

  .logo {
    font-size: 20px;
  }

  .hero h1,
  .page-hero h1,
  .detail-title {
    font-size: 36px;
  }

  .hero-description,
  .detail-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading {
    display: block;
  }

  .ranking-item {
    grid-template-columns: 1fr;
  }

  .ranking-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .ranking-score {
    grid-column: auto;
  }
}
