.mzk-top100 {
  --top100-bg: #071521;
  --top100-surface: #0c1c2a;
  --top100-surface-hover: #102536;
  --top100-border: #1a3042;
  --top100-text: #f8fafc;
  --top100-muted: #8fa8c2;
  --top100-brand: #ffa200;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 24px calc(112px + env(safe-area-inset-bottom));
  color: var(--top100-text);
}

.mzk-top100 *,
.mzk-top100 *::before,
.mzk-top100 *::after { box-sizing: border-box; }

.mzk-top100-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  color: var(--top100-muted);
  font-size: 14px;
}

.mzk-top100-breadcrumbs a { color: var(--top100-muted); text-decoration: none; }
.mzk-top100-breadcrumbs a:hover { color: var(--top100-brand); }

.mzk-top100-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 850px;
  margin-bottom: 26px;
}

.mzk-top100-hero__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #08131d;
  background: var(--top100-brand);
}

.mzk-top100-hero__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mzk-top100-hero__title {
  margin: 0;
  color: var(--top100-text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.mzk-top100-hero__desc {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--top100-muted);
  font-size: 15px;
  line-height: 1.5;
}

.mzk-top100-tabs {
  display: flex;
  width: 100%;
  gap: 9px;
  padding: 2px 0 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.mzk-top100-tabs::-webkit-scrollbar { display: none; }

.mzk-top100-tabs button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--top100-border);
  border-radius: 24px;
  color: #a9bdd0;
  background: #0c1c2a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  scroll-snap-align: start;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.mzk-top100-tabs button:hover,
.mzk-top100-tabs button:focus-visible,
.mzk-top100-tabs button.is-active {
  border-color: var(--top100-brand);
  color: #07131d;
  background: var(--top100-brand);
  outline: 0;
}

.mzk-top100-tabs button svg {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mzk-top100-tabs[aria-busy="true"] button:not(.is-active) { opacity: .55; }
.mzk-top100-tabs__status { min-height: 20px; margin: 5px 0 -8px; color: var(--top100-muted); font-size: 13px; }

.mzk-top100-podium,
.mzk-top100-chart { margin-top: 28px; }

.mzk-top100-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.mzk-top100-section-head h2,
.mzk-top100-seo h2 {
  margin: 0;
  color: var(--top100-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.mzk-top100-section-head__note {
  color: var(--top100-muted);
  font-size: 13px;
}

.mzk-top100-podium__tracklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mzk-top100-podium__item {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-width: 0;
  min-height: 106px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--top100-border);
  border-radius: 0;
  background: transparent;
  transition: border-color .18s ease, transform .18s ease;
}

.mzk-top100-podium__item:hover {
  border-color: rgba(255,162,0,.52);
  background: transparent;
  transform: translateY(-2px);
}

.mzk-top100-podium__item:first-child { border-color: var(--top100-border); }

.mzk-top100-podium__medal {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 4px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #09131c;
  background: var(--top100-brand);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  font-size: 12px;
  font-weight: 850;
}

.mzk-top100-podium__cover {
  position: relative;
  display: block;
  grid-column: 1;
  grid-row: 1 / 4;
  width: 86px;
  height: 86px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #132534;
}

.mzk-top100-podium__cover img { width: 100%; height: 100%; object-fit: cover; }
.mzk-top100-podium__cover-empty { display: grid; width: 100%; height: 100%; place-items: center; color: var(--top100-muted); font-weight: 850; }

.mzk-top100-podium__play {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #07131d;
  background: var(--top100-brand);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.mzk-top100-podium__play:hover { transform: scale(1.06); filter: brightness(1.06); }
.mzk-top100-podium__play svg { width: 18px; height: 18px; fill: currentColor; }
.mzk-top100-podium__play .icon-pause { display: none; }
.mzk-top100-podium__play.is-playing .icon-play,
.mzk-top100-podium__item.is-playing .mzk-top100-podium__play .icon-play { display: none; }
.mzk-top100-podium__play.is-playing .icon-pause,
.mzk-top100-podium__item.is-playing .mzk-top100-podium__play .icon-pause { display: block; }

.mzk-top100-podium__title,
.mzk-top100-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--top100-text);
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mzk-top100-podium__title { grid-column: 2; grid-row: 1; align-self: end; font-size: 15px; }
.mzk-top100-podium__title:hover,
.mzk-top100-title:hover { color: var(--top100-brand); }

.mzk-top100-podium__artist,
.mzk-top100-artist {
  display: block;
  min-width: 0;
  margin-top: 4px;
  overflow: hidden;
  color: var(--top100-muted);
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mzk-top100-podium__artist { grid-column: 2; grid-row: 2; }

.mzk-top100-list { display: grid; gap: 7px; }

.mzk-top100-track {
  display: grid;
  grid-template-columns: 32px 48px minmax(180px, 1fr) minmax(110px, .45fr) 52px 44px;
  gap: 10px;
  min-height: 66px;
  padding: 8px 10px;
  align-items: center;
  border: 1px solid var(--top100-border);
  border-radius: 13px;
  background: var(--top100-surface);
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.mzk-top100-track:hover { border-color: #2a4559; background: var(--top100-surface-hover); transform: translateY(-1px); }
.mzk-top100-track.is-playing { border-color: rgba(255,162,0,.55); background: #122637; }
.mzk-top100-track.is-playing .mzk-top100-title { color: var(--top100-brand); }

.mzk-top100-rank { color: #7993ad; text-align: center; font-size: 14px; font-weight: 750; }

.mzk-top100-cover {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: visible;
  border-radius: 12px;
  background: #142737;
}

.mzk-top100-cover img,
.mzk-top100-cover-empty { width: 48px; height: 48px; border-radius: 10px; }
.mzk-top100-cover img { object-fit: cover; }
.mzk-top100-cover-empty { display: grid; place-items: center; color: var(--top100-muted); font-size: 12px; font-weight: 800; }

.mzk-top100-play {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #07131d;
  background: var(--top100-brand);
  box-shadow: 0 5px 16px rgba(0,0,0,.3);
  cursor: pointer;
}

.mzk-top100-play svg { width: 15px; height: 15px; fill: currentColor; }
.mzk-top100-play .icon-pause { display: none; }
.mzk-top100-play.is-playing .icon-play,
.mzk-top100-track.is-playing .mzk-top100-play .icon-play { display: none; }
.mzk-top100-play.is-playing .icon-pause,
.mzk-top100-track.is-playing .mzk-top100-play .icon-pause { display: block; }

.mzk-top100-info { min-width: 0; padding-left: 3px; }
.mzk-top100-title { font-size: 16px; }

.mzk-top100-genre {
  min-width: 0;
  overflow: hidden;
  color: #a9bdd0;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mzk-top100-duration { color: var(--top100-muted); font-size: 13px; font-weight: 650; }
.mzk-top100-duration { text-align: right; }

.mzk-top100-fav {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #9db0c4;
  background: #142638;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.mzk-top100-fav:hover { color: #fff; background: #1b3145; transform: scale(1.04); }
.mzk-top100-fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.mzk-top100-fav.is-active { color: #ff4d88; background: rgba(255,77,136,.12); }
.mzk-top100-fav.is-active svg { fill: currentColor; }

.mzk-top100-empty { margin: 0; padding: 26px; border: 1px dashed var(--top100-border); border-radius: 16px; color: var(--top100-muted); text-align: center; }

.mzk-top100-seo {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--top100-border);
  transition: max-height .22s ease;
}

.mzk-top100-seo[data-catalog-seo-ready="1"] { padding-bottom: 78px; }
.mzk-top100-seo.mzk-catalog-seo--collapsed { max-height: 230px; }
.mzk-top100-seo.mzk-catalog-seo--collapsed::after { background: linear-gradient(transparent, #071521 68%); }

.mzk-top100-seo p {
  margin: 12px 0 0;
  color: #9bb1c6;
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .mzk-top100-tabs { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; }
  .mzk-top100-podium__tracklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .mzk-top100-track { grid-template-columns: 30px 48px minmax(150px,1fr) 52px 44px; }
  .mzk-top100-genre { display: none; }
}

@media (max-width: 720px) {
  .mzk-top100 { padding: 4px 14px calc(104px + env(safe-area-inset-bottom)); }
  .mzk-top100-breadcrumbs { margin-bottom: 22px; font-size: 13px; }
  .mzk-top100-hero { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .mzk-top100-hero__icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
  .mzk-top100-hero__icon svg { width: 22px; height: 22px; }
  .mzk-top100-hero__title { font-size: 22px; }
  .mzk-top100-hero__desc { margin-top: 8px; font-size: 15px; line-height: 1.5; }
  .mzk-top100-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 2px 0 6px;
    overflow: visible;
  }
  .mzk-top100-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
  }
  .mzk-top100-tabs button:first-child { grid-column: 1 / -1; }
  .mzk-top100-podium,
  .mzk-top100-chart { margin-top: 26px; }
  .mzk-top100-section-head { align-items: flex-start; margin-bottom: 14px; }
  .mzk-top100-section-head__note { display: none; }
  .mzk-top100-podium__tracklist {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .mzk-top100-podium__item {
    width: 100%;
    min-height: 96px;
    padding: 6px 0;
    scroll-snap-align: none;
  }
  .mzk-top100-list { gap: 7px; }
  .mzk-top100-track {
    grid-template-columns: 24px 48px minmax(0,1fr) 36px 42px;
    gap: 8px;
    min-height: 66px;
    padding: 8px 7px;
    border-radius: 12px;
  }
  .mzk-top100-rank { font-size: 12px; }
  .mzk-top100-cover,
  .mzk-top100-cover img,
  .mzk-top100-cover-empty { width: 48px; height: 48px; }
  .mzk-top100-play { right: -5px; bottom: -4px; width: 30px; height: 30px; }
  .mzk-top100-title { font-size: 15px; }
  .mzk-top100-artist { font-size: 13px; }
  .mzk-top100-duration { font-size: 12px; }
  .mzk-top100-fav { width: 42px; height: 42px; }
  .mzk-top100-seo { width: 100%; max-width: none; margin-top: 42px; padding-top: 24px; }
  .mzk-top100-seo[data-catalog-seo-ready="1"] { padding-bottom: 76px; }
  .mzk-top100-seo.mzk-catalog-seo--collapsed { max-height: 220px; }
  .mzk-top100-seo p { font-size: 14px; line-height: 1.66; }
}

@media (max-width: 390px) {
  .mzk-top100-hero__icon { display: none; }
  .mzk-top100-track { grid-template-columns: 20px 46px minmax(0,1fr) 42px; }
  .mzk-top100-cover,
  .mzk-top100-cover img,
  .mzk-top100-cover-empty { width: 46px; height: 46px; }
  .mzk-top100-duration { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mzk-top100 * { scroll-behavior: auto !important; transition: none !important; }
}
