﻿body.is-loading {
    overflow: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    touch-action: pan-y;
}

button,
a,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

:root {
    --credit-popup-dim-image: url("../img/popup-background-1.png");
    --contact-popup-dim-image: url("../img/popup-background-2.png");
    --wrap-gradient-top: 0px;
    --wrap-gradient-height: 260px;
    --wrap-gradient-start: rgba(86, 122, 82, 1);
    --wrap-gradient-middle: rgba(246, 234, 215, 0.16);
    --wrap-gradient-end: rgba(255, 255, 255, 0);
    --wrap-gradient-start-position: 0%;
    --wrap-gradient-middle-position: 18%;
    --wrap-gradient-end-position: 42%;
    --wrap-gradient-opacity: 1;
}

body.is-popup-open {
    overflow: hidden;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("../img/common/background.png") repeat;
}

.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transform-origin: top center;
    transition:
        opacity 0.72s ease,
        visibility 0.72s ease,
        transform 1.15s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 10000;
}

.page-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 19%, transparent 81%, rgba(255, 255, 255, 0.06)),
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.1), transparent 35%);
    pointer-events: none;
}

.page-loader::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;
    height: 56px;
    background: linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-105%);
    pointer-events: none;
}

.page-loader.is-hidden::after {
    opacity: 1;
}

.loader-solid-black .page-loader {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.loader-solid-black .page-loader::before {
    background: none;
}

.loader-solid-black .page-loader::after {
    background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.loader-bg-image .page-loader {
    background:
        linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.52)),
        url("../img/common/background.png") repeat;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.loader-bg-image .page-loader::before {
    inset: 0 auto 0 50%;
    width: min(100%, 430px);
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.66)),
        url("../img/common/background.png") repeat;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.32);
}

.loader-bg-image .page-loader::after {
    background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0));
}

.loader-copy {
    position: relative;
    width: min(100%, 330px);
    max-width: calc(100vw - 44px);
    box-sizing: border-box;
    gap: 11px;
    color: #fff;
    text-align: center;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.loader-choice {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 1;
    transform: translateY(-50%);
    transition: opacity 0.34s ease, transform 0.34s ease, visibility 0.34s ease;
}

.page-loader.is-choice-done .loader-choice {
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-50% - 10px));
    pointer-events: none;
}

.loader-choice-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.94);
    word-break: keep-all;
    margin-bottom: 20px;
}

.loader-choice-note {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(246, 234, 215, 0.72);
}

.loader-choice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 226px);
}

.loader-choice-button {
    position: relative;
    width: 100%;
    min-height: 118px;
    padding: 10px 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.12)),
        rgba(0, 0, 0, 0.12);
    color: #f2eadf;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.loader-choice-button::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.loader-choice-button img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.34));
}

.loader-choice-button strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    color: #f2eadf;
}

.loader-choice-button.is-primary {
    border-color: rgba(255, 255, 255, 0.34);
    background:
        linear-gradient(rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.12)),
        rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 18px rgba(216, 177, 94, 0.12);
}

