:root {
  --bg: #05070b;
  --line: rgba(255,255,255,.12);
  --text: #f8fafc;
  --accent: #60a5fa;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; text-decoration: none; }
body { min-height: 100vh; overflow: hidden; }
.album-shell {
  min-height: 100vh;
  position: relative;
}
.album-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 12px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.12), transparent);
}
.album-back,
.album-counter,
.album-arrow {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,20,.52);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: #fff;
}
.album-counter { min-width: 72px; }
.album-track {
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.album-track::-webkit-scrollbar { display: none; }
.album-slide {
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070b;
  position: relative;
  overflow: hidden;
}
.album-slide img {
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.album-click-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 5;
}
.album-click-zone.left { left: 0; cursor: pointer; }
.album-click-zone.right { right: 0; cursor: pointer; }
.album-dots {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100% - 32px);
}
.album-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.35);
}
.album-dots button.active {
  width: 22px;
  background: #fff;
}
.album-empty {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255,255,255,.7);
}
.album-arrows {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.album-arrow {
  width: 46px;
  padding: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  pointer-events: auto;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.album-arrow:hover {
  background: rgba(255,255,255,.2);
}
@media (max-width: 767px) {
  .album-arrows { display: none; }
  .album-click-zone.left,
  .album-click-zone.right { cursor: pointer; }
}


.album-click-zone,
.album-arrow,
.album-back,
.album-dots button {
  -webkit-tap-highlight-color: transparent;
}

.album-click-zone:focus,
.album-click-zone:active,
.album-arrow:focus,
.album-arrow:active,
.album-back:focus,
.album-back:active,
.album-dots button:focus,
.album-dots button:active {
  outline: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .album-click-zone {
    background: transparent !important;
  }
}
