:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: #050505;
  scroll-behavior: smooth;
}

body.heat-charts-jamaica-page {
  --heat-bg: #050505;
  --heat-panel: #101010;
  --heat-panel-soft: #171717;
  --heat-line: #262626;
  --heat-line-strong: #393939;
  --heat-text: #f5f5f5;
  --heat-muted: #a6a6a6;
  --heat-dim: #737373;
  --heat-accent: #ffffff;
  --heat-pill: #202020;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--heat-bg);
  color: var(--heat-text);
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
}

.heat-visually-hidden,
.heat-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.heat-skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  margin: 12px;
  clip: auto;
  border-radius: 8px;
  background: var(--heat-text);
  color: #000;
  padding: 10px 14px;
}

.heat-chart-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(18px);
}

.heat-chart-topbar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 300px);
  gap: 22px;
  align-items: center;
  min-height: 74px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 48px);
}

.heat-chart-brand,
.heat-chart-nav a,
.heat-chart-footer a,
.heat-song-card__link,
.heat-artist-card__link,
.heat-chart-continue {
  color: inherit;
  text-decoration: none;
}

.heat-chart-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.heat-chart-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  font-size: 17px;
  line-height: 1;
}

.heat-chart-brand__text {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
}

.heat-chart-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.heat-chart-nav::-webkit-scrollbar {
  display: none;
}

.heat-chart-nav a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--heat-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.heat-chart-nav a:hover,
.heat-chart-nav a:focus-visible,
.heat-chart-nav a.is-active {
  background: #202020;
  color: #fff;
}

.heat-chart-search-group {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.heat-chart-search-label {
  color: var(--heat-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.heat-chart-search-pill {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--heat-line);
  border-radius: 999px;
  background: #151515;
  padding: 9px 13px;
}

.heat-search-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--heat-muted);
  border-radius: 50%;
}

.heat-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--heat-muted);
  transform: rotate(45deg);
}

.heat-chart-search-pill input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heat-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.heat-chart-search-pill input::placeholder {
  color: #8a8a8a;
}

.heat-chart-page {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 48px) 72px;
}

.heat-location-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  min-height: 330px;
  border-bottom: 1px solid var(--heat-line);
  padding: 16px 0 clamp(54px, 8vw, 90px);
}

.heat-location-hero__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(28px, 5vw, 64px);
}