.loader-choice-button.is-primary::before {
    background: linear-gradient(120deg, transparent 0%, transparent 28%, #fff3c4 43%, #d8ad55 50%, #fff7d8 57%, transparent 72%, transparent 100%);
    background-size: 240% 240%;
    opacity: 0.95;
    animation: gold-border-shimmer 2.8s ease-in-out infinite;
}

.loader-choice-button.is-primary strong {
    color: #f2eadf;
}

.loader-choice-button:hover {
    transform: translateY(-3px);
}

.loader-choice-button:disabled {
    cursor: default;
}

.loader-intro {
    position: absolute;
    top: 54%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateY(calc(-50% - 44px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.page-loader.is-names-visible .loader-intro {
    opacity: 1;
    visibility: visible;
}

.loader-names {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Courgette', cursive;
    font-size: 21px;
    font-weight: 400;
    line-height: 28px;
    opacity: 1;
    transform: translateY(0);
}

.loader-name-text {
    display: inline-block;
    min-width: 52px;
}

.loader-name-text:first-child {
    text-align: right;
}

.loader-name-text:last-child {
    text-align: left;
}

.loader-names img {
    display: block;
    width: 17px;
    height: 17px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.78);
    filter:
        invert(22%) sepia(99%) saturate(2973%) hue-rotate(337deg) brightness(96%) contrast(96%) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.loader-names.is-heart-visible img {
    opacity: 1;
    transform: scale(1);
    animation: loader-heart-pulse 1.25s ease-in-out infinite;
}

.loader-title {
    width: 100%;
    max-width: 292px;
    min-height: 218px;
    margin-top: 30px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    color: #fff;
    white-space: pre-line;
    word-break: keep-all;
    overflow-wrap: break-word;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.5s ease;
}

.page-loader.is-message-visible .loader-title {
    opacity: 1;
}

.loader-made-credit {
    height: 47px;
    margin-top: 28px;
    font-family: 'Courgette', cursive;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}

.page-loader.is-credit-visible .loader-made-credit {
    visibility: visible;
}

.loader-made-credit span {
    display: block;
    height: 25px;
    font-size: 19px;
    font-weight: 300;
    line-height: 25px;
    color: #fff;
}

.loader-made-credit small {
    display: block;
    height: 18px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 200;
    line-height: 18px;
    color: rgba(255, 255, 255, .6);

}

.loader-skip-hint {
    position: absolute;
    top: -24px;
    right: -58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Courgette', cursive;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    z-index: 3;
    cursor: pointer;
    animation: click-float 1.8s ease-in-out infinite;
}

.page-loader.is-choice-done .loader-skip-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.loader-skip-text {
    display: block;
}

.page-loader.is-intro-revealed .loader-skip-hint {
    color: #fff;
}

.loader-all-typing .loader-title {
    opacity: 1;
}

.loader-all-typing .loader-title::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.82em;
    margin-left: 4px;
    background: rgba(255, 255, 255, 0.88);
    vertical-align: -0.12em;
    animation: loader-caret-blink 0.78s steps(2, start) infinite;
}

.loader-all-typing .page-loader.is-message-visible .loader-title::after {
    opacity: 0;
    animation: none;
}

main {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("../img/common/background.png") repeat;
    min-height: 100dvh;
    padding: 0;
    box-sizing: border-box;

    .wrap-content {
        position: relative;
        overflow: hidden;
        width: 100%;
        background-color: rgba(255, 255, 255, 1);
        max-width: 430px;
        margin: 0 auto;
        min-height: 100dvh;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        padding: 0;

        &::before {
            content: "";
            position: absolute;
            top: var(--wrap-gradient-top);
            left: 0;
            right: 0;
            height: var(--wrap-gradient-height);
            background: linear-gradient(180deg,
                    var(--wrap-gradient-start) var(--wrap-gradient-start-position),
                    var(--wrap-gradient-middle) var(--wrap-gradient-middle-position),
                    var(--wrap-gradient-end) var(--wrap-gradient-end-position));
            opacity: var(--wrap-gradient-opacity);
            pointer-events: none;
            z-index: 8;
        }

        .music-top-bar {
            position: fixed;
            top: 0;
            left: 50%;
            width: min(100%, 430px);
            height: 86px;
            padding: 20px 16px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            gap: 10px;
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: none;
            z-index: 35;
            transform: translateX(-50%);
            transition: background 0.36s ease, box-shadow 0.36s ease, height 0.36s ease;
        }

        .music-top-bar.has-shadow {

            height: 63px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);

            .music-title {
                .kr {
                    display: none;
                }
            }

        }

        .music-title {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-family: 'Courgette', cursive;
            font-size: 18px;
            font-weight: 400;
            line-height: 20px;
            color: #131313;
            text-shadow: none;
            transition: opacity 0.24s ease, max-width 0.36s ease;
            display: flex;
            flex-direction: column;

            .main {
                line-height: 28px;
            }

            .kr {
                font-family: 'Noto Sans KR';
                font-size: 12px;
                font-weight: 500;
                color: #888;
            }
        }

        .music-toggle-button {
            position: relative;
            z-index: 1;
            flex: 0 0 26px;
            width: 26px;
            height: 26px;
            border: 0;
            border-radius: 50%;
            background: url("../img/common/background.png") no-repeat center/cover;
            /* background: linear-gradient(135deg, #0d3617 0%, #105922 46%, #083613 100%); */

            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(8, 56, 22, 0.26);
            transition: box-shadow 0.36s ease;
            pointer-events: auto;
        }

        .music-toggle-button:focus {
            outline: none;
        }

        .music-toggle-button:focus-visible {
            box-shadow: 0 0 0 3px rgba(16, 89, 34, 0.2), 0 3px 10px rgba(8, 56, 22, 0.26);
        }

        .music-toggle-button svg {
            width: 16px;
            height: 16px;
            fill: #fff;
            opacity: 0.9;
        }

        .music-equalizer-icon {
            display: none;
            align-items: flex-end;
            justify-content: center;
            gap: 2px;
            width: 16px;
            height: 16px;
        }

        .music-toggle-button.is-playing .music-play-icon {
            display: none;
        }

        .music-toggle-button.is-playing .music-equalizer-icon {
            display: flex;
        }

        .music-equalizer-icon span {
            display: block;
            width: 2px;
            border-radius: 0px;
            background: #f6ead7;
            opacity: 0.9;

            transform-origin: bottom center;
            animation: music-equalizer-bounce 0.8s ease-in-out infinite;
        }

        .music-equalizer-icon span:nth-child(2) {
            animation-delay: -0.18s;
        }

        .music-equalizer-icon span:nth-child(3) {
            animation-delay: -0.36s;
        }

        .music-equalizer-icon span:nth-child(4) {
            animation-delay: -0.54s;
        }

        section {
            padding: 0px 16px 100px 16px;

            .title-wrap {
                color: #105922;
                margin-bottom: 30px;

                .title.en {
                    font-size: 18px;
                    line-height: 24px;
                    font-family: 'Courgette', cursive;
                }

                .title.kr {
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 28px;
                }
            }

            .couple-icon-wrap {
                width: 80px;
                margin: 40px auto;

                img {
                    display: block;
                    width: 100%;
                }
            }
        }

        section.main {
            padding-top: 88px;

            .main-img-wrap {
                position: relative;
                appearance: none;
                -webkit-appearance: none;
                display: block;
                width: 100%;
                margin-top: 0;
                padding: 0;
                border: 0;
                aspect-ratio: 850 / 1280;
                background-color: #ddd;
                border-radius: 0 100px 0 100px;
                overflow: hidden;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
                cursor: pointer;
                line-height: 0;
                text-align: left;

                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .name-wrap {
                padding-top: 42px;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 16px;

                .role {
                    font-weight: bold;
                    color: #063515;
                }

                .name {
                    color: #131313;
                }

                .heart-icon {
                    display: block;
                    width: 24px;
                    margin: 0 8px;
                }
            }

            .date-wrap {
                padding-top: 40px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 8px;
                line-height: 1.5;
                color: #666666;

                .place {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 4px;

                    .subway-line-icon {
                        display: block;
                        width: 14px;
                        margin-top: 2px;
                    }

                    strong.guro {
                        font-weight: 600;
                        color: #19308a;
                    }

                    strong.j-ostiel {
                        font-weight: 600;
                        color: #e41c4c;
                    }
                }
            }
        }

        section.invitation {
            text-align: center;

            .invitation-text {
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;
                color: #131313;
            }

            .family-info-wrap {
                display: grid;
                grid-template-columns: auto auto auto auto auto;
                justify-content: center;
                align-items: center;
                row-gap: 1px;
                margin-top: 30px;
                font-size: 13px;
                line-height: 22px;
                color: #131313;
                white-space: nowrap;

                .family {
                    display: contents;
                    align-items: end;
                    gap: 2px;
                }

                .dad,
                .mom {
                    color: #131313;
                    font-size: 15px;
                    font-weight: 500;
                }

                .common {
                    color: #888888;
                    padding: 0 2px;
                }

                .common.left {
                    text-align: left;
                }

                .name {
                    padding-left: 8px;
                    font-weight: 500;
                    color: #131313;
                    font-size: 15px;
                    font-weight: 500;
                }
            }

            .contact-list {
                width: 160px;
                height: 40px;
                color: white;
                background:
                    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
                    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
                    url("../img/common/background.png") no-repeat center/cover;
                border-radius: 8px;
                box-shadow: 0 10px 28px rgba(16, 35, 22, 0.16), 0 2px 8px rgba(16, 35, 22, 0.1);
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 40px auto 0 auto;
                gap: 4px;
                transition: background 0.1s ease;
            }

        }

        section.about-us {
            padding-top: 0;
            background: #fff;
            text-align: center;

            .profile-card {
                --profile-image: none;
                --profile-accent: #19308A;
                --profile-role-bg: #edf3ec;
                --profile-role-color: #7d9b78;
                --profile-role-border: rgba(150, 180, 144, 0.42);
                display: grid;
                grid-template-columns: 180px minmax(0, 1fr);
                gap: 20px;
                align-items: stretch;
                min-height: 194px;
                padding: 16px;
                border-radius: 40px 0;
                background: rgba(255, 255, 255, 0.94);
                box-shadow: 0 10px 28px rgba(16, 35, 22, 0.16), 0 2px 8px rgba(16, 35, 22, 0.1);
                text-align: left;

                &+.profile-card {
                    margin-top: 16px;
                }
            }

            .profile-card-bride {
                --profile-accent: #E41C4C;
                --profile-role-bg: #edf3ec;
                --profile-role-color: #7d9b78;
                --profile-role-border: rgba(150, 180, 144, 0.42);
                grid-template-columns: minmax(0, 1fr) 180px;
                border-radius: 40px 0 40px 0;

                .profile-image {
                    order: 2;
                    justify-self: end;
                }

                .profile-content {
                    order: 1;
                    text-align: right;
                }

                .profile-name-row {
                    justify-content: end;
                }

                .profile-tags {
                    justify-content: right;
                }
            }

            .profile-image {
                width: 180px;
                aspect-ratio: 970 / 1400;
                border-radius: 10px;
                background:
                    var(--profile-image),
                    #eef2ef;
                background-position: top center;
                background-size: cover;
                background-repeat: no-repeat;
                overflow: hidden;
            }

            .profile-image-open {
                cursor: zoom-in;
            }

            .profile-image-open:focus-visible {
                outline: 2px solid rgba(255, 255, 255, 0.9);
                outline-offset: 4px;
            }

            .profile-image-groom {
                --profile-image: url("../img/profile-bloom.png");
                border-radius: 30px 0px;
            }

            .profile-image-bride {
                --profile-image: url("../img/profile-bride.png");
                background-position: center center;
                border-radius: 30px 0;
            }

            .profile-content {
                text-align: left;
                min-width: 0;
                padding: 18px 0;
                align-self: stretch;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                font-family: 'Noto Sans KR', sans-serif;
                color: #333;
            }

            .profile-name-row {
                display: flex;
                align-items: center;
                gap: 9px;
                margin-bottom: 14px;
            }

            .profile-role {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                height: 25px;
                padding: 0 10px;
                border-radius: 999px;
                background: var(--profile-role-bg);
                border: 1px solid var(--profile-role-border);
                color: var(--profile-role-color);
                font-size: 12px;
                font-weight: 500;
                line-height: 25px;
            }

            .profile-name-row strong {
                font-size: 18px;
                font-weight: 700;
                line-height: 25px;
                color: #222;
            }

            .profile-info p {
                font-size: 15px;
                font-weight: 500;
                line-height: 24px;
                color: #4a4a4a;
                word-break: keep-all;
                overflow-wrap: break-word;
            }

            .profile-info .main-txt {
                font-size: 14px;
                font-weight: 500;
                line-height: 27px;
                color: #333;
            }

            .profile-info p+p {
                margin-top: 5px;
            }

            .profile-tags {
                display: flex;
                flex-wrap: nowrap;
                gap: 0;
                margin-top: 17px;
                min-width: 0;
                justify-content: start;
            }

            .profile-tags span {
                min-width: 0;
                font-size: clamp(10px, 3.05vw, 13px);
                font-weight: 500;
                line-height: 20px;
                color: #8c8c8c;
                white-space: nowrap;
            }

            .profile-tags span+span {
                margin-left: 6px;
            }
        }

        section.captured-moments {
            background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("../img/common/background.png") repeat;
            text-align: center;

            .title-wrap {
                padding-top: 100px;
                color: white;

                .title.kr {
                    font-weight: 300;
                }
            }
        }

        .gallery-swiper-wrap {
            position: relative;
            padding: 0 0 40px;
        }

        .gallery-swiper {
            overflow: hidden;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
        }

        .gallery-thumb {
            width: 100%;
            aspect-ratio: 970 / 1400;
            border: 0;
            border-radius: 4px;
            background: #edf1ed;
            overflow: hidden;
            cursor: zoom-in;
            padding: 0;
        }

        .gallery-thumb img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-thumb:focus-visible {
            outline: 2px solid #315f38;
            outline-offset: 3px;
        }

        .gallery-nav {
            position: absolute;
            top: calc(50% - 14px);
            width: 28px;
            height: 44px;
            border: 0;
            border-radius: 0;
            background: transparent;
            color: rgba(19, 19, 19, 0.72);
            font-size: 34px;
            font-family: serif;
            line-height: 1;
            cursor: pointer;
            z-index: 2;
        }

        .gallery-nav-prev {
            left: -3px;
        }

        .gallery-nav-next {
            right: -3px;
        }

        .gallery-nav.swiper-button-disabled {
            opacity: 0.22;
            pointer-events: none;
        }

        .gallery-pagination {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            gap: 8px;
        }

        .gallery-pagination .swiper-pagination-bullet {
            width: 7px;
            height: 7px;
            margin: 0;
            background: rgba(255, 255, 255, 0.3);
            opacity: 1;
        }

        .gallery-pagination .swiper-pagination-bullet-active {
            background: rgba(255, 255, 255, 0.8);
        }

        section.information-section {
            padding-top: 100px;
            background: #fff;
            text-align: center;

            .information-swiper-wrap {
                position: relative;
                padding-top: 26px;
            }

            .information-swiper {
                overflow: hidden;
                cursor: grab;
            }

            .information-swiper:active {
                cursor: grabbing;
            }

            .information-pagination {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                display: flex;
                justify-content: center;
                gap: 7px;
                z-index: 2;
            }

            .information-pagination .swiper-pagination-bullet {
                width: 7px;
                height: 7px;
                margin: 0;
                background: rgba(19, 19, 19, 0.28);
                opacity: 1;
            }

            .information-pagination .swiper-pagination-bullet-active {
                background: rgba(19, 19, 19, 0.56);
            }

            .information-card {
                color: #131313;
                font-family: 'Noto Sans KR', sans-serif;
            }

            .information-image {
                display: block;
                width: 100%;
                height: 120px;
                border-radius: 22px 0;
                object-fit: cover;
                box-shadow: 0 8px 20px rgba(31, 39, 31, 0.08);
            }

            .information-card h3 {
                margin-top: 40px;
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
                color: #131313;
            }

            .information-text {
                margin-top: 30px;
                font-size: 14px;
                font-weight: 500;
                line-height: 25px;
                color: #333;
                word-break: keep-all;
            }

            .information-text p+p {
                margin-top: 2px;
            }

            .information-text p:nth-child(3) {
                margin-top: 26px;
            }

            .information-nav {
                position: absolute;
                top: 176px;
                width: 32px;
                height: 44px;
                padding: 0;
                border: 0;
                background: transparent;
                cursor: pointer;
                z-index: 2;
            }

            .information-nav::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 6px;
                height: 6px;
                border-top: 2px solid #333;
                border-left: 2px solid #333;
            }

            .information-nav-prev {
                left: 2px;
            }

            .information-nav-prev::before {
                transform: translate(-38%, -50%) rotate(-45deg);
            }

            .information-nav-next {
                right: 2px;
            }

            .information-nav-next::before {
                transform: translate(-62%, -50%) rotate(135deg);
            }
        }

        section.our-session {
            padding-top: 100px;
            background: #eff0f2;
            text-align: center;

            .session-intro,
            .session-video,
            .session-chat {
                background: transparent;
                box-shadow: none;
            }

            .session-chat-fold {
                margin-top: 24px;
            }

            .session-chat-fold summary {
                min-height: 40px;
                padding: 0 16px;
                border-radius: 8px;
                background:
                    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
                    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
                    url("../img/common/background.png") no-repeat center/cover;
                color: white;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 13px;
                font-weight: 700;
                line-height: 40px;
                cursor: pointer;
                list-style: none;
                box-shadow: 0 10px 28px rgba(16, 35, 22, 0.16), 0 2px 8px rgba(16, 35, 22, 0.1);
                user-select: none;
            }

            .session-chat-fold summary::-webkit-details-marker {
                display: none;
            }

            .session-chat-toggle-icon {
                position: relative;
                width: 18px;
                height: 18px;
                border-radius: 50%;
            }

            .session-chat-toggle-icon span {
                position: absolute;
                left: 0;
                top: 7px;
                width: 12px;
                height: 3px;
                background: currentColor;
                transform-origin: center;
                transition: transform 0.28s ease;
            }

            .session-chat-toggle-icon span:nth-child(2) {
                transform: rotate(-90deg);
            }

            .session-chat-fold[open]:not(.is-closing) .session-chat-toggle-icon span:nth-child(2) {
                transform: rotate(0deg);
            }

            .session-chat-fold[open] summary {
                border-radius: 8px 8px 0 0;
            }

            .session-intro {
                padding: 0;
                text-align: center;
            }

            .session-label {
                display: inline-flex;
                height: 25px;
                padding: 0 11px;
                border-radius: 999px;
                background: #edf3ec;
                border: 1px solid rgba(150, 180, 144, 0.42);
                color: #7d9b78;
                font-family: 'Courgette', cursive;
                font-size: 13px;
                line-height: 25px;
            }

            .session-intro h3 {
                margin-top: 14px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 19px;
                font-weight: 700;
                line-height: 28px;
                color: #1f271f;
            }

            .session-intro p {
                margin-top: 12px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 14px;
                font-weight: 500;
                line-height: 25px;
                color: #333;
                word-break: keep-all;
            }

            .session-video {
                margin-top: 40px;
                padding: 0;
            }

            /* to delete */
            .session-video .video-thumb {
                display: block;
                width: 100%;
                border-radius: 7px;
                box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 2px 8px rgba(40, 40, 40, 0.12);
            }

            .session-video video {
                display: block;
                width: 100%;
                aspect-ratio: 16 / 9;
                border-radius: 5px;
                border: 0;
                object-fit: cover;
                background:
                    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.46)),
                    url("../img/common/background.png") center/cover no-repeat;
            }

            .session-video p {
                margin-top: 10px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 12px;
                font-weight: 500;
                line-height: 18px;
                color: #8c8c8c;
            }

            .session-chat {
                position: relative;
                margin-top: 0;
                padding: 16px 14px;
                min-height: 250px;
                display: flex;
                flex-direction: column;
                gap: 10px;
                border-radius: 0 0 7px 7px;
                background: #b7c6d8;
                box-shadow: 0 10px 28px rgba(51, 68, 86, 0.16), 0 2px 8px rgba(51, 68, 86, 0.12);
                overflow: hidden;
            }

            .chat-row {
                position: relative;
                max-width: 82%;
                padding-left: 36px;
                text-align: left;
            }

            .chat-row::before {
                content: '';
                position: absolute;
                left: 0;
                top: 18px;
                width: 28px;
                height: 28px;
                border-radius: 11px;
                background:
                    var(--chat-profile-image, none) center/cover no-repeat,
                    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.86) 0 18%, transparent 19%),
                    radial-gradient(circle at 50% 76%, rgba(255, 255, 255, 0.78) 0 26%, transparent 27%),
                    var(--chat-profile-color, #7d9b78);
            }

            .chat-male-vocal {
                --chat-profile-color: #7d9b78;
            }

            .chat-bass {
                --chat-profile-color: #be677f;
            }

            .chat-electric {
                --chat-profile-color: #6371ad;
            }

            .chat-drum-groom {
                --chat-profile-color: #d39b42;
                --chat-profile-image: url("../img/junmo-kakao-profile.png");
            }

            .chat-row.is-right {
                align-self: flex-end;
                padding-left: 0;
                padding-right: 0;
                text-align: right;
            }

            .chat-row.is-right::before {
                display: none;
            }

            .chat-name {
                display: block;
                margin: 0 0 4px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 11px;
                font-weight: 600;
                line-height: 16px;
                color: rgba(42, 49, 56, 0.72);
            }

            .chat-row.is-right .chat-name {
                display: block;
                color: rgba(42, 49, 56, 0.52);
            }

            .chat-row p {
                position: relative;
                display: inline-block;
                max-width: 100%;
                padding: 9px 11px;
                border-radius: 5px;
                background: #fff;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 13px;
                font-weight: 500;
                line-height: 20px;
                color: #202124;
                text-align: left;
                word-break: keep-all;
                box-shadow: 0 1px 2px rgba(55, 65, 80, 0.12);
            }

            .chat-row p::before {
                content: '';
                position: absolute;
                left: -6px;
                top: 8px;
                border-top: 5px solid transparent;
                border-bottom: 5px solid transparent;
                border-right: 7px solid #fff;
            }

            .chat-row.is-right p {
                background: #fee500;
                box-shadow: 0 1px 2px rgba(126, 108, 0, 0.16);
            }

            .chat-row.is-right p::before {
                left: auto;
                right: -6px;
                border-right: 0;
                border-left: 7px solid #fee500;
            }
        }

        section.blessing-account-section {
            padding-top: 10px;
            /* background: linear-gradient(180deg,
                    #fff 0%,
                    #f3f7f2 78%,
                    #fff 100%); */
            text-align: center;

            .blessing-account-guide {
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;
                color: #333;
                word-break: keep-all;
            }

            .blessing-account-open,
            .blessing-flower-order {
                margin-top: 30px;
                width: 160px;
                height: 40px;
                padding: 0;
                border: 0;
                border-radius: 8px;
                background:
                    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
                    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
                    url("../img/common/background.png") no-repeat center/cover;
                color: white;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 15px;
                font-weight: 600;
                line-height: 1;
                box-shadow: 0 10px 28px rgba(16, 35, 22, 0.16), 0 2px 8px rgba(16, 35, 22, 0.1);
                transition: background 0.1s ease;
                cursor: pointer;
                text-decoration: none;
            }

            .blessing-flower-order {
                display: flex;
                margin: 10px auto 0;
                background:
                    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
                    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
                    url("../img/blessing-bg.png") no-repeat center/cover;
            }

            .blessing-account-open {
                display: flex;
                margin-left: auto;
                margin-right: auto;
            }

            .blessing-account-open img,
            .blessing-flower-order img {
                display: block;
                width: 17px;
                height: 17px;
                object-fit: contain;
            }
        }

        section.wedding-countdown {
            padding-top: 4px;
            background: #fff;
            text-align: center;
            color: #1f271f;

            .countdown-label {
                font-family: 'Courgette', cursive;
                font-size: 18px;
                font-weight: 400;
                line-height: 24px;
                color: #105922;
            }

            .countdown-date {
                margin-bottom: 30px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 20px;
                font-weight: 500;
                line-height: 28px;
                color: #105922;
                word-break: keep-all;
            }

            .countdown-calendar {
                margin: 0 auto;
                width: min(100%, 340px);
            }

            .calendar-month {
                margin-bottom: 25px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 18px;
                font-weight: 500;
                line-height: 26px;
                color: #131313;
            }

            .calendar-grid {
                display: grid;
                grid-template-columns: repeat(7, minmax(0, 1fr));
                row-gap: 20px;
                column-gap: 6px;
                align-items: center;
            }

            .calendar-weekday,
            .calendar-day {
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 0;
                height: 34px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 14px;
                font-weight: 500;
                line-height: 1;
            }

            .calendar-weekday {
                height: 20px;
                color: #131313;
                font-weight: 700;
            }

            .calendar-day {
                color: #131313;
            }

            .calendar-day.is-muted {
                color: #8c9692;
            }

            .calendar-weekday.is-sunday,
            .calendar-day.is-sunday,
            .calendar-day.is-holiday {
                color: #e41c4c;
            }

            .calendar-weekday.is-saturday,
            .calendar-day.is-saturday {
                color: #19308a;
            }

            .calendar-day.is-wedding-day {
                width: 40px;
                height: 40px;
                margin: -9px auto;
                border-radius: 50%;
                background: #e41c4c;
                color: #fff;
                box-shadow: 0 8px 18px rgba(16, 89, 34, 0.16);
            }

            .countdown-clock {
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 7px;
                width: min(100%, 250px);
                margin: 52px auto 30px;
            }

            .countdown-card {
                min-width: 0;
                min-height: 64px;
                padding: 8px 4px 9px;
                border-radius: 4px;
                background: rgba(255, 255, 255, 0.94);
                box-shadow: 0 6px 16px rgba(31, 39, 31, 0.09), 0 1px 3px rgba(31, 39, 31, 0.08);
                box-sizing: border-box;
            }

            .countdown-card span {
                display: block;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 9px;
                font-weight: 500;
                line-height: 14px;
                color: #105922;
            }

            .countdown-card strong {
                display: block;
                margin-top: 2px;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 23px;
                font-weight: 500;
                line-height: 31px;
                color: #0f1d14;
                font-variant-numeric: tabular-nums;
            }

            .countdown-message {
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;
                color: #1f271f;
                word-break: keep-all;
            }

            .countdown-message span {
                color: #cc2551;
            }

            .countdown-message strong {
                color: #105922;
                font-weight: 700;
            }
        }

        section.location {
            padding-top: 60px;
            padding-left: 0;
            padding-right: 0;
            background: #f4f8f4;
            text-align: center;

            .location-venue {
                padding: 0 16px;
                margin-bottom: 18px;
                font-family: 'Noto Sans KR', sans-serif;
            }

            .location-venue strong {
                display: block;
                font-size: 15px;
                font-weight: 500;
                line-height: 24px;
                color: #131313;
                word-break: keep-all;
            }

            .location-address-copy {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                min-width: 0;
                margin-top: 6px;
                padding: 0;
                border: 0;
                background: transparent;
                color: #8c8c8c;
                font-family: 'Noto Sans KR', sans-serif;
                font-size: 13px;
                font-weight: 500;
                line-height: 22px;
                cursor: pointer;
            }

            .location-address-copy svg {
                flex: 0 0 auto;
                width: 14px;
                height: 14px;
                fill: currentColor;
            }

            .location-address-copy.is-copied {
                color: #105922;
            }

            .location-map {
                cursor: pointer;
                touch-action: pan-y;
            }

            .location-map-links {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                padding: 9px 12px 0;
                font-family: 'Noto Sans KR', sans-serif;
            }

            .location-map-link {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 12px;
                min-width: 0;
                min-height: 45px;
                padding: 0 8px;
                border-radius: 4px;
                background: #fff;
                border: 1px solid #efefef;
                color: #333;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
                font-size: 14px;
                font-weight: 600;
                line-height: 1;
                text-decoration: none;
                white-space: nowrap;
                transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
            }

            .location-map-link:active {
                transform: translateY(1px);
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            }

            .location-map-link img {
                display: block;
                flex: 0 0 auto;
                width: 24px;
                height: 24px;
            }
        }

    }
}

