.album-container {
    padding: 10px;
    height: calc(100% - 40px);
    overflow-y: auto;
    font-family: var(--win98-font);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 5px;
}

.image-item {
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片查看器样式 */
.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.image-viewer.active {
    display: flex;
}

.viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.viewer-close {
    position: absolute;
    top: -30px;
    right: -30px;
    font-family: var(--win98-font);
    font-size: 24px;
    cursor: pointer;
    background: #c0c0c0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 5px;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--win98-font);
    font-size: 24px;
    cursor: pointer;
    background: #c0c0c0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 10px;
}

.viewer-prev {
    left: -40px;
}

.viewer-next {
    right: -40px;
}

.image-info {
    text-align: center;
    padding: 5px;
    font-family: var(--win98-font);
    color: #333;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
