:root {
    /* length */
    --main-content-margin: 6vw;
    /* text */
    --hero-text-color: #fff;
    --sub-hero-text-color: #ffffffcc;
    --text-color: #000;
    /* background */
    --bg-2: #fff2;
    --bg-4: #fff4;
    --bg-8: #fff4;
    --bg-b: #fffb;
    --bg-r-2: #0002;
    --bg-r-4: #0004;
    --bg-r-8: #0008;
    /* border */
    --border-in: #0002;
    --border-out: #fff8;
    /* accent */
    --accent-color: #3880ff;
    --accent-color-hover: #4c8dff;
    --accent-color-active: #3171e0;
    /* shadow */
    --light-shadow: 0px 10px 20px #0004;
    /* filter */
    --acrylic: blur(32px) saturate(1.2);
    /* timing-function */
    --timing-function: cubic-bezier(0.3, 0, 0, 1);
    /* fonts */
    --pro: -apple-system, 'SF Pro', 'Segoe UI', 'Roboto', 'Source Han Sans', sans-serif;
    --pro-text: -apple-system, 'SF Pro Text', 'Segoe UI', 'Roboto', 'Source Han Sans', sans-serif;
    --pro-rounded: -apple-system, 'SF Pro Rounded', 'Segoe UI', 'Roboto', 'Source Han Sans', sans-serif;
    --pro-text-semibold: -apple-system, 'SF Pro Text Semibold', 'Segoe UI', 'Roboto', 'Source Han Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* text */
        --text-color: #fff;
        /* background */
        --bg-2: #0002;
        --bg-4: #0004;
        --bg-8: #0004;
        --bg-b: #000b;
        --bg-r-2: #fff2;
        --bg-r-4: #fff4;
        --bg-r-8: #fff8;
        --bg-r-b: #fffb;
        /* border */
        --border-in: #fff2;
        --border-out: #0008;
    }
}

body {
    color: var(--text-color);
    font-family: var(--pro-rounded);
    overflow: hidden;
    min-height: 100vh;
}

a {
    color: var(--bg-r-b);
}

.btn.btn-primary {
    outline: none;
    border: none;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    border-radius: 6px;
    padding: 6px 8px;
}

.btn.btn-primary:hover, .btn.btn-primary:focus {
    background-color: var(--accent-color-hover);
}

.btn.btn-primary:active {
    background-color: var(--accent-color-active);
}

.btn.acrylic-round-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: var(--bg-8);
    backdrop-filter: var(--acrylic);
    -webkit-backdrop-filter: var(--acrylic);
    color: var(--text-color);
    padding: 0;
    text-align: center;
    transition: background-color .2s, transform .15s;
    transition-timing-function: var(--timing-function);
}

.btn.acrylic-round-btn:hover, .btn.acrylic-round-btn:focus {
    background-color: var(--bg-4);
    transform: scale(1.1);
}

.btn.acrylic-round-btn:active {
    background-color: var(--bg-8);
    transform: scale(0.9);
}

.main>.image-bg {
    position: absolute;
    left: -32px;
    top: -32px;
    width: calc(100vw + 64px);
    height: calc(100vh + 64px);
    object-fit: cover;
    z-index: -200;
    filter: blur(18px) brightness(0.4);
}

.main>.image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -100;
    transition: all 0.5s var(--timing-function);
}

@media screen and (max-width: 600px) {
    .main.more-panel--open>.image {
        top: calc(100vw*0.05/2);
        transform: scale(0.95) translate(0, -2.5vh);
        border-radius: 8px;
    }
}

.front>.previous-btn, .front>.next-btn {
    position: absolute;
    top: calc(50vh - 16px);
    transition: 0.3s var(--timing-function);
    transition-property: opacity, transform;
}

@media screen and (max-width: 600px) {
    .main.more-panel--open>.front>.previous-btn, .main.more-panel--open>.front>.next-btn {
        opacity: 0;
        pointer-events: none;
    }
}

.front>.previous-btn {
    left: var(--main-content-margin);
}

.front>.next-btn {
    right: var(--main-content-margin);
}

.front>.bottom-left {
    position: absolute;
    left: var(--main-content-margin);
    bottom: var(--main-content-margin);
    font-family: var(--pro);
    color: var(--hero-text-color);
    pointer-events: none;
}

.front>.bottom-left>.month {
    margin: 0;
    margin-bottom: 24px;
    font-size: 36px;
    line-height: 36px;
    opacity: 0.8;
}

.front>.bottom-left>.date {
    margin: 0;
    font-size: 164px;
    line-height: 120px;
}

.front>.bottom-right {
    position: absolute;
    right: var(--main-content-margin);
    bottom: var(--main-content-margin);
    font-size: 20px;
    line-height: 20px;
    font-family: var(--pro-text);
    color: var(--sub-hero-text-color);
}

.front>.bottom-right>.photo-by {
    cursor: pointer;
    margin: 0;
    transition: opacity .35s;
}

.front>.bottom-right>.photo-by>.author {
    font-family: var(--pro-text-semibold);
    color: var(--hero-text-color);
}