.credit-popup-button {
    position: fixed;
    right: max(20px, calc((100vw - 430px) / 2 + 20px));
    bottom: 78px;
    width: 46px;
    height: 46px;
    padding: 7px;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.08), transparent 32%),
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4)),
        url("../img/common/background.png") center/cover no-repeat;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 30;

    img {
        display: block;
        width: 30px;
        height: 30px;
        margin-top: -8px;
        object-fit: contain;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.32));
        transform-origin: 50% 80%;
        animation: floating-heart-nudge 2.6s ease-in-out infinite;
    }
}

.credit-popup-button.is-over-moments {
    background: #fff;
}

.map-marker-bounce {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    animation: map-marker-float 2.4s ease-in-out infinite;
}

.map-marker-bounce img {
    display: block;
    width: 46px;
    height: 46px;
    margin-top: 6px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(16, 35, 22, 0.2));
}

.map-marker-label {
    margin-bottom: -124px;
    padding: 7px 10px;
    border-radius: 7px;
    background: url("../img/common/background.png") center/cover no-repeat;
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(16, 35, 22, 0.16);
}

.credit-popup-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.credit-popup-button.is-popup-open img,
.credit-popup-button.has-interacted img {
    animation: none;
}

.scroll-top-button {
    position: fixed;
    right: max(20px, calc((100vw - 430px) / 2 + 20px));
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.08), transparent 32%),
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4)),
        url("../img/common/background.png") center/cover no-repeat;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 30;

    svg {
        display: block;
        width: 22px;
        height: 22px;
        fill: #fff;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.32));
    }
}

