#smt-albums-app {
  width: 100%;
  margin: 8px 0 18px;
  font-family: Asap, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #232323;
}

.smt-albums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 520px) {
  .smt-albums-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.smt-album-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #eadbc6;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(35, 35, 35, 0.06);
}

.smt-album-card:hover {
  transform: translateY(-2px);
}

.smt-album-card.is-active {
  border-color: #ff5a3d;
  box-shadow: 0 6px 18px rgba(255, 90, 61, 0.22);
}

.smt-album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f5ecdd;
}

.smt-album-meta {
  padding: 9px 10px 10px;
}

.smt-album-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #232323;
  line-height: 1.25;
  margin: 0 0 2px;
}

.smt-album-sub {
  font-size: 11.5px;
  color: rgba(35, 35, 35, 0.68);
  margin: 0;
}

.smt-album-viewer {
  margin-top: 16px;
  background: #eadbc6;
  border-radius: 18px;
  padding: 14px 12px 16px;
  box-shadow: 0 4px 18px rgba(35, 35, 35, 0.07);
}

.smt-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(35, 35, 35, 0.1);
}

.smt-viewer-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ff5a3d;
}

.smt-viewer-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(35, 35, 35, 0.72);
}

.smt-viewer-close {
  border: 1px solid rgba(35, 35, 35, 0.18);
  background: #f5ecdd;
  color: #232323;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.smt-flash-grid {
  columns: 2;
  column-gap: 10px;
}

.smt-flash-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5ecdd;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.smt-flash-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox */
.smt-alb-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.smt-alb-lb.is-open {
  display: flex;
}

.smt-alb-lb-img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 12px;
  object-fit: contain;
}

.smt-alb-lb-close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.smt-alb-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smt-alb-lb-prev {
  left: 10px;
}

.smt-alb-lb-next {
  right: 10px;
}

.smt-alb-lb-count {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}
