/* =========================================================
   album.css — the folder grid + the photo popup
========================================================= */

.album-page {
    width: calc(100% - 26px);
    margin-left: 26px;
    margin-top: 50px;
    height: calc(100% - 50px - 36px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: contentFade .8s ease .15s forwards;
}

.album-back {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 30px;
    height: 30px;
    margin-left: -45px;   
    margin-top: -13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: #eaeaea;
    font-size: 26px;
    line-height: 1;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);   
    cursor: pointer;
}

.album-back:hover { opacity: 1; }
.album-back[hidden] { display: none; }

.album-explorer {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 26px 22px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.album-explorer::-webkit-scrollbar { display: none; }

/* the photo itself sits inside the shared .vn-review popup */

.album-photo {
    position: relative;
    flex: 1;             
    aspect-ratio: unset; 
}

.album-photo__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #eaeaea;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.album-photo__nav:hover { background: rgba(0, 0, 0, .7); }
.album-photo__nav--prev { left: 8px; }
.album-photo__nav--next { right: 8px; }

.album-photo__count {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, .55);
    border-radius: 3px;
    font-size: 11px;
    color: #eaeaea;
}