.scroll-top-button.is-over-moments {
    background: #5d7556;
}

.scroll-top-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.main-image-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 45;
}

.main-image-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.main-image-popup-dim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.main-image-popup-panel {
    position: relative;
    width: auto;
    max-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.985);
    transition: transform 0.22s ease;
    z-index: 1;
}

.main-image-popup.is-open .main-image-popup-panel {
    transform: scale(1);
}

.main-image-popup-panel img {
    display: block;
    width: auto;
    height: calc(100dvh - 32px);
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
}

.main-image-popup-close-button {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.main-image-popup-close-button img {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 55;
}

.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-dim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox-panel {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-lightbox-swiper,
.gallery-lightbox-swiper .swiper-wrapper,
.gallery-lightbox-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.gallery-lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gallery-lightbox-swiper img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 64px);
    object-fit: contain;
}

.gallery-lightbox-close-button,
.gallery-lightbox-nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
}

.gallery-lightbox-close-button img,
.gallery-lightbox-nav img {
    display: block;
    pointer-events: none;
}

.gallery-lightbox-close-button {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
}

.gallery-lightbox-close-button img {
    width: 20px;
    height: 20px;
}

.gallery-lightbox-nav {
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
}

.gallery-lightbox-nav img {
    width: 28px;
    height: 28px;
}

