:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-light: #14b8a6;
  --amber: #f59e0b;
  --rose: #e11d48;
  --rose-dark: #9f1239;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  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(--slate-900);
  background: linear-gradient(180deg, var(--slate-50), #ffffff 38%, #ffffff);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 118, 110, 0.94), rgba(159, 18, 57, 0.92));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #fff7ed;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 12px 25px rgba(225, 29, 72, 0.32);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: 1px;
}

.brand-text em {
  color: #99f6e4;
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select,
.quick-search-card input {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 220px;
  padding: 10px 42px 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search input:focus,
.mobile-search input:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22);
  background: rgba(255, 255, 255, 0.16);
}

.header-search button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: #0f172a;
  background: #ccfbf1;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #ffffff;
  font-size: 26px;
  background: transparent;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: grid;
  gap: 10px;
  padding: 14px 0 18px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}

.mobile-search button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  color: #0f172a;
  background: #ccfbf1;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: #ffffff;
  background: var(--slate-900);
}

.hero-track {
  position: relative;
  min-height: 620px;
}

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

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

.hero-backdrop,
.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-backdrop::after,
.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 28%, rgba(245, 158, 11, 0.23), transparent 26%), radial-gradient(circle at 25% 18%, rgba(20, 184, 166, 0.26), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 58px;
  align-items: center;
  padding: 56px 0 86px;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5eead4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p,
.sub-hero p,
.detail-copy .one-line {
  margin: 0 0 22px;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-copy .tag-list span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  box-shadow: 0 16px 32px rgba(225, 29, 72, 0.30);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 30px;
  background: rgba(245, 158, 11, 0.34);
  filter: blur(30px);
}

.movie-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #0f766e 52%, #9f1239);
}

.hero-control-row {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 36px;
  background: #5eead4;
}

.quick-search-band {
  margin-top: -52px;
  position: relative;
  z-index: 5;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-card h2,
.section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.quick-search-card form {
  display: flex;
  gap: 10px;
}

.quick-search-card input {
  flex: 1;
  padding: 14px 16px;
  color: var(--slate-900);
  background: var(--slate-50);
  border-color: #e2e8f0;
}

.quick-search-card button,
.filter-bar button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.page-stack,
.detail-stack {
  display: grid;
  gap: 56px;
  padding-top: 58px;
  padding-bottom: 70px;
}

.content-section {
  display: grid;
  gap: 24px;
}

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

.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-weight: 900;
}

.section-more:hover,
.text-link:hover {
  color: var(--rose);
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.poster-link,
.poster-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.poster-wrap {
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #0f172a, #0f766e 52%, #9f1239);
}

.poster-wrap::after,
.category-art::after,
.category-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.68));
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-weight: 900;
}

.rank-badge {
  min-width: auto;
  height: auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
}

.card-body {
  padding: 16px;
}

.card-body h3,
.rank-info h2,
.category-card-large h2 {
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.card-body h3 a:hover,
.rank-info h2 a:hover,
.category-card-large h2 a:hover {
  color: var(--rose);
}

.card-body p,
.rank-info p,
.category-card-large p {
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
}

.meta-line {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.compact-card .card-body {
  padding: 12px;
}

.compact-card .card-body h3 {
  font-size: 15px;
}

.compact-card .card-body p {
  display: none;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
}

.horizontal-card .poster-wrap {
  height: 100%;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #ffffff;
  background: var(--slate-900);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.category-tile:hover .category-bg {
  transform: scale(1.06);
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 21px;
  line-height: 1.2;
}

.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-style: normal;
}

.sub-hero {
  position: relative;
  color: #ffffff;
  padding: 72px 0;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(20, 184, 166, 0.34), transparent 30%), radial-gradient(circle at 82% 22%, rgba(245, 158, 11, 0.22), transparent 24%);
}

.sub-hero .container {
  position: relative;
  z-index: 1;
}

.teal-hero {
  background: linear-gradient(120deg, #134e4a, #0f172a);
}

.rose-hero {
  background: linear-gradient(120deg, #881337, #0f172a 58%, #134e4a);
}

.dark-hero {
  background: linear-gradient(120deg, #020617, #1e293b 56%, #78350f);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 16px;
  color: #99f6e4;
  font-weight: 900;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-art {
  position: relative;
  min-height: 230px;
  background-size: cover;
  background-position: center;
}

.category-card-large > div {
  padding: 24px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.mini-links span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-size: 12px;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 150px 150px;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  padding: 0 14px;
  color: var(--slate-900);
  background: var(--slate-50);
  border-color: #e2e8f0;
}

.filter-bar input:focus,
.filter-bar select:focus,
.quick-search-card input:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
  background: #ffffff;
}

.empty-state {
  display: none;
  padding: 56px 20px;
  border-radius: var(--radius-lg);
  color: var(--slate-600);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 92px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.rank-number {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  font-size: 20px;
  font-weight: 900;
}

.rank-poster {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 2 / 3;
  background: var(--slate-100);
}

.rank-play {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--slate-900);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0 76px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}

.detail-copy h1 {
  max-width: 800px;
}

.player-panel,
.detail-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.player-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.25), rgba(2, 6, 23, 0.70));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.42);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-side {
  position: sticky;
  top: 98px;
}

.detail-panel {
  padding: 26px;
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.detail-panel p {
  margin: 0;
  color: var(--slate-700);
  font-size: 16px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.info-list dt {
  color: var(--slate-600);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
}

.info-list a {
  color: var(--teal);
}

.side-tags .tag-list,
.side-tags span {
  margin-bottom: 2px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

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

.footer-brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

.site-footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
  }

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

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

  .horizontal-grid,
  .category-list-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .brand-text strong {
    font-size: 18px;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 700px;
    padding: 42px 0 98px;
  }

  .hero-poster {
    width: min(220px, 62vw);
    justify-self: center;
    order: -1;
  }

  .hero h1,
  .sub-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .quick-search-card,
  .detail-layout,
  .detail-columns,
  .footer-grid,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .quick-search-card form {
    flex-direction: column;
  }

  .quick-search-card button {
    min-height: 46px;
  }

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

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .rank-row {
    grid-template-columns: 48px 74px minmax(0, 1fr);
  }

  .rank-play {
    grid-column: 3;
    justify-self: start;
  }

  .detail-poster {
    width: min(240px, 70vw);
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 460px) {
  .standard-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .card-body {
    padding: 13px;
  }

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

  .rank-number {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
