:root {
  --bg: #090605;
  --bg-soft: #15100c;
  --bg-card: #1d1510;
  --bg-elevated: #2a1c12;
  --text: #fff8eb;
  --muted: #d8c5a7;
  --muted-2: #a99170;
  --line: rgba(255, 214, 148, 0.16);
  --brand: #f59e0b;
  --brand-2: #fb923c;
  --brand-3: #fde68a;
  --danger: #ef4444;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(251, 146, 60, 0.16), transparent 30rem),
    linear-gradient(180deg, #080504 0%, #120b07 48%, #080504 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 6, 5, 0.82);
  backdrop-filter: blur(20px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #2b1200;
  background: linear-gradient(135deg, var(--brand-3), var(--brand), var(--brand-2));
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.36);
}

.site-logo__text {
  font-size: 20px;
}

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

.nav-link {
  padding: 10px 16px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  background: rgba(29, 21, 16, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero {
  position: relative;
  width: min(1440px, calc(100% - 32px));
  margin: 24px auto 0;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: #110906;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  padding: 72px clamp(28px, 6vw, 92px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

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

.hero-slide__background,
.detail-hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  filter: saturate(1.06);
}

.hero-slide__background::after,
.detail-hero__background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 35%, rgba(245, 158, 11, 0.20), transparent 22rem),
    linear-gradient(0deg, rgba(8, 5, 3, 0.90), rgba(8, 5, 3, 0.08) 42%, rgba(8, 5, 3, 0.86));
}

.hero-slide__content {
  max-width: 760px;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand-3);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label::before,
.section-kicker::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--brand);
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

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

.tag-row--hero {
  margin-top: 24px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: #ffe9bd;
  font-size: 12px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 999px;
}

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

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

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

.btn-primary {
  color: #291100;
  background: linear-gradient(135deg, var(--brand-3), var(--brand), var(--brand-2));
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.hero-slide__poster {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

.hero-slide__poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-slide__poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 14px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  left: clamp(24px, 6vw, 92px);
  bottom: 36px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-arrow,
.hero-dot {
  cursor: pointer;
  border: 0;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

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

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

.hero-dot.is-active {
  width: 30px;
  background: var(--brand);
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: -52px 34px 0;
  position: relative;
  z-index: 8;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 10px;
  background: rgba(29, 21, 16, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

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

.hero-thumb span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 64px 0;
}

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

.section-header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.section-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--brand-3);
  font-weight: 800;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.search-panel {
  padding: 18px;
  background: rgba(29, 21, 16, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.search-panel__input-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--brand-3);
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  height: 56px;
  padding: 0 18px 0 48px;
  color: var(--text);
  outline: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.search-input::placeholder {
  color: var(--muted-2);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-chip {
  cursor: pointer;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #2b1200;
  background: var(--brand);
  border-color: var(--brand);
}

.search-count {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(42, 28, 18, 0.90), rgba(18, 11, 7, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.movie-card__poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #21140c;
}

.movie-card__poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.movie-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.80));
}

.movie-card__play,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

.movie-card__play {
  right: 12px;
  bottom: 12px;
  color: #2b1200;
  background: var(--brand);
}

.rank-badge {
  top: 12px;
  left: 12px;
  color: #fff;
  background: rgba(239, 68, 68, 0.88);
}

.movie-card__body {
  padding: 16px;
}

.movie-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--brand-3);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card p {
  min-height: 44px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.movie-card--compact .movie-card__body {
  padding: 14px;
}

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

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

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

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(45, 29, 17, 0.94), rgba(17, 10, 6, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.category-tile h3 {
  margin: 8px 0;
  font-size: 24px;
}

.category-tile p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-tile__count {
  color: var(--brand-3);
  font-weight: 900;
}

.category-tile__posters {
  position: absolute;
  right: -16px;
  bottom: -22px;
  display: flex;
  gap: 8px;
  transform: rotate(-8deg);
}

.category-tile__posters img {
  width: 64px;
  height: 92px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.ranking-panel,
.sidebar-card,
.content-card,
.player-card {
  background: rgba(29, 21, 16, 0.80);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.ranking-panel h2,
.sidebar-card h2,
.content-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

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

.ranking-list--wide {
  padding: 20px;
  background: rgba(29, 21, 16, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.ranking-item {
  display: grid;
  grid-template-columns: 36px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.ranking-item__number {
  color: var(--brand-3);
  font-weight: 900;
}

.ranking-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.ranking-item strong,
.ranking-item em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-item em {
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
}

.ranking-item__score {
  color: var(--brand);
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 158, 11, 0.18), transparent 30rem),
    linear-gradient(135deg, rgba(42, 26, 14, 0.88), rgba(9, 6, 5, 0.94));
}

.page-hero--compact {
  padding: 86px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted-2);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-3);
}

.detail-hero {
  min-height: 580px;
  display: grid;
  align-items: center;
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
}

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

.detail-poster img {
  width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.detail-meta span {
  padding: 8px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

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

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

.player-card {
  overflow: hidden;
}

.video-shell {
  position: relative;
  background: #000;
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.play-action {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  background:
    radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.56) 36%, rgba(0, 0, 0, 0.76));
  border: 0;
}

.play-action.is-hidden {
  display: none;
}

.play-action__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #2b1200;
  font-size: 34px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.50);
}

.player-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.player-note strong {
  color: var(--brand-3);
}

.content-card {
  padding: 24px;
}

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

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

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

.info-list dt {
  color: var(--brand-3);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.sidebar-card {
  padding: 20px;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.quick-links span {
  color: var(--brand-3);
  font-weight: 900;
}

.static-content {
  display: grid;
  gap: 20px;
  max-width: 900px;
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
  background: rgba(5, 3, 2, 0.72);
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--text);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.site-logo--footer {
  margin-bottom: 14px;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

@media (max-width: 1180px) {
  .movie-grid,
  .movie-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-panel,
  .detail-sidebar {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    padding: 46px 24px 112px;
  }

  .hero-slide__poster {
    width: min(260px, 70vw);
  }

  .hero-controls {
    left: 24px;
    bottom: 28px;
  }

  .hero-thumbs {
    grid-template-columns: repeat(3, 1fr);
    margin: 16px 0 0;
  }

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

  .detail-poster img {
    width: 220px;
  }

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

@media (max-width: 680px) {
  .site-header__inner {
    height: 64px;
  }

  .site-logo__text {
    font-size: 16px;
  }

  .hero {
    width: calc(100% - 20px);
  }

  .hero-slider {
    min-height: 660px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 34px 18px 104px;
  }

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

  .section {
    padding: 44px 0;
  }

  .section-header {
    display: block;
  }

  .section-action {
    margin-top: 14px;
  }

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

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

  .ranking-item {
    grid-template-columns: 30px 44px minmax(0, 1fr);
  }

  .ranking-item__score {
    display: none;
  }

  .page-hero,
  .detail-hero {
    padding: 56px 0;
  }

  .content-card,
  .sidebar-card,
  .ranking-panel {
    padding: 18px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

.link-map {
  columns: 3;
  gap: 28px;
  padding: 24px;
  margin: 0;
  background: rgba(29, 21, 16, 0.80);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.link-map li {
  break-inside: avoid;
  margin: 0 0 8px 22px;
  color: var(--muted);
}

.link-map a:hover {
  color: var(--brand-3);
}

@media (max-width: 900px) {
  .link-map {
    columns: 2;
  }
}

@media (max-width: 560px) {
  .link-map {
    columns: 1;
  }
}
