/* Tokens */
@import url("./album-layouts.css");

:root {
    --t1-primary: #701620;
    --t1-secondary: #D8C7A3;
    --olive-dark: #7F0404;
    --t3-primary: rgba(150, 105, 5, 1);
}

body {
    --olive-dark: #5E8950;
    background: var(--body-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(126, 203, 160, 0.08) 0%, transparent 70%);
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Keep the invitation layout within the viewport inside the flex body. */
.ws-template-demo-preview__shell,
#ws-demo-mount,
.ws-thiep-cuoi-single__shell,
#ws-thiep-cuoi-mount,
#ws-route-content,
#primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* ===================== INVITATION CONTENT ===================== */
#invitation-content {
    display: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, padding-top 0.8s ease;
    box-sizing: border-box;
    box-shadow:
        0 0 0 1px rgba(126, 203, 160, 0.10),
        0 40px 80px rgba(0, 0, 0, 0.6);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url('../images/template-3/bg-frame.webp');
    background-repeat: repeat;
    background-size: contain;
    overflow: hidden;
}

#invitation-content.visible {
    opacity: 1;
    padding-top: 0;
}

.ws-section {
    padding-inline: clamp(20px, 2.46vw + 9.7px, 29px);
    padding-block: 38px;
}

.ws-section:first-child {
    padding-top: 40px;
}

.section-title {
    margin-bottom: clamp(16px, 2vw + 6px, 24px);
    text-shadow: 0 0 30px rgba(126, 203, 160, 0.25);
    font-weight: 400;
    line-height: 1.4;
    font-size: 42px;
    font-style: italic;
    color: var(--t3-primary);
    font-family: 'Great Vibes', cursive;
    /* text-transform: capitalize; */
    text-align: center;
}

/* ===================== AOS ===================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===================== AOS ===================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Album lightbox */
.album-bg-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 192px;
    position: absolute;
    bottom: -26px;
    right: -36px;
    width: 192px;
    z-index: 2;
}

.album-bg-bottom-left {
    position: absolute;
    bottom: -41px;
    left: -40px;
    width: 230px;
}

/* ===================== ALBUM SECTION ===================== */
.album-section {
    position: relative;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    background: none;
    padding-inline: 4px;
}

.album-section.album-section--layout-three-d {
    padding: 0;
}

/* Use an opaque white canvas so the page texture cannot show through the album. */
.album-section.album-section--layout-grid,
.album-section.album-section--layout-three-d {
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none;
}

.album-section.album-section--layout-grid::before,
.album-section.album-section--layout-grid::after,
.album-section.album-section--layout-three-d::before,
.album-section.album-section--layout-three-d::after {
    content: none !important;
    background: none !important;
}

.album-section.album-section--layout-grid .album-item,
.album-section.album-section--layout-three-d .album-3d__slide,
.album-section.album-section--layout-three-d .album-3d__slide.is-active {
    background: transparent;
    box-shadow: none;
}

.album-section.album-section--layout-three-d .album-3d::before {
    display: none;
}

/* Template 8 collage: 3 portraits / 1 panorama / 3 portraits. */
.album-section--layout-collage .album-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: clamp(4px, 1.2vw, 6px);
    width: min(100%, 500px);
    border-radius: 0;
}

.album-section--layout-collage .album-collage[data-count] .album-collage__item {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    aspect-ratio: 2 / 3;
    /* border: clamp(1px, 0.4vw, 2px) solid #711c17; */
    border-radius: 0;
    /* background: #711c17; */
    box-shadow: none;
}

.album-section--layout-collage .album-collage[data-count] .album-collage__item:nth-child(4) {
    grid-column: 1 / -1;
    aspect-ratio: 2.05 / 1;
}

.album-section--layout-collage .album-collage[data-count="1"] .album-collage__item {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
}

.album-section--layout-collage .album-collage[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-section--layout-collage .album-collage[data-count="2"] .album-collage__item {
    aspect-ratio: 3 / 4;
}

.album-section--layout-collage .album-collage__item img {
    border-radius: 0;
}

.album-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
    max-width: 500px;
    margin: 0 auto;
}

.album-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.album-col--left {
    padding-bottom: 32px;
}

.album-col--right {
    padding-top: 32px;
}

.album-item {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 10px 24px rgba(35, 12, 15, 0.24);
}

.album-item--placeholder {
    cursor: default;
}

.album-item--portrait {
    aspect-ratio: 3 / 4;
}

.album-item--square {
    aspect-ratio: 1 / 1;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 4px;
}

.album-item:hover img,
.album-item:focus-visible img {
    transform: scale(1.04);
}

.album-item:focus-visible {
    outline: 2px solid var(--focus-outline);
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {

    [data-ws-album-lightbox],
    [data-ws-album-lightbox] .ws-album-lightbox__dialog,
    [data-ws-album-lightbox] [data-ws-album-lightbox-dialog],
    .ws-album-lightbox__image {
        animation: none !important;
        transition: none !important;
    }
}

[data-ws-album-lightbox] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

[data-ws-album-lightbox].is-active {
    opacity: 1;
    pointer-events: auto;
}

[data-ws-album-lightbox] .ws-album-lightbox__dialog,
[data-ws-album-lightbox] [data-ws-album-lightbox-dialog] {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.96);
    transform-origin: center center;
    transition:
        transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.30s ease;
}