.gallery-lightbox-prev {
    left: 16px;
}

.gallery-lightbox-next {
    right: 16px;
}

.gallery-lightbox-nav.swiper-button-disabled {
    opacity: 0.18;
}

.blessing-account-toast {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 44;
}

.blessing-account-toast.is-open {
    opacity: 1;
    pointer-events: auto;
}

.blessing-account-dim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.58);
}

.blessing-account-panel {
    position: relative;
    width: min(100%, 430px);
    max-height: calc(100dvh - 64px);
    padding: 20px 14px max(18px, env(safe-area-inset-bottom));
    border-radius: 7px 7px 0 0;
    background: #fff;
    box-shadow: 0 -12px 34px rgba(31, 39, 31, 0.18), 0 -1px 0 rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.blessing-account-toast.is-open .blessing-account-panel {
    transform: translateY(0);
}

.blessing-account-handle {
    width: 34px;
    height: 3px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: rgba(16, 89, 34, 0.1);
}

.blessing-account-heading {
    margin-bottom: 26px;
    text-align: center;
}

.blessing-account-heading h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #1f271f;
}

.blessing-account-heading p {
    margin-top: 6px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 22px;
    color: #9a9a9a;
    word-break: keep-all;
}

.blessing-account-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blessing-account-copy {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "bank holder"
        "field field";
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: left;
    cursor: pointer;
}

