:root {
  color-scheme: dark;
  --bg: #0b0715;
  --panel: rgba(25, 17, 43, 0.78);
  --panel-solid: #19112b;
  --panel-bright: #24163d;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(255, 255, 255, 0.18);
  --text: #f7f2ff;
  --muted: #a9a0b8;
  --pink: #ff276d;
  --pink-bright: #ff4b88;
  --cyan: #70e1ef;
  --purple: #9b61ff;
  --gold: #ffd36c;
  --shell: min(1180px, calc(100vw - 48px));
  --display: "Oxanium", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(104, 47, 174, 0.22),
      transparent 42rem
    ),
    linear-gradient(180deg, #10091e 0, var(--bg) 38rem, #080510 100%);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.ambient-one {
  top: 7rem;
  left: -18rem;
  width: 34rem;
  height: 34rem;
  background: rgba(255, 39, 109, 0.09);
}

.ambient-two {
  top: 20rem;
  right: -20rem;
  width: 40rem;
  height: 40rem;
  background: rgba(112, 225, 239, 0.07);
}

.grid-glow {
  position: absolute;
  z-index: -1;
  top: 6rem;
  left: 50%;
  width: min(1100px, 100%);
  height: 38rem;
  transform: translateX(-50%);
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at center, #000 0, transparent 70%);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 140px;
  height: 69px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: -84%;
  left: -20%;
  width: 140%;
  height: 271%;
  max-width: none;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9d1e4;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.source-link:hover {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateY(-1px);
}

.source-link svg {
  width: 17px;
  fill: currentColor;
}

.hero {
  padding-block: 104px 76px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--pink-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 75, 136, 0.25);
  border-radius: 999px;
  background: rgba(255, 39, 109, 0.07);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-bright);
  box-shadow:
    0 0 0 4px rgba(255, 75, 136, 0.12),
    0 0 12px var(--pink);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

.hero h1 {
  margin: 28px 0 0;
  font: 700 clamp(2.85rem, 7vw, 5.65rem)/0.99 var(--display);
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(
    90deg,
    var(--pink-bright) 0%,
    #dd66d4 47%,
    var(--cyan) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-stats {
  display: inline-flex;
  align-items: stretch;
  margin-top: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(21, 14, 36, 0.72);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-stat {
  display: flex;
  min-width: 180px;
  padding: 20px 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.hero-stat-wide {
  min-width: 210px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stat strong {
  font: 600 1.35rem var(--display);
  letter-spacing: -0.03em;
}

.stat-divider {
  width: 1px;
  margin-block: 15px;
  background: var(--line);
}

.leaderboard-section {
  padding-block: 55px 110px;
}

.section-heading,
.ranking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.ranking-header h3 {
  margin: 8px 0 0;
  font: 600 clamp(1.8rem, 4vw, 2.65rem) var(--display);
  letter-spacing: -0.045em;
}

.period-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 12, 31, 0.68);
}

.period-tabs button {
  min-width: 66px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  transition: 150ms ease;
}

.period-tabs button:hover {
  color: #fff;
}

.period-tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--pink), #d92c88);
  box-shadow: 0 7px 25px rgba(255, 39, 109, 0.22);
  color: #fff;
}

.period-tabs button:focus-visible,
.search-box:focus-within,
.source-link:focus-visible,
.error-state button:focus-visible,
.install-button:focus-visible,
.cabinet-choice:focus-visible,
.dialog-close:focus-visible,
.manage-cabinets:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.period-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.75rem;
}

#period-label {
  color: #d9d1e4;
  font-weight: 700;
}

.loading-state,
.error-state {
  min-height: 340px;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.87rem;
}

.loader {
  width: 21px;
  height: 21px;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-top-color: var(--pink-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
}

.error-state[hidden],
.loading-state[hidden],
#leaderboard-content[hidden],
.podium-section[hidden] {
  display: none;
}

.error-state h3,
.error-state p {
  margin: 0;
}

.error-state h3 {
  font: 600 1rem var(--display);
}

.error-state p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}

.error-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 75, 136, 0.4);
  border-radius: 50%;
  background: rgba(255, 39, 109, 0.1);
  color: var(--pink-bright);
  font: 700 1rem var(--display);
}

.error-state button {
  margin-left: 16px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--pink);
  color: #fff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.podium-section {
  padding-block: 56px 86px;
}

.podium {
  display: grid;
  max-width: 950px;
  margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 22px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--panel-bright), var(--panel-solid));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.podium-rank-1 {
  transform: translateY(-22px);
  border-color: rgba(255, 211, 108, 0.42);
  box-shadow: 0 26px 75px rgba(255, 39, 109, 0.13);
}