[data-ws-album-lightbox].is-active .ws-album-lightbox__dialog,
[data-ws-album-lightbox].is-active [data-ws-album-lightbox-dialog] {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.ws-album-lightbox__figure {
    overflow: hidden;
}

.ws-album-lightbox__image {
    opacity: 0;
    transform: scale(1.07);
    transition:
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.38s ease;
    will-change: transform, opacity;
}

.ws-album-lightbox__image.is-loaded {
    opacity: 1;
    transform: scale(1);
}

/* envelop scene */
html.ws-template-3-envelope-locked,
html.ws-template-3-envelope-locked body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.ws-template-3-envelope-scene {
    --ws-envelope-red: #9b2a2a;
    --ws-envelope-red-dark: #711c17;
    --ws-envelope-red-deep: #551411;
    --ws-envelope-paper: #fffaf6;
    --ws-envelope-gold: #d8c7a3;
    position: fixed;
    inset: 0 auto 0 50%;
    width: min(100%, 500px);
    height: 100vh;
    height: 100dvh;
    transform: translateX(-50%);
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ws-template-3-envelope-scene.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ws-template-3-envelope-scene .ws-envelope-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: clamp(28px, 6vh, 64px) 20px clamp(18px, 4vh, 42px);
    overflow: hidden;
    pointer-events: auto;
    background:
        radial-gradient(circle at 50% 42%, rgba(155, 42, 42, .08) 0%, rgba(155, 42, 42, 0) 42%),
        linear-gradient(180deg, #fff 0%, var(--ws-envelope-paper) 100%);
    color: var(--ws-envelope-red);
    font-family: 'Quicksand', sans-serif;
    transition: opacity .72s cubic-bezier(0.22, 0.7, 0.18, 1);
}

.ws-template-3-envelope-scene .ws-envelope-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .42;
    filter: saturate(72%) sepia(5%);
    pointer-events: none;
    user-select: none;
}

.ws-envelope-firework {
    position: absolute;
    z-index: 0;
    width: clamp(130px, 38vw, 190px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    opacity: .55;
    pointer-events: none;
    user-select: none;
}

.ws-envelope-firework--top {
    top: -24px;
    right: -38px;
}

.ws-envelope-firework--bottom {
    bottom: 18px;
    left: -64px;
    transform: rotate(24deg);
}

.ws-envelope-intro__emblem {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.ws-envelope-intro {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2.8vh, 28px);
    flex: 0 0 auto;
    width: 100%;
    max-width: 460px;
    margin: 0 auto clamp(28px, 4.5vh, 48px);
    color: var(--ws-envelope-red);
    text-align: center;
    pointer-events: none;
}

.ws-envelope-intro p {
    margin: 0;
}

.ws-envelope-intro__label {
    font-family: 'Philosopher', sans-serif;
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.ws-envelope-intro__guest {
    font-family: "Fz-Photograph.ttf", cursive;
    font-size: clamp(40px, 10.5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
}

.ws-envelope-intro__message {
    max-width: 440px;
    font-family: 'Philosopher', sans-serif;
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .018em;
    text-transform: uppercase;
}

.ws-envelope-stage {
    --ws-envelope-seam-y: 41.57cqw;
    --ws-envelope-open-scale: 1.29;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    align-self: center;
    width: min(calc(100% - 56px), 360px, 49vh);
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: 0.91;
    container-type: inline-size;
    filter: drop-shadow(0 18px 24px rgba(75, 58, 24, 0.16));
    transform-origin: 50% 58%;
    will-change: transform, opacity;
}

.ws-envelope-stage img {
    display: block;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.ws-envelope-closed-state {
    position: absolute;
    z-index: 4;
    inset: 0;
    opacity: 1;
    transition: opacity 0.8s ease 0.4s, transform 1s ease 0.18s;
}

.ws-envelope-closed {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 7%;
    width: 100%;
    height: auto;
}

.ws-envelope-closed,
.ws-envelope-open-top,
.ws-envelope-open-bottom {
    filter: brightness(95%) contrast(104%);
}

.ws-envelope-open-state {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    transform: scale(var(--ws-envelope-open-scale));
    transform-origin: 50% 56%;
    transition: opacity 0.7s ease 0.35s;
}

.ws-envelope-open-state::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: var(--ws-envelope-seam-y);
    left: 12%;
    width: 76%;
    height: 24cqw;
    background: #68202b;
    clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%);
}

.ws-envelope-open-top,
.ws-envelope-open-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
}

.ws-envelope-open-top {
    z-index: 1;
    top: 0;
    transform-origin: 50% 64.22%;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.ws-envelope-photo-viewport {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 89cqw;
    overflow: hidden;
    pointer-events: none;
}

.ws-envelope-open-photo {
    position: absolute;
    top: 15cqw;
    left: 50%;
    width: 62cqw;
    height: 74cqw;
    overflow: hidden;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2px;
    background: #fffaf6;
    box-shadow: 0 9px 18px rgba(75, 34, 29, 0.2);
    transform: translate(-50%, 25cqw) scale(0.92);
    transform-origin: 50% 60%;
    will-change: transform, opacity;
}

.ws-envelope-open-photo img,
.ws-envelope-banner-transition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ws-envelope-open-bottom {
    z-index: 3;
    top: var(--ws-envelope-seam-y);
    left: 0;
    width: 100%;
}

.ws-envelope-closed-seal,
.ws-envelope-open-seal {
    position: absolute;
    left: 50%;
    width: clamp(72px, 22%, 88px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.ws-envelope-closed-seal {
    z-index: 2;
    top: 70cqw;
}

.ws-envelope-open-seal {
    z-index: 4;
    top: calc(var(--ws-envelope-seam-y) + 1cqw);
}

.ws-envelope-seal__image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    filter: saturate(95%) brightness(102%) drop-shadow(0 4px 7px rgba(75, 34, 29, 0.3));
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-closed-state {
    display: none !important;
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-state {
    opacity: 1;
    transform: scale(var(--ws-envelope-open-scale));
    transition: opacity 0.1s ease;
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-top {
    animation: ws-envelope-flap-open 1.15s cubic-bezier(0.2, 0.72, 0.18, 1) 0s both;
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-photo {
    animation: ws-envelope-photo-reveal 1.8s cubic-bezier(0.18, 0.72, 0.16, 1) 0.6s both;
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-seal {
    opacity: 0 !important;
    visibility: hidden;
    animation: none !important;
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-closed-seal {
    opacity: 0 !important;
    visibility: hidden;
}

.ws-envelope-overlay.ws-envelope--handoff .ws-envelope-stage {
    animation: ws-envelope-stage-exit 0.9s ease forwards;
}

.ws-envelope-overlay.ws-envelope--handoff {
    opacity: 0;
}

.ws-template-3-envelope-scene .ws-envelope-overlay.ws-envelope--done {
    display: none;
}

@keyframes ws-envelope-flap-open {
    0% {
        opacity: 0.12;
        transform: perspective(900px) rotateX(-88deg) scaleY(0.08);
    }

    25% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
        transform: perspective(900px) rotateX(0) scaleY(1);
    }
}

@keyframes ws-envelope-seal-release {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.22);
    }
}

@keyframes ws-envelope-photo-reveal {
    0% {
        opacity: 0;
        transform: translate(-50%, 25cqw) scale(0.92);
    }

    16% {
        opacity: 1;
    }

    to {
        opacity: 1;
        transform: translate(-50%, 4cqw) scale(1);
    }
}

@keyframes ws-envelope-stage-exit {
    to {
        transform: translateY(1.5vh) scale(0.975);
    }
}

.ws-envelope-banner-transition {
    position: fixed;
    z-index: 10001;
    overflow: hidden;
    border-radius: 2px;
    background: #fffaf6;
    box-shadow: 0 9px 18px rgba(75, 34, 29, .18);
    pointer-events: none;
    transform-origin: 0 0;
    backface-visibility: hidden;
    contain: layout;
    will-change: transform, opacity;
}

.ws-envelope-banner-transition img {
    position: absolute;
    max-width: none;
    object-fit: fill;
    transform-origin: 0 0;
    backface-visibility: hidden;
    will-change: transform;
}

/* Lay out the invitation early while keeping it paint-hidden. */
#invitation-content.ws-template-3-handoff-prepared {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transform-origin: 50% 0;
    transition: none;
    will-change: opacity, transform;
}

#invitation-content.ws-template-3-handoff-content {
    visibility: visible;
    opacity: 1;
    /*
     * A transformed ancestor becomes the containing block for fixed children.
     * Keep the dock and music control anchored to the viewport after reveal.
     */
    transform: none;
    transition: opacity .58s cubic-bezier(0.22, 0.7, 0.18, 1);
    will-change: auto;
}

.ws-envelope-open-control {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.ws-envelope-open-control:focus-visible {
    outline: 2px solid var(--ws-envelope-red);
    outline-offset: -4px;
}

.ws-envelope-tap-hint {
    position: absolute;
    z-index: 6;
    top: calc(100% + clamp(10px, 2vh, 20px));
    bottom: auto;
    left: 50%;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ws-envelope-cursor {
    position: absolute;
    z-index: 5;
    top: 72cqw;
    left: 61%;
    display: grid;
    place-items: center;
    width: clamp(34px, 10cqw, 42px);
    height: clamp(34px, 10cqw, 42px);
    color: rgba(255, 255, 255, 0.96);
    transform: translate(-50%, 0);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ws-envelope-cursor__icon {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 3px rgba(74, 48, 15, .7)) drop-shadow(0 0 5px rgba(255, 248, 220, .72));
    animation: ws-envelope-cursor-tap 1.8s ease-in-out infinite;
}

.ws-envelope-tap-hint__text {
    display: inline-block;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ws-envelope-red);
    opacity: .9;
    text-shadow: 0 1px 3px rgba(255, 255, 255, .9), 0 0 8px rgba(255, 255, 255, .6);
    animation: ws-tap-hint-pulse 2.4s ease-in-out infinite;
}

@keyframes ws-tap-hint-pulse {

    0%,
    100% {
        opacity: 0.45;
        transform: translateY(0);
    }

    50% {
        opacity: 0.9;
        transform: translateY(-2px);
    }
}

@keyframes ws-envelope-cursor-tap {

    0%,
    100% {
        opacity: 0.68;
        transform: translateY(3px) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px) scale(0.9);
    }
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-cursor {
    opacity: 0;
    transform: translate(-50%, 5px);
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-tap-hint {
    opacity: 0;
    transform: translate(-50%, 5px);
}

.ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-control,
.ws-envelope-overlay.ws-envelope--done .ws-envelope-open-control {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .ws-envelope-tap-hint__text {
        animation: none;
    }

    .ws-envelope-cursor__icon {
        animation: none;
    }

    .ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-top,
    .ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-photo,
    .ws-envelope-overlay.ws-envelope--opening .ws-envelope-open-seal,
    .ws-envelope-overlay.ws-envelope--handoff .ws-envelope-stage {
        animation-duration: 0.01ms;
        animation-delay: 0s;
    }
}

@media (max-height: 680px) {
    .ws-template-3-envelope-scene .ws-envelope-overlay {
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .ws-envelope-intro__emblem {
        width: 40px;
        height: 40px;
    }

    .ws-envelope-intro {
        gap: 12px;
        margin-bottom: 30px;
    }

    .ws-envelope-intro__label {
        font-size: 17px;
    }

    .ws-envelope-intro__guest {
        font-size: clamp(42px, 11vw, 58px);
    }

    .ws-envelope-intro__message {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {

    /* The overlay fade already hides the envelope; skip a redundant layer animation. */
    .ws-envelope-overlay.ws-envelope--handoff .ws-envelope-stage {
        animation: none;
    }
}



/* Couple section */
.ws-t10-couple-banner-preload {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.ws-t10-couple-section {
    height: 520px;
    position: relative;
    overflow: hidden;
}

#ws-couple-section {
    padding: 0;
}

#ws-couple-section .ws-t10-couple__heading {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    height: 48px;
    margin: 0;
    padding-left: 0.3em;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    color: rgb(160, 2, 25);
    font-family: "UVN Ai Cap Nhe", sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0.3em;
    text-align: center;
}

#ws-couple-section .ws-t10-couple-banner {
    top: 48px;
}

#ws-couple-section .ws-t10-couple-content {
    position: absolute;
    inset: auto 0 20px;
    z-index: 2;
    display: grid;
    align-items: stretch;
    isolation: isolate;
}

#ws-couple-section .ws-t10-couple-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
            rgba(12, 12, 12, 0.18) 0%,
            rgba(12, 12, 12, 0.18) 100%);
}

#ws-couple-section .ws-t10-couple-content__bottom {
    display: grid;
    grid-template-rows: minmax(92px, 1fr) auto;
    row-gap: 14px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px;
    box-sizing: border-box;
}

#ws-couple-section .ws-t10-couple-content__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

#ws-couple-section .ws-t10-couple__name,
#ws-couple-section .ws-t10-couple__divider,
#ws-couple-section .ws-t10-couple__date {
    margin: 0;
    color: rgb(255, 255, 255);
    font-weight: normal;
    font-style: normal;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

#ws-couple-section .ws-t10-couple__name {
    min-width: 0;
    font-family: "Faugllin Balseyn", sans-serif;
    font-size: 37px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

#ws-couple-section .ws-t10-couple__name:first-child {
    justify-self: end;
    align-self: start;
}

#ws-couple-section .ws-t10-couple__name:last-child {
    justify-self: start;
    align-self: end;
    text-align: right;
}

#ws-couple-section .ws-t10-couple__divider {
    justify-self: center;
    font-family: "Fz-Photograph.ttf", cursive;
    font-size: 36px;
    line-height: 1;
}

#ws-couple-section .ws-t10-couple__date {
    justify-self: start;
    color: rgb(255, 255, 255);
    font-family: "UVN Ai Cap Nhe", sans-serif;
    font-size: 22px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0.04em;
}

#ws-couple-section [data-aos] {
    transition-property: opacity, transform !important;
}

@media (max-width: 420px) {
    .ws-t10-couple-section {
        height: 460px;
    }

    #ws-couple-section .ws-t10-couple-content__bottom {
        grid-template-rows: minmax(88px, 1fr) auto;
    }

    #ws-couple-section .ws-t10-couple-content__inner {
        column-gap: 7px;
    }

    #ws-couple-section .ws-t10-couple__name {
        font-size: 32px;
    }

    #ws-couple-section .ws-t10-couple__divider {
        font-size: 42px;
    }
}

/* Family info */
.family {
    --family-red: #711c17;
    --family-gold: #d7b66b;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    padding: 34px 28px 24px 38px;
    overflow: hidden;
    background: #fff;
    color: #111;
}

.family__joy-title {
    position: absolute;
    top: 28px;
    left: 38px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--family-red);
    font-size: clamp(24px, 6vw, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: .93;
    letter-spacing: .01em;
}

.family__joy-title span {
    font-family: "Sunshine Script", sans-serif;
}

.family__joy-title span:nth-child(2) {
    margin-left: 12px;
}

.family__joy-title span:nth-child(3) {
    margin-left: 5px;
}

.family__firework {
    position: absolute;
    top: -22px;
    right: 10px;
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: .72;
}

.family__body {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 22px;
    margin-top: 90px;
    margin-left: 16px;
    font-family: 'Quicksand', sans-serif;
}

.family__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
    padding: 10px 0 0 16px;
    border-left: 4px solid var(--family-red);
}

.family__group {
    min-width: 0;
}

