.bma-context {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0;
  background: #fafafa;
  font-family: system-ui, sans-serif;
}

.bma-context h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #222;
}

.bma-context .thumb {
  float: left;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.bma-context .meta {
  overflow: hidden;
}

.bma-context .name {
  font-weight: 600;
  font-size: 15px;
}

.bma-context .genre {
  font-size: 13px;
  color: #555;
  margin: 3px 0;
}

.bma-context a {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}

.bma-context a:hover {
  text-decoration: underline;
}

.bma-context ul {
  list-style: disc;
  margin: 4px 0 0 18px;
  padding: 0;
}

.bma-context {
  margin-top: 10px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  font-family: system-ui, sans-serif;
}

.bma-context h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.bma-artist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  transition: background 0.2s ease;
  border-radius: 8px;
  padding: 4px;
}

.bma-artist-row:hover {
  background: #f7f7f7;
}

.bma-artist-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.bma-artist-row a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

.bma-artist-row span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.bma-context.empty {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
}

.bma-related {
  margin-top: 24px;
}

.bma-related h4 {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333;
}

.bma-related-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bma-related-item {
  flex: 1 1 160px;
  max-width: 200px;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.bma-related-item:hover {
  transform: translateY(-3px);
}

.bma-related-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.bma-related-item .title {
  display: block;
  padding: 8px 10px;
  font-size: 0.9em;
  color: #111;
  text-decoration: none;
}

/* WRAPPER GENERALE */
.bma-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 10px 0 25px;
}

/* CAROUSEL ORIZZONTALE */
.bma-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    overflow-y: hidden;
}

.bma-carousel::-webkit-scrollbar {
    height: 6px;
}
.bma-carousel::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}



/* FRECCE MINIMAL */
.bma-carousel-prev,
.bma-carousel-next {
    background: none;
    border: none;
    color: #000;
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    user-select: none;
}

.bma-carousel-prev:hover,
.bma-carousel-next:hover {
    color: #333;
}

.bma-album-plus {
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.bma-plus-btn {
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  font-size: 18px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  user-select: none;
  display: inline-block;
}

.bma-plus-tooltip {
  position: absolute;
  top: -100px;
  left: -100px;
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  width: 240px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 0.85em;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.bma-album-plus:hover .bma-plus-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.bma-album-card {
  position: relative;
  width: 120px !important;
  text-align: center;
}

.bma-album-cover {
  position: relative;
}

.bma-album-card img {
  width: 120px !important;
  border-radius: 8px;
  transition: transform 0.2s ease;
  max-width: 120px !important;
}

.bma-album-card:hover img {
  transform: scale(1.02);
}

