:root {
  --bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffaf5;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --orange-deep: #ea580c;
  --pink: #ec4899;
  --rose: #fdf2f8;
  --shadow: 0 22px 55px rgba(154, 52, 18, 0.14);
  --shadow-soft: 0 14px 35px rgba(154, 52, 18, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 22px;
  color: #111827;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

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

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-deep);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  width: min(330px, 36vw);
  border: 1px solid rgba(251, 146, 60, 0.34);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.09);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
}

.nav-search button,
.home-search-band button,
.primary-btn {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.22);
}

.nav-search button {
  align-self: stretch;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.quick-cats {
  border-top: 1px solid rgba(251, 146, 60, 0.12);
}

.quick-cats-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.quick-cats a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #9a3412;
  background: rgba(255, 237, 213, 0.72);
  font-size: 14px;
  font-weight: 700;
}

main {
  min-height: 60vh;
}

.hero-carousel {
  position: relative;
  height: min(680px, calc(100vh - 80px));
  min-height: 560px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide img {
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(236, 72, 153, 0.25), transparent 30%), linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.56) 46%, rgba(17, 24, 39, 0.16)), linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  padding-top: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero-content h3 {
  margin: 18px 0 0;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.12;
}

.hero-content p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.7vw, 20px);
}

.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: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: rgba(17, 24, 39, 0.32);
  backdrop-filter: blur(12px);
  font-size: 40px;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.home-search-band,
.content-section,
.home-rank-shell,
.detail-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.home-search-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin-top: -58px;
  position: relative;
  z-index: 8;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-band h2,
.section-head h2,
.page-hero h1,
.home-rank-shell h2 {
  margin: 0;
  color: #111827;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.home-search-band h2,
.section-head h2,
.home-rank-shell h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.home-search-band p,
.section-head p,
.home-rank-shell p,
.page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-search-band form {
  display: flex;
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.home-search-band input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 16px 18px;
}

.home-search-band button {
  padding: 0 24px;
}

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

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

.section-more,
.text-link {
  color: var(--orange-deep);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

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

.poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.62));
}

.movie-badge,
.rank-num {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.movie-badge {
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(10px);
}

.rank-num {
  right: 12px;
  top: 12px;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.25);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 8px 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--orange-deep);
}

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

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

.tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

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

.category-tile,
.category-card-large {
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.category-tile {
  display: block;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tile-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 12px;
}

.tile-thumbs img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.category-tile strong {
  display: block;
  font-size: 18px;
}

.category-tile span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.home-rank-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-top: 74px;
  padding: 34px;
  border-radius: 32px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.42), transparent 32%), linear-gradient(135deg, #111827, #7c2d12 54%, #831843);
  box-shadow: var(--shadow);
}

.home-rank-shell h2,
.home-rank-shell p {
  color: #ffffff;
}

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

.rank-line {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.rank-line span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.rank-line strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-line em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.page-hero {
  padding: 86px 0 28px;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.16), transparent 30%), linear-gradient(180deg, #fff7ed, #ffffff);
}

.page-hero > div {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: #9a3412;
  border-color: rgba(251, 146, 60, 0.28);
  background: rgba(255, 237, 213, 0.9);
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.02;
}

.page-hero p {
  max-width: 780px;
  font-size: 18px;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.category-card-large h2 {
  margin: 0;
  font-size: 28px;
}

.category-card-large p {
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.filter-input-wrap input {
  width: 100%;
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 16px;
  outline: 0;
  padding: 13px 16px;
  background: #ffffff;
}

.filter-input-wrap input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-chips button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 12px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.filter-chips button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 26px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--orange-deep);
}

.detail-shell {
  padding-top: 26px;
}

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

.detail-main,
.detail-side,
.detail-section {
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.detail-main {
  overflow: hidden;
}

.player-section {
  background: #111827;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.22), transparent 28%), linear-gradient(180deg, rgba(17, 24, 39, 0.24), rgba(17, 24, 39, 0.78));
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.player-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 20px 55px rgba(236, 72, 153, 0.38);
  font-size: 30px;
}

.detail-title-block,
.detail-section {
  padding: 24px;
}

.detail-title-block .eyebrow {
  color: #9a3412;
  border-color: rgba(251, 146, 60, 0.24);
  background: #ffedd5;
}

.detail-title-block h1 {
  margin: 18px 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-title-block p,
.detail-section p {
  color: #4b5563;
  font-size: 17px;
}

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

.detail-meta-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #9a3412;
  background: #fff7ed;
  font-weight: 900;
}

.detail-section {
  margin: 20px 24px 24px;
}

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

.detail-side {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 16px;
}

.detail-side img {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
}

.detail-side dl {
  margin: 16px 0 0;
}

.detail-side div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(251, 146, 60, 0.14);
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  font-weight: 900;
}

.related-section {
  padding-bottom: 80px;
}

.site-footer {
  margin-top: 86px;
  color: #f9fafb;
  background: linear-gradient(135deg, #111827, #7c2d12 60%, #831843);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px 0;
}

.footer-logo {
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  justify-content: end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

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

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

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

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

  .nav-search {
    width: 100%;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero-control {
    display: none;
  }

  .home-search-band,
  .home-rank-shell,
  .footer-inner,
  .filter-bar,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .home-search-band form {
    flex-direction: column;
    border-radius: 22px;
  }

  .home-search-band button {
    min-height: 46px;
  }

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

  .filter-chips {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .quick-cats-inner,
  .home-search-band,
  .content-section,
  .home-rank-shell,
  .detail-shell,
  .footer-inner,
  .footer-bottom,
  .page-hero > div {
    width: min(100% - 24px, 1240px);
  }

  .movie-grid.four-col,
  .movie-grid.six-col,
  .category-grid,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

  .rank-line {
    grid-template-columns: 36px 1fr;
  }

  .rank-line em {
    grid-column: 2;
  }

  .detail-title-block,
  .detail-section {
    padding: 18px;
  }

  .detail-section {
    margin: 16px;
  }
}