.family__group-title {
    margin-bottom: 11px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(16px, 3.8vw, 20px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.family__parent,
.family__address {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(12px, 3vw, 15px);
    line-height: 1.4;
    letter-spacing: -.025em;
}

.family__parent {
    font-weight: 550;
}

.family__address {
    margin-top: 1px;
    font-weight: 400;
}

.family__ornament {
    position: relative;
    align-self: stretch;
    background: var(--family-red);
}

.family__ornament::before {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    content: '';
    transform: translateX(-50%);
}

.family__seal {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--family-gold);
    border-radius: 50%;
    color: var(--family-gold);
    font-family: serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
}

.family__seal::before,
.family__seal::after {
    position: absolute;
    inset: 3px;
    border: 1px dashed currentColor;
    border-radius: 50%;
    content: '';
}

.family__seal::after {
    inset: -5px;
    border-style: double;
}

.family__monogram {
    position: relative;
    display: grid;
    place-items: center;
    width: 126px;
    height: 80px;
    margin: -2px auto 0;
    color: var(--family-red);
    font-family: 'Cormorant', serif;
    font-size: 54px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.08em;
}

[data-aos="t10-monogram-reveal"].aos-init {
    opacity: 0;
    filter: blur(2px);
    transform: translate3d(0, 18px, 0) rotate(-4deg) scale(.88);
    transform-origin: 50% 65%;
    transition-property: opacity, filter, transform;
}

[data-aos="t10-monogram-reveal"].aos-init.aos-animate {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-aos="t10-monogram-reveal"].aos-init {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

.family__monogram-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 180px;
    height: 120px;
    object-fit: contain;
    opacity: .065;
    transform: translate(-50%, -50%);
}

.family__monogram>span {
    position: relative;
    z-index: 1;
    font-family: 'Philosopher', Georgia, serif;
}

@media (max-width: 390px) {
    .family {
        min-height: 440px;
        padding-right: 20px;
        padding-left: 28px;
    }

    .family__joy-title {
        left: 29px;
    }

    .family__firework {
        top: -10px;
        right: 4px;
        width: 112px;
        height: 112px;
    }

    .family__body {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 14px;
        margin-top: 70px;
        margin-left: 14px;
    }

    .family__list {
        gap: 22px;
        padding-left: 13px;
    }

    .family__seal {
        width: 39px;
        height: 39px;
        font-size: 24px;
    }
}

/* Event section */
.event-invitation {
    --event-invitation-red: #711c17;
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    padding: 36px 24px 44px;
    overflow: hidden;
    background: #fff;
    color: var(--event-invitation-red);
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

.event-invitation__header {
    position: relative;
    isolation: isolate;
    margin-bottom: clamp(22px, 5cqi, 30px);
}

.event-invitation__firework {
    position: absolute;
    z-index: -1;
    display: block;
    width: 170px;
    width: clamp(130px, 38cqi, 190px);
    aspect-ratio: 1;
    object-fit: contain;
    opacity: .65;
    pointer-events: none;
    user-select: none;
}

.event-invitation__firework--top-left {
    top: 82px;
    left: -32px;
}

.event-invitation__firework--bottom-right {
    right: -32px;
    bottom: -22px;
    width: 190px;
    width: clamp(150px, 42cqi, 210px);
}

.event-invitation__emblem {
    display: block;
    width: 82px;
    height: 82px;
    margin: 0 auto 26px;
    object-fit: contain;
}

.event-invitation__salutation {
    margin: 0 0 10px;
    color: var(--event-invitation-red);
    font-family: 'Philosopher', sans-serif;
    font-size: 19px;
    font-size: clamp(16px, 4.2cqi, 21px);
    font-weight: 400;
    line-height: 1.6;
    text-transform: uppercase;
}

.event-invitation__guest {
    margin: 0 0 16px;
    color: var(--event-invitation-red);
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.event-invitation__guest span {
    font-family: "Fz-Photograph.ttf", cursive;
    font-size: clamp(22px, 10cqi, 38px);
}

.event-invitation__description {
    margin: 0;
    color: var(--event-invitation-red);
    font-family: 'Philosopher', sans-serif;
    font-size: 17px;
    font-size: clamp(14px, 3.8cqi, 19px);
    font-weight: 400;
    line-height: 1.6;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.event-invitation__couple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
}

.event-invitation__name {
    flex: 1 1 0;
    min-width: 0;
    color: var(--event-invitation-red);
    font-family: 'The Artisan', 'Faugllin Balseyn', cursive;
    font-size: 36px;
    font-size: clamp(24px, 8cqi, 40px);
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.event-invitation__ampersand {
    flex: 0 0 auto;
    color: var(--event-invitation-red);
    font-family: "Fz-Photograph.ttf", cursive;
    font-size: 40px;
    font-weight: 400;
    font-style: italic;
}

.event-invitation__list {
    display: grid;
    gap: clamp(18px, 4cqi, 24px);
}

.event-invitation__item {
    position: relative;
    isolation: isolate;
    padding: clamp(22px, 5cqi, 30px) clamp(16px, 4cqi, 22px);
    overflow: hidden;
    border: 1px solid rgba(113, 28, 23, .2);
    border-radius: clamp(14px, 4cqi, 20px);
    background:
        linear-gradient(145deg, rgba(113, 28, 23, .045), transparent 42%),
        #fffdfc;
    box-shadow: 0 12px 30px rgba(71, 25, 21, .08);
}

.event-invitation__item+.event-invitation__item {
    border-color: rgba(113, 28, 23, .28);
}

.event-invitation__list--single .event-invitation__item {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.event-invitation__list--single .event-invitation__firework--bottom-right {
    bottom: 56px;
}

.event-invitation__event-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 0 0 14px;
}

.event-invitation__event-name {
    margin: 0;
    color: var(--event-invitation-red);
    font-family: 'Philosopher', Georgia, serif;
    font-size: clamp(17px, 4.5cqi, 22px);
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.event-invitation__time {
    margin: 0 0 16px;
    color: #3d3b39;
    font-family: "UVN Ai Cap Nhe", sans-serif;
    font-size: 20px;
    font-size: clamp(14px, 4.4cqi, 22px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.event-invitation__date {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
}

.event-invitation__date-side {
    margin: 0;
    padding: 5px 0;
    border-top: 1px dotted #3d3b39;
    border-bottom: 1px dotted #3d3b39;
    color: var(--event-invitation-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 19px;
    font-size: clamp(13px, 4.2cqi, 21px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.event-invitation__date-label {
    display: block;
}

.event-invitation__day {
    margin: 0;
    color: var(--event-invitation-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 80px;
    font-size: clamp(58px, 18cqi, 90px);
    font-weight: 500;
    line-height: 1.2;
}

.event-invitation__lunar {
    margin: 7px 0 0;
    color: #3d3b39;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-size: clamp(13px, 3.6cqi, 18px);
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
}

.event-invitation__venue {
    margin-top: 22px;
}

.event-invitation__venue-label {
    margin: 0 0 9px;
    color: var(--event-invitation-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
}

.event-invitation__place {
    margin: 0 0 9px;
    color: var(--event-invitation-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 26px;
    font-size: clamp(21px, 5.8cqi, 29px);
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.event-invitation__address {
    margin: 0;
    color: #3d3b39;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(11px, 3cqi, 14px);
    font-weight: 400;
    line-height: 1.6;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.event-invitation__map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 38px;
    max-width: 100%;
    margin-top: 14px;
    padding: 7px 16px;
    border: 1px solid var(--event-invitation-red);
    border-radius: 2px;
    background: transparent;
    color: var(--event-invitation-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.event-invitation__map:hover {
    background: var(--event-invitation-red);
    color: #fff;
}

.event-invitation__map:focus-visible {
    outline: 2px solid var(--event-invitation-red);
    outline-offset: 4px;
}

@media (max-width: 390px) {
    .event-invitation {
        padding-inline: 18px;
    }

    .event-invitation__date {
        gap: 8px;
    }

    .event-invitation__date-side {
        letter-spacing: .06em;
    }
}

/* Cover section */
/* Three-photo editorial spread displayed after the event invitation. */
.t10-cover {
    padding: clamp(32px, 7vw, 44px) clamp(22px, 5vw, 30px);
    background: #fff;
}

.t10-cover:has(+ .album-section) {
    padding-bottom: 10px;
}

.t10-cover__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .96fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(12px, 3vw, 16px);
    row-gap: clamp(12px, 3vw, 18px);
    align-items: start;
}

.t10-cover__photo {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #f5f1ee;
}

.t10-cover__photo--hero {
    grid-column: 1 / -1;
    width: calc(100% - clamp(18px, 4vw, 22px));
    aspect-ratio: 1.52 / 1;
    justify-self: center;
}

.t10-cover__photo--left {
    grid-column: 1;
    grid-row: 3;
    aspect-ratio: 1 / 1;
}

.t10-cover__photo--right {
    grid-column: 2;
    grid-row: 2 / span 2;
    aspect-ratio: .75 / 1;
}

.t10-cover__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t10-cover__photo .ws-image-placeholder {
    width: 100%;
    min-height: 100%;
}

.t10-cover__words {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    margin: 0;
    padding-inline: clamp(10px, 4vw, 20px) 0;
    color: #e7caca;
    font-family: 'Cormorant', serif;
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: .075em;
    white-space: nowrap;
}

/* Timeline section */
.t10-timeline {
    --t10-timeline-red: #711c17;
    --t10-timeline-ink: #322e2b;
    --t10-timeline-axis: #97938f;
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    padding: 36px 24px 32px;
    overflow: hidden;
    background: #fff;
    color: var(--t10-timeline-ink);
}

.t10-timeline__schedule,
.t10-timeline__dresscode {
    position: relative;
    z-index: 1;
}

.t10-timeline__firework {
    position: absolute;
    z-index: 0;
    display: block;
    width: 170px;
    width: clamp(130px, 38cqi, 190px);
    aspect-ratio: 1;
    object-fit: contain;
    opacity: .65;
    pointer-events: none;
    user-select: none;
}

.t10-timeline__firework--top-left {
    top: 82px;
    left: -32px;
    transform: scaleX(-1);
}

.t10-timeline__firework--bottom-right {
    right: -32px;
    bottom: 24px;
    width: 190px;
    width: clamp(150px, 42cqi, 210px);
}

.t10-timeline__title {
    margin: 0 0 28px;
    color: var(--t10-timeline-red);
    font-family: 'The Artisan', 'Faugllin Balseyn', cursive;
    font-size: 56px;
    font-size: clamp(42px, 12cqi, 60px);
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}

.t10-timeline__list {
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

[data-aos="t10-timeline-soft"].aos-init {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition-property: opacity, transform;
}

[data-aos="t10-timeline-soft"].aos-init.aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    [data-aos="t10-timeline-soft"].aos-init {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.t10-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    box-sizing: border-box;
    min-height: 118px;
    min-height: clamp(80px, 24cqi, 118px);
    margin: 0;
    padding: 0 0 44px;
    list-style: none;
}

.t10-timeline__item:not(:last-child)::before {
    position: absolute;
    top: 12px;
    bottom: -12px;
    left: 50%;
    width: 2px;
    background: var(--t10-timeline-axis);
    content: '';
    transform: translateX(-50%);
}

.t10-timeline__item:last-child {
    min-height: 0;
    padding-bottom: 0;
}

.t10-timeline__marker {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 11px;
    height: 11px;
    margin-top: 6.5px;
    border-radius: 50%;
    background: var(--t10-timeline-red);
}

.t10-timeline__content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    text-align: right;
}

.t10-timeline__item:nth-child(even) .t10-timeline__content {
    grid-column: 3;
    text-align: left;
}

.t10-timeline__meta {
    margin: 0 0 3px;
    color: var(--t10-timeline-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-size: clamp(14px, 3.6cqi, 18px);
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.t10-timeline__heading {
    margin: 0;
    color: var(--t10-timeline-ink);
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-size: clamp(13px, 3.8cqi, 19px);
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.t10-timeline__description {
    margin: 8px 0 0;
    color: #6d635e;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-size: clamp(12px, 2.9cqi, 14px);
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.t10-timeline__icon {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    width: clamp(48px, 14cqi, 68px);
    aspect-ratio: 1;
    margin-top: -16px;
    color: #3a3936;
    font-size: 60px;
    font-size: clamp(44px, 13cqi, 64px);
    line-height: 1;
}

.t10-timeline__item:nth-child(even) .t10-timeline__icon {
    grid-column: 1;
    justify-self: end;
}

.t10-timeline__icon-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .85;
}

.t10-timeline__icon-glyph {
    font-size: inherit;
    line-height: 1;
}

.t10-timeline__empty {
    list-style: none;
    text-align: center;
}

.t10-timeline__dresscode {
    text-align: center;
}

.t10-timeline__schedule+.t10-timeline__dresscode {
    margin-top: 48px;
}

.t10-timeline__title--dresscode {
    margin-bottom: 26px;
}

.t10-timeline__palette {
    display: grid;
    grid-template-columns: repeat(var(--t10-timeline-color-columns, 4), minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 20px;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.t10-timeline__palette--compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: clamp(4px, 1.5cqi, 8px);
    row-gap: 10px;
    max-width: 100%;
}

.t10-timeline__swatch {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 36px;
    width: clamp(28px, 8cqi, 38px);
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    border: 1px solid #322e2b;
    border-radius: 50%;
    background-color: var(--t10-timeline-swatch, #fff);
    list-style: none;
}

@container (max-width: 360px) {
    .t10-timeline__item {
        column-gap: 9px;
        padding-bottom: 36px;
    }

    .t10-timeline__item:last-child {
        min-height: 0;
        padding-bottom: 0;
    }

    .t10-timeline__title--dresscode {
        margin-bottom: 22px;
    }
}

@media (max-width: 390px) {
    .t10-timeline {
        padding-inline: 18px;
    }
}

/* Thanks */
.t10-thanks {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: clamp(58px, 14vw, 76px) clamp(26px, 7vw, 38px) 22px;
    color: #8b817f;
    background: #fff;
    text-align: center;
    padding-bottom: 100px;
}

.t10-thanks__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.t10-thanks__title {
    margin: 0 0 clamp(8px, 2.5vw, 14px);
    color: #7b1d18;
    font-family: 'The Artisan', 'Faugllin Balseyn', cursive;
    font-size: clamp(44px, 10vw, 54px);
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
}

.t10-thanks__message {
    width: min(100%, 500px);
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
    text-shadow: none;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(12px, 3vw, 15px);
    line-height: 1.4;
    letter-spacing: -.025em;
    margin-top: 8px;
}

.t10-thanks__watermark {
    display: inline-block;
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: 76px;
    left: 50%;
    margin: 0;
    padding: 0;
    color: rgba(123, 29, 24, .62);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 1;
    transform: translateX(-50%);
    transition: color .2s ease, opacity .2s ease;
}

.t10-thanks__watermark:hover,
.t10-thanks__watermark:focus-visible {
    color: rgba(123, 29, 24, .7);
}

.t10-thanks__watermark:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px;
}

/* Guestbook */
.t10-guestbook-chat[hidden] {
    display: none !important;
}

.t10-guestbook-chat__backdrop[hidden] {
    display: none !important;
}

.t10-guestbook-chat__backdrop {
    position: fixed;
    z-index: 10019;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(36, 17, 13, .62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

html.t10-guestbook-dialog-open,
body.t10-guestbook-dialog-open {
    overflow: hidden;
}

.t10-guestbook-chat__close {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border: 1px solid #711c17;
    border-radius: 2px;
    color: #711c17;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.t10-guestbook-composer.guestbook-form {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.t10-guestbook-chat__field {
    display: block;
    min-width: 0;
    margin: 0;
}

.t10-guestbook-chat__field--message {
    flex: 1 1 auto;
}

.t10-guestbook-chat__field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.t10-guestbook-composer .t10-guestbook-chat__field input,
.t10-guestbook-composer .t10-guestbook-chat__field textarea {
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #cfa9a5;
    border-radius: 2px;
    outline: 0;
    color: #3d3b39;
    background: #fff;
    font: 400 14px/1.3 'Quicksand', sans-serif;
    box-sizing: border-box;
}

.t10-guestbook-composer .t10-guestbook-chat__field input:focus,
.t10-guestbook-composer .t10-guestbook-chat__field textarea:focus {
    border-color: #711c17;
    box-shadow: 0 0 0 2px rgba(113, 28, 23, .1);
}

.t10-guestbook-chat__submit.btn-guestbook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    height: 44px;
    margin: 0;
    padding: 0 15px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #711c17;
    font: 500 13px/1 'Quicksand', sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    pointer-events: auto;
}

.t10-guestbook-chat>.t10-guestbook-chat__field--name {
    grid-column: 1;
    pointer-events: auto;
}

.t10-guestbook-chat>.t10-guestbook-chat__submit {
    grid-column: 2;
}

.t10-guestbook-chat__submit.btn-guestbook:hover {
    background: #54110e;
}

.t10-guestbook-chat__submit.btn-guestbook:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.t10-guestbook-chat .guestbook-notice {
    grid-column: 1 / -1;
    margin: 0;
    padding: 8px 10px;
    border-radius: 2px;
    color: #315b38;
    background: #e8f4e9;
    font: 500 12px/1.4 'Quicksand', sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    pointer-events: auto;
}

.t10-guestbook-chat .guestbook-notice.is-success {
    padding: 10px 12px;
    border-radius: 12px;
    color: #1f5a34;
    background: rgba(197, 236, 210, .95);
    font: 500 13px/1.4 'Quicksand', sans-serif;
    text-align: center;
}

.t10-guestbook-chat .guestbook-notice.is-error {
    color: #9b2016;
    background: #fbe9e7;
}

.t10-guestbook-chat .guestbook-notice[hidden] {
    display: none;
}

.t10-action-dock__item--guestbook {
    gap: 6px;
}

#ws-guestbook-message.t10-guestbook-trigger {
    width: 100%;
    height: 54px;
    min-height: 54px;
    min-width: 150px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: #272528;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    line-height: 52px;
    text-align: left;
    resize: none;
    overflow: hidden;
}

#ws-guestbook-message.t10-guestbook-trigger:hover {
    color: #fff;
    background: #343134;
}

#ws-guestbook-message.t10-guestbook-trigger::placeholder {
    color: rgba(255, 255, 255, .7);
}

.t10-guestbook-chat {
    position: absolute;
    z-index: 10015;
    right: 0;
    bottom: calc(100% + 10px);
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(100%, 500px);
    max-height: min(58vh, 500px);
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    animation: t10-guestbook-chat-in .22s ease-out both;
    margin: auto;
}

@keyframes t10-guestbook-chat-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom-sheet presentation inspired by modern messaging interfaces. */
.t10-guestbook-chat {
    display: flex;
    flex-direction: column;
    gap: 0;
    bottom: 0;
    height: min(72vh, 620px);
    max-height: calc(100dvh - 92px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 30px 30px 18px 18px;
    background: #1d1b1c;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, .32);
    color: #f8f5f4;
    transform: none;
    animation: t10-guestbook-sheet-in .26s ease-out both;
}

@keyframes t10-guestbook-sheet-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t10-guestbook-chat__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    min-height: 88px;
    padding: 28px 22px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.t10-guestbook-chat__handle {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
    transform: translateX(-50%);
}

.t10-guestbook-chat__title {
    margin: 0;
    color: #fff;
    font: 600 22px/1.25 'Quicksand', sans-serif;
    letter-spacing: -.02em;
    text-transform: none;
}

.t10-guestbook-chat__header .t10-guestbook-chat__close {
    position: relative;
    top: auto;
    right: auto;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 28px;
}

.t10-guestbook-chat__header .t10-guestbook-chat__close:hover {
    background: rgba(255, 255, 255, .14);
}

.t10-guestbook-chat__composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    flex: 0 0 auto;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: #1d1b1c;
}

.t10-guestbook-chat__composer>.t10-guestbook-chat__field--name,
.t10-guestbook-chat__message-slot,
.t10-guestbook-chat__composer>.guestbook-notice {
    grid-column: 1 / -1;
}

.t10-guestbook-chat__message-slot .t10-guestbook-chat__field--message {
    display: block;
    width: 100%;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__field input,
.t10-guestbook-chat__composer #ws-guestbook-message.t10-guestbook-trigger {
    height: 50px;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    color: #fff;
    background: #272528;
    box-shadow: none;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__field input::placeholder {
    color: #858287;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__submit.btn-guestbook {
    align-self: end;
    height: 50px;
    border-radius: 16px;
    background: #711c17;
}

@media (max-width: 520px) {
    #ws-guestbook-message.t10-guestbook-trigger {
        width: 100%;
        min-width: 0;
        height: 50px;
        min-height: 50px;
        padding: 0 12px;
        border-radius: 999px;
        font-size: 13px;
        line-height: 48px;
    }

    .t10-guestbook-chat {
        bottom: 0;
        width: 100%;
        height: min(76vh, 680px);
        max-height: calc(100dvh - 78px);
        border-radius: 26px 26px 14px 14px;
    }

    .t10-guestbook-chat__header {
        min-height: 82px;
        padding: 26px 16px 14px;
    }

    .t10-guestbook-chat__title {
        font-size: 19px;
    }

    .t10-guestbook-chat__composer {
        padding: 12px;
    }

    .t10-guestbook-chat__submit.btn-guestbook {
        min-width: 72px;
        padding-inline: 12px;
    }
}

/* Compact composer, count badge, and the modal-only wish list. */
.t10-guestbook-composer.guestbook-form {
    position: relative;
    max-width: 500px;
}

.t10-guestbook-composer.guestbook-form>.t10-guestbook-chat__field--message textarea {
    height: 50px;
    min-height: 50px;
    padding: 14px 15px;
    line-height: 20px;
    overflow: hidden;
    resize: none;
    white-space: nowrap;
}

.t10-guestbook-composer.guestbook-form>.t10-guestbook-chat__field--message {
    position: relative;
    height: 42px;
    min-height: 42px;
    line-height: 0;
}

.t10-guestbook-composer.guestbook-form>.t10-guestbook-chat__field--message textarea {
    display: block;
    padding-right: 42px;
}

.t10-guestbook-count-badge {
    position: absolute;
    top: 10px;
    right: 8px;
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid rgba(113, 28, 23, .12);
    border-radius: 999px;
    color: #fff;
    background: #711c17;
    font: 700 10px/1 'Quicksand', sans-serif;
    box-sizing: border-box;
    z-index: 1;
    pointer-events: none;
    transform: none;
}

.t10-guestbook-count-badge[hidden],
.t10-action-dock.is-guestbook-open .t10-guestbook-count-badge {
    display: none !important;
}

.t10-guestbook-list-panel {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(35vh, 260px);
    padding: 10px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid rgba(113, 28, 23, .1);
    background: #fffaf6;
    scrollbar-width: thin;
    scrollbar-color: rgba(113, 28, 23, .24) transparent;
    scroll-behavior: auto;
    scroll-padding-bottom: 10px;
}

.t10-guestbook-list-panel[hidden] {
    display: none !important;
}

.t10-guestbook-list-panel .guestbook-list {
    display: grid;
    gap: 7px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.t10-guestbook-list-panel .guestbook-entry {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(113, 28, 23, .12);
    border-radius: 11px;
    color: #5a302c;
    background: rgba(246, 224, 221, .68);
    box-shadow: none;
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;
}

.t10-guestbook-list-panel .guestbook-entry__meta {
    display: block;
    margin: 0 0 2px;
}

.t10-guestbook-list-panel .guestbook-entry__name {
    display: block;
    color: #711c17;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    text-transform: none;
}

.t10-guestbook-list-panel .guestbook-entry__message {
    display: block;
    color: #5a302c;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}

.t10-guestbook-list-panel .guestbook-entry.is-new {
    animation: t10-guestbook-entry-in .45s ease-out both;
}

@keyframes t10-guestbook-entry-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t10-guestbook-chat {
    right: 0;
    bottom: calc(100% + 8px);
    left: 0;
    width: min(100%, 500px);
    height: auto;
    max-height: calc(100dvh - 78px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
}

.t10-guestbook-chat__header {
    height: 56px;
    min-height: 56px;
    padding: 11px 12px 7px 16px;
    box-sizing: border-box;
}

.t10-guestbook-chat__handle {
    top: 6px;
    width: 40px;
    height: 4px;
}

.t10-guestbook-chat__title {
    font-size: 15px;
}

.t10-guestbook-chat__header .t10-guestbook-chat__close {
    width: 32px;
    height: 32px;
    font-size: 21px;
}

.t10-guestbook-chat__composer {
    padding: 12px 32px 16px;
    border-top: 0;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__field--name input {
    height: 40px;
    min-height: 40px;
    border-radius: 12px;
}

.t10-guestbook-chat__composer #ws-guestbook-message.t10-guestbook-trigger {
    height: 40px;
    min-height: 40px;
    max-height: 50vh;
    max-height: 50dvh;
    padding: 9px 14px;
    border-radius: 12px;
    line-height: 1.45;
    overflow-y: hidden;
    resize: none;
}

.t10-guestbook-chat__composer #ws-guestbook-message.t10-guestbook-trigger::placeholder {
    color: #858287;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__submit.btn-guestbook {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    border-radius: 12px;
}

@media (max-width: 520px) {
    .t10-guestbook-list-panel {
        padding-inline: 28px;
    }

    .t10-guestbook-chat__composer {
        padding-inline: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t10-guestbook-list-panel .guestbook-entry.is-new {
        animation: none;
    }
}

/* rsvp */
.rsvp-section__attendance-choices {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.rsvp-section__attendance-option {
    position: relative;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

.rsvp-section__attendance-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.rsvp-section__attendance-option span {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 45px;
    padding: 9px 11px;
    border: 1px solid rgba(169, 130, 69, .28);
    border-radius: 12px;
    background: #FFFDF9;
    color: #7B6959;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.rsvp-section__attendance-option span::before {
    content: '';
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(169, 130, 69, .55);
    border-radius: 50%;
    background: #FFF;
    transition: border-width 180ms ease, border-color 180ms ease;
}

.rsvp-section__attendance-option input:checked+span {
    border-color: #A98245;
    background: #FFF8EC;
    color: #4B382A;
    box-shadow: 0 2px 8px rgba(75, 56, 42, .1);
}

.rsvp-section__attendance-option input:checked+span::before {
    border: 4px solid #A98245;
}

.rsvp-section__attendance-option input:focus-visible+span {
    outline: 2px solid #A98245;
    outline-offset: 2px;
}

.rsvp-section__attending-fields {
    display: none;
    gap: 18px;
    width: 100%;
    color: #4B382A;
    font-family: 'Inter';
}

.rsvp-section__form:has(input[name="invitation_rsvp_status"][value="attending"]:checked) .rsvp-section__attending-fields {
    display: grid;
}

.rsvp-section .ws-rsvp-question__label {
    color: #4B382A;
    font-family: 'Inter';
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.rsvp-section .ws-rsvp-question__choices {
    gap: 8px;
}

.rsvp-section .ws-rsvp-question__choices label {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(169, 130, 69, .32);
    border-radius: 12px;
    background: #FFFDF9;
    color: #4B382A;
    font-family: 'Inter';
    opacity: 1;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.rsvp-section .ws-rsvp-question__choices label:has(input:checked) {
    border-color: #A98245;
    background: #FFF8EC;
    box-shadow: 0 0 0 3px rgba(169, 130, 69, .14);
}

.rsvp-section .ws-rsvp-question__choices input {
    accent-color: #711c17;
}

.rsvp-section .ws-rsvp-question__choices label:focus-within {
    border-color: #711c17;
    box-shadow: 0 0 0 3px rgba(169, 130, 69, .14);
}

.rsvp-section .ws-rsvp-question__text {
    min-height: 84px;
    padding: 11px 13px;
    border: 1px solid rgba(169, 130, 69, .32);
    border-radius: 12px;
    background: #FFFDF9;
    color: #4B382A;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rsvp-section .ws-rsvp-question__text:focus {
    border-color: #A98245;
    box-shadow: 0 0 0 3px rgba(169, 130, 69, .14);
}

.rsvp-section .ws-rsvp-question--select {
    display: grid;
    gap: 8px;
}

.rsvp-section .ws-rsvp-question__select {
    width: 100%;
    height: 48px;
    padding: 10px 48px 10px 14px;
    border: 1px solid rgba(169, 130, 69, .32);
    border-radius: 12px;
    outline: none;
    background-color: #FFFDF9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23711C17' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    color: #4B382A;
    font-family: 'Inter';
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rsvp-section .ws-rsvp-question__select:focus {
    border-color: #711c17;
    box-shadow: 0 0 0 3px rgba(113, 28, 23, .12);
}

.rsvp-section__field input,
.rsvp-section__field select {
    width: 100%;
    height: 45px;
    padding: 12px 14px;
    border: 1px solid rgba(169, 130, 69, 0.32);
    border-radius: 12px;
    background: #FFFDF9;
    color: #4B382A;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rsvp-section__field select {
    cursor: pointer;
    padding-right: 48px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FFFDF9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B382A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 14px;
}

.rsvp-section__field select::-ms-expand {
    display: none;
}

.rsvp-section__field input:focus,
.rsvp-section__field select:focus {
    border-color: #A98245;
    box-shadow: 0 0 0 3px rgba(169, 130, 69, 0.14);
}

.rsvp-section__count-field {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rsvp-section__count-control {
    display: grid;
    grid-template-columns: 32px 40px 32px;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(169, 130, 69, .32);
    border-radius: 10px;
    background: #FFFDF9;
}

.rsvp-section__count-control:focus-within {
    border-color: #A98245;
    box-shadow: 0 0 0 3px rgba(169, 130, 69, .14);
}

.rsvp-section__count-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #F3ECE1;
    color: #6D543B;
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.rsvp-section__count-button:hover {
    background: #EADCC8;
}

.rsvp-section__count-button:focus-visible {
    outline: 2px solid #A98245;
    outline-offset: 1px;
}

.rsvp-section__field .rsvp-section__count-input {
    width: 40px;
    height: 20px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4B382A;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.rsvp-section__field .rsvp-section__count-input:focus {
    border: 0;
    box-shadow: none;
}

.rsvp-section__count-input::-webkit-inner-spin-button,
.rsvp-section__count-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.rsvp-section__button {
    font-size: clamp(13px, 1.8vw, 16px);
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: #fff;
    text-align: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1.2px;
    background: var(--t3-primary);
    border: 1px solid #D8C7A3;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 10px;
    text-transform: uppercase;
}

.rsvp-section__button:hover {
    opacity: .9;
}

.rsvp-section__button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.rsvp-section .ws-wedding-rsvp-inline-feedback {
    width: 100%;
    margin: 0;
}

.rsvp__notice--success {
    color: #1f5a34;
    background: rgba(197, 236, 210, 0.95);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

html.ws-modal-open,
body.ws-modal-open {
    overflow: hidden;
}

.rsvp-section__open-button {
    width: 100%;
    margin-top: 0;
}

.template-9-rsvp-modal__form {
    margin: 0;
}

.template-9-rsvp-modal.ws-modal[hidden] {
    display: none !important;
}

.template-9-rsvp-modal.ws-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    width: auto;
    height: auto;
    place-items: center;
    padding: 16px;
}

.template-9-rsvp-modal__backdrop.ws-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 34, 22, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
}

.template-9-rsvp-modal__content.ws-modal__content {
    position: relative;
    z-index: 1;
    width: min(500px, calc(100vw - 24px));
    max-height: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.template-9-rsvp-modal__dialog {
    position: relative;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 32px;
    overflow-y: auto;
    border: 1px solid rgba(169, 130, 69, 0.28);
    border-radius: 28px;
    outline: none;
    background: #fff;
    box-shadow: 0 26px 70px rgba(45, 34, 22, 0.3);
    animation: template-9-rsvp-modal-in 260ms ease-out both;
}

@keyframes template-9-rsvp-modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.template-9-rsvp-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(169, 130, 69, 0.1);
    color: var(--t3-primary);
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.template-9-rsvp-modal__close:hover {
    background: rgba(169, 130, 69, 0.2);
}

.template-9-rsvp-modal__close:focus-visible {
    outline: 2px solid var(--t3-primary);
    outline-offset: 2px;
}

.template-9-rsvp-modal__header {
    padding: 0 26px 4px;
    text-align: center;
}

.template-9-rsvp-modal__header .section-title {
    margin: 0 0 8px;
}

.template-9-rsvp-modal .rsvp__notice {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.template-9-rsvp-modal .rsvp__notice.is-hidden,
.template-9-rsvp-modal [data-ws-rsvp-modal-notice][hidden] {
    display: none;
}

.template-9-rsvp-modal .rsvp__notice--error {
    color: #842029;
    background: #f8d7da;
}

@media (prefers-reduced-motion: reduce) {
    .template-9-rsvp-modal__dialog {
        animation: none;
    }
}

@media (max-width: 575px) {
    .rsvp-section__inner {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .rsvp-section__title {
        font-size: 38px;
        line-height: 44px;
    }

    .template-9-rsvp-modal__dialog {
        padding: 28px 20px;
        border-radius: 22px;
    }
}

.t10-rsvp-modal[hidden] {
    display: none !important;
}

.t10-rsvp-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.t10-rsvp-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(36, 17, 13, .62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.t10-rsvp-modal__dialog {
    position: relative;
    display: grid;
    gap: 17px;
    width: min(540px, 100%);
    max-height: min(760px, calc(100dvh - 40px));
    overflow: auto;
    padding: 32px;
    border-radius: 24px;
    background: #fffaf7;
    box-shadow: 0 24px 70px rgba(37, 13, 8, .3);
    animation: t10-rsvp-modal-in .24s ease-out both;
}

@keyframes t10-rsvp-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.t10-rsvp-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #6d332a;
    background: #f3e5df;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.t10-rsvp-modal__heading {
    margin: 0 36px 8px 0;
    color: #7f1f15;
    font: 600 clamp(27px, 5vw, 38px)/1.1 var(--font-heading, Georgia, serif);
}

.t10-rsvp-modal__subtitle {
    margin: 0 0 24px;
    color: #795f59;
    font: 400 15px/1.55 Arial, sans-serif;
}

.t10-rsvp-modal .rsvp-section__field,
.t10-rsvp-modal .rsvp-section__attendance {
    margin: 0;
}

.t10-rsvp-modal .rsvp-section__field {
    gap: 0;
}

.t10-rsvp-modal .rsvp-section__field>span:not(.rsvp-section__count-control),
.t10-rsvp-modal .rsvp-section__field>label,
.t10-rsvp-modal .rsvp-section__attendance-label,
.t10-rsvp-modal .ws-rsvp-question__label {
    display: block;
    margin: 0 0 8px;
    color: #51332d;
    font: 600 14px/1.3 Arial, sans-serif;
}

.t10-rsvp-modal .rsvp-section__field input,
.t10-rsvp-modal .rsvp-section__field select,
.t10-rsvp-modal .ws-rsvp-question__text {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dfcbc4;
    border-radius: 12px;
    color: #40231e;
    background: #fff;
}

.t10-rsvp-modal .ws-rsvp-question--select {
    display: grid;
    gap: 7px;
}

.t10-rsvp-modal .ws-rsvp-question__select {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 8px 48px 8px 14px;
    border: 1px solid rgba(113, 28, 23, .18);
    border-radius: 16px;
    outline: 0;
    background-color: rgba(255, 255, 255, .9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23711C17' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    color: #4f1714;
    box-shadow: none;
    font: 400 14px/1.4 'Quicksand', sans-serif;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.t10-rsvp-modal .ws-rsvp-question__select:focus {
    border-color: #711c17;
    box-shadow: 0 0 0 2px rgba(113, 28, 23, .1);
}

.t10-rsvp-modal .rsvp-section__attendance-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.t10-rsvp-modal .rsvp-section__attendance-option span {
    min-height: 46px;
    border-radius: 12px;
}

.t10-rsvp-modal .rsvp-section__button {
    width: 100%;
    min-height: 48px;
    margin: 3px 0 0;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: #8f2014;
    font: 700 15px/1 Arial, sans-serif;
    cursor: pointer;
}

.t10-rsvp-modal .ws-wedding-rsvp-inline-feedback,
.t10-rsvp-modal .rsvp__notice {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font: 500 13px/1.4 Arial, sans-serif;
}

html.ws-modal-open,
body.ws-modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .t10-rsvp-modal {
        align-items: end;
        padding: 8px;
    }

    .t10-rsvp-modal__dialog {
        max-height: calc(100dvh - 16px);
        padding: 27px 18px 20px;
        border-radius: 22px;
    }

    .t10-rsvp-modal__heading {
        font-size: 28px;
    }

    .t10-rsvp-modal .rsvp-section__attendance-choices {
        grid-template-columns: 1fr;
    }
}

/* Match the light bottom-sheet language used by Template 10's guestbook. */
.t10-rsvp-modal {
    align-items: end;
    justify-items: center;
    padding: 16px;
}

.t10-rsvp-modal__backdrop {
    background: rgba(36, 17, 13, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.t10-rsvp-modal__dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    width: min(420px, 100%);
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(113, 28, 23, .16);
    border-radius: 30px 30px 18px 18px;
    color: #4f1714;
    background: rgba(255, 250, 246, .98);
    box-shadow: 0 -12px 42px rgba(75, 34, 29, .22);
    animation: t10-rsvp-sheet-in .26s ease-out both;
}

.t10-rsvp-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 22px 56px 12px;
    border-bottom: 1px solid rgba(113, 28, 23, .1);
    background: #fffaf6;
    box-sizing: border-box;
}

.t10-rsvp-modal__handle {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(113, 28, 23, .22);
    transform: translateX(-50%);
}

@keyframes t10-rsvp-sheet-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t10-rsvp-modal__close {
    top: 50%;
    right: 14px;
    width: 32px;
    height: 32px;
    color: #711c17;
    background: rgba(113, 28, 23, .07);
    font-size: 21px;
    transform: translateY(-50%);
    transition: background-color .2s ease;
}

.t10-rsvp-modal__close:hover {
    background: rgba(113, 28, 23, .12);
}

.t10-rsvp-modal__heading {
    margin: 0;
    color: #711c17;
    font: 600 16px/1.3 'Quicksand', sans-serif;
    text-align: center;
}

.t10-rsvp-modal__subtitle {
    margin: 0 0 3px;
    padding: 0 10px;
    color: rgba(79, 23, 20, .62);
    font: 400 13px/1.5 'Quicksand', sans-serif;
    text-align: center;
}

.t10-rsvp-modal__body {
    display: grid;
    gap: 14px;
    min-height: 0;
    max-height: calc(100dvh - 94px);
    padding: 16px 32px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(113, 28, 23, .24) transparent;
    touch-action: pan-y;
}

.t10-rsvp-modal__body::-webkit-scrollbar {
    width: 4px;
}

.t10-rsvp-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.t10-rsvp-modal__body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(113, 28, 23, .24);
}

.t10-rsvp-modal .rsvp-section__field>span:not(.rsvp-section__count-control),
.t10-rsvp-modal .rsvp-section__field>label,
.t10-rsvp-modal .rsvp-section__attendance-label,
.t10-rsvp-modal .ws-rsvp-question__label {
    margin-bottom: 7px;
    color: #4f1714;
    font: 600 13px/1.35 'Quicksand', sans-serif;
}

.t10-rsvp-modal .rsvp-section__field input,
.t10-rsvp-modal .rsvp-section__field select {
    height: 40px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(113, 28, 23, .18);
    border-radius: 16px;
    outline: 0;
    color: #4f1714;
    background-color: rgba(255, 255, 255, .9);
    box-shadow: none;
    font: 400 14px/1.4 'Quicksand', sans-serif;
    box-sizing: border-box;
}

.t10-rsvp-modal .ws-rsvp-question__text {
    padding: 10px 14px;
    border: 1px solid rgba(113, 28, 23, .18);
    border-radius: 16px;
    outline: 0;
    color: #4f1714;
    background-color: rgba(255, 255, 255, .9);
    box-shadow: none;
    font: 400 14px/1.4 'Quicksand', sans-serif;
    box-sizing: border-box;
}

.t10-rsvp-modal .rsvp-section__field input:focus,
.t10-rsvp-modal .rsvp-section__field select:focus,
.t10-rsvp-modal .ws-rsvp-question__text:focus {
    border-color: #711c17;
    box-shadow: 0 0 0 2px rgba(113, 28, 23, .1);
}

.t10-rsvp-modal .rsvp-section__attendance-choices {
    grid-template-columns: 1fr;
    gap: 8px;
}

.t10-rsvp-modal .rsvp-section__attendance-option span,
.t10-rsvp-modal .ws-rsvp-question__choices label {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(113, 28, 23, .16);
    border-radius: 16px;
    color: rgba(79, 23, 20, .72);
    background: rgba(255, 255, 255, .78);
    box-shadow: none;
    font-family: 'Quicksand', sans-serif;
}

.t10-rsvp-modal .rsvp-section__attendance-option span {
    height: 40px;
}

.t10-rsvp-modal .rsvp-section__attendance-option span::before {
    border-color: rgba(113, 28, 23, .4);
}

.t10-rsvp-modal .rsvp-section__attendance-option input:checked+span,
.t10-rsvp-modal .ws-rsvp-question__choices label:has(input:checked) {
    border-color: #711c17;
    color: #4f1714;
    background: #fff4ef;
    box-shadow: 0 0 0 2px rgba(113, 28, 23, .08);
}

.t10-rsvp-modal .rsvp-section__attendance-option input:checked+span::before {
    border-color: #711c17;
}

.t10-rsvp-modal .rsvp-section__count-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.t10-rsvp-modal .rsvp-section__count-control {
    display: grid;
    grid-template-columns: 32px 36px 32px;
    align-items: center;
    width: auto;
    height: 40px;
    padding: 3px;
    border: 1px solid rgba(113, 28, 23, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    box-sizing: border-box;
}

.t10-rsvp-modal .rsvp-section__count-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #711c17;
    background: rgba(113, 28, 23, .07);
    font: 600 18px/1 'Quicksand', sans-serif;
    box-shadow: none;
}

.t10-rsvp-modal .rsvp-section__field .rsvp-section__count-input {
    width: 36px;
    min-width: 36px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    color: #4f1714;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.t10-rsvp-modal .rsvp-section__field .rsvp-section__count-input:focus {
    border: 0;
    box-shadow: none;
}

.t10-rsvp-modal .rsvp-section__button {
    height: 40px;
    min-height: 40px;
    margin-top: 2px;
    border-radius: 16px;
    background: #711c17;
    font: 600 13px/1 'Quicksand', sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: background-color .2s ease, transform .2s ease;
}

.t10-rsvp-modal .rsvp-section__button:hover {
    background: #54110e;
    transform: translateY(-1px);
}

.t10-rsvp-modal .ws-wedding-rsvp-inline-feedback,
.t10-rsvp-modal .rsvp__notice {
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
}

@media (max-width: 520px) {
    .t10-rsvp-modal {
        padding: 8px;
    }

    .t10-rsvp-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 16px);
        padding: 0;
        border-radius: 26px 26px 14px 14px;
    }

    .t10-rsvp-modal__header {
        min-height: 58px;
        padding: 20px 50px 10px;
    }

    .t10-rsvp-modal__close {
        top: 50%;
        right: 12px;
    }

    .t10-rsvp-modal__heading {
        font-size: 15px;
    }

    .t10-rsvp-modal__body {
        max-height: calc(100dvh - 74px);
        padding: 15px 28px 16px;
    }

    .t10-rsvp-modal .rsvp-section__attendance-choices {
        grid-template-columns: 1fr;
    }
}

/* Gift section */
.gift__subtitle {
    color: #4D4638;
    text-align: center;
    font-family: 'Inter';
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 24px;
    width: min(100%, 500px);
    margin: auto;
    margin-bottom: 24px;
}

.gift-box__image {
    position: absolute;
    width: 100%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    object-fit: contain;
}

.gift-box:not(.gift-box--disabled) .gift-box__image,
.gift-box:not(.gift-box--disabled) .gift-box__button {
    animation: gift-box-shake 2.8s ease-in-out infinite;
}

@keyframes gift-box-shake {

    0%,
    58%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    62% {
        transform: translate(-50%, -50%) rotate(-2.5deg);
    }

    66% {
        transform: translate(-50%, -50%) rotate(2.5deg);
    }

    70% {
        transform: translate(-50%, -50%) rotate(-1.6deg);
    }

    74% {
        transform: translate(-50%, -50%) rotate(1.6deg);
    }

    78% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.gift-box__button {
    position: absolute;
    width: 56px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.gift-box {
    appearance: none;
    border: none;
    height: 319px;
    padding: 24px 0;
    border-radius: 24px;
    background: #A08252;
    position: relative;
    width: 100%;
    cursor: pointer;
    width: min(100%, 500px);
}

.gift-box--disabled {
    cursor: default;
}

.gift-box:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .gift-box__image,
    .gift-box__button {
        animation: none !important;
    }
}

.gift {
    margin: auto;
    overflow: hidden;
    padding-bottom: 56px;
}

.gift__top {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
    min-width: 0;
    align-items: center;
}

.gift-qr-panel {
    display: grid;
    gap: 10px;
    border-radius: 18px;
    padding: 12px;
    width: fit-content;
}

.gift-qr-panel__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 500px);
    gap: 24px;
}

.gift__single {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gift-qr-placeholder {
    width: min(100%, 180px);
    aspect-ratio: 1;
}

.gift-qr-placeholder .ws-image-placeholder {
    min-height: 100%;
}

.gift-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gift-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gift-modal.is-manage-preview {
    top: var(--gift-modal-preview-top, 0px);
    bottom: auto;
    height: var(--gift-modal-preview-visible-height, 100vh);
}

.gift-modal.is-manage-preview .gift-modal__dialog {
    max-height: calc(var(--gift-modal-preview-visible-height, 100vh) - 40px);
}

.gift-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.gift-modal__dialog {
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 24px;
    background: #f7f1e6;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: min(500px, 100%);
}

.gift-modal__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    align-items: center;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url('../images/template-3/bg-frame.webp');
}

.gift-modal__title {
    color: #4B382A;
    text-align: center;
    font-family: "Great Vibes";
    font-size: clamp(28px, 3vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
}

.gift-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    color: #4B382A;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.gift-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.gift-qr-card__role {
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #4B382A;
    font-size: clamp(10px, 1.3vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gift-qr-card__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.gift-qr-card__image {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gift-qr-card__image img {
    display: block;
    padding: 8px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    background: #FFF;
    margin-bottom: 0;
    max-width: 146px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.gift-qr-card__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #4B382A;
    font-size: clamp(9px, 1.2vw, 12px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gift-qr-card__download-icon {
    display: grid;
    place-items: center;
}

.gift-qr-card__download-icon--done,
.gift-qr-card__download.is-downloaded .gift-qr-card__download-icon--down {
    display: none;
}

.gift-qr-card__download.is-downloaded .gift-qr-card__download-icon--done {
    display: grid;
}

.gift-qr-card__download.is-downloaded {
    background: rgba(255, 255, 255, 0.92);
    border-color: #4B382A;
    color: #355643;
}

.gift-qr-card__bank,
.gift-qr-card__number,
.gift-qr-card__name {
    max-width: 100%;
    word-break: break-word;
}

.gift-qr-card__bank {
    color: #4B382A;
    text-align: center;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
}

.gift-qr-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    color: #4B382A;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.gift-qr-card__number-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-qr-card__copy {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #4B382A;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    background: none;
    border: none;
}

.gift-qr-card__copy-icon {
    display: grid;
    place-items: center;
}

.gift-qr-card__copy-icon--done,
.gift-qr-card__copy.is-copied .gift-qr-card__copy-icon--copy {
    display: none;
}

.gift-qr-card__copy.is-copied .gift-qr-card__copy-icon--done {
    display: grid;
}

.gift-qr-card__copy.is-copied {
    background: #FFF;
    border-color: #4B382A;
    color: #355643;
}

.gift-qr-card__name {
    color: #4B382A;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
}

.gift__text {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: clamp(16px, 2vw, 17px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    padding-inline: 24px;
    margin: 0;
    max-width: 400px;
}

.gift-qr-card--panel {
    min-width: 0;
    gap: 4px;
}

.gift-qr-card--panel .gift-qr-card__role {
    margin: 0 0 4px;
    padding: 3px 8px;
    font-size: clamp(9px, 1.2vw, 12px);
    letter-spacing: 0.1em;
    background: rgba(53, 86, 67, 0.08);
    color: #4B382A;
}

.gift-qr-card--panel .gift-qr-card__image img {
    padding: 4px;
    max-width: 100px;
    width: 100%;
    border: 1px solid rgba(53, 86, 67, 0.12);
    border-radius: 6px;
}

.gift-qr-card--panel .gift-qr-card__download {
    background: rgba(53, 86, 67, 0.06);
    color: #4B382A;
    font-size: clamp(8px, 1.1vw, 11px);
    padding: 3px 6px;
}

.gift-qr-card--panel .gift-qr-card__download.is-downloaded {
    border-color: #355643;
    color: #4B382A;
}

.gift-qr-card--panel .gift-qr-card__bank,
.gift-qr-card--panel .gift-qr-card__number,
.gift-qr-card--panel .gift-qr-card__name {
    color: #4B382A;
    text-align: center;
    width: 100%;
}

.gift-qr-card--panel .gift-qr-card__bank {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 500;
}

.gift-qr-card--panel .gift-qr-card__number {
    gap: 3px;
    padding: 3px 4px;
    width: 100%;
    box-sizing: border-box;
}

.gift-qr-card--panel .gift-qr-card__number.is-copied {
    background: rgba(53, 86, 67, 0.08);
}

.gift-qr-card--panel .gift-qr-card__number-value {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gift-qr-card--panel .gift-qr-card__copy {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(53, 86, 67, 0.06);
    color: #4B382A;
    border: none;
}

.gift-qr-card--panel .gift-qr-card__copy.is-copied {
    border-color: #355643;
    color: #4B382A;
}

.gift-qr-card--panel .gift-qr-card__name {
    font-size: clamp(9px, 1.2vw, 12px);
    line-height: 1.4;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.85;
}

@media screen and (min-width: 501px) {
    .gift-qr-card--panel .gift-qr-card__image img {
        max-width: 96px;
    }
}

@media screen and (max-width: 500px) {
    .gift-modal {
        padding: 16px;
    }

    .gift-modal__content {
        padding: 20px 16px;
    }

    .gift__text {
        padding-inline: 32px;
    }

    .thanks__bg-top-left {
        width: 75px;
    }

    .thanks__bg-bottom-right {
        width: 110px;
    }
}

@media screen and (min-width: 768px) {
    .gift__top {
        bottom: 80px;
    }


    .gift-qr-card__image img {
        max-width: 180px;
    }

    .gift-qr-card--panel .gift-qr-card__image img {
        max-width: 160px;
    }

    .envelop-center {
        bottom: 30px;
        top: unset;
    }

    .envelop-paper {
        top: 66px;
        max-height: 250px;
    }

    .envelop-content-anchor {
        top: 65%;
    }
}

[data-t10-gift-open].t10-action-button {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

.t10-gift-modal[hidden] {
    display: none !important;
}

.t10-gift-modal {
    position: fixed;
    z-index: 10060;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    font-family: 'Quicksand', sans-serif;
}

.t10-gift-modal button,
.t10-gift-modal a {
    font-family: inherit;
}

.t10-gift-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(36, 17, 13, .62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.t10-gift-modal__dialog {
    position: relative;
    width: min(500px, 100%);
    max-height: min(780px, calc(100dvh - 40px));
    overflow: auto;
    padding: 0;
    border-radius: 24px;
    background: #f3e8e2;
    box-shadow: 0 24px 70px rgba(37, 13, 8, .3);
    animation: t10-gift-modal-in .24s ease-out both;
}

.t10-gift-modal.is-manage-preview .t10-gift-modal__dialog {
    max-height: min(780px, calc(var(--t10-gift-modal-preview-height, 100vh) - 40px));
}

.t10-gift-modal__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 100%;
    padding: 24px;
    background-image:
        linear-gradient(rgba(255, 250, 247, .8), rgba(255, 250, 247, .88)),
        url('../images/template-3/bg-frame.webp');
    background-position: center;
    background-size: cover;
}

@keyframes t10-gift-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.t10-gift-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #6d332a;
    background: #f3e5df;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.t10-gift-modal__title {
    margin: 0 36px 0;
    color: #7f1f15;
    font: 600 22px/1.3 'Quicksand', sans-serif;
    text-align: center;
}

.t10-gift-modal__subtitle {
    max-width: 420px;
    margin: 0;
    color: #795f59;
    font: 400 14px/1.55 'Quicksand', sans-serif;
    text-align: center;
}

.t10-gift-modal .gift-qr-panel,
.t10-gift-modal .gift__single {
    width: 100%;
    margin: 0;
    padding: 12px;
    background: transparent;
}

.t10-gift-modal .gift-qr-panel__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.t10-gift-modal .gift-qr-card {
    width: 100%;
    min-width: 0;
    margin: 0;
}

html.t10-dialog-open,
body.t10-dialog-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .t10-gift-modal {
        align-items: end;
        padding: 8px;
    }

    .t10-gift-modal__dialog {
        max-height: calc(100dvh - 16px);
        border-radius: 22px;
    }

    .t10-gift-modal.is-manage-preview .t10-gift-modal__dialog {
        max-height: calc(var(--t10-gift-modal-preview-height, 100vh) - 16px);
    }

    .t10-gift-modal__content {
        padding: 24px 18px 20px;
    }

    .t10-gift-modal__title {
        font-size: 20px;
    }
}

/* Love Story Section */
.lovestory {
    --lovestory-red: #711c17;
    box-sizing: border-box;
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--lovestory-red);
    padding-top: 20px;
}

.lovestory__content {
    padding: 0 14px;
}

.lovestory__intro {
    margin: 0;
    color: var(--lovestory-red);
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-size: clamp(11px, 2.9cqi, 15px);
    font-weight: 400;
    line-height: 1.9;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.lovestory__header {
    padding: clamp(28px, 7cqi, 38px) 22px clamp(30px, 8cqi, 44px);
    text-align: center;
}

.lovestory__countdown {
    width: min(100%, 430px);
    margin: 0 auto;
}

.lovestory__title {
    margin: 0 0 7px;
    color: var(--lovestory-red);
    font-family: 'Philosopher', Georgia, serif;
    font-size: clamp(13px, 3.2cqi, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lovestory__countdown-title {
    margin: 0 0 8px;
    color: var(--lovestory-red);
    font-family: 'Philosopher', Georgia, serif;
    font-size: clamp(22px, 5.8cqi, 26px);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.lovestory__countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(18px, 5cqi, 26px);
}

.lovestory__countdown-unit {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0 6px;
}

.lovestory__countdown-unit:not(:last-child)::after {
    position: absolute;
    top: 1px;
    right: -3px;
    color: rgba(113, 28, 23, .7);
    content: ':';
    font-family: "UVN Ai Cap Nhe", sans-serif;
    font-size: clamp(20px, 5.4cqi, 27px);
    font-weight: 400;
    line-height: 1;
}

.lovestory__countdown-number {
    color: var(--lovestory-red);
    font-family: "UVN Ai Cap Nhe", sans-serif;
    font-size: clamp(23px, 6.4cqi, 32px);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    line-height: 1;
}

.lovestory__countdown-label {
    margin-top: 8px;
    color: #8e473e;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(8px, 2.2cqi, 11px);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.lovestory__visual-card {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(14px, 4cqi, 22px);
    width: calc(100% - 8px);
    margin: 0 4px;
    padding: clamp(22px, 6cqi, 32px) clamp(14px, 4cqi, 22px);
    border-radius: clamp(14px, 4cqi, 22px);
    background: var(--lovestory-red);
    box-sizing: border-box;
}

.lovestory__visual-card--calendar-only,
.lovestory__visual-card--photo-only {
    grid-template-columns: minmax(0, 1fr);
}

.lovestory__portrait {
    min-width: 0;
    margin: 0;
    padding: clamp(8px, 2cqi, 11px);
    border-radius: 3px;
    background: #fff9f6;
    box-sizing: border-box;
}

.lovestory__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 30%;
}

.lovestory__portrait figcaption {
    padding: clamp(8px, 2.5cqi, 14px) 0 clamp(1px, 1cqi, 5px);
    color: var(--lovestory-red);
    font-family: 'The Artisan', 'Faugllin Balseyn', cursive;
    font-size: clamp(16px, 4cqi, 20px);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.lovestory__visual-card--photo-only .lovestory__portrait {
    width: min(100%, 280px);
    justify-self: center;
}

.lovestory__calendar {
    min-width: 0;
    box-sizing: border-box;
}

.lovestory__calendar-header {
    margin: 0 4px clamp(12px, 4cqi, 20px);
}

.lovestory__calendar-month {
    margin: 0 0 9px;
    color: #fff9f6;
    font-family: "BrikeyMoura Regular", serif;
    font-size: clamp(21px, 5.2cqi, 28px);
    font-weight: 400;
    line-height: 1;
    text-align: right;
}

.lovestory__calendar-rule {
    position: relative;
    height: 2px;
    margin-right: 5px;
    background: rgba(255, 249, 246, .7);
}

.lovestory__calendar-rule::after {
    position: absolute;
    top: 50%;
    right: -5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff9f6;
    content: '';
    transform: translateY(-50%);
}

.lovestory__calendar-table {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

.lovestory__weekday {
    height: 26px;
    padding: 0 0 2px;
    border: 0;
    background: transparent;
    color: #fff9f6;
    font-family: "BrikeyMoura Regular", serif;
    font-size: 12px;
    font-size: clamp(9px, 2.5cqi, 12px);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
}

.lovestory__day {
    position: relative;
    height: 28px;
    height: clamp(24px, 5.6cqi, 30px);
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff9f6;
    font-family: "BrikeyMoura Regular", serif;
    font-size: 14px;
    font-size: clamp(11px, 2.8cqi, 14px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}

.lovestory__calendar-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(27px, 7cqi, 34px);
    height: auto;
    overflow: visible;
    fill: none;
    stroke: #fff9f6;
    stroke-width: 2.5;
    transform: translate(-50%, -48%);
    transform-origin: center;
    animation: lovestory-calendar-heartbeat 1.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lovestory-calendar-heartbeat {

    0%,
    100% {
        transform: translate(-50%, -48%) scale(1);
    }

    14% {
        transform: translate(-50%, -48%) scale(1.14);
    }

    28% {
        transform: translate(-50%, -48%) scale(1);
    }

    42% {
        transform: translate(-50%, -48%) scale(1.09);
    }

    70% {
        transform: translate(-50%, -48%) scale(1);
    }
}

.lovestory__day-number {
    position: relative;
    z-index: 1;
    color: inherit;
    font-family: 'Quicksand', sans-serif;
    font-size: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .lovestory__calendar-heart {
        animation: none;
    }
}

.lovestory__day--event {
    color: #fff9f6;
}

.lovestory__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.lovestory__portrait--no-image {
    min-width: 0;
}

.lovestory__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

@container (max-width: 390px) {
    .lovestory__header {
        padding-inline: 16px;
    }

    .lovestory__countdown-unit {
        padding-inline: 4px;
    }

    .lovestory__visual-card {
        gap: 12px;
        padding: 20px 12px;
    }
}

/* Action dock */
.t10-action-dock {
    position: fixed;
    z-index: 10020;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    width: min(500px, calc(100% - 24px));
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    transform: translateX(-50%);
    transition: gap .3s ease, opacity .3s ease, transform .3s ease;
}

/* Keep the actions behind the invitation envelope until it opens. */
.ws-template-3-envelope-scene:not(.hidden) {
    z-index: 10070;
}

html.ws-template-3-envelope-locked .t10-action-dock {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
}

.t10-action-dock__item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transform-origin: right bottom;
    transition: opacity .22s ease, transform .3s ease, visibility 0s linear 0s;
}

.t10-action-dock__item--guestbook {
    min-width: 0;
    flex: 1 1 auto;
}

.t10-action-dock.is-collapsed .t10-action-dock__item {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.96);
    transition-delay: 0s, 0s, .3s;
}

.t10-action-dock.is-guestbook-open .t10-action-dock__item--secondary,
.t10-action-dock.is-guestbook-open .t10-action-dock__switch {
    display: none;
}

.t10-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 56px;
    height: 54px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #fff;
    background: #272528;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font: 600 13px/1.15 Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    transition: transform .2s ease, background-color .2s ease;
}

.t10-action-button:hover {
    background: #343134;
    transform: translateY(-2px);
}

.t10-action-button:focus-visible {
    outline: 3px solid rgba(143, 32, 20, .28);
    outline-offset: 3px;
}

.t10-action-button svg {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
}

.t10-action-dock__switch {
    flex: 0 0 auto;
    width: 54px;
    padding: 0;
    border-radius: 50%;
}

.t10-action-dock__switch .t10-action-dock__switch-menu {
    display: none;
}

.t10-action-dock.is-collapsed .t10-action-dock__switch-menu {
    display: block;
}

.t10-action-dock.is-collapsed .t10-action-dock__switch-close {
    display: none;
}

@media (max-width: 520px) {
    .t10-action-dock {
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
        gap: 6px;
        width: calc(100% - 16px);
        padding: 0;
    }

    .t10-action-button {
        width: 50px;
        min-width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
    }

    .t10-action-button__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.t10-action-dock {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    gap: 6px;
    width: min(360px, calc(100% - 32px));
    transition: width .3s ease, gap .3s ease, opacity .3s ease, transform .3s ease;
}

.t10-action-dock.is-collapsed {
    gap: 0;
    width: 42px;
}

.t10-action-dock.is-guestbook-open {
    width: min(420px, calc(100% - 32px));
}

.t10-action-button,
[data-t10-gift-open].t10-action-button,
.t10-action-dock__switch {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(113, 28, 23, .2);
    border-radius: 50%;
    color: #711c17;
    background: rgba(255, 253, 249, .92);
    box-shadow: 0 4px 14px rgba(75, 34, 29, .12);
    font-size: 12px;
}

.t10-action-button:hover {
    color: #711c17;
    background: #fff8f4;
    transform: translateY(-1px);
}

.t10-action-button svg {
    width: 18px;
    height: 18px;
}

/*
 * Gently call attention to the two important invitation actions. The prompts
 * alternate, run only three times, and remain available on hover/focus.
 */
.t10-action-dock__item--attention>.t10-action-button {
    position: relative;
    animation: t10-action-button-glow 12s ease-in-out 3 both;
}

.t10-action-dock__item--attention>.t10-action-button>svg {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    animation: t10-action-icon-zoom 12s cubic-bezier(.22, .8, .3, 1) 3 both;
}

.t10-action-dock__item--attention>.t10-action-button::before,
.t10-action-dock__item--attention>.t10-action-button::after {
    position: absolute;
    left: 50%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.t10-action-dock__item--attention>.t10-action-button::before {
    content: attr(aria-label);
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: min(240px, calc(100vw - 24px));
    padding: 7px 10px;
    border: 1px solid rgba(113, 28, 23, .12);
    border-radius: 9px;
    color: #fff;
    background: rgba(79, 23, 20, .94);
    box-shadow: 0 6px 18px rgba(75, 34, 29, .18);
    font: 600 12px/1.3 'Quicksand', Arial, sans-serif;
    white-space: normal;
    text-align: center;
    transform: translate(-50%, 5px) scale(.97);
    transform-origin: 50% 100%;
    animation: t10-action-tooltip-bubble 12s cubic-bezier(.2, .8, .25, 1) 3 both;
}

.t10-action-dock__item--attention>.t10-action-button::after {
    content: '';
    bottom: calc(100% + 4px);
    width: 10px;
    height: 10px;
    border-radius: 1px;
    background: rgba(79, 23, 20, .94);
    transform: translate(-50%, 2px) rotate(45deg) scale(.8);
    animation: t10-action-tooltip-arrow 12s cubic-bezier(.2, .8, .25, 1) 3 both;
}

.t10-action-dock__item--rsvp>.t10-action-button,
.t10-action-dock__item--rsvp>.t10-action-button>svg,
.t10-action-dock__item--rsvp>.t10-action-button::before,
.t10-action-dock__item--rsvp>.t10-action-button::after {
    animation-delay: 1.2s;
}

.t10-action-dock__item--gift>.t10-action-button,
.t10-action-dock__item--gift>.t10-action-button>svg,
.t10-action-dock__item--gift>.t10-action-button::before,
.t10-action-dock__item--gift>.t10-action-button::after {
    animation-delay: 7.2s;
}

html.ws-template-3-envelope-locked .t10-action-dock__item--attention>.t10-action-button,
html.ws-template-3-envelope-locked .t10-action-dock__item--attention>.t10-action-button>svg,
html.ws-template-3-envelope-locked .t10-action-dock__item--attention>.t10-action-button::before,
html.ws-template-3-envelope-locked .t10-action-dock__item--attention>.t10-action-button::after,
.t10-action-dock.is-collapsed .t10-action-dock__item--attention>.t10-action-button,
.t10-action-dock.is-collapsed .t10-action-dock__item--attention>.t10-action-button>svg,
.t10-action-dock.is-collapsed .t10-action-dock__item--attention>.t10-action-button::before,
.t10-action-dock.is-collapsed .t10-action-dock__item--attention>.t10-action-button::after {
    animation-play-state: paused;
}

.t10-action-dock__item--attention>.t10-action-button:hover::before,
.t10-action-dock__item--attention>.t10-action-button:focus-visible::before {
    opacity: 1;
    visibility: visible;
    animation: none;
    transform: translate(-50%, 0) scale(1);
}

.t10-action-dock__item--attention>.t10-action-button:hover::after,
.t10-action-dock__item--attention>.t10-action-button:focus-visible::after {
    opacity: 1;
    visibility: visible;
    animation: none;
    transform: translate(-50%, 0) rotate(45deg) scale(1);
}

.t10-action-dock__item--attention>.t10-action-button:hover,
.t10-action-dock__item--attention>.t10-action-button:focus-visible,
.t10-action-dock__item--attention>.t10-action-button:hover>svg,
.t10-action-dock__item--attention>.t10-action-button:focus-visible>svg {
    animation-play-state: paused;
}

@keyframes t10-action-button-glow {

    0%,
    2.8%,
    7.8%,
    100% {
        box-shadow: 0 4px 14px rgba(75, 34, 29, .12), 0 0 0 0 rgba(113, 28, 23, 0);
    }

    4.2% {
        box-shadow: 0 3px 10px rgba(75, 34, 29, .1), 0 0 0 0 rgba(113, 28, 23, 0);
    }

    6% {
        box-shadow: 0 7px 20px rgba(75, 34, 29, .2), 0 0 0 6px rgba(113, 28, 23, .11);
    }

    7.2% {
        box-shadow: 0 5px 16px rgba(75, 34, 29, .16), 0 0 0 3px rgba(113, 28, 23, .07);
    }
}

@keyframes t10-action-icon-zoom {

    0%,
    2.8%,
    7.8%,
    100% {
        filter: drop-shadow(0 0 0 rgba(113, 28, 23, 0));
        transform: translateY(0) scale(1);
    }

    3.2% {
        transform: translateY(0) scale(.94);
    }

    4.2% {
        filter: drop-shadow(0 1px 1px rgba(113, 28, 23, .08));
        transform: translateY(1px) scale(.7);
    }

    4.8% {
        transform: translateY(0) scale(.78);
    }

    6% {
        filter: drop-shadow(0 4px 5px rgba(113, 28, 23, .28));
        transform: translateY(-2px) scale(1.26);
    }

    6.7% {
        transform: translateY(0) scale(.94);
    }

    7.25% {
        filter: drop-shadow(0 2px 3px rgba(113, 28, 23, .16));
        transform: translateY(-1px) scale(1.08);
    }

    7.55% {
        transform: translateY(0) scale(.985);
    }
}

@keyframes t10-action-tooltip-bubble {

    0%,
    7.79%,
    31%,
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px) scale(.86);
    }

    7.8% {
        opacity: 0;
        visibility: visible;
        transform: translate(-50%, 8px) scale(.86);
    }

    9.4% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -2px) scale(1.055);
    }

    11.2%,
    27% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0) scale(1);
    }

    29.5% {
        opacity: 0;
        visibility: visible;
        transform: translate(-50%, -2px) scale(.98);
    }
}

@keyframes t10-action-tooltip-arrow {

    0%,
    7.79%,
    31%,
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 5px) rotate(45deg) scale(.65);
    }

    7.8% {
        opacity: 0;
        visibility: visible;
        transform: translate(-50%, 5px) rotate(45deg) scale(.65);
    }

    9.4% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -1px) rotate(45deg) scale(1.12);
    }

    11.2%,
    27% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0) rotate(45deg) scale(1);
    }

    29.5% {
        opacity: 0;
        visibility: visible;
        transform: translate(-50%, -1px) rotate(45deg) scale(.85);
    }
}

@media (prefers-reduced-motion: reduce) {

    .t10-action-dock__item--attention>.t10-action-button,
    .t10-action-dock__item--attention>.t10-action-button>svg,
    .t10-action-dock__item--attention>.t10-action-button::before,
    .t10-action-dock__item--attention>.t10-action-button::after {
        animation: none;
        transition: none;
    }
}

#ws-guestbook-message.t10-guestbook-trigger {
    height: 42px;
    min-height: 42px;
    min-width: 0;
    padding: 0 42px 0 14px;
    border: 1px solid rgba(113, 28, 23, .2);
    color: #4f1714;
    background: rgba(255, 253, 249, .92);
    box-shadow: 0 4px 14px rgba(75, 34, 29, .12);
    font-size: 12px;
    line-height: 40px;
}

#ws-guestbook-message.t10-guestbook-trigger:hover {
    color: #4f1714;
    background: #fff8f4;
}

#ws-guestbook-message.t10-guestbook-trigger::placeholder {
    color: rgba(79, 23, 20, .62);
}

.t10-guestbook-chat {
    border-color: rgba(113, 28, 23, .16);
    color: #4f1714;
    background: rgba(255, 250, 246, .98);
    box-shadow: 0 14px 42px rgba(75, 34, 29, .2);
}

.t10-guestbook-chat__header {
    border-bottom-color: rgba(113, 28, 23, .1);
    background: #fffaf6;
}

.t10-guestbook-chat__handle {
    background: rgba(113, 28, 23, .22);
}

.t10-guestbook-chat__title {
    color: #711c17;
}

.t10-guestbook-chat__header .t10-guestbook-chat__close {
    color: #711c17;
    background: rgba(113, 28, 23, .07);
}

.t10-guestbook-chat__header .t10-guestbook-chat__close:hover {
    background: rgba(113, 28, 23, .12);
}

.t10-guestbook-chat__composer {
    border-top-color: rgba(113, 28, 23, .1);
    background: #fffaf6;
}

.t10-guestbook-chat__composer .t10-guestbook-chat__field input,
.t10-guestbook-chat__composer #ws-guestbook-message.t10-guestbook-trigger {
    border-color: rgba(113, 28, 23, .18);
    color: #4f1714;
    background: rgba(255, 255, 255, .88);
}

.t10-guestbook-chat__composer .t10-guestbook-chat__field input::placeholder,
.t10-guestbook-chat__composer #ws-guestbook-message.t10-guestbook-trigger::placeholder {
    color: rgba(79, 23, 20, .5);
}

.vowry-me {
    color: #7b1d18;
    text-transform: unset;
    bottom: 70px;
    opacity: .3;
}

/* Music button */
.ws-t10-music-button {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 9999999;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: min(500px, 100%);
    padding-left: 10px;
    box-sizing: border-box;
    pointer-events: none;
    transform: translateX(-50%);
}

.ws-t10-music-button .ws-music-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #d2d2d2;
    border-radius: 50%;
    color: #8f2019;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .18);
    cursor: pointer;
    pointer-events: auto;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ws-t10-music-button .ws-music-toggle:hover {
    border-color: #bdbdbd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

.ws-t10-music-button .ws-music-toggle:focus-visible {
    outline: 3px solid rgba(143, 32, 25, .28);
    outline-offset: 3px;
}

.ws-t10-music-button .ws-music-toggle[disabled] {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.ws-t10-music-button .ws-music-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.ws-t10-music-button .ws-music-toggle__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ws-t10-music-button .ws-music-toggle__icon--pause {
    display: none;
}

.ws-t10-music-button.is-playing .ws-music-toggle__icon--play {
    display: none;
}

.ws-t10-music-button.is-playing .ws-music-toggle__icon--pause {
    display: inline-flex;
}

.ws-t10-music-button .ws-music-wave-bars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 20px;
    height: 20px;
}

.ws-t10-music-button .ws-music-wave-bars span {
    display: block;
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    animation: ws-t10-music-bar 1.5s cubic-bezier(.45, 0, .55, 1) infinite;
}

.ws-t10-music-button .ws-music-wave-bars span:nth-child(1) {
    animation-delay: -.5s;
}

.ws-t10-music-button .ws-music-wave-bars span:nth-child(2) {
    animation-delay: -.25s;
}

.ws-t10-music-button .ws-music-wave-bars span:nth-child(3) {
    animation-delay: 0s;
}

.ws-t10-music-button.needs-tap .ws-music-toggle {
    animation: ws-t10-music-pulse 1.4s ease-out infinite;
}

@keyframes ws-t10-music-bar {

    0%,
    100% {
        transform: scaleY(.35);
    }

    50% {
        transform: scaleY(1);
    }
}

@keyframes ws-t10-music-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(143, 32, 25, .42);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(143, 32, 25, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(143, 32, 25, 0);
    }
}

/* Keep Template 10's photo viewer above the persistent action dock. */
.ws-album-lightbox[data-ws-album-lightbox] {
    z-index: 10080;
}
