:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(56, 189, 248, 0.22);
  --line-soft: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --subtle: #64748b;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --blue: #2563eb;
  --orange: #f97316;
  --shadow: 0 24px 80px rgba(8, 145, 178, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 2%, rgba(34, 211, 238, 0.16), transparent 26rem),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.18), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #07122c 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, 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 {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

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

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28);
}

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

.nav-link {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cyan);
  transform: translateY(-1px);
}

.nav-search {
  width: 260px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

.nav-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 4px 10px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.nav-search button {
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-size: 20px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  background: rgba(15, 23, 42, 0.84);
}

.hero-slider {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-slide > img,
.category-hero > img,
.detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.68) 44%, rgba(2, 6, 23, 0.16) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.2) 45%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin-left: max(16px, calc((100% - 1220px) / 2));
  padding-top: 18vh;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2,
.page-hero h1,
.category-hero h1,
.detail-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-movie-title {
  margin-top: 14px !important;
  color: var(--cyan) !important;
  font-size: clamp(26px, 4vw, 44px) !important;
}

.hero-content p,
.page-hero p,
.category-hero p,
.detail-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-actions,
.category-pager,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.primary-button,
.large-search button,
.hero-search button {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 45px rgba(34, 211, 238, 0.24);
}

.ghost-button {
  color: #dbeafe;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.64);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover,
.large-search button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(34, 211, 238, 0.25);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  width: min(1220px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 18px;
  align-items: end;
}

.hero-search,
.large-search {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-search input,
.large-search input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 18px;
  padding: 0 12px;
  color: #fff;
  background: rgba(2, 6, 23, 0.42);
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.hero-thumb {
  min-width: 0;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 18px;
  padding: 8px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(14px);
  text-align: left;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: rgba(34, 211, 238, 0.72);
  color: #fff;
}

.hero-thumb img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-thumb span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  font-weight: 800;
}

.content-section,
.detail-layout {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 0;
}

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

.section-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

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

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

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

.movie-card {
  min-width: 0;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.92));
  box-shadow: 0 16px 52px rgba(2, 6, 23, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.52);
  box-shadow: 0 26px 70px rgba(34, 211, 238, 0.16);
}

.movie-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.poster-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

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

.poster-frame figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
}

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

.movie-meta-line {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  padding: 0 10px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.68);
}

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

.category-card,
.category-overview-card,
.side-panel,
.filter-bar,
.detail-copy,
.player-shell,
.related-section {
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 18px 56px rgba(2, 6, 23, 0.16);
}

.category-card a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
}

.category-covers {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  height: 120px;
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.category-covers img:first-child {
  grid-row: span 2;
}

.category-card h3,
.side-panel h2,
.detail-copy h2,
.related-section h2 {
  margin: 0 0 8px;
  color: #fff;
}

.category-card p,
.side-panel p,
.detail-copy p {
  margin: 0;
  color: var(--muted);
}

.category-card span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.side-panel {
  padding: 22px;
}

.chip-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list a,
.footer-links a {
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.32);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.chip-list a:hover,
.footer-links a:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.54);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 68px minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 18px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.56);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(15, 23, 42, 0.86);
}

.rank-row img {
  width: 68px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-number {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 950;
  text-align: center;
}

.rank-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-main strong {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main em {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  justify-self: end;
  color: #facc15;
  font-size: 20px;
  font-weight: 950;
}

.scroll-shell {
  position: relative;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.compact-card {
  scroll-snap-align: start;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 20px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.64);
}

.compact-card img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  border-radius: 16px;
  object-fit: cover;
}

.compact-card span {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scroll-button {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 6, 23, 0.82);
  box-shadow: var(--shadow);
}

.scroll-button.left {
  left: -12px;
}

.scroll-button.right {
  right: -12px;
}

.page-hero,
.category-hero,
.detail-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.page-hero > div,
.category-hero-content,
.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.small-hero,
.search-hero,
.ranking-hero {
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.98));
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
}

.category-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.category-visual img {
  width: 100%;
  height: 120px;
  border-radius: 18px;
  object-fit: cover;
}

.category-overview-body h2 {
  margin: 0 0 8px;
}

.category-overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.mini-links {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.mini-links .compact-card {
  width: 130px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
}

.filter-bar label {
  color: #fff;
  font-weight: 900;
}

.filter-bar input {
  width: min(460px, 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  padding: 12px 16px;
  outline: 0;
  color: #fff;
  background: rgba(2, 6, 23, 0.54);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-main {
  min-width: 0;
}

.player-shell {
  padding: 12px;
}

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

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.24), transparent 16rem),
    rgba(2, 6, 23, 0.42);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 48px rgba(34, 211, 238, 0.34);
  font-size: 28px;
}

.detail-copy,
.related-section {
  margin-top: 24px;
  padding: 26px;
}

.detail-copy h2 {
  margin-top: 24px;
  font-size: 24px;
}

.detail-copy h2:first-child {
  margin-top: 0;
}

.detail-copy p {
  font-size: 17px;
}

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

.detail-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 18px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

.wide {
  width: 100%;
  margin-top: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 800;
}

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

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

.full-rank {
  gap: 12px;
}

.large-search {
  width: min(720px, 100%);
  margin-top: 28px;
}

.search-results-section {
  padding-top: 48px;
}

.site-footer {
  margin-top: 88px;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(2, 6, 23, 0.8);
}

.footer-grid {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.site-footer p {
  color: var(--muted);
}

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

.footer-bottom {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 18px 0 28px;
  color: var(--subtle);
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1080px) {
  .nav-search {
    display: none;
  }

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

  .hero-thumbs {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    overflow-x: auto;
  }

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

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

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

  .detail-side {
    order: -1;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-nav {
    min-height: 64px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 12px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.6);
  }

  .hero-slider {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero-panel {
    bottom: 16px;
  }

  .hero-search,
  .large-search {
    flex-direction: column;
  }

  .hero-search input,
  .large-search input {
    min-height: 44px;
  }

  .hero-thumb {
    grid-template-columns: 44px 132px;
  }

  .hero-thumb img {
    width: 44px;
    height: 44px;
  }

  .content-section,
  .detail-layout {
    padding-top: 48px;
  }

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

  .movie-grid,
  .featured-grid,
  .top-rank-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-visual img {
    height: 96px;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .rank-row {
    grid-template-columns: 36px 56px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .rank-row img {
    width: 56px;
    height: 44px;
  }

  .rank-score {
    font-size: 16px;
  }

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

@media (max-width: 520px) {
  .movie-grid,
  .featured-grid,
  .top-rank-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .hero-content h2,
  .page-hero h1,
  .category-hero h1,
  .detail-hero h1 {
    font-size: 38px;
  }

  .hero-slider {
    min-height: 860px;
  }

  .hero-actions,
  .category-pager,
  .detail-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .mini-links {
    flex-direction: column;
  }

  .mini-links .compact-card {
    width: 100%;
  }
}
