/* =========================================================
   Manga Cards
   ========================================================= */

.home-manga-card{
  flex: 0 0 190px;
  scroll-snap-align: start;

  overflow: hidden;
  border-radius: 18px;

  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.home-manga-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.065);
  border-color: rgba(255,255,255,0.14);
}

.home-manga-thumb{
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111;
}

.home-manga-thumb img{
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  transition:
    transform .24s ease,
    filter .24s ease;

  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;  
}

.home-manga-card:hover .home-manga-thumb img{
  transform: scale(1.055);
  filter: brightness(1.06);
}

.home-manga-info{
  padding: 10px 10px 12px;
}

.home-manga-title{
  margin: 0;

  color: rgba(255,255,255,0.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-manga-meta{
  margin-top: 9px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.home-manga-meta span{
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 800;
}

.home-manga-meta span:last-child{
  justify-content: flex-end;
}

.home-manga-meta i{
  color: #ff6b88;
}

.home-manga-flag{
  justify-content: center;
}

.home-manga-flag img{
  width: 22px;
  height: 22px;
  object-fit: cover;

  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16);
}

.home-manga-card{
  border-radius: 12px;
}

.home-manga-thumb{
  border-radius: 0;
}
