.album-list .album {
  aspect-ratio: 1/1;
  padding: 4px;
}

.album-list .album .inner {
  background: #555555;
  width: 100%;
  height: 100%;
  position: relative;
}

.album-list .album .inner > a {
  display: block;
  width: 100%;
  height: 100%;
}

.album-list .album .inner img {
  width: calc(100% - 8px);
  height: calc(100% - 2em - 4px);
  object-fit: cover;
  margin: 4px 4px 0 4px;
}

.album-list .album .inner .title {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  height: 2em;
  line-height: 2em;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 1em;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.album-list .album .inner .panel {
  position: absolute;
  left: 0;
  right: 4px;
  top: 4px;
  text-align: end;
  /*display: none;*/
}

.album-list .album:hover .inner .panel {
  /*display: block;*/
}

.album-list .album .inner .panel button {
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  color: grey;
  width: 24px;
  height: 24px;
  font-size: 14px;
  border: 0;
  border-radius: 0;
}

.album-list .album .panel .dropdown .dropdown-menu {
  --bs-dropdown-color: #a6a6a6;
  --bs-dropdown-bg: #2e2e2e;
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-link-color: #a6a6a6;
  --bs-dropdown-link-hover-color: #a6a6a6;
  --bs-dropdown-link-hover-bg: #404040;
  --bs-dropdown-item-padding-y: 3px;
  --bs-dropdown-item-padding-x: 1em;
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-link-disabled-color: #606060;
  --bs-dropdown-link-active-bg: #1abc9c;
}

.modal-album-create {
  color: #a6a6a6;
  --bs-modal-bg: #2e2e2e;
  --bs-modal-border-radius: 0px;
  /*--bs-modal-padding: 2em;*/
  --bs-modal-header-border-color: #404040;
  --bs-modal-footer-border-color: #404040;
}

.modal-album-create .form-control {
  --bs-body-bg: #404040;
  --bs-body-color: #a6a6a6;
  --bs-border-color: #a6a6a6;
}
.modal-album-create .btn-close {
  --bs-btn-close-color: #a6a6a6;
}