.blessing-bank {
    grid-area: bank;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    padding-left: 8px;
}

.blessing-bank-logo {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f0f3f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blessing-bank-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blessing-bank-logo.is-kb {
    background-color: #f7f0d9;
    color: #4b3a12;
}

.blessing-bank-logo.is-toss {
    background-color: transparent;
}

.blessing-bank-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blessing-account-holder {
    grid-area: holder;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-align: right;
    white-space: nowrap;
    padding-right: 8px;
}

.blessing-account-field {
    grid-area: field;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #8c8c8c;
    font-size: 14px;
    font-weight: 500;
    line-height: 44px;
    box-shadow: 0 1px 3px rgba(31, 39, 31, 0.04);
}

.blessing-account-number {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blessing-account-copy svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    fill: #9a9a9a;
}

.blessing-account-copy.is-copied .blessing-account-field {
    border-color: rgba(16, 89, 34, 0.32);
    color: #105922;
}

.blessing-account-copy.is-copied svg {
    fill: #105922;
}

.blessing-account-status {
    min-height: 20px;
    margin-top: 12px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: #105922;
    text-align: center;
}

.credit-popup {
    --popup-dim-image: var(--credit-popup-dim-image);
    --popup-panel-image: url("../img/common/background.png");
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
}

.credit-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.credit-popup-dim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
        var(--popup-dim-image) center/cover no-repeat;
}

