.album-page {
  min-height: 100%;
}

.album-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.album-header-btn {
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  background: #eff6ff;
}

.album-header-btn--plus {
  padding: 0;
  font-size: 26px;
  line-height: 1;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.album-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f4f6;
}

.album-thumb--button {
  width: 100%;
  padding: 0;
  border: 0;
}

.album-thumb img,
.album-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-thumb__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.album-thumb__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.album-viewer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.album-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
}

.album-viewer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 0 18px;
}

.album-viewer__top {
  display: flex;
  justify-content: flex-end;
  padding: 0 4px;
}

.album-viewer__close {
  color: #ffffff;
}

.album-viewer__media {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.album-viewer__image,
.album-viewer__video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 24px;
  display: block;
  background: #000000;
}

.album-viewer__actions {
  display: flex;
  gap: 10px;
  padding: 0 4px;
}