.podium-card .artwork-frame {
  aspect-ratio: 2 / 2.72;
}

.artwork-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(255, 75, 136, 0.3),
      transparent 38%
    ),
    linear-gradient(145deg, #2b1744, #0f0a1c);
}

.artwork-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artwork-frame::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(10, 6, 18, 0.65));
  content: "";
  pointer-events: none;
}

.artwork-fallback {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font: 700 2rem var(--display);
  letter-spacing: -0.08em;
}

.podium-rank {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(9, 6, 16, 0.74);
  color: #fff;
  font: 700 0.8rem var(--display);
  backdrop-filter: blur(8px);
}

.podium-rank-1 .podium-rank {
  border-color: rgba(255, 211, 108, 0.55);
  color: var(--gold);
}

.podium-details {
  min-height: 196px;
  padding: 19px 20px 21px;
}

.podium-details h4 {
  min-height: 2.7em;
  margin: 0;
  font: 600 1rem/1.35 var(--display);
  letter-spacing: -0.025em;
}

.podium-details p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.7rem;
}

.podium-details > strong {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.podium-details > strong span {
  margin-right: 4px;
  color: var(--text);
  font: 700 1.35rem var(--display);
  letter-spacing: -0.04em;
}

.podium-rank-1 .podium-details > strong span {
  color: var(--gold);
}

.install-button {
  display: inline-flex;
  min-height: 36px;
  margin-top: 17px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 75, 136, 0.45);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink), #d92c88);
  box-shadow: 0 8px 22px rgba(255, 39, 109, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  transition: 150ms ease;
}

.install-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 11px 30px rgba(255, 39, 109, 0.28);
  transform: translateY(-1px);
}

.install-button:disabled {
  border-color: rgba(255, 211, 108, 0.24);
  background: rgba(255, 211, 108, 0.07);
  box-shadow: none;
  color: #c2aa78;
  cursor: not-allowed;
}

.podium-details .install-button {
  width: 100%;
}

.full-ranking {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(18, 12, 31, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
}

.ranking-header {
  padding: 29px 31px;
  border-bottom: 1px solid var(--line);
}

.ranking-header h3 {
  font-size: 1.55rem;
}

.search-box {
  display: flex;
  width: min(280px, 100%);
  height: 43px;
  align-items: center;
  gap: 10px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 5, 15, 0.55);
  color: var(--muted);
}

.search-box svg {
  width: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.77rem;
}

.search-box input::placeholder {
  color: #777084;
}