.credit-popup-panel {
    position: relative;
    width: min(100%, 360px);
    padding: 36px 26px 32px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 26% 12%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.22)),
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        var(--popup-panel-image) repeat;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), 0 4px 12px rgba(0, 0, 0, 0.24);
    transform: translateY(14px) scale(0.96);
    transition: transform 0.25s ease;
}

.credit-popup.is-open .credit-popup-panel {
    transform: translateY(0) scale(1);
}

.credit-popup-panel h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: 'Courgette', cursive;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
}

.credit-popup-close-zone {
    cursor: pointer;
    user-select: none;
}

.credit-popup-title-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credit-popup-title-text>span {
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    color: #fff;
}

.credit-popup-icon-close {
    position: absolute;
    top: 14px;
    right: 14px;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-popup-icon-close svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.credit-popup-content {
    margin-top: 32px;

    p {
        font-size: 14px;
        font-weight: 500;
        line-height: 22px;
        color: rgba(255, 255, 255, 0.88);

        &+p {
            margin-top: 20px;
        }

        strong {
            font-weight: inherit;
        }

        span {
            display: block;
            margin-top: 3px;
            font-size: 13px;
            font-weight: 400;
            line-height: 24px;
            color: rgba(255, 255, 255, 0.9);
        }

        em {
            font-style: normal;
            color: rgba(255, 255, 255, 1);
            opacity: 1;
            font-weight: 600;
        }

    }

    .credit-yejin strong {
        background: #333333;
        background-clip: text;
        -webkit-background-clip: text;
        color: #ff3f6b;
        opacity: 1;
        font-weight: 500;
        font-size: 16px;
    }

    .credit-junmo strong {
        background: #333333;
        background-clip: text;
        -webkit-background-clip: text;
        color: #8094b8;
        opacity: 1;
        font-weight: 500;
        font-size: 16px;
    }

    .credit-notice {
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        font-size: 13px;
        font-weight: 400;
        line-height: 23px;
        color: rgba(255, 255, 255, 0.9);
        display: flex;
        flex-direction: column;
        gap: 18px;

        span.em {
            color: #99be76;
        }
    }
}

.contact-popup {
    --popup-dim-image: var(--contact-popup-dim-image);
    --popup-panel-image: url("../img/common/background.png");
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
}

.contact-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-popup-dim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
        var(--popup-dim-image) center/cover no-repeat;
}

.contact-popup-panel {
    position: relative;
    width: min(100%, 390px);
    max-height: calc(100dvh - 16px);
    padding: 58px 20px 20px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 26% 12%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.22)),
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        var(--popup-panel-image) repeat;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), 0 4px 12px rgba(0, 0, 0, 0.24);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(14px) scale(0.96);
    transition: transform 0.25s ease;
}

.contact-popup.is-open .contact-popup-panel {
    transform: translateY(0) scale(1);
}

