/* Single artifact tile — matches Mongil artifact list cards (MongilStarDiveArtifactList.astro) */
.mongil-database-list--embed {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mongil-database-list--embed .art-card {
  width: 140px;
  height: 200px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
}

.mongil-database-list--embed .art-card--r3 {
  background: linear-gradient(160deg, #1e3a55 0%, #3d7eae 55%, #6eb8e8 100%);
}

.mongil-database-list--embed .art-card--r4 {
  background: linear-gradient(160deg, #2d2f4d 0%, #7a5af8 65%);
}

.mongil-database-list--embed .art-card--r5 {
  background: linear-gradient(160deg, #6e4c42 0%, #e0c870 65%);
}

.mongil-database-list--embed .art-card--r0 {
  background: linear-gradient(160deg, #2d2d2d 0%, #6b7280 65%);
}

.mongil-database-list--embed .art-card-role-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  width: 28px;
  height: 28px;
  padding: 2px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-sizing: border-box;
}

.mongil-database-list--embed .art-card-role-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mongil-database-list--embed .art-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.mongil-database-list--embed .art-card:hover .art-card-img {
  transform: scale(1.06);
}

.mongil-database-list--embed .art-card-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 6px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  text-align: center;
}

.mongil-database-list--embed .art-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  line-height: 1.25;
}

@media (max-width: 768px) {
  .mongil-database-list--embed .art-card {
    width: 100%;
    height: auto;
    aspect-ratio: 140 / 200;
    max-width: 140px;
  }
}
