.coverflow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
  color: #f5f5f5;
}
.coverflow [hidden] {
  display: none !important;
}
.coverflow__canvas {
  display: block;
  width: 100%;
  height: clamp(400px, 43vw, 600px);
  border-radius: 16px;
  touch-action: pan-y;
  cursor: grab;
}
.coverflow__canvas.is-dragging {
  cursor: grabbing;
}
.coverflow__canvas:focus-visible,
.coverflow button:focus-visible,
.coverflow a:focus-visible {
  outline: 2px solid #a7ffd4;
  outline-offset: 4px;
}
.coverflow__hint {
  margin: 0;
  color: #a3a3a3;
  font-size: 12px;
  text-align: center;
}
.coverflow__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  text-align: center;
}
.coverflow__count {
  color: #a7ffd4;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.coverflow .coverflow__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  min-height: 36px;
  overflow-wrap: anywhere;
}
.coverflow__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.coverflow__arrow,
.coverflow__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease;
}
.coverflow__arrow {
  width: 48px;
  background: #1c1c1c;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 20px;
}
.coverflow__arrow:hover {
  background: #333;
}
.coverflow__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.coverflow__open {
  padding: 0 32px;
  background: #f5f5f5;
  color: #0a0a0a;
}
.coverflow__open:hover {
  background: #d4d4d4;
}
.coverflow__fallback {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  width: 100%;
  gap: 24px;
}
.coverflow__fallback-card {
  display: grid;
  gap: 12px;
  color: inherit;
}
.coverflow__fallback-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #141414;
  border-radius: 12px;
}
.coverflow__fallback-card span {
  font-size: 13px;
}
.page-templates .tpl-head {
  padding-bottom: 16px;
}
.page-templates .tpl-head__title {
  margin-top: 56px;
}
@media (max-width: 600px) {
  .coverflow {
    gap: 20px;
  }
  .coverflow__canvas {
    height: 400px;
  }
  .coverflow__hint {
    max-width: 280px;
    line-height: 1.8;
  }
  .coverflow__info {
    padding: 0 16px;
  }
  .coverflow__fallback {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .coverflow__fallback-card img {
    height: 180px;
  }
}