.front>.more-btn {
    position: absolute;
    right: var(--main-content-margin);
    bottom: var(--main-content-margin);
    opacity: 0;
    pointer-events: none;
}

.front>.more-btn>i {
    font-size: 28px;
    line-height: 32px;
}

@media screen and (max-width: 600px) {
    .front>.bottom-right>.photo-by {
        opacity: 0;
        pointer-events: none;
    }
    .front>.more-btn {
        opacity: 1;
        pointer-events: initial;
    }
}

.front>.more-panel {
    position: fixed;
    top: 0;
    right: -500px;
    bottom: 0;
    width: 500px;
    background-color: var(--bg-b);
    backdrop-filter: var(--acrylic);
    -webkit-backdrop-filter: var(--acrylic);
    box-shadow: 0 0 25px transparent;
    overflow-y: scroll;
    transition-property: right, box-shadow;
    transition-timing-function: var(--timing-function);
    transition-duration: 0.5s;
}

.front>.more-panel::-webkit-scrollbar {
    display: none;
}

.more-panel--open .more-panel {
    right: 0;
}

@media screen and (max-width: 600px) {
    .front>.more-panel {
        top: 100vh;
        left: 0;
        right: 0;
        height: 50vh;
        width: 100vw;
        border-radius: 8px 8px 0 0;
        transition-property: top, box-shadow;
    }
    .more-panel--open .more-panel {
        top: 50vh;
    }
}

.front>.more-panel>.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 22px;
    line-height: 32px;
    backdrop-filter: none;
    background-color: transparent;
}

.front>.more-panel>.separator {
    height: 1px;
    background-color: var(--border-in);
}

.front>.more-panel>[section-number="1"] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.front>.more-panel>[section-number="1"]>.image {
    height: 80%;
    border-radius: 4px;
    box-shadow: 0px 9px 20px #0003;
}

@media screen and (max-width: 600px) {
    .front>.more-panel>[section-number="1"] {
        height: 100px;
    }
    .front>.more-panel>[section-number="1"]>.image {
        height: 90%;
    }
}

.front>.more-panel>[section-number="2"] {
    text-align: center;
}

.front>.more-panel>[section-number="2"]>.photo-by {
    font-family: var(--pro-text);
}

.front>.more-panel>[section-number="2"]>.photo-by>.author {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--pro-text-semibold);
}

.front>.more-panel .action-blocks {
    display: flex;
    margin: 6px;
}

.front>.more-panel .action-blocks>.action {
    width: 100%;
    padding: 6px;
}

.front>.more-panel .action-blocks>.action>.action-btn {
    width: 100%;
    height: 86px;
    border: none;
    outline: none;
    border-radius: 6px;
    background-color: var(--bg-r-2);
    color: var(--text-color);
    text-decoration: none;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.2s;
}

.front>.more-panel .action-blocks>.action>.action-btn:hover, .front>.more-panel .action-blocks>.action>.action-btn:focus {
    background-color: var(--bg-r-4);
}

.front>.more-panel .action-blocks>.action>.action-btn:active {
    background-color: var(--bg-r-8);
}

.front>.more-panel .action-blocks>.action>.action-btn>.icon {
    font-size: 24px;
}

.front>.more-panel .action-blocks>.action>.action-btn>.text {
    margin-top: 4px;
    font-size: 16px;
}

.front>.more-panel .action-list {
    margin: 12px;
}

.front>.more-panel .action-list>.action:not(:last-child)::after {
    content: '';
    position: absolute;
    background-color: var(--border-in);
    width: calc(100% - 12px * 2);
    height: 1px;
}

.front>.more-panel .action-list>.action>.action-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
    border-radius: 0;
    background-color: var(--bg-r-2);
    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;
    cursor: default;
    transition: background-color 0.2s;
}

.front>.more-panel .action-list>.action>a.action-btn {
    width: calc(100% - 16px);
}

.front>.more-panel .action-list>.action>.action-btn:hover, .front>.more-panel .action-list>.action>.action-btn:focus {
    background-color: var(--bg-r-4);
}

.front>.more-panel .action-list>.action>.action-btn:active {
    background-color: var(--bg-r-8);
}

.front>.more-panel .action-list>.action:nth-child(1)>.action-btn {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.front>.more-panel .action-list>.action:last-child>.action-btn {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.front>.more-panel .action-list-title {
    user-select: none;
    margin: -6px 20px;
    margin-top: 0;
    color: var(--bg-r-b);
    font-size: 14px;
}

.front>.more-panel>[section-number="5"] {
    text-align: center;
    user-select: none;
    color: var(--bg-r-8);
    font-size: 14px;
}

.front>.more-panel>[section-number="5"]>.icon {
    width: 32px;
    height: 32px;
}

.front>.more-panel>[section-number="5"]>.text {
    opacity: 0;
    transform: translateY(-6px) scale(0.9);
    transition-property: opacity transform;
    transition-duration: 0.5s;
}

.front>.more-panel>[section-number="5"]:hover>.text {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.3s;
}