/* v30: галерея изображений диска.
   Слой 100010 — выше карточки альбома (100000), иначе окно останется
   под ней и будет казаться, что нажатие не работает. */

.artbox {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: none;
  grid-template-rows: 1fr auto auto auto;
  background: rgba(6, 5, 9, .97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.artbox.on { display: grid; }
body.art-open { overflow: hidden; }

.art-stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 64px 10px;
}
.art-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .7);
  cursor: zoom-in;
  transition: opacity .18s ease, filter .22s ease;
  background: #14121a;
}
.art-stage img.art-wait {
  /* Пока грузится большой снимок, показана миниатюра в 250 точек,
     растянутая на всё поле. Лёгкое размытие прячет её зернистость,
     и переход к резкому снимку выглядит как наведение фокуса. */
  filter: blur(7px);
  opacity: .82;
}

.art-x {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.art-x:hover { background: rgba(255, 255, 255, .22); }

.art-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 92px;
  border: 0;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}
.art-nav:hover { background: rgba(255, 255, 255, .17); }
.art-prev { left: 8px; }
.art-next { right: 8px; }

.art-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 22px 4px;
  color: #e7e2f0;
  font-size: 14.5px;
}
.art-cap {
  font-weight: 600;
  letter-spacing: .01em;
}
.art-right { display: flex; align-items: center; gap: 16px; }
.art-cnt {
  opacity: .62;
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
}
.art-full {
  color: #9fc8ff;
  text-decoration: none;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(159, 200, 255, .35);
}
.art-full:hover { color: #cfe2ff; }

.art-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 22px 12px;
  scrollbar-width: thin;
}
.art-th {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #1a1720;
  cursor: pointer;
  overflow: hidden;
  opacity: .55;
  transition: opacity .15s ease, border-color .15s ease;
}
.art-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-th:hover { opacity: .85; }
.art-th.on { opacity: 1; border-color: #c9a227; }

.art-src {
  padding: 0 22px 12px;
  color: #8b8598;
  font-size: 11.5px;
  letter-spacing: .03em;
}

/* Обложка в карточке становится нажимаемой — это надо показать */
.mcover.art-clickable { cursor: zoom-in; position: relative; }
.mcover.art-clickable::after {
  content: '🖼';
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(8, 6, 12, .72);
  font-size: 14px;
  pointer-events: none;
}

@media (max-width: 700px) {
  .art-stage { padding: 16px 12px 6px; }
  .art-nav { width: 40px; height: 74px; font-size: 30px; }
  .art-th { width: 52px; height: 52px; }
  .art-bar { padding: 6px 14px 2px; font-size: 13.5px; }
  .art-strip { padding: 8px 14px 10px; }
  .art-src { padding: 0 14px 10px; }
}
