:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --cyan-600: #0891b2;
  --cyan-100: #cffafe;
  --amber-400: #f59e0b;
  --text-main: #111827;
  --text-soft: #64748b;
  --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 48%, #ffffff 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 18px;
}

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

.logo-text {
  font-size: clamp(15px, 2vw, 20px);
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-600));
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mobile-link {
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link {
  padding: 8px 12px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: rgba(5, 150, 105, 0.92);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search input,
.mobile-search input,
.wide-search input,
.list-toolbar input {
  border: 0;
  outline: 0;
}

.nav-search input {
  width: 190px;
  padding: 9px 42px 9px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.92);
  transition: width 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus {
  width: 260px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.36);
}

.nav-search button {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #cbd5e1;
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.9);
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--slate-700);
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--emerald-600);
}

.mobile-link {
  display: block;
  padding: 10px 12px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.54) 46%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(56px, 8vw, 110px);
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.hero-meta,
.detail-topline,
.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta span,
.detail-topline span {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(5, 150, 105, 0.94);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.75;
}

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

.hero-tags span,
.tag-row span,
.tag-cloud span {
  border-radius: 999px;
  padding: 5px 10px;
  color: #047857;
  background: var(--emerald-100);
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #bbf7d0;
  background: rgba(6, 95, 70, 0.72);
}

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

.primary-btn,
.ghost-btn,
.wide-search button,
.sort-box button,
.toolbar-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  padding: 13px 24px;
  color: #ffffff;
  background: var(--emerald-600);
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.28);
}

.primary-btn:hover,
.wide-search button:hover,
.sort-box button:hover,
.toolbar-actions button:hover {
  background: var(--emerald-700);
  transform: translateY(-1px);
}

.primary-btn.full {
  width: 100%;
  margin-top: 16px;
}

.ghost-btn {
  padding: 12px 18px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-btn:hover {
  background: rgba(15, 23, 42, 0.82);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-space {
  padding: 48px 0;
}

.search-panel,
.feature-section,
.rank-panel,
.sidebar-card,
.detail-card,
.review-card,
.player-card,
.side-card,
.side-poster,
.empty-state {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  margin-bottom: 56px;
  background: linear-gradient(90deg, #ecfdf5, #ecfeff);
}

.search-panel h2,
.section-heading h2,
.list-toolbar h2,
.sidebar-card h2,
.side-card h2,
.detail-card h2,
.review-card h2,
.more-section h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.search-panel p,
.list-toolbar p,
.empty-state p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.wide-search {
  display: flex;
  gap: 12px;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
}

.wide-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  background: transparent;
}

.wide-search button {
  padding: 12px 22px;
  color: #ffffff;
  background: var(--emerald-600);
}

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

.section-more {
  color: var(--emerald-700);
  font-weight: 900;
}

section + section {
  margin-top: 64px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card-link {
  display: block;
  height: 100%;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), #064e3b);
}

.movie-card.is-compact .poster {
  aspect-ratio: 16 / 10;
}

.poster img,
.related-thumb img,
.rank-thumb img,
.side-poster img,
.scroll-image img,
.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card:hover .poster img,
.scroll-card:hover img,
.related-item:hover img {
  transform: scale(1.08);
}

.poster img,
.scroll-image img,
.related-thumb img {
  transition: transform 0.45s ease;
}

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

.poster-chip {
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  background: rgba(5, 150, 105, 0.94);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.95);
}

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

.movie-card-meta {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.movie-card-meta span:first-child,
.rank-score {
  color: var(--amber-400);
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0 8px;
  overflow: hidden;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.category-tile {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate-900), var(--emerald-700));
  box-shadow: var(--shadow-card);
}

.category-tile:after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 160px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.24);
  filter: blur(8px);
}

.category-title,
.category-text,
.category-thumbs {
  position: relative;
  z-index: 2;
}

.category-title {
  font-size: 22px;
  font-weight: 900;
}

.category-text {
  display: block;
  margin-top: 12px;
  color: #d1fae5;
  line-height: 1.7;
}

.category-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.category-thumbs img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.horizontal-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
}

.scroll-card {
  width: 260px;
  flex: 0 0 auto;
}

.scroll-image {
  display: block;
  height: 160px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--slate-900);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.scroll-card strong {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  color: var(--text-main);
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scroll-card small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--cyan-600));
}

.compact-hero {
  padding: 46px 0;
}

.page-hero h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb,
.detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

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

.sidebar-card {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.side-nav,
.sort-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.side-link,
.sort-box button,
.toolbar-actions button {
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--slate-700);
  background: #f8fafc;
  font-weight: 800;
}

.side-link:hover,
.side-link.is-current {
  color: #ffffff;
  background: var(--emerald-600);
}

.sort-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.sort-box button,
.toolbar-actions button {
  text-align: left;
  color: #ffffff;
  background: var(--emerald-600);
}

.content-area {
  min-width: 0;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.list-toolbar input {
  width: min(100%, 300px);
  padding: 12px 16px;
  border-radius: 999px;
  background: #f1f5f9;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.rank-row a {
  display: grid;
  grid-template-columns: 56px 74px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: var(--slate-900);
  font-weight: 900;
}

.rank-thumb {
  display: block;
  width: 74px;
  height: 92px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--slate-900);
}

.rank-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 900;
}

.rank-info small {
  color: var(--text-soft);
}

.rank-score {
  font-weight: 900;
}

.detail-main {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-weight: 800;
}

.detail-breadcrumb a {
  color: var(--emerald-700);
}

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

.detail-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.player-card {
  overflow: hidden;
}

.player-card h1 {
  margin: 22px 24px 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.player-card > p {
  margin: 0 24px 24px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #000000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.96);
  box-shadow: 0 18px 50px rgba(5, 150, 105, 0.36);
  font-size: 34px;
  transform: translateX(3px);
}

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

.detail-card,
.review-card,
.side-card,
.side-poster {
  padding: 24px;
}

.detail-topline {
  margin-bottom: 20px;
}

.detail-card h2,
.review-card h2,
.side-card h2,
.more-section h2 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.detail-card h2:first-of-type,
.review-card h2:first-child,
.side-card h2:first-child {
  margin-top: 0;
}

.detail-card p,
.review-card p {
  margin: 0 0 12px;
  color: #374151;
  line-height: 1.9;
}

.review-card {
  background: linear-gradient(135deg, #ffffff, #ecfdf5);
}

.detail-side {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 20px;
}

.side-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  object-fit: cover;
  background: var(--slate-900);
}

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

.related-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-thumb {
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate-900);
}

.related-item h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.more-section {
  margin-top: 56px;
}

.tag-cloud span {
  font-size: 14px;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
}

.search-results .empty-state.is-hidden {
  display: none;
}

.site-footer {
  margin-top: 32px;
  color: #cbd5e1;
  background: var(--slate-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 32px;
  padding: 42px 0;
}

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

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

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

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #34d399;
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  text-align: center;
}

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

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

  .detail-side {
    position: static;
    grid-template-columns: minmax(220px, 320px) 1fr;
  }
}

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

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

  .search-panel,
  .two-column,
  .footer-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .sidebar-card,
  .detail-side {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .logo-text {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-actions,
  .wide-search,
  .list-toolbar,
  .toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-4,
  .grid-3,
  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

  .rank-row a {
    grid-template-columns: 42px 62px minmax(0, 1fr);
  }

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

  .rank-thumb {
    width: 62px;
    height: 78px;
  }

  .related-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .player-overlay span {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
}