.column-labels {
  display: grid;
  grid-template-columns: 76px 1fr 150px;
  padding: 12px 27px;
  border-bottom: 1px solid var(--line);
  color: #746c81;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.column-labels span:last-child {
  text-align: right;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-row {
  display: grid;
  min-height: 88px;
  grid-template-columns: 58px 48px 1fr 150px;
  align-items: center;
  gap: 18px;
  padding: 13px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  transition: background 140ms ease;
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.row-rank {
  color: #7e758b;
  font: 600 0.73rem var(--display);
  letter-spacing: 0.03em;
}

.row-artwork {
  width: 43px;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.row-artwork::after {
  display: none;
}

.row-artwork .artwork-fallback {
  font-size: 0.6rem;
}

.row-details {
  min-width: 0;
}

.row-details > strong,
.row-details > span {
  display: block;
}

.row-details > strong {
  overflow: hidden;
  font: 600 0.86rem var(--display);
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-details > span:not(.play-bar) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
}

.play-bar {
  width: min(280px, 70%);
  height: 2px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.play-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 0 10px rgba(255, 39, 109, 0.5);
}

.row-count {
  color: var(--text);
  font: 600 1rem var(--display);
  text-align: right;
}

.row-count span {
  display: block;
  margin-top: 3px;
  color: #777084;
  font: 800 0.52rem var(--body);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.row-actions {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.row-actions .install-button {
  width: 142px;
  min-height: 30px;
  margin-top: 0;
  padding: 6px 8px;
  font-size: 0.6rem;
}

.cabinet-dialog {
  width: min(540px, calc(100vw - 30px));
  max-height: min(680px, calc(100vh - 30px));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-bright);
  border-radius: 19px;
  background: #171025;
  color: var(--text);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.65);
}

.cabinet-dialog::backdrop {
  background: rgba(5, 3, 10, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  padding: 27px;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-heading h2 {
  margin: 7px 0 5px;
  font: 600 1.55rem var(--display);
  letter-spacing: -0.04em;
}

.dialog-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.dialog-close {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
}

.cabinet-list {
  display: grid;
  margin-top: 24px;
  gap: 9px;
}

.cabinet-choice {
  display: grid;
  width: 100%;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: 140ms ease;
}

.cabinet-choice:hover:not(:disabled) {
  border-color: rgba(112, 225, 239, 0.42);
  background: rgba(112, 225, 239, 0.07);
}

.cabinet-choice:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.cabinet-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c66c7c;
  box-shadow: 0 0 0 4px rgba(198, 108, 124, 0.1);
}

.cabinet-status-online {
  background: #4bddad;
  box-shadow: 0 0 0 4px rgba(75, 221, 173, 0.1);
}

.cabinet-choice-details {
  min-width: 0;
}

.cabinet-choice-details strong,
.cabinet-choice-details span {
  display: block;
}

.cabinet-choice-details strong {
  overflow: hidden;
  font: 600 0.86rem var(--display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cabinet-choice-details span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
}

.cabinet-choice-state {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cabinet-choice:disabled .cabinet-choice-state {
  color: #c58f99;
}

.manage-cabinets {
  margin-top: 18px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.install-status {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 32px));
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(112, 225, 239, 0.3);
  border-radius: 11px;
  background: #171025;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  color: #c9f6fb;
  font-size: 0.76rem;
}

.install-status[data-kind="success"] {
  border-color: rgba(75, 221, 173, 0.35);
  color: #aef2db;
}

.install-status[data-kind="error"] {
  border-color: rgba(255, 75, 136, 0.38);
  color: #ffb1cd;
}

.no-results {
  margin: 0;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #777084;
  font-size: 0.66rem;
  line-height: 1.7;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
}

.site-footer a {
  color: #bbb1c8;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .hero {
    padding-block: 82px 58px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4.4rem);
  }
  .hero-stats {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat {
    min-width: 0;
    padding: 18px 20px;
  }
  .hero-stat-wide {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
  .stat-divider {
    display: none;
  }
  .hero-stat:first-child {
    border-right: 1px solid var(--line);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .period-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .period-tabs button {
    min-width: 62px;
    flex: 1;
  }
  .period-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .podium-rank-1 {
    transform: translateY(-14px);
  }
  .podium-details {
    min-height: 188px;
    padding: 14px;
  }
  .podium-details h4 {
    font-size: 0.78rem;
  }

  .ranking-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 76px;
  }
  .brand-mark {
    width: 116px;
    height: 57px;
  }
  .source-link span {
    display: none;
  }
  .source-link {
    padding: 10px;
  }

  .hero {
    padding-top: 66px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em {
    display: block;
  }
  .hero-copy {
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .hero-stat {
    padding: 17px 15px;
  }
  .hero-stat strong {
    font-size: 1.05rem;
  }
  .stat-label {
    font-size: 0.55rem;
  }

  .leaderboard-section {
    padding-top: 30px;
  }
  .period-tabs button {
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .podium-section {
    padding-block: 42px 58px;
  }
  .podium {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .podium-card {
    display: grid;
    grid-template-columns: 105px 1fr;
  }
  .podium-rank-1 {
    order: -1;
    transform: none;
  }
  .podium-card .artwork-frame {
    aspect-ratio: 2 / 3;
  }
  .podium-details {
    min-height: 0;
    padding: 17px;
  }
  .podium-details h4 {
    min-height: 0;
    font-size: 0.84rem;
  }
  .podium-details p {
    margin-bottom: 14px;
  }

  .ranking-header {
    padding: 24px 20px;
  }
  .column-labels {
    display: none;
  }
  .ranking-row {
    min-height: 79px;
    grid-template-columns: 42px 38px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }
  .row-artwork {
    width: 35px;
  }
  .row-details > strong {
    font-size: 0.74rem;
  }
  .row-details > span:not(.play-bar) {
    font-size: 0.58rem;
  }
  .play-bar {
    width: 85%;
  }
  .row-count {
    font-size: 0.82rem;
  }
  .row-rank {
    font-size: 0.63rem;
  }
  .row-actions {
    grid-column: 2 / -1;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
  .row-actions .install-button {
    width: auto;
    min-width: 122px;
  }

  .dialog-shell {
    padding: 22px 18px;
  }
  .cabinet-choice {
    padding-inline: 12px;
  }
  .install-status {
    right: 16px;
    bottom: 16px;
  }

  .site-footer {
    padding-block: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
