/* ============================================================
   Track List component — short news as a music track list
   Categories / genres / search / related & recommended
   One row markup + menu across all sections.
   ============================================================ */

/* ---- Row (desktop) ---- */
.mzk-tl-row {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 74px;
  padding: 0 20px 0 24px;
  border-bottom: 1px solid #e9edf4;
  transition: background .18s ease;
}

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

.mzk-tl-row:hover,
.mzk-tl-row:focus-within {
  background: #f5f8fd;
}

/* ---- Cover stage (cover + floating play button) ---- */
.mzk-tl-stage {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  min-width: 0;
}

.mzk-tl-cover {
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ece8fd, #ddd3fb);
  color: #7c6cf0;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.mzk-tl-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mzk-tl-cover__ph {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #7c6cf0;
}

.mzk-tl-cover__ph svg {
  width: 42%;
  height: 42%;
  fill: currentColor;
  opacity: .8;
}

/* ---- Play button (floating over cover corner) ---- */
.mzk-tl-play {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary, #5b21ed);
  color: var(--color-on-primary);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(var(--color-primary-rgb, 91, 33, 237), .35);
  touch-action: manipulation;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.mzk-tl-play:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 20px rgba(var(--color-primary-rgb, 91, 33, 237), .42);
}

.mzk-tl-play:active {
  transform: scale(.96);
}

.mzk-tl-play .icon-play {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: currentColor;
}