.contact-popup-icon-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.contact-popup-icon-close svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.contact-popup-heading {
    position: absolute;
    top: 17px;
    left: 20px;
    min-height: 30px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.contact-popup-heading p {
    font-family: 'Courgette', cursive;
    font-size: 15px;
    line-height: 20px;
}

.contact-popup-heading h2 {
    margin-top: 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
}

.contact-group {
    --contact-button-bg: #203525;
    --contact-button-shadow: rgba(7, 19, 10, 0.26);
    margin-top: 24px;
}

.contact-group-groom {
    --contact-button-bg: #6371ad;
    --contact-button-shadow: rgba(42, 49, 93, 0.24);
}

.contact-group-groom .contact-person-main {
    --contact-button-bg: #293778;
    --contact-button-shadow: rgba(39, 49, 107, 0.28);
}

.contact-group-bride {
    --contact-button-bg: #be677f;
    --contact-button-shadow: rgba(119, 48, 65, 0.22);
}

.contact-group-bride .contact-person-main {
    --contact-button-bg: #cc2551;
    --contact-button-shadow: rgba(157, 36, 68, 0.26);
}

.contact-popup-heading+.contact-group {
    margin-top: 10px;
}

.contact-group h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.92);
}

.contact-group h3 span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.46);
}

.contact-person {
    min-height: 56px;
    margin-top: 7px;
    padding: 8px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.contact-person span {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: #8c9692;
}

.contact-person strong {
    display: block;
    margin-top: 2px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    color: #1f2727;
}

.contact-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.contact-actions a {
    position: relative;
    overflow: hidden;
    min-width: 58px;
    height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--contact-button-bg);
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
    box-shadow: 0 2px 8px var(--contact-button-shadow);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.contact-actions a:active {
    transform: translateY(1px);
    filter: saturate(0.96);
    box-shadow: 0 1px 4px var(--contact-button-shadow);
}

@media (max-width: 450px) {
    main .wrap-content section.about-us {
        .profile-card {
            grid-template-columns: 144px minmax(0, 1fr);
            gap: 14px;
            padding: 14px;
        }

        .profile-card-bride {
            grid-template-columns: minmax(0, 1fr) 144px;
        }

        .profile-image {
            width: 144px;
            aspect-ratio: 970 / 1400;
        }

        .profile-content {
            padding: 13px 0;
        }

        .profile-name-row {
            gap: 7px;
            margin-bottom: 10px;
        }

        .profile-role {
            height: 23px;
            padding: 0 8px;
            font-size: 11px;
            line-height: 23px;
        }

        .profile-name-row strong {
            font-size: 16px;
            line-height: 23px;
        }

        .profile-info p {
            font-size: 12px;
            line-height: 21px;
        }

        .profile-info .main-txt {
            font-size: 15px;
            line-height: 24px;
        }

        .profile-info p+p {
            margin-top: 4px;
        }

        .profile-tags {
            margin-top: 13px;
        }

        .profile-tags span {
            font-size: clamp(9px, 2.5vw, 11px);
            line-height: 16px;
        }

        .profile-tags span+span {
            margin-left: 4px;
        }
    }
}

@media (max-width: 380px) {

    html,
    body {
        overflow-x: auto;
    }

    .loader-intro {
        top: 50%;
        box-sizing: border-box;
        padding-top: 24px;
        transform: translateY(-50%);
    }

    .loader-title {
        max-width: 260px;
        height: auto;
        min-height: 314px;
        font-size: 13px;
        line-height: 25px;
        margin-top: 24px;
    }

    .loader-made-credit {
        margin-top: 24px;
    }

    main {
        width: 360px;
        min-width: 360px;

        .wrap-content {
            width: 360px;
            min-width: 360px;
            max-width: none;
        }
    }

    .loader-bg-image .page-loader::before {
        width: 360px;
    }

    main .wrap-content .music-top-bar {
        width: 360px;
    }

}

@media (max-height: 520px) {
    .page-loader {
        padding: 18px;
    }

    .loader-copy {
        height: min(338px, calc(100dvh - 104px));
        min-height: 304px;
        gap: 8px;
    }

    .loader-intro {
        height: min(326px, calc(100dvh - 122px));
        min-height: 292px;
        padding-top: 24px;
        transform: translateY(-50%);
    }

    .loader-title {
        min-height: 194px;
        font-size: 13px;
        line-height: 22px;
        margin-top: 24px;
    }

    .loader-made-credit {
        margin-top: 18px;
        height: 38px;
    }

    .loader-made-credit span {
        height: 22px;
        font-size: 17px;
        line-height: 22px;
    }

    .loader-made-credit small {
        height: 16px;
        font-size: 12px;
        line-height: 16px;
    }

}

@keyframes popcorn-nudge {

    0%,
    100% {
        transform: rotate(0deg);
    }

    18% {
        transform: rotate(-10deg);
    }

    36% {
        transform: rotate(8deg);
    }

    54% {
        transform: rotate(-6deg);
    }

    72% {
        transform: rotate(4deg);
    }
}

@keyframes click-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(2px, -5px);
    }
}

@keyframes floating-heart-nudge {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    20% {
        transform: translateX(-1px) rotate(-2deg);
    }

    40% {
        transform: translateX(1px) rotate(2deg);
    }

    60% {
        transform: translateX(-1px) rotate(-1.5deg);
    }

    80% {
        transform: translateX(1px) rotate(1.5deg);
    }
}

@keyframes map-marker-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes gold-border-shimmer {

    0%,
    38% {
        background-position: 180% 50%;
        opacity: 0;
    }

    52% {
        opacity: 0.95;
    }

    76%,
    100% {
        background-position: -80% 50%;
        opacity: 0;
    }
}

@keyframes music-equalizer-bounce {

    0%,
    100% {
        height: 3px;
    }

    35% {
        height: 10px;
    }

    62% {
        height: 5px;
    }
}

@keyframes loader-copy-rise {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loader-line-open {
    0% {
        opacity: 0;
        transform: scaleX(0.45);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes loader-heart-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.14);
    }

    58% {
        transform: scale(0.96);
    }
}

@keyframes loader-caret-blink {
    0% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}
