/* WeddingPlatform Card/PhotoBook component styles, flattened for the ThankYou host. */
.wedding-card-experience {
    width: min(100%, 46rem);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 2rem) clamp(.65rem, 4vw, 1.5rem)
        calc(2.25rem + env(safe-area-inset-bottom, 0px));
    color: var(--w-dark, #3a2c17);
    background:
        radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--w-primary, #c8a882) 22%, transparent), transparent 28rem),
        radial-gradient(circle at 92% 84%, color-mix(in srgb, var(--w-primary, #c8a882) 15%, transparent), transparent 24rem),
        linear-gradient(145deg, color-mix(in srgb, var(--w-bg, #f8f1e8) 88%, #fff), var(--w-bg, #f8f1e8));
    box-sizing: border-box;
    overflow: hidden;
}
.wedding-card-face {
    width: 100%;
    height: 100%;
}

.wedding-card-cover {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    background: color-mix(in srgb, var(--w-primary, #c8a882) 20%, #eee6d9);
}

.wedding-card-cover__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: var(--w-hero-image-fit-desktop, contain);
    object-position: var(--w-hero-image-position-desktop, 50% 50%);
}

.wedding-card-cover__image--backdrop {
    object-fit: cover;
    filter: blur(18px) saturate(.82);
    opacity: .54;
    transform: scale(1.1);
}

.wedding-card-cover__image--empty {
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .62), transparent 24%),
        linear-gradient(150deg, color-mix(in srgb, var(--w-primary, #c8a882) 48%, #fff), var(--w-bg, #eadfd0));
}

.wedding-card-cover__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(21, 13, 7, .3), transparent 30%, transparent 56%, rgba(21, 13, 7, .58)),
        linear-gradient(90deg, rgba(22, 13, 7, .14), transparent 22%, transparent 78%, rgba(22, 13, 7, .14));
}

.wedding-card-cover__seal {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 3.15rem;
    height: 3.15rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 50%;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    box-shadow: 0 5px 18px rgba(22, 13, 7, .22);
    opacity: .74;
    transform: translate(-50%, -50%);
}

.wedding-card-cover__panel {
    position: absolute;
    z-index: 4;
    width: calc(100% - 2rem);
    max-width: 25rem;
    margin: 0;
    padding: .85rem 1rem;
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 252, 246, .87);
    box-shadow: 0 12px 32px rgba(20, 12, 7, .18);
}

/*
 * wedding.css의 공통 위치 모델을 카드 표지도 그대로 소비한다.
 * 컴포넌트 CSS가 공통 CSS보다 나중에 로드되므로, 이 규칙이 없으면 위의
 * 고정 top/bottom 값이 --w-drag-* 좌표를 덮어써 드래그가 보이지 않는다.
 */
.wedding-card-cover__panel.w-draggable-positioned {
    left: var(--w-drag-x, 50%);
    top: var(--w-drag-y, 50%);
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
}

.wedding-card-cover__panel.w-design-draggable {
    z-index: 6;
    cursor: move;
    touch-action: none;
    user-select: none;
}

.wedding-card-cover__panel h1 {
    margin: .22rem 0 0;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.32rem, 6vw, 1.8rem);
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
}

.wedding-card-cover__kicker {
    margin: 0;
    color: color-mix(in srgb, var(--w-primary, #c8a882) 75%, #4b3825);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.wedding-card-cover__date,
.wedding-card-cover__venue {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
}

.wedding-card-cover__date span {
    display: inline-block;
    margin-left: .28rem;
}

.wedding-card-cover__venue {
    color: color-mix(in srgb, var(--w-dark, #3a2c17) 68%, transparent);
}

.wedding-card-sheet {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent 0 1.1rem, rgba(195, 154, 105, .09) 1.1rem 1.16rem, transparent 1.16rem),
        repeating-linear-gradient(0deg, transparent 0 27px, rgba(159, 128, 91, .055) 27px 28px),
        color-mix(in srgb, var(--w-panel-bg, #fffaf3) 90%, #fff);
}

.wedding-card-sheet__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "folio folio"
        "icon title"
        "copy copy";
    align-items: center;
    gap: .25rem .75rem;
    padding: 1.15rem 1.15rem .9rem 1.55rem;
    border-bottom: 1px solid color-mix(in srgb, var(--w-primary, #c8a882) 22%, transparent);
    background: color-mix(in srgb, var(--w-panel-bg, #fffaf3) 91%, transparent);
    backdrop-filter: blur(12px);
}

.wedding-card-sheet__folio {
    grid-area: folio;
    color: color-mix(in srgb, var(--w-primary, #c8a882) 72%, #5c4933);
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.wedding-card-sheet__icon {
    grid-area: icon;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--w-primary, #c8a882) 35%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--w-primary, #c8a882) 14%, #fff);
    font-size: 1.05rem;
}

.wedding-card-sheet__header h2 {
    grid-area: title;
    margin: 0;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.1rem, 5vw, 1.45rem);
    font-weight: 600;
    letter-spacing: .03em;
}

.wedding-card-sheet__header p {
    grid-area: copy;
    margin: .3rem 0 0;
    color: color-mix(in srgb, var(--w-dark, #3a2c17) 67%, transparent);
    font-size: .76rem;
    line-height: 1.55;
}

.wedding-card-sheet__content {
    min-height: 0;
    overflow: hidden auto;
    overscroll-behavior: contain;
    scrollbar-color:
        color-mix(in srgb, var(--w-primary, #c8a882) 72%, #6f573d)
        color-mix(in srgb, var(--w-primary, #c8a882) 10%, transparent);
    scrollbar-gutter: stable;
    scrollbar-width: auto;
}

.wedding-card-sheet__content::-webkit-scrollbar {
    width: .48rem;
}

.wedding-card-sheet__content::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--w-primary, #c8a882) 10%, transparent);
    border-left: 1px solid color-mix(in srgb, var(--w-primary, #c8a882) 12%, transparent);
}

.wedding-card-sheet__content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background:
        color-mix(in srgb, var(--w-primary, #c8a882) 74%, #6f573d)
        padding-box;
}

.wedding-card-sheet__content:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--w-primary, #c8a882) 72%, #fff);
    outline-offset: -2px;
}

.wedding-card-sheet__content > .w-invite-tab-page {
    width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 1.1rem 1.1rem 1.5rem 1.55rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.wedding-card-sheet__content .w-section-title {
    display: none !important;
}

.wedding-card-sheet__content .w-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.wedding-card-sheet__content .w-gallery__item {
    border-radius: .55rem;
    box-shadow: 0 5px 14px rgba(54, 39, 20, .12);
}

.wedding-card-sheet__content .w-gift__cards,
.wedding-card-sheet__content .w-video__grid {
    grid-template-columns: 1fr;
}

.wedding-card-sheet__content .w-info-list,
.wedding-card-sheet__content .w-gift__card,
.wedding-card-sheet__content .w-gb__form,
.wedding-card-sheet__content .w-gb__entry {
    border-color: color-mix(in srgb, var(--w-primary, #c8a882) 24%, transparent);
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 8px 22px rgba(54, 39, 20, .07);
}

.wedding-card-sheet__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: .62rem 1.1rem .68rem 1.55rem;
    border-top: 1px solid color-mix(in srgb, var(--w-primary, #c8a882) 18%, transparent);
    color: color-mix(in srgb, var(--w-dark, #3a2c17) 42%, transparent);
    background: color-mix(in srgb, var(--w-panel-bg, #fffaf3) 94%, transparent);
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.wedding-card-sheet__footer > span:last-child {
    justify-self: end;
    text-align: right;
}

.wedding-card-sheet__scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .24rem;
    color: color-mix(in srgb, var(--w-primary, #c8a882) 78%, #5b432c);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
}

.wedding-card-sheet__scroll-arrow {
    display: inline-block;
    font-size: .75rem;
    line-height: 1;
    animation: wedding-card-scroll-cue 1.7s ease-in-out infinite;
}

@keyframes wedding-card-scroll-cue {
    0%, 100% {
        opacity: .55;
        transform: translateY(-1px);
    }

    50% {
        opacity: 1;
        transform: translateY(2px);
    }
}

.wedding-card-navigation__hint {
    width: min(100%, 34rem);
    margin: .62rem auto 0;
    color: color-mix(in srgb, var(--w-dark, #3a2c17) 48%, transparent);
    font-size: .62rem;
    line-height: 1.45;
    text-align: center;
}

@media (min-width: 720px) {
    .wedding-card-experience {
        padding-top: 2rem;
        padding-bottom: 3.25rem;
    }

    .wedding-card-cover__panel {
        width: calc(100% - 3rem);
    }

    .wedding-card-sheet__header {
        padding: 1.35rem 1.5rem 1rem 1.85rem;
    }

    .wedding-card-sheet__content > .w-invite-tab-page {
        padding: 1.35rem 1.5rem 1.75rem 1.85rem !important;
    }
}

@media (max-width: 390px) {
    .wedding-card-navigation__hint {
        display: none;
    }
}

@media (max-width: 640px) {
    .wedding-card-cover__image:not(.wedding-card-cover__image--backdrop) {
        object-fit: var(--w-hero-image-fit-mobile, var(--w-hero-image-fit-desktop, contain));
        object-position: var(--w-hero-image-position-mobile, var(--w-hero-image-position-desktop, 50% 50%));
    }

    .wedding-card-cover__panel.w-draggable-positioned {
        left: var(--w-drag-mobile-x, 50%);
        top: var(--w-drag-mobile-y, 50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wedding-card-sheet__scroll-arrow {
        animation: none;
    }
}

.wedding-layout-photobook {
    --book-ink: #342719;
    --book-muted: #8d7456;
    --book-leather: #5c3e27;
    --book-leather-dark: #2c1c12;
    --book-paper: #fffdf7;
    max-width: 1080px !important;
    margin-inline: auto;
    background:
        radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .55), transparent 34rem),
        linear-gradient(145deg, #f2eadc, #e7dac5);
}

.wedding-photobook-cover {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: auto;
    background: color-mix(in srgb, var(--w-primary, #b28a60) 24%, #21170e);
}

.wedding-photobook-cover__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.wedding-photobook-cover__image--backdrop {
    z-index: 0;
    object-fit: cover;
    object-position: var(--w-hero-image-position-desktop, 50% 50%);
    filter: blur(22px) saturate(.82) brightness(.72);
    opacity: .68;
    transform: scale(1.1);
}

.wedding-photobook-cover__image--foreground {
    z-index: 1;
    object-fit: var(--w-hero-image-fit-desktop, contain);
    object-position: var(--w-hero-image-position-desktop, 50% 50%);
    opacity: 1;
    filter: saturate(1.02) contrast(1.015);
}

.wedding-photobook-cover__image--empty {
    z-index: 0;
    opacity: 1;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .24), transparent 24%),
        linear-gradient(145deg, #2b1e10, #5a3c22);
}

.wedding-photobook-cover__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(18, 11, 6, .36), transparent 31%, transparent 55%, rgba(18, 11, 6, .68)),
        linear-gradient(90deg, rgba(20, 12, 7, .12), transparent 22%, transparent 78%, rgba(20, 12, 7, .12));
}

.wedding-photobook-cover__panel {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 0;
    pointer-events: none;
    background: transparent;
}

.wedding-photobook-cover__copy {
    z-index: 4;
    width: min(84%, 30rem);
    max-width: calc(100% - 2rem);
    margin: 0;
    box-sizing: border-box;
    pointer-events: auto;
    color: #fff;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(24, 15, 9, .38);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    text-shadow: 0 1px 9px rgba(0, 0, 0, .48);
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.wedding-photobook-cover__copy--top {
    padding-block: .8rem;
}

.wedding-photobook-cover__copy--bottom {
    padding-block: .75rem;
}

.wedding-photobook-cover__copy.w-draggable-positioned {
    left: var(--w-drag-x, 50%);
    top: var(--w-drag-y, 50%);
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
}

.wedding-photobook-cover__copy.w-design-draggable {
    z-index: 6;
    cursor: move;
    touch-action: none;
    user-select: none;
}

.wedding-photobook-cover__copy h1 {
    margin: .28rem 0 0;
    color: #fff;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.55rem, 5vw, 2.3rem);
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.28;
    text-wrap: balance;
}

.wedding-photobook-cover__copy .wedding-layout-kicker {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.wedding-photobook-cover__copy p,
.wedding-photobook-cover__copy .wedding-layout-muted {
    color: rgba(255, 255, 255, .9);
}

.wedding-photobook-cover__date {
    margin: 0;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(.88rem, 2vw, 1.02rem);
    font-weight: 650;
    letter-spacing: .04em;
}

.wedding-photobook-cover__venue {
    overflow-wrap: anywhere;
}

.wedding-photobook-pages {
    padding: clamp(1rem, 3vw, 2rem) clamp(.65rem, 3vw, 2rem) 3.5rem;
}

.wedding-photobook-heading {
    padding-bottom: 1.25rem;
}

.wedding-photobook-reader {
    width: min(100%, 980px);
    margin-inline: auto;
}

.wedding-photobook-page {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    color: var(--book-ink);
    background:
        linear-gradient(115deg, rgba(196, 174, 140, .1), transparent 28%),
        var(--book-paper);
}

.wedding-photobook-page--section {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.wedding-photobook-section__header {
    flex: none;
    padding: clamp(1rem, 2.4vw, 1.65rem) clamp(1rem, 3vw, 2rem) .65rem;
    text-align: center;
    border-bottom: 1px solid rgba(92, 62, 39, .13);
}

.wedding-photobook-section__folio {
    display: block;
    margin-bottom: .45rem;
    color: var(--book-muted);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.wedding-photobook-section__icon {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0 auto .42rem;
    place-items: center;
    color: var(--book-leather);
    border: 1px solid rgba(92, 62, 39, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .52);
}

.wedding-photobook-section__header h2 {
    margin: 0;
    color: var(--book-ink);
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.2rem, 3.1vw, 1.65rem);
    font-weight: 650;
    letter-spacing: .04em;
}

.wedding-photobook-section__content {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden auto;
    overscroll-behavior: contain;
    padding: .8rem clamp(.75rem, 2.5vw, 1.45rem) 1.2rem;
    scrollbar-color: rgba(92, 62, 39, .34) transparent;
    scrollbar-width: thin;
}

.wedding-photobook-section__content:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--w-primary, #b28a60) 68%, #fff);
    outline-offset: -3px;
}

.wedding-photobook-section__content .w-invite-tab-page {
    min-height: auto;
    margin: 0;
    padding-inline: clamp(.15rem, 1vw, .6rem);
    background: transparent;
    box-shadow: none;
}

.wedding-photobook-section__content .w-section-title {
    margin-top: .15rem;
}

.wedding-photobook-section__footer {
    display: grid;
    flex: none;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: .55rem;
    padding: .55rem clamp(.8rem, 2.5vw, 1.35rem);
    color: rgba(88, 67, 45, .62);
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: .61rem;
    letter-spacing: .09em;
    border-top: 1px solid rgba(92, 62, 39, .12);
}

.wedding-photobook-section__footer span:nth-child(2) {
    font-family: system-ui, sans-serif;
    letter-spacing: .04em;
}

.wedding-photobook-section__footer span:last-child {
    text-align: right;
}

.wedding-photobook-page--replica {
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.wedding-photobook-replica-cover {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    gap: .45rem;
    padding: 2rem;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(31, 19, 10, .42), rgba(31, 19, 10, .74)),
        var(--book-leather);
    background-position: center;
    background-size: cover;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .48);
}

.wedding-photobook-replica-cover span {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.wedding-photobook-replica-cover strong {
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.25rem, 4vw, 2rem);
    letter-spacing: .08em;
}

.wedding-photobook-replica-cover small {
    font-family: Georgia, serif;
    letter-spacing: .12em;
}

.wedding-photobook-replica-section {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: clamp(1.25rem, 4vw, 3rem);
    color: var(--book-ink);
    text-align: center;
    background:
        repeating-linear-gradient(0deg, transparent 0 27px, rgba(159, 128, 91, .045) 27px 28px),
        var(--book-paper);
}

.wedding-photobook-replica-section > span {
    color: var(--book-muted);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.wedding-photobook-replica-section > b {
    margin: 1.1rem 0 .45rem;
    font-size: 1.45rem;
    font-weight: 400;
}

.wedding-photobook-replica-section h2 {
    margin: 0;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.wedding-photobook-replica-section p {
    max-width: 28em;
    margin: .8rem auto 1.15rem;
    color: #6d5942;
    font-family: "Noto Serif KR", Georgia, serif;
    font-size: .78rem;
    line-height: 1.75;
}

.wedding-photobook-replica-section i {
    display: block;
    width: min(78%, 18rem);
    height: .38rem;
    margin-top: .45rem;
    border-radius: 999px;
    background: rgba(92, 62, 39, .1);
}

.wedding-photobook-replica-section i:nth-of-type(2) {
    width: min(58%, 13rem);
}

.wedding-photobook-replica-section i:nth-of-type(3) {
    width: min(68%, 15rem);
}

.wedding-photobook-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    color: var(--book-muted);
}

.wedding-photobook-toolbar__hint {
    margin: 0;
    font-size: .78rem;
    letter-spacing: .025em;
}

.wedding-photobook-toolbar__hint span {
    display: inline-flex;
    margin-right: .4rem;
    padding: .15rem .4rem;
    border: 1px solid rgba(92, 62, 39, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
}

.wedding-photobook-autoplay {
    flex: none;
    border-color: rgba(92, 62, 39, .22);
    background: rgba(255, 253, 247, .82);
    color: var(--book-ink);
}

/*
 * LayoutTransitionSurface가 전환/키보드/내비게이션을 소유한다.
 * 아래 규칙은 PagedBook 프리미티브에 포토북의 가죽 표지, 종이 가장자리,
 * 책등 질감만 입히므로 동적 JSON 렌더러와 동작 계약을 공유한다.
 */
.wedding-photobook-reader .w-layout-transition--paged-book {
    --w-transition-paper: var(--book-paper);
    --w-transition-ink: var(--book-ink);
    --w-transition-accent: var(--w-primary, #b28a60);
}

.wedding-photobook-reader .w-layout-transition__viewport {
    padding: clamp(.48rem, 1.35vw, .85rem);
    border: 1px solid rgba(36, 22, 12, .42);
    border-radius: 14px 18px 18px 14px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 8%, transparent 92%, rgba(0, 0, 0, .2)),
        linear-gradient(145deg, #765337, var(--book-leather) 45%, var(--book-leather-dark));
    box-shadow:
        0 28px 48px rgba(53, 34, 17, .24),
        0 8px 14px rgba(53, 34, 17, .2),
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 0 0 3px rgba(35, 20, 10, .14);
}

.wedding-photobook-reader .w-layout-transition__viewport::after {
    position: absolute;
    top: 1.25rem;
    right: -.15rem;
    bottom: .45rem;
    width: .55rem;
    border-radius: 0 5px 5px 0;
    content: "";
    pointer-events: none;
    background: repeating-linear-gradient(0deg, #c9b89e 0, #f5eee2 1px, #c9b89e 2px);
    box-shadow: 2px 2px 4px rgba(44, 28, 18, .18);
}

.wedding-photobook-reader .w-layout-transition__stack {
    inset: .72rem;
    border-radius: 5px;
    background:
        repeating-linear-gradient(0deg, #d5c6ae 0, #f4ecdf 1px, #d7c8b1 2px, #f4ecdf 3px);
}

.wedding-photobook-reader .w-layout-transition__page {
    inset: clamp(.48rem, 1.35vw, .85rem);
    border-color: rgba(79, 55, 32, .2);
    border-radius: 5px;
    box-shadow:
        0 18px 36px rgba(45, 27, 13, .2),
        inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.wedding-photobook-reader .w-layout-transition__sheet {
    color: var(--book-ink);
    background:
        linear-gradient(115deg, rgba(196, 174, 140, .11), transparent 28%),
        var(--book-paper);
}

.wedding-photobook-reader .w-layout-transition__sheet--left {
    box-shadow:
        inset -24px 0 30px -26px rgba(39, 23, 11, .82),
        inset 1px 0 0 rgba(255, 255, 255, .8);
}

.wedding-photobook-reader .w-layout-transition__sheet--right {
    box-shadow:
        inset 24px 0 30px -26px rgba(39, 23, 11, .82),
        inset -1px 0 0 rgba(255, 255, 255, .8);
}

.wedding-photobook-reader .w-layout-transition__sheet--left::after,
.wedding-photobook-reader .w-layout-transition__sheet--right::before {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    width: 13px;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(54, 33, 15, .19));
}

.wedding-photobook-reader .w-layout-transition__sheet--left::after {
    right: 0;
}

.wedding-photobook-reader .w-layout-transition__sheet--right::before {
    left: 0;
    transform: scaleX(-1);
}

.wedding-photobook-reader .w-layout-transition__status {
    color: var(--book-ink);
}

.wedding-photobook-reader .w-layout-transition__navigation {
    color: var(--book-ink);
}

.wedding-photobook-reader .w-layout-transition__arrow {
    border-color: rgba(92, 62, 39, .22);
    background: rgba(255, 253, 247, .78);
    box-shadow: 0 5px 14px rgba(53, 34, 17, .08);
}

.wedding-photobook-sheet-content {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 100%;
    padding: clamp(.8rem, 2.4vw, 1.5rem);
}

.wedding-photobook-sheet__photo {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    border: 0;
    border-radius: 2px;
    background: #e8dfd1;
    box-shadow:
        0 8px 20px rgba(53, 34, 17, .14),
        0 0 0 1px rgba(53, 34, 17, .08);
}

.wedding-photobook-sheet__photo:focus-visible {
    outline: 3px solid rgba(165, 111, 55, .7);
    outline-offset: 3px;
}

.wedding-photobook-sheet__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 31rem;
    object-fit: contain;
    transition: transform .45s ease, filter .45s ease;
}

.wedding-photobook-sheet__photo:hover img {
    transform: none;
    filter: saturate(1.04);
}

.wedding-photobook-sheet__photo--replica {
    cursor: default;
}

.wedding-photobook-sheet__placeholder {
    display: grid;
    min-height: 18rem;
    place-items: center;
    padding: 2rem;
    color: #9f896e;
    text-align: center;
    border: 1px dashed rgba(92, 62, 39, .22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .65), transparent),
        #eee6da;
}

.wedding-photobook-sheet__copy {
    align-self: end;
    padding: 1rem .35rem 1.15rem;
    text-align: center;
}

.wedding-photobook-sheet__caption {
    margin: 0;
    color: var(--book-muted);
    font-family: "Noto Serif KR", serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.wedding-photobook-sheet__body {
    max-width: 34em;
    margin: .7rem auto 0;
    color: #5e4b38;
    font-family: "Noto Serif KR", serif;
    font-size: .86rem;
    line-height: 1.75;
}

.wedding-photobook-sheet__number {
    position: absolute;
    right: .8rem;
    bottom: .45rem;
    color: rgba(88, 67, 45, .56);
    font-family: Georgia, serif;
    font-size: .7rem;
    letter-spacing: .12em;
}

@media (max-width: 719px) {
    .wedding-photobook-cover__image--backdrop {
        object-position: var(
            --w-hero-image-position-mobile,
            var(--w-hero-image-position-desktop, 50% 50%));
    }

    .wedding-photobook-cover__image--foreground {
        object-fit: var(
            --w-hero-image-fit-mobile,
            var(--w-hero-image-fit-desktop, contain));
        object-position: var(
            --w-hero-image-position-mobile,
            var(--w-hero-image-position-desktop, 50% 50%));
    }

    .wedding-photobook-cover__copy {
        width: min(88%, 27rem);
        max-width: calc(100% - 1.4rem);
    }

    .wedding-photobook-cover__copy.w-draggable-positioned {
        left: var(--w-drag-mobile-x, 50%);
        top: var(--w-drag-mobile-y, 50%);
    }

    .wedding-photobook-pages {
        padding-inline: .55rem;
    }

    .wedding-photobook-heading {
        padding-inline: .35rem;
    }

    .wedding-photobook-section__header {
        padding: .85rem .85rem .58rem;
    }

    .wedding-photobook-section__content {
        padding: .62rem .62rem .9rem;
    }

    .wedding-photobook-section__footer {
        padding: .48rem .72rem;
    }

    .wedding-photobook-toolbar {
        justify-content: flex-end;
    }

    .wedding-photobook-toolbar__hint {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .wedding-photobook-reader .w-layout-transition__viewport {
        padding: .5rem;
        border-radius: 10px 14px 14px 10px;
    }

    .wedding-photobook-reader .w-layout-transition__page {
        inset: .5rem;
        border-radius: .45rem;
    }

    .wedding-photobook-reader .w-layout-transition__sheet--left {
        box-shadow:
            inset -9px 0 18px -17px rgba(39, 23, 11, .62),
            0 1px 3px rgba(44, 28, 18, .16);
    }

    .wedding-photobook-reader .w-layout-transition__sheet--left::after {
        display: none;
    }

    .wedding-photobook-sheet-content {
        padding: .85rem .85rem 1rem;
    }

    .wedding-photobook-sheet__photo img {
        max-height: min(105vw, 29rem);
    }

    .wedding-photobook-sheet__placeholder {
        min-height: min(100vw, 25rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wedding-photobook-sheet__photo img {
        transition: none;
    }

    .wedding-photobook-sheet__photo:hover img {
        transform: none;
    }
}