.heat-location-hero__image-wrap {
  flex: 0 0 auto;
  width: clamp(174px, 20vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    #171717;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.heat-location-hero__image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.heat-location-hero__label,
.heat-chart-section__heading p,
.heat-location-hero__control span,
.heat-song-card__meta,
.heat-artist-card__meta {
  margin: 0;
  color: var(--heat-dim);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.heat-location-hero h1 {
  max-width: 100%;
  margin: 10px 0 12px;
  color: #fff;
  font-size: 118px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.heat-location-hero__note {
  max-width: 620px;
  margin: 0;
  color: var(--heat-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.heat-location-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.heat-location-hero__meta span {
  margin: 0;
  color: var(--heat-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.heat-location-hero__meta span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--heat-dim);
}

.heat-location-hero__control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
  align-items: center;
  min-width: 220px;
  border: 1px solid var(--heat-line);
  border-radius: 8px;
  background: #141414;
  padding: 14px 16px;
}

.heat-location-hero__control strong {
  grid-column: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.heat-range-caret {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--heat-muted);
  font-size: 13px;
  font-weight: 900;
}

.heat-chart-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--heat-line);
  padding: 22px 0;
}

.heat-chart-context p {
  max-width: 640px;
  margin: 0;
  color: var(--heat-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.heat-chart-section {
  scroll-margin-top: 96px;
  border-bottom: 1px solid var(--heat-line);
  padding: clamp(46px, 7vw, 86px) 0;
}

.heat-chart-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.heat-chart-section__heading h2 {
  margin: 0;
  color: #fff;
  font-size: 46px;
  font-weight: 900;
  line-height: 0.95;
}

.heat-chart-section__scope {
  color: var(--heat-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.heat-artists-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.heat-artist-card {
  min-width: 0;
  text-align: center;
}

.heat-artist-card__image-link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 168px;
  margin: 0 auto 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--heat-panel-soft);
  overflow: visible;
}

.heat-artist-card__image-link img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.heat-artist-card__rank {
  position: absolute;
  left: -6px;
  bottom: -18px;
  min-width: 46px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 4px 18px #000;
}

.heat-artist-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.heat-artist-card__meta {
  display: grid;
  gap: 4px;
  color: var(--heat-muted);
  font-size: 11px;
}

.heat-artist-card__note {
  margin: 8px 0 0;
  color: var(--heat-dim);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.heat-artist-card__link {
  display: inline-flex;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.heat-chart-section__actions {
  margin-top: 28px;
  text-align: center;
}

.heat-chart-continue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--heat-line-strong);
  border-radius: 8px;
  background: #fff;
  color: #000;
  padding: 11px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.heat-chart-continue:hover,
.heat-chart-continue:focus-visible {
  background: #dcdcdc;
  color: #000;
}

.heat-song-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  min-width: 0;
}

.heat-song-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.heat-song-columns > .heat-chart-empty,
.heat-song-columns > .heat-chart-error {
  grid-column: 1 / -1;
}

.heat-ranked-list {
  display: grid;
  gap: 0;
}

.heat-song-card {
  display: grid;
  grid-template-columns: 56px minmax(96px, 142px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-width: 0;
  border-top: 1px solid var(--heat-line);
  padding: 18px 0;
}

.heat-song-card:last-child {
  border-bottom: 1px solid var(--heat-line);
}

.heat-song-card__rank {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.heat-song-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--heat-panel-soft);
  overflow: hidden;
}

.heat-song-card__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.heat-song-card__body {
  min-width: 0;
}

.heat-song-card h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.heat-song-card__artist {
  margin: 0 0 8px;
  color: var(--heat-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.heat-song-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--heat-dim);
  font-size: 11px;
}

.heat-song-card__note {
  margin: 8px 0 0;
  color: var(--heat-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.heat-song-card__link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--heat-line-strong);
  border-radius: 8px;
  color: #fff;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.heat-song-card__link:hover,
.heat-song-card__link:focus-visible,
.heat-artist-card__link:hover,
.heat-artist-card__link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.heat-song-column .heat-song-card {
  grid-template-columns: 46px 72px minmax(0, 1fr);
  gap: 14px;
  border-top: 0;
  padding: 0;
}

.heat-song-column .heat-song-card:last-child {
  border-bottom: 0;
}

.heat-song-column .heat-song-card__rank {
  color: #fff;
  font-size: 32px;
  line-height: 1;
  text-align: left;
}

.heat-song-column .heat-song-card__thumb {
  aspect-ratio: 1;
  border-radius: 4px;
}

.heat-song-column .heat-song-card h3 {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.22;
}

.heat-song-column .heat-song-card__artist {
  margin-bottom: 5px;
  font-size: 12px;
}

.heat-song-column .heat-song-card__meta {
  font-size: 10px;
}

.heat-song-column .heat-song-card__note {
  font-size: 11px;
}

.heat-song-column .heat-song-card__link {
  grid-column: 3;
  justify-self: start;
  min-height: 0;
  border: 0;
  padding: 0;
  color: var(--heat-muted);
  font-size: 10px;
}

.heat-chart-empty,
.heat-chart-error {
  border: 1px solid var(--heat-line);
  border-radius: 8px;
  background: var(--heat-panel);
  padding: 28px;
  color: var(--heat-muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.heat-chart-error {
  border-color: rgba(255, 0, 51, 0.5);
  color: #fff;
}

.heat-chart-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 28px) 42px;
  color: var(--heat-dim);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.heat-chart-footer p {
  margin: 0;
}

.heat-chart-footer a {
  color: var(--heat-muted);
}

@media (max-width: 1040px) {
  .heat-chart-topbar__inner {
    grid-template-columns: 1fr minmax(220px, 300px);
  }

  .heat-chart-nav {
    grid-column: 1 / -1;
    order: 3;
  }

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

@media (max-width: 760px) {
  .heat-chart-topbar {
    position: static;
  }

  .heat-chart-topbar__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 16px;
  }

  .heat-chart-nav {
    order: 0;
  }

  .heat-chart-search-pill {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .heat-location-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .heat-location-hero__identity {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .heat-location-hero h1 {
    font-size: 74px;
  }

  .heat-chart-section__heading h2 {
    font-size: 36px;
  }

  .heat-location-hero__control {
    min-width: 0;
  }

  .heat-chart-section__heading {
    display: grid;
  }

  .heat-chart-section__scope {
    text-align: left;
    white-space: normal;
  }

  .heat-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .heat-song-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .heat-song-column {
    gap: 16px;
  }

  .heat-song-card {
    grid-template-columns: 38px minmax(78px, 96px) minmax(0, 1fr);
    gap: 12px;
  }

  .heat-song-card__rank {
    font-size: 18px;
  }

  .heat-song-card__link {
    grid-column: 3;
    justify-self: start;
    margin-top: 2px;
  }

  .heat-song-column .heat-song-card {
    grid-template-columns: 40px 64px minmax(0, 1fr);
    gap: 12px;
  }

  .heat-song-column .heat-song-card__rank {
    font-size: 26px;
  }
}

@media (max-width: 460px) {
  .heat-chart-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .heat-location-hero__image-wrap {
    width: min(58vw, 168px);
  }

  .heat-location-hero h1 {
    font-size: 56px;
  }

  .heat-artists-grid {
    grid-template-columns: 1fr;
  }

  .heat-artist-card__image-link {
    max-width: 176px;
  }

  .heat-song-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .heat-song-card__thumb {
    grid-column: 2;
    width: min(100%, 220px);
  }

  .heat-song-card__body,
  .heat-song-card__link {
    grid-column: 2;
  }

  .heat-song-column .heat-song-card {
    grid-template-columns: 34px 56px minmax(0, 1fr);
  }

  .heat-song-column .heat-song-card__thumb,
  .heat-song-column .heat-song-card__body,
  .heat-song-column .heat-song-card__link {
    grid-column: auto;
  }

  .heat-song-column .heat-song-card__thumb {
    width: 100%;
  }
}
