#album {
    width: 100%;
}

.album {
    column-count: 3;
    column-gap: 0.5rem;
    margin: 0;
    padding: 0;
    min-height: 5rem;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.album_wrapper {
    margin: 0;
    break-inside: avoid;
    transition: transform 0.3s;
    overflow: hidden;
    border-radius: 0.25rem;
    position: relative;
    width: 33%;
}

.album_wrapper figure {
    margin-top: 0;
    margin-bottom: 0;
}

.album_wrapper a,
.album_wrapper a:hover,
.album_wrapper a:active {
    color: #fff !important;
}

.album_wrapper img {
    display: block;
    width: 100%;
    animation: fadeIn 1s;
    cursor: pointer;
    transition: all 0.4s ease-in-out !important;
    border-radius: 0.25rem;
    transform: scale(1);
    object-fit: cover;
    height: 100%;
}

.album_wrapper:hover img {
    transform: scale(1.1);
}

.album_wrapper span.photo-title,
.album_wrapper span.photo-time {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    color: #fff;
    display: none;
    animation: fadeIn 1s;
    left: 0;
    padding: 0 0.25rem;
}

.album_wrapper span.photo-title {
    bottom: 0;
    border-radius: 0 0.25rem 0 0.25rem;
}

.album_wrapper span.photo-time {
    top: 0;
    border-radius: 0.25rem 0 0.25rem 0;
}

.album_wrapper:hover span.photo-title,
.album_wrapper:hover span.photo-time {
    display: block !important;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 1000px) {
    .album {
        column-count: 2;
    }

    .album_wrapper {
        width: 49.5%;
    }
}

.packery-drop-placeholder {
    outline: 3px dashed hsla(0, 0%, 0%, 0.5);
    outline-offset: -6px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
}

.dark .album_wrapper img {
    opacity: 0.75;
}

.gutter-sizer {
    width: 1%;
}

/* cyber 风格按钮 */
.cyber-btn {
    --primary: hsl(var(--primary-hue), 99.05%, calc(var(--primary-lightness, 58.63) * 1%));
    --shadow-primary: hsl(var(--shadow-primary-hue), 92%, 55%);
    --primary-hue: 349.38deg;
    --primary-lightness: 58.63;
    --color: hsl(0, 0%, 100%);
    --font-size: 1rem;
    --shadow-primary-hue: 178;
    --label-size: 5px;
    --shadow-secondary-hue: 60;
    --shadow-secondary: hsl(var(--shadow-secondary-hue), 90%, 60%);
    --clip: polygon(0 0, 100% 0, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 70%);
    --border: 4px;
    --shimmy-distance: 5;
    --clip-one: polygon(0 2%, 100% 2%, 100% 95%, 95% 95%, 95% 90%, 85% 90%, 85% 95%, 8% 95%, 0 70%);
    --clip-two: polygon(0 78%, 100% 78%, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 78%);
    --clip-three: polygon(0 44%, 100% 44%, 100% 54%, 95% 54%, 95% 54%, 85% 54%, 85% 54%, 8% 54%, 0 54%);
    --clip-four: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
    --clip-five: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
    --clip-six: polygon(0 40%, 100% 40%, 100% 85%, 95% 85%, 95% 85%, 85% 85%, 85% 85%, 8% 85%, 0 70%);
    --clip-seven: polygon(0 63%, 100% 63%, 100% 80%, 95% 80%, 95% 80%, 85% 80%, 85% 80%, 8% 80%, 0 70%);
    font-family: 'Cyber', sans-serif;
    color: var(--color);
    cursor: pointer;
    background: transparent;
    text-transform: uppercase;
    font-size: var(--font-size);
    outline: transparent;
    letter-spacing: 2px;
    position: relative;
    font-weight: 700;
    border: 0;
    min-width: 196px;
    height: 35px;
    line-height: 35px;
    transition: background 0.2s;
}

.cyber-btn:hover {
    --primary: hsl(var(--primary-hue), 85%, calc(var(--primary-lightness, 50) * 0.8%));
}

.cyber-btn:active {
    --primary: hsl(var(--primary-hue), 85%, calc(var(--primary-lightness, 50) * 0.6%));
}

.cyber-btn:after,
.cyber-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: var(--clip);
    z-index: -1;
}

.cyber-btn:before {
    background: var(--shadow-primary);
    transform: translate(var(--border), 0);
}

.cyber-btn:after {
    background: var(--primary);
}

.cyber-btn__tag {
    position: absolute;
    padding: 1px 2px;
    letter-spacing: 1px;
    line-height: 1;
    bottom: -5%;
    right: 5%;
    font-weight: normal;
    color: hsl(0, 0%, 0%);
    font-size: var(--label-size);
}

.cyber-btn__glitch {
    position: absolute;
    top: calc(var(--border) * -1);
    left: calc(var(--border) * -1);
    right: calc(var(--border) * -1);
    bottom: calc(var(--border) * -1);
    background: var(--shadow-primary);
    text-shadow: 2px 2px var(--shadow-primary), -2px -2px var(--shadow-secondary);
    clip-path: var(--clip);
    animation: glitch 2s infinite;
    display: none;
}

.cyber-btn:hover .cyber-btn__glitch {
    display: block;
}

.cyber-btn__glitch:before {
    content: '';
    position: absolute;
    top: calc(var(--border) * 1);
    right: calc(var(--border) * 1);
    bottom: calc(var(--border) * 1);
    left: calc(var(--border) * 1);
    clip-path: var(--clip);
    background: var(--primary);
    z-index: -1;
}

@keyframes glitch {
    0% {
        clip-path: var(--clip-one);
    }

    2%,
    8% {
        clip-path: var(--clip-two);
        transform: translate(calc(var(--shimmy-distance) * -1%), 0);
    }

    6% {
        clip-path: var(--clip-two);
        transform: translate(calc(var(--shimmy-distance) * 1%), 0);
    }

    9% {
        clip-path: var(--clip-two);
        transform: translate(0, 0);
    }

    10% {
        clip-path: var(--clip-three);
        transform: translate(calc(var(--shimmy-distance) * 1%), 0);
    }

    13% {
        clip-path: var(--clip-three);
        transform: translate(0, 0);
    }

    14%,
    21% {
        clip-path: var(--clip-four);
        transform: translate(calc(var(--shimmy-distance) * 1%), 0);
    }

    25% {
        clip-path: var(--clip-five);
        transform: translate(calc(var(--shimmy-distance) * 1%), 0);
    }

    30% {
        clip-path: var(--clip-five);
        transform: translate(calc(var(--shimmy-distance) * -1%), 0);
    }

    35%,
    45% {
        clip-path: var(--clip-six);
        transform: translate(calc(var(--shimmy-distance) * -1%));
    }

    40% {
        clip-path: var(--clip-six);
        transform: translate(calc(var(--shimmy-distance) * 1%));
    }

    50% {
        clip-path: var(--clip-six);
        transform: translate(0, 0);
    }

    55% {
        clip-path: var(--clip-seven);
        transform: translate(calc(var(--shimmy-distance) * 1%), 0);
    }

    60% {
        clip-path: var(--clip-seven);
        transform: translate(0, 0);
    }

    31%,
    61%,
    100% {
        clip-path: var(--clip-four);
    }
}

.cyber-btn:nth-of-type(2) {
    --primary-hue: 260;
}

#loadMoreButton {
    margin: 1rem auto;
    width: 196px;
    text-align: center;
    z-index: 2;
    cursor: not-allowed;
}
