/* ================================================= slideshow (dark frame) */

.slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0d10;
  color: #fff;
  animation: fadeIn 0.4s ease;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
}

.slide.is-active img {
  animation: kenburns 12s ease-out both;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

.slideScrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}

.frameClock {
  position: absolute;
  top: 46px;
  left: 56px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.frameBadge {
  position: absolute;
  top: 46px;
  right: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.frameBadge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #07ce92;
}

.frameBadge__dot.is-off {
  background: #ff4f6f;
}

.slideMeta {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 66px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.slideTitle {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.slideBy {
  margin: 10px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.slideDots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slideDots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s ease, width 0.3s ease;
}

.slideDots span.is-on {
  width: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.emptyFrame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 48px;
  background:
    radial-gradient(600px 400px at 50% 20%, #182028 0%, transparent 70%),
    #0b0d10;
}

.emptyFrame__mark {
  width: 128px;
  height: 128px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.6);
  font-size: 52px;
  font-weight: 700;
}

.emptyFrame__title {
  margin: 28px 0 0;
  font-size: 30px;
  font-weight: 600;
}

.emptyFrame__sub {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.emptyFrame__hint {
  margin-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.device--small .frameClock { top: 26px; left: 24px; font-size: 18px; }
.device--small .frameBadge { top: 26px; right: 24px; font-size: 12px; padding: 8px 12px; }
.device--small .slideMeta { left: 24px; right: 24px; bottom: 54px; }
.device--small .slideTitle { font-size: 24px; }
.device--small .slideBy { font-size: 14px; }
.device--small .emptyFrame__title { font-size: 22px; }
.device--small .emptyFrame__sub { font-size: 15px; }