.mzk-tl-play .icon-pause {
  display: none;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mzk-tl-equalizer {
  display: none;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.mzk-tl-equalizer span {
  width: 3px;
  height: 75%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  animation: mzk-tl-equalizer-pulse .7s ease-in-out infinite;
}

.mzk-tl-equalizer span:nth-child(2) { height: 92%; animation-delay: -.22s; }
.mzk-tl-equalizer span:nth-child(3) { height: 62%; animation-delay: -.42s; }

/* Playing state */
.mzk-tl-row.is-playing .mzk-tl-play .icon-play {
  display: none;
}

.mzk-tl-row.is-playing .mzk-tl-play .mzk-tl-equalizer {
  display: flex;
  animation: mzk-tl-icon-in .2s ease;
}

.mzk-tl-row.is-playing .mzk-tl-play:focus-visible .mzk-tl-equalizer { display: none; }
.mzk-tl-row.is-playing .mzk-tl-play:focus-visible .icon-pause { display: block; }

@media (hover: hover) {
  .mzk-tl-row.is-playing .mzk-tl-play:hover .mzk-tl-equalizer { display: none; }
  .mzk-tl-row.is-playing .mzk-tl-play:hover .icon-pause { display: block; }
}

.mzk-tl-row.is-current,
.mzk-tl-row.is-playing {
  background: var(--color-active-nav-bg, #edebfc);
}

.mzk-tl-row.is-current .mzk-tl-title,
.mzk-tl-row.is-playing .mzk-tl-title {
  color: var(--color-primary, #5b21ed);
}

@keyframes mzk-tl-icon-in {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes mzk-tl-equalizer-pulse {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}

/* ---- Text block ---- */
.mzk-tl-info {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin-left: 30px;
}

.mzk-tl-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--color-text-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color .15s ease;
}

.mzk-tl-title:hover {
  color: var(--color-primary, #5b21ed);
}

.mzk-tl-artist {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mzk-tl-artist:hover {
  color: #334155;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Quality badges ---- */
.mzk-tl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.mzk-tl-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--color-active-nav-bg, #edebfc);
  color: var(--color-primary, #5b21ed);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .3px;
  white-space: nowrap;
}

.mzk-tl-badge--new {
  background: #fef3c7;
  color: #b45309;
}

.mzk-tl-badge--meta {
  background: #eef1f6;
  color: #64748b;
  font-weight: 600;
}

/* ---- Right side: shared fixed area for duration + quick actions ---- */
.mzk-tl-side {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  min-width: 176px;
  height: 100%;
  margin-left: 14px;
}

/* Duration: sits in the same area the action icons occupy on hover */
.mzk-tl-duration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  color: #48566b;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: opacity .18s ease;
}

/* Quick actions: overlay stacked over duration, fade in on row hover */
.mzk-tl-actions {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.mzk-tl-row:hover .mzk-tl-duration,
.mzk-tl-row:focus-within .mzk-tl-duration {
  opacity: 0;
}

.mzk-tl-row:hover .mzk-tl-actions,
.mzk-tl-row:focus-within .mzk-tl-actions {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mzk-tl-action {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.mzk-tl-action:hover,
.mzk-tl-action:focus-visible {
  border-color: #dbe4f0;
  background: #eff4ff;
  color: var(--color-primary, #5b21ed);
}

.mzk-tl-action:active {
  transform: scale(.94);
}

.mzk-tl-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mzk-tl-action[data-favorite-control].is-active {
  border-color: #f4d3da;
  background: #fdeef1;
  color: #e11d48;
}

.mzk-tl-action[data-favorite-control].is-active svg path {
  fill: currentColor;
  stroke: currentColor;
}

.mzk-tl-action.is-liked svg path {
  fill: currentColor;
}

/* ---- Three dots / more ---- */
.mzk-tl-more-wrap {
  position: relative;
  flex: 0 0 auto;
  margin-left: 6px;
}

.mzk-tl-more {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a94a6;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.mzk-tl-more:hover,
.mzk-tl-more:focus-visible,
.mzk-tl-more[aria-expanded="true"] {
  background: #eef2fa;
  color: var(--color-primary, #5b21ed);
}

.mzk-tl-more svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ---- Dropdown menu ---- */
.mzk-tl-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10050;
  width: 264px;
  max-width: calc(100vw - 24px);
  max-height: min(420px, calc(100vh - 24px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--color-border, #e4e6ec);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(.98);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.mzk-tl-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mzk-tl-menu.is-up {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom right;
}

.mzk-tl-menu [role="menuitem"] {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text-primary, #1e2638);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .12s ease;
}

.mzk-tl-menu [role="menuitem"]:hover,
.mzk-tl-menu [role="menuitem"]:focus-visible {
  background: var(--color-bg-muted, #f5f6fa);
}

.mzk-tl-menu [role="menuitem"] svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--color-text-secondary, #8b90a0);
}

.mzk-tl-menu [role="menuitem"] svg.mzk-icon-fill {
  fill: currentColor;
  stroke: none;
}

.mzk-tl-menu__sep {
  height: 1px;
  margin: 6px 8px;
  background: var(--color-border, #e4e6ec);
}

/* Menu like item active state */
.mzk-tl-menu [data-action="like"].is-on {
  color: #e11d48;
}

.mzk-tl-menu [data-action="like"].is-on svg {
  color: #e11d48;
}

/* ---- Mobile bottom sheet ---- */
.mzk-tl-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.mzk-tl-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.mzk-tl-sheet-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .mzk-tl-menu {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: 62vh;
    padding: 6px 12px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transform-origin: bottom center;
    box-shadow: 0 -18px 44px rgba(15, 23, 42, .18);
  }

  .mzk-tl-menu::before {
    display: block;
    width: 40px;
    height: 4px;
    margin: 4px auto 8px;
    border-radius: 999px;
    background: #d3dae3;
    content: "";
  }

  .mzk-tl-menu.is-open {
    transform: none;
  }

  .mzk-tl-menu.is-up {
    bottom: 0;
  }

  .mzk-tl-menu [role="menuitem"] {
    min-height: 48px;
    font-size: 16px;
  }
}

/* ============================================================
   Compact variant — sidebar (related / recommended)
   ============================================================ */
.mzk-tl-row--compact {
  min-height: 80px;
  padding: 0 10px 0 14px;
  border-bottom: 1px solid #eef1f6;
}

.mzk-tl-row--compact .mzk-tl-stage {
  flex-basis: 72px;
  width: 72px;
  height: 72px;
}

.mzk-tl-row--compact .mzk-tl-cover {
  top: 6px;
  width: 60px;
  height: 60px;
  border-radius: 9px;
}

.mzk-tl-row--compact .mzk-tl-play {
  width: 38px;
  height: 38px;
  box-shadow: 0 6px 14px rgba(var(--color-primary-rgb, 91, 33, 237), .35);
}

.mzk-tl-row--compact .mzk-tl-play .icon-play {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.mzk-tl-row--compact .mzk-tl-play .icon-pause {
  width: 22px;
  height: 22px;
}

.mzk-tl-row--compact .mzk-tl-equalizer { width: 22px; height: 22px; }

.mzk-tl-row--compact .mzk-tl-info {
  margin-left: 16px;
}

.mzk-tl-row--compact .mzk-tl-title {
  font-size: 14px;
  font-weight: 600;
  -webkit-line-clamp: 1;
}

.mzk-tl-row--compact .mzk-tl-artist {
  margin-top: 2px;
  font-size: 12px;
}

.mzk-tl-row--compact .mzk-tl-badges {
  margin-top: 4px;
}

.mzk-tl-row--compact .mzk-tl-badge {
  height: 18px;
  padding: 0 6px;
  font-size: 10px;
}

.mzk-tl-row--compact .mzk-tl-side {
  width: 144px;
  min-width: 144px;
  margin-left: 8px;
}

.mzk-tl-row--compact .mzk-tl-duration {
  font-size: 13px;
}

.mzk-tl-row--compact .mzk-tl-actions {
  gap: 6px;
}

.mzk-tl-row--compact .mzk-tl-action {
  width: 44px;
  height: 44px;
}

.mzk-tl-row--compact .mzk-tl-action svg {
  width: 19px;
  height: 19px;
}

.mzk-tl-row--compact .mzk-tl-more-wrap {
  margin-left: 2px;
}

.mzk-tl-row--compact .mzk-tl-more {
  width: 44px;
  height: 44px;
}

.mzk-tl-row--compact .mzk-tl-more svg {
  width: 22px;
  height: 22px;
}

/* Sidebar recommended list: contiguous rows (no container gap) */
.mzk-fullstory-page .mzk-sb-card .mzk-sb-artist-list {
  gap: 0;
}

/* Sidebar is narrow: no inline action icons, menu only, time always visible */
.mzk-sb-artist-list .mzk-tl-row--compact .mzk-tl-side {
  width: 56px;
  min-width: 56px;
  margin-left: 4px;
}

.mzk-sb-artist-list .mzk-tl-row--compact .mzk-tl-actions {
  display: none;
}

.mzk-sb-artist-list .mzk-tl-row--compact:hover .mzk-tl-duration,
.mzk-sb-artist-list .mzk-tl-row--compact:focus-within .mzk-tl-duration {
  opacity: 1;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet 768–1023 */
@media (min-width: 768px) and (max-width: 1023px) {
  .mzk-tl-row {
    min-height: 70px;
    padding: 0 14px 0 18px;
  }

  .mzk-tl-stage {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .mzk-tl-cover {
    top: 4px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .mzk-tl-play {
    width: 34px;
    height: 34px;
  }

  .mzk-tl-play .icon-play {
    width: 22px;
    height: 22px;
    margin-left: 3px;
  }

  .mzk-tl-play .icon-pause {
    width: 22px;
    height: 22px;
  }

  .mzk-tl-equalizer { width: 22px; height: 22px; }

  .mzk-tl-info {
    margin-left: 22px;
  }

  .mzk-tl-title {
    font-size: 16px;
  }

  .mzk-tl-artist {
    font-size: 14px;
  }

  .mzk-tl-side {
    width: 160px;
    min-width: 160px;
  }

  .mzk-tl-actions {
    gap: 8px;
  }

  .mzk-tl-action {
    width: 48px;
    height: 48px;
  }

  .mzk-tl-action svg {
    width: 20px;
    height: 20px;
  }

  .mzk-tl-more {
    width: 48px;
    height: 48px;
  }
}

/* Mobile up to 767 */
@media (max-width: 767px) {
  .mzk-tl-row {
    min-height: 76px;
    padding: 0 12px;
  }

  .mzk-tl-stage {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .mzk-tl-cover {
    top: 4px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .mzk-tl-cover__ph svg {
    width: 46%;
    height: 46%;
  }

  .mzk-tl-play {
    width: 32px;
    height: 32px;
    box-shadow: 0 6px 14px rgba(var(--color-primary-rgb, 91, 33, 237), .32);
  }

  .mzk-tl-play .icon-play {
    width: 20px;
    height: 20px;
    margin-left: 2px;
  }

  .mzk-tl-play .icon-pause {
    width: 20px;
    height: 20px;
  }

  .mzk-tl-equalizer { width: 20px; height: 20px; }

  .mzk-tl-info {
    margin-left: 14px;
  }

  .mzk-tl-title {
    font-size: 15px;
    font-weight: 600;
    -webkit-line-clamp: 2;
    line-height: 1.3;
  }

  .mzk-tl-artist {
    margin-top: 2px;
    font-size: 13px;
  }

  .mzk-tl-badges {
    margin-top: 5px;
  }

  .mzk-tl-badge {
    height: 20px;
    font-size: 10px;
  }

  .mzk-tl-side {
    width: 52px;
    min-width: 52px;
    margin-left: 4px;
  }

  .mzk-tl-duration {
    font-size: 13px;
  }

  .mzk-tl-actions {
    display: none;
  }

  .mzk-tl-more-wrap {
    margin-left: 2px;
  }

  .mzk-tl-more {
    width: 44px;
    height: 44px;
  }

  .mzk-tl-more svg {
    width: 24px;
    height: 24px;
  }

  .mzk-tl-row--compact {
    min-height: 88px;
    padding: 0 8px;
  }

  .mzk-tl-row--compact .mzk-tl-stage {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .mzk-tl-row--compact .mzk-tl-cover {
    width: 64px;
    height: 64px;
  }

  .mzk-tl-row--compact .mzk-tl-play {
    width: 40px;
    height: 40px;
  }
}

/* Touch devices: quick actions hidden, menu via three dots, time stays */
@media (hover: none) {
  .mzk-tl-actions {
    display: none;
  }

  .mzk-tl-row:hover .mzk-tl-duration,
  .mzk-tl-row:focus-within .mzk-tl-duration {
    opacity: 1;
  }
}

/* ============================================================
   Search results page
   ============================================================ */
.mzk-search-page .mzk-tl-row {
  margin-right: 24px;
  margin-left: 24px;
}

@media (max-width: 767px) {
  .mzk-search-page .mzk-tl-row {
    margin-right: 12px;
    margin-left: 12px;
  }
}

/* ============================================================
   List container integration (catalog pages)
   ============================================================ */
.mzk-design-page .mzk-catalog--category .mzk-catalog-list:not([data-view]),
.mzk-design-page .mzk-catalog--category .mzk-catalog-list[data-view="list"],
.mzk-design-page .mzk-catalog--novynky .mzk-catalog-list:not([data-view]),
.mzk-design-page .mzk-catalog--novynky .mzk-catalog-list[data-view="list"] {
  gap: 12px;
}

.mzk-catalog-list[data-view="rows"] {
  gap: 12px;
}

.mzk-catalog-list[data-view="grid"] {
  gap: 12px;
}

/* Compact rows for 2-col / 3-col view modes — row sizes unified with 1-col */
.mzk-catalog-list[data-view="rows"] .mzk-tl-row,
.mzk-catalog-list[data-view="grid"] .mzk-tl-row {
  min-height: 74px;
  padding: 0 14px;
  border-bottom: 0;
  border-radius: 14px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-stage,
.mzk-catalog-list[data-view="grid"] .mzk-tl-stage {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-cover,
.mzk-catalog-list[data-view="grid"] .mzk-tl-cover {
  top: 4px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-info,
.mzk-catalog-list[data-view="grid"] .mzk-tl-info {
  margin-left: 14px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-side,
.mzk-catalog-list[data-view="grid"] .mzk-tl-side {
  width: 144px;
  min-width: 144px;
  margin-left: 10px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-actions,
.mzk-catalog-list[data-view="grid"] .mzk-tl-actions {
  gap: 6px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-action,
.mzk-catalog-list[data-view="grid"] .mzk-tl-action {
  width: 44px;
  height: 44px;
}

.mzk-catalog-list[data-view="rows"] .mzk-tl-action svg,
.mzk-catalog-list[data-view="grid"] .mzk-tl-action svg {
  width: 19px;
  height: 19px;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-badges {
  display: none;
}

/* Grid (3-col): no quick-action icons, only duration + ⋮ (row sizes unified) */
.mzk-catalog-list[data-view="grid"] .mzk-tl-row {
  padding: 0 10px;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-info {
  margin-left: 10px;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-side {
  width: 64px;
  min-width: 64px;
  margin-left: 6px;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-actions {
  display: none;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-row:hover .mzk-tl-duration,
.mzk-catalog-list[data-view="grid"] .mzk-tl-row:focus-within .mzk-tl-duration {
  opacity: 1;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-more-wrap {
  margin-left: 2px;
}

.mzk-catalog-list[data-view="grid"] .mzk-tl-more {
  width: 40px;
  height: 40px;
}

@media (max-width: 767px) {
  .mzk-catalog-list[data-view="rows"] .mzk-tl-side,
  .mzk-catalog-list[data-view="grid"] .mzk-tl-side {
    width: 52px;
    min-width: 52px;
    margin-left: 4px;
  }

  .mzk-catalog-list[data-view="rows"] .mzk-tl-actions,
  .mzk-catalog-list[data-view="grid"] .mzk-tl-actions {
    display: none;
  }
}

/* ---- Accessibility ---- */
.mzk-tl-play:focus-visible,
.mzk-tl-more:focus-visible,
.mzk-tl-action:focus-visible {
  outline: 2px solid var(--color-primary, #5b21ed);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .mzk-tl-row,
  .mzk-tl-play,
  .mzk-tl-actions,
  .mzk-tl-duration,
  .mzk-tl-action,
  .mzk-tl-more,
  .mzk-tl-menu,
  .mzk-tl-menu-backdrop {
    transition: none;
  }
  .mzk-tl-equalizer span { animation: none; }
}

/* ---- Toast (menu feedback) ---- */
.mzk-toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10060;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 12px;
  background: #10162a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .3);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.mzk-toast.is-open {
  opacity: 1;
  transform: none;
}
