* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    background: #111;
    color: #eee;
    margin: 0;
    padding: 1.5rem;
}

a.back-link {
    color: #9cf;
    text-decoration: none;
}

h1 {
    margin-top: 0.5rem;
}

.album-list {
    list-style: none;
    padding: 0;
    max-width: 480px;
}

.album-list li a,
.album-list li {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.album-list li a:hover {
    background: #333;
}

.slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slideshow button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
}

.slideshow button:hover {
    background: rgba(0, 0, 0, 0.75);
}

.slideshow .prev {
    left: 0.5rem;
}

.slideshow .next {
    right: 0.5rem;
}
