/* PATCH V27 UI - Mes créations + Favoris */

.v27-nav-icon {
  display: inline-block;
  width: 24px;
  margin-right: 7px;
  text-align: center;
}

.v27-grid {
  align-items: stretch;
}

.v27-empty {
  grid-column: 1 / -1;
}

.sound-grid button.v27-shared-card,
.v27-sound-card {
  position: relative;
  overflow: hidden;
}

.v27-sound-card {
  min-height: 120px;
  border: 1px solid rgba(145, 150, 255, 0.34);
  border-radius: 20px;
  background: rgba(19, 18, 48, 0.72);
  color: white;
  cursor: pointer;
  transition: 0.16s ease;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 14px;
}

.v27-sound-card:hover {
  transform: translateY(-2px);
  background: rgba(88, 101, 242, 0.35);
}

.v27-card-emoji {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
}

.v27-card-name {
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.v27-card-meta {
  display: block;
  margin-top: 6px;
  color: rgba(246,244,255,.65);
  font-size: 11px;
  font-weight: 800;
}

.v27-fav-btn {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 6;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8, 8, 24, 0.78);
  color: rgba(255,255,255,.46);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0,0,0,.25);
  transition: 0.14s ease;
}

.v27-fav-btn:hover,
.v27-fav-btn.is-favorite {
  color: #ffd642;
  border-color: rgba(255, 214, 66, .75);
  background: rgba(60, 42, 0, .68);
  box-shadow:
    0 0 10px rgba(255, 214, 66, .45),
    0 0 22px rgba(255, 180, 40, .22);
  transform: scale(1.08);
}

.v27-delete-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 6;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,90,120,.7);
  background: rgba(70, 0, 20, .72);
  color: #ff5c7d;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255,30,80,.22);
  transition: 0.14s ease;
}

.v27-delete-btn:hover {
  background: rgba(120, 0, 35, .9);
  color: white;
  transform: scale(1.08);
}

.v27-card-control {
  font-family: inherit;
}

#myCreationsGrid,
#favoritesGrid {
  width: 100%;
}

@media (max-width: 900px) {
  .v27-card-emoji {
    font-size: 30px;
  }

  .v27-fav-btn,
  .v27-delete-btn {
    width: 26px;
    height: 26px;
  }
}