/* Custom Overrides for Mobile Wedding Invitation */

#vara-container {
    font-family: Arial, sans-serif;
}

.invitation-header {
    font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.5rem);
}
/* Location 섹션 배경을 흰색으로 변경 + 상단 패딩 줄이기 */

.location {
    background-color: var(--white) !important;
    padding: 2em 2em 4em 2em !important;
}

/* 공유 섹션 배경색을 확실히 흰색으로 설정 */
.share-section {
    background-color: #FFFFFF !important;
    padding: 2em 0;
}

.image-overlay-share {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 2em;
}

/* 기존 location-top-wave 관련 스타일 무효화 */
.location-top-wave {
    display: none !important;
}

/* 지도 버튼 배경 색상 제거 (아이콘과 텍스트만 표시) */
.map-buttons-container {
    background: transparent !important;
}

.map-button {
    background: transparent !important;
}

.map-button:hover {
    background: transparent !important;
}

.map-button:focus {
    outline: none;
}

.map-button:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 주소 텍스트 스타일 */
.address-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1em;
    color: var(--primary-color);
    margin-top: 0.5em;
    text-align: center;
}

.account-trapezoid .account-title {
    margin-bottom: 0.9em;
}

.account-description {
    margin: 0 0 2.2em;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.93em;
    line-height: 1.85;
    color: #68715f;
}

.account-description p {
    margin: 0;
}

/* 텍스트 정렬 */
.button-text {
    text-align: left !important;
    flex: 1;
}

/* === 사진 업로드 섹션 === */
.photo-upload-section {
    background: var(--bg-color) !important; /* 양 옆 여백은 베이지색 */
    padding: 4em 0;
    position: relative;
}

/* 내부 컨텐츠 래퍼 (중앙만 흰색) */
.photo-upload-section > * {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2em;
    padding-right: 2em;
    background: white; /* 모든 직접 자식에 흰색 배경 */
}

/* Snaps 헤더 이미지 */
.snaps-header-image {
    display: block;
    margin: 0 auto 0 auto !important;
    max-width: 200px;
    width: 100%;
    height: auto;
    padding: 2em 2em 0 2em !important; /* 상단 패딩만 */
    background: white;
    border-radius: 16px 16px 0 0;
}

.photo-upload-section .header {
    text-align: center;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    background: white;
    padding: 1em 2em 2em 2em !important;
    border-radius: 0; /* 중간 요소는 둥글지 않게 */
}

.photo-upload-section .photo-upload-container {
    background: white;
    padding: 0 2em 3em 2em !important;
    margin-top: 0 !important;
    border-radius: 0 0 16px 16px;
}

.photo-upload-section .title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}

.photo-upload-section .subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9em;
    color: var(--font-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    line-height: 1.4;
}

.photo-upload-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.upload-info {
    margin-bottom: 2em;
    text-align: center;
    background: white;
    border: 1px solid rgba(91, 117, 83, 0.2);
    border-radius: 16px;
    padding: 2em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.upload-description {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

#photo-upload-form {
    background: white;
    border: 1px solid rgba(91, 117, 83, 0.2);
    border-radius: 16px;
    padding: 2.5em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5em;
}

.form-label {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5em;
    font-size: 0.95em;
}

.required {
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.8em;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 2em;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    cursor: pointer;
    color: #666;
    font-family: 'Noto Sans KR', sans-serif;
}

.file-upload-label i {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.file-upload-hint {
    font-size: 0.85em;
    color: #999;
}

.file-preview {
    margin-top: 1em;
}

.file-count {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1em;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8em;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-preview-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-preview-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.photo-upload-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
    color: white;
    border: none;
    padding: 1em 2em;
    border-radius: 30px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(91, 117, 83, 0.3);
}

.photo-upload-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 117, 83, 0.4);
}

.photo-upload-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.upload-progress {
    margin-top: 1.5em;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5em;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9em;
    color: #666;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .location {
        padding: 1.5em 1em 3em 1em !important;
    }

    .address-text {
        font-size: 0.9em;
    }

    .photo-upload-section {
        padding: 3em 1em;
    }

    .snaps-header-image {
        max-width: 180px;
    }

    .photo-upload-section .title {
        font-size: 1.2rem;
    }

    .upload-info {
        padding: 1.5em;
    }

    #photo-upload-form {
        padding: 2em;
    }

    .file-upload-area {
        padding: 1.5em;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.6em;
    }
}

@media (max-width: 480px) {
    .photo-upload-section {
        padding: 2em 1em;
    }

    .snaps-header-image {
        max-width: 150px;
    }

    .photo-upload-section .title {
        font-size: 1.1rem;
    }

    .upload-info {
        padding: 1.2em;
    }

    #photo-upload-form {
        padding: 1.5em;
    }

    .file-upload-area {
        padding: 1.2em;
    }

    .file-upload-label i {
        width: 36px;
        height: 36px;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}

/* =========================================
   커버 하단 화이트 페이드 + 타이틀 색상
   (아래 letter 섹션이 #fff 이므로 흰색으로 이어지게 처리)
   ========================================= */

.cover {
    position: relative;
}

/* 사진 아래쪽을 흰색으로 서서히 녹여 다음 섹션과 자연스럽게 연결 */
.cover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 28%,
        rgba(255, 255, 255, 0.62) 50%,
        rgba(255, 255, 255, 0.90) 72%,
        #ffffff 90%
    );
    pointer-events: none;
    z-index: 1;
}

/* 페이드 위로 글자가 올라오도록 */
.cover-title-container {
    z-index: 3;
}

.names-kr-box {
    z-index: 4;
}

/* 하단 타이틀을 테마 핑크로 (흰 배경 위라 잘 읽힘) */
.names-en-box .names {
    color: var(--primary-color);
    text-shadow: none;
}

.event-date-and-time,
.event-place {
    color: var(--primary-color);
    text-shadow: none;
}


section.share-section {
    padding: 3.5em 0 1em;
}

.share-section .share-image-container {
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    background: #fff;
}

.share-section .share-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}

/* 위쪽은 흰 페이드로 앞 섹션과 자연스럽게 잇는다 */
/* 페이드는 사진보다 2px씩 넓게 깔아(틀이 잘라냄) 가장자리 픽셀에 사진 색이 비치지 않게 한다 */
.share-section .share-gradient-top,
.share-section .share-gradient-bottom {
    left: -2px;
    right: -2px;
}

.share-section .share-gradient-top {
    top: -2px;
    height: 22%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.share-section .share-gradient-bottom {
    display: block;
    bottom: -2px;
    height: 20%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.share-section .share-text-overlay {
    display: block;
    top: 15%;
    bottom: auto;
    left: 0;
    right: 0;
    max-width: none;
    text-align: center;
}

/* 인트로와 같은 Vara 손글씨 "Thank you" */
.share-section .share-eyebrow {
    width: 100%;
    height: 116px;
    margin: 0 0 0.2em;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.18));
}

.share-section .share-eyebrow.is-fallback {
    height: auto;
    font-family: 'Parisienne', cursive;
    font-size: 3.4em;
    line-height: 1.2;
    color: #fff;
}

.share-section .share-message {
    font-size: 1.02em;
    font-weight: 600;
    line-height: 1.9;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
    .share-section .share-eyebrow {
        height: 96px;
    }
}

/* =========================================
   카카오맵 (오시는 길)
   SDK가 뜨면 지도, 실패하면 정적 이미지로 폴백
   ========================================= */

.kakao-map {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

/* 기본은 지도를 쓰고, 폴백 이미지는 숨겨둔다 */
.map-image-fallback {
    display: none;
    cursor: pointer;
    position: relative;
}

.map-image-fallback .map-image {
    width: 100%;
    border-radius: 12px;
}

/* 장소명 라벨 */
.kakao-map-label {
    background: var(--primary-color);
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.kakao-map-label span {
    font-weight: 400;
    opacity: 0.85;
    margin-left: 2px;
}

.qna-section .accordion-container {
    gap: 0;
    counter-reset: faq;
    border-top: 1px solid rgba(67, 67, 67, 0.12);
}

.qna-section .accordion-item,
.qna-section .accordion-item:hover,
.qna-section .accordion-item.open {
    counter-increment: faq;
    border: 0;
    border-bottom: 1px solid rgba(67, 67, 67, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.qna-section .accordion-header {
    padding: 20px 0;
    gap: 12px;
    background: transparent;
    transition: none;
    -webkit-tap-highlight-color: transparent;
}

.qna-section .accordion-header:focus {
    outline: none;
}

.qna-section .accordion-header:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.qna-section .accordion-header::before {
    content: counter(faq, decimal-leading-zero);
    position: static;
    width: 24px;
    height: auto;
    flex-shrink: 0;
    background: none;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    transition: none;
}

.qna-section .question {
    flex: 1;
    padding-right: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    word-break: keep-all;
}

.qna-section .chevron {
    display: flex;
    color: var(--font-color-light);
}

.qna-section .chevron svg {
    width: 16px;
    height: 16px;
}

.qna-section .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none;
    opacity: 1;
    transition: grid-template-rows 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.qna-section .accordion-content.expanded {
    grid-template-rows: 1fr;
}

.qna-section .accordion-inner {
    min-height: 0;
    overflow: hidden;
}

.qna-section .answer {
    padding: 0 28px 24px 36px;
    border: 0;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.9;
    word-break: keep-all;
    animation: none;
    transform: translateY(-6px);
    transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.qna-section .accordion-content.expanded .answer {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .qna-section .answer {
        transform: none;
    }
}

.bgm-speaker-button::after {
    content: '';
    position: absolute;
    inset: -10px;
}

.bgm-speaker-control.detached {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
}

.bgm-speaker-button:hover:not(:disabled) {
    background: #696A6A;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bgm-speaker-button:focus:not(:focus-visible) {
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .bgm-speaker-button:hover:not(:disabled) {
        background: #5a5b5b;
    }
}

.gallery-lightbox-image {
    max-width: 100vw;
    max-height: 100vh;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    padding: 0;
}

.gallery-lightbox-close svg,
.gallery-lightbox-nav svg {
    flex-shrink: 0;
}

.gallery-lightbox-close svg {
    width: 24px;
    height: 24px;
}

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

.gallery-lightbox-nav {
    background: rgba(0, 0, 0, 0.55);
}

.gallery-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

body:has(> #gallery-lightbox[style*="display: flex"]) #bgm-speaker-control {
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

@media (max-width: 768px) {
    .gallery-lightbox-nav.prev {
        left: 8px;
    }

    .gallery-lightbox-nav.next {
        right: 8px;
    }

    .gallery-lightbox-close {
        top: 4px;
        right: 0;
    }

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

@media (max-width: 480px) {
    .kakao-map {
        height: 280px;
    }
}

/* === 오시는 길: 예식장 정보 + 교통편/주차 안내 카드 === */
.location .venue-info {
    text-align: center;
    margin: 0.5em 0 1.5em;
}

.location .venue-name {
    margin: 0 0 0.5em;
    font-size: 1.25em;
    font-weight: 600;
    color: #333;
}

.location .venue-address,
.location .venue-tel {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.8;
    color: #777;
}

.location .venue-tel a {
    color: inherit;
    text-decoration: none;
}

.location .transport-card {
    max-width: var(--content-max-width);
    margin: 1.5em auto 0;
    padding: 1.5em 1.4em;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    text-align: left;
}

.location .transport-card-title {
    margin: 0 0 1em;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.location .transport-routes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1em;
}

.location .transport-route {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
}

.location .transport-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    color: #333;
}

.location .transport-route-body {
    min-width: 0;
}

.location .transport-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.4em;
}

.location .transport-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.75em;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
}

.location .transport-desc {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.7;
    color: #666;
}

.location .transport-parking {
    margin-top: 1.4em;
    padding-top: 1.4em;
    border-top: 1px solid #e5e5e5;
}

.location .transport-card + .map-buttons-container {
    margin-top: 1.5em;
}

.chatbot-section {
    --chat-paper: #FAFBF8;
    --chat-thread: #EEF2E9;
    --chat-field: #F3F6EF;
    --chat-muted: #606A58;
    --chat-line: #E1E7DA;
    --chat-ink: #2F3A2B;
}

/* 셸: 그라데이션·그림자 없이 헤어라인 한 겹의 종이 카드 */
.chatbot-container {
    overflow-anchor: none;
    border: 1px solid var(--chat-line);
    border-radius: 20px;
    box-shadow: none;
    caret-color: var(--primary-color);
}

.chatbot-container ::selection { background: rgba(91, 117, 83, 0.22); }

/* 헤더: 대화방과 같은 연녹 종이 위에 이름만 */
.chatbot-container .chatbot-header {
    gap: 12px;
    padding: 14px 16px;
    background: var(--chat-thread);
    border-bottom: 1px solid var(--chat-line);
}

.chatbot-container .chatbot-profile {
    width: 44px;
    height: 44px;
    border: 2px solid var(--white);
    border-radius: 38%;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--chat-line);
}

.chatbot-container .chatbot-profile img { border-radius: inherit; }
.chatbot-container .chatbot-info { color: var(--chat-ink); }
.chatbot-container .chatbot-name {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary-color-dark);
}
.chatbot-container .chatbot-status { color: var(--chat-muted); font-size: 12px; opacity: 1; }

/* 대화 영역 */
.chatbot-container .chat-area {
    height: auto;
    min-height: 270px; /* 빈 방 높이. 전송 직후 줄어들어 입력창이 튀지 않게 */
    max-height: clamp(360px, 52svh, 480px);
    padding: 16px;
    gap: 12px;
    background: var(--chat-thread);
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 117, 83, 0.28) transparent;
}

.chatbot-container .chat-area::-webkit-scrollbar { width: 4px; }
.chatbot-container .chat-area::-webkit-scrollbar-track { background: transparent; }
.chatbot-container .chat-area::-webkit-scrollbar-thumb { background: rgba(91, 117, 83, 0.28); border-radius: 2px; }

/* 첫 화면: 위에서부터 바로 시작 */
.chatbot-container .empty-chat {
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0;
    padding: 10px 0 0; /* 헤더 선과 구고 사이 살짝 */
    text-align: left;
    color: inherit;
}

.chatbot-container .empty-chat-text {
    position: relative;
    max-width: calc(100% - 43px);
    padding: 12px 14px;
    margin: 20px 0 0 43px;
    background: var(--white);
    border-radius: 0 14px 14px 14px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--font-color-default);
    white-space: pre-wrap;
    word-break: keep-all;
    text-wrap: pretty;
}

/* 빠른 선택 프리셋: 대화창 아래, 입력창 위에 고정 (대화가 이어져도 유지) */
.chatbot-container .chat-quick-replies {
    padding: 12px 16px 14px;
    background: var(--chat-thread);
}

/* 추천 질문: 채팅방 공지처럼 가운데 제목 + 알약 */
.chatbot-container .suggested-questions-hint {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 12px;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    background: none;
    border-radius: 0;
    color: var(--primary-color-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.chatbot-container .suggested-questions-hint::before,
.chatbot-container .suggested-questions-hint::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(91, 117, 83, 0.4);
}

.chatbot-container .suggested-questions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    background: none;
    border-radius: 0;
}

/* 버튼: 연녹 채움 알약, 글자 폭에 맞춰 가운데 모음 */
.chatbot-container .suggested-question {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 36px;
    padding: 6px 16px;
    border: 0;
    border-radius: 999px;
    background: #DCE5D4;
    box-shadow: none;
    color: var(--primary-color-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
    transform: none;
    transition: background-color 140ms ease, transform 140ms ease;
    -webkit-tap-highlight-color: transparent;
}

.chatbot-container .suggested-question::before { content: ''; position: absolute; inset: -4px; } /* 44px 터치 영역 */

.chatbot-container .suggested-question:active {
    background: #C9D6C0;
    transform: scale(0.97);
}

/* 말풍선 */
.chatbot-container .message-bubble,
.chatbot-container .typing-indicator {
    position: relative;
    max-width: min(78%, 440px);
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.75;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    animation: chat-message-enter 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.chatbot-container .message-bubble.user {
    background: var(--primary-color);
    color: var(--white);
    border-top-right-radius: 0;
    transform-origin: bottom right;
    animation: chat-message-send 280ms cubic-bezier(0.19, 1, 0.22, 1);
}

.chatbot-container .message-bubble.bot,
.chatbot-container .typing-indicator {
    margin: 20px 0 0 43px;
    max-width: calc(100% - 43px);
    background: var(--white);
    color: var(--font-color-default);
    border-top-left-radius: 0;
}

/* 꼬리: 카카오톡처럼 위 모서리에서 살짝 위로 치켜 빠지는 곡선 (7x16 SVG, 말풍선 위로 3px, 안으로 1px 겹침) */
.chatbot-container .message-bubble.bot::after,
.chatbot-container .typing-indicator::after,
.chatbot-container .empty-chat-text::after,
.chatbot-container .message-bubble.user::after,
.chatbot-container .chat-send-surface::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 16px;
    background: no-repeat center / 100% 100%;
    pointer-events: none;
}

.chatbot-container .message-bubble.bot::after,
.chatbot-container .typing-indicator::after,
.chatbot-container .empty-chat-text::after {
    left: -6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 16'%3E%3Cpath d='M7 3C4.7 2 2.3 1 0 0c2.8 3 5.2 8 7 15z' fill='%23fff'/%3E%3C/svg%3E");
}

.chatbot-container .message-bubble.user::after,
.chatbot-container .chat-send-surface::after {
    right: -6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 16'%3E%3Cpath d='M0 3c2.3-1 4.7-2 7-3C4.2 3 1.8 8 0 15z' fill='%235B7553'/%3E%3C/svg%3E");
}

.chatbot-container .message-bubble.chat-send-destination::after { display: none; }

/* 이름표: 카카오톡처럼 첫 말풍선 위, 아바타 옆 */
.chatbot-container .message-bubble.bot::before,
.chatbot-container .typing-indicator::before,
.chatbot-container .empty-chat-text::before {
    content: '구고'; /* ponytail: CSS 고정 문구. 설정값으로 빼려면 config 키 + chatbot.js 두 줄 */
    position: absolute;
    left: 1px;
    bottom: calc(100% + 4px);
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    color: var(--chat-ink);
    white-space: nowrap;
}

/* 봇 답변은 오른쪽 바깥의 시각 자리를 남김 */
.chatbot-container .message-bubble.bot { max-width: min(calc(100% - 99px), 440px); }

.chat-area > .message-bubble:first-child { margin-top: 0; }
.chatbot-container[data-sending="true"] .typing-indicator { opacity: 0; animation: none; }
.chatbot-container[data-sending="true"] .chat-input { caret-color: transparent; }
.chatbot-container[data-sending="true"] .chat-input::placeholder { color: transparent; }

.chatbot-container .chat-send-surface,
.chatbot-container .chat-send-origin,
.chatbot-container .message-bubble.chat-send-destination {
    position: absolute;
    z-index: 3;
    max-width: none;
    margin: 0;
    pointer-events: none;
    transform-origin: top left;
    animation: none;
}

.chatbot-container .chat-send-surface { border-radius: 14px 0 14px 14px; }
.chatbot-container .chat-send-origin { white-space: pre-wrap; overflow-wrap: anywhere; overflow: hidden; }
.chatbot-container .message-bubble.chat-send-destination { background: transparent; }

.chatbot-container .chat-message-avatar {
    position: absolute;
    top: -20px; /* 이름표 줄에 맞춤 */
    left: -43px;
    width: 36px;
    height: 36px;
    max-width: none;
    border-radius: 38%;
    background: var(--white);
    object-fit: cover;
}

.chatbot-container .message-text { white-space: pre-wrap; overflow-wrap: anywhere; }

/* 시각: 카카오톡처럼 말풍선 바깥 아래쪽에 */
.chatbot-container .message-time {
    position: absolute;
    bottom: 4px;
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--chat-muted);
    opacity: 1;
    white-space: nowrap;
    text-align: left;
}

.chatbot-container .message-bubble.user .message-time { right: calc(100% + 6px); }
.chatbot-container .message-bubble.bot .message-time { left: calc(100% + 6px); }

.chatbot-container .typing-indicator { gap: 0; margin-top: 20px; padding: 14px 16px; }
.chatbot-container .typing-dots { gap: 5px; }
.chatbot-container .typing-dot { width: 7px; height: 7px; background: var(--primary-color); animation-name: chat-typing; }
.chatbot-container .typing-text { display: none; } /* 로딩은 점 세 개만 */

/* 입력창: 흰 종이 바 + 연녹 필드 + 사각 전송 버튼 */
.chatbot-container .chat-input-area {
    padding: 12px;
    border: 0;
    border-top: 1px solid var(--chat-line);
    background: var(--white);
}

.chatbot-container .chat-input-container {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.chatbot-container .chat-input-container:focus-within { box-shadow: none; }

.chatbot-container .chat-input {
    min-width: 0;
    min-height: 44px;
    max-height: 120px;
    padding: 10px 14px;
    border: 0;
    border-radius: 14px;
    background: var(--chat-field);
    color: var(--chat-ink);
    font-size: 16px;
    line-height: 24px;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 160ms ease, background-color 160ms ease;
}

.chatbot-container .chat-input:focus {
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(91, 117, 83, 0.55);
}

.chatbot-container .chat-input::placeholder { color: var(--chat-muted); font-size: 15px; }

.chatbot-container .chat-send-button {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
    transform: none;
    transition: transform 140ms ease, background-color 140ms ease;
    -webkit-tap-highlight-color: transparent;
}

.chatbot-container .chat-send-button::before { content: ''; position: absolute; inset: -2px; }
.chatbot-container .chat-send-button:disabled { opacity: 1; background: var(--primary-color-light); cursor: not-allowed; }
.chatbot-container .chat-send-button[aria-busy="true"] { background: var(--primary-color); opacity: 0.8; }

.chatbot-container .chat-send-button svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    stroke-width: 2.25 !important;
    animation: chat-send-icon 160ms ease-out;
}

.chatbot-container .chat-send-button svg.animate-spin { animation: spin 800ms linear infinite; }

/* 전송: 아이보리 종이비행기 (GPT 에셋) */
.chatbot-container .chat-send-plane {
    display: block;
    width: 19px;
    height: 19px;
    margin: 1px 0 0 1px; /* 비행기 무게중심 보정 */
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 1px 1px rgba(30, 44, 27, 0.28));
    animation: chat-send-icon 160ms ease-out;
    transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.chatbot-container .chat-send-button:hover:not(:disabled) {
    background: var(--primary-color);
    box-shadow: none;
    transform: none;
}

.chatbot-container .chat-send-button:active:not(:disabled) { transform: scale(0.95); }
.chatbot-container .chat-send-button:focus-visible,
.chatbot-container .suggested-question:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
.chatbot-container .chat-input:focus-visible { outline: none; }

@media (hover: hover) and (pointer: fine) {
    .chatbot-container .suggested-question:hover { background: #D2DDC9; }
    .chatbot-container .chat-send-button:hover:not(:disabled) { background: var(--primary-color-dark); }
    .chatbot-container .chat-send-button:hover:not(:disabled) .chat-send-plane {
        transform: translate(1.5px, -1.5px) rotate(-6deg);
    }
}

@keyframes chat-message-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes chat-message-send {
    from { opacity: 0; transform: translateY(24px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chat-send-icon {
    from { opacity: 0; transform: translateY(3px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chat-typing {
    0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-container .message-bubble,
    .chatbot-container .typing-indicator,
    .chatbot-container .typing-dot,
    .chatbot-container .chat-send-button svg,
    .chatbot-container .chat-send-plane,
    .chatbot-container .message-bubble.user { animation: none; transition: none; }
    .chatbot-container .chat-send-button,
    .chatbot-container .suggested-question,
    .chatbot-container .chat-input { transition: none; }
    .chatbot-container .chat-send-button:active:not(:disabled),
    .chatbot-container .suggested-question:active { transform: none; }
}


.location-tabs {
    width: calc(100% - 24px);
    max-width: 336px;
    gap: 0;
    padding: 4px;
    border-radius: 999px;
    background: rgba(67, 67, 67, 0.06);
}

.location-tab-indicator {
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    border-radius: 999px;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #68715f;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
}

.location-tab.active {
    color: var(--primary-color-dark, #3C5236);
    font-weight: 600;
}

.location-tab:focus {
    outline: none;
}

.location-tab:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================
   식사 안내 이미지 (2026-10-12 수채화 교체)
   ========================================= */
.dining-container {
    gap: 1.75em;
    width: 100%;
}

.dining-figure {
    margin: 0;
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    overflow: hidden;
    background: #EFEAE4;
    border: 1px solid rgba(91, 117, 83, 0.12);
    box-shadow: 0 10px 30px rgba(60, 82, 54, 0.08);
}

.dining-figure .dining-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.dining-text {
    padding: 0 1em;
    word-break: keep-all;
}

@media (max-width: 480px) {
    .dining-figure {
        border-radius: 14px;
    }
    .dining-text {
        padding: 0 0.25em;
    }
    .dining-text p {
        font-size: 0.95em;
    }
}

/* =========================================
   카카오맵 다듬기: 톤 다운 타일, 테마 핀, 커스텀 컨트롤, 터치 잠금
   ========================================= */
.map-image-container.is-map-ready {
    cursor: default;
}

.map-image-container.is-map-ready:hover {
    transform: none;
}

/* 지도 타일만 채도를 낮춰 세이지/페이퍼 톤에 맞춤 (핀/라벨은 영향 없음) */
#kakao-map img[src*="/tile/"] {
    filter: saturate(0.45) sepia(0.08) contrast(0.96) brightness(1.03);
}

.map-controls {
    display: none;
}

.is-map-ready .map-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(60, 82, 54, 0.14);
    overflow: hidden;
}

.map-control-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
}

.map-control-btn + .map-control-btn {
    border-top: 1px solid rgba(91, 117, 83, 0.14);
}

.map-control-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--primary-color-dark, #3C5236);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.map-control-btn:active {
    background: rgba(91, 117, 83, 0.12);
}

@media (hover: hover) {
    .map-control-btn:hover {
        background: rgba(91, 117, 83, 0.08);
    }
}

/* 모바일 터치 잠금 레이어 */
.map-touch-guard {
    display: none;
}

.is-map-ready.is-locked .map-touch-guard {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.map-touch-guard span {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: #fff;
    background: rgba(60, 82, 54, 0.82);
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* 예식장 핀 */
.venue-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    padding: 0;
    margin: 0 0 -7px;
    background: none;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    -webkit-tap-highlight-color: transparent;
    transform-origin: 50% 100%;
    animation: venue-pin-drop 0.6s cubic-bezier(0.32, 0.72, 0, 1) both;
}

.venue-pin-label {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color-dark, #3C5236);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    padding: 8px 13px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(60, 82, 54, 0.28);
}

.venue-pin-hall {
    margin-left: 7px;
    padding-left: 7px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 400;
    opacity: 0.85;
}

.venue-pin-stem {
    width: 2px;
    height: 12px;
    background: var(--primary-color-dark, #3C5236);
}

.venue-pin-dot {
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--primary-color-dark, #3C5236);
    border: 3px solid #fff;
    box-shadow: 0 0 0 0 rgba(91, 117, 83, 0.5);
    animation: venue-pin-pulse 2.2s ease-out infinite;
}

@keyframes venue-pin-drop {
    from { opacity: 0; transform: translateY(-10px) scale(0.92); }
    to { opacity: 1; transform: none; }
}

@keyframes venue-pin-pulse {
    0% { box-shadow: 0 0 0 0 rgba(91, 117, 83, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(91, 117, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(91, 117, 83, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .venue-pin,
    .venue-pin-dot {
        animation: none;
    }
}

@media (max-width: 480px) {
    .kakao-map {
        height: 300px;
    }
    .venue-pin-label {
        font-size: 12px;
        padding: 7px 11px;
    }
}


/* =========================================
   마음 전하기
   ========================================= */
.gift-list {
    --gift-line: rgba(67, 67, 67, 0.12);
    --gift-muted: #68715f;
    --gift-ease: cubic-bezier(0.32, 0.72, 0, 1);
    width: 100%;
    max-width: var(--content-max-width);
    border-top: 1px solid var(--gift-line);
}

.gift-group {
    border-bottom: 1px solid var(--gift-line);
}

/* 그룹 헤더 (신랑측/신부측) */
.gift-toggle {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 2px;
    margin: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: var(--font-color-default);
    -webkit-tap-highlight-color: transparent;
}

.gift-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 6px;
}

.gift-toggle-label {
    flex: 1;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.gift-toggle-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-toggle-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--font-color-default);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.gift-toggle-icon path {
    transform-origin: 12px 12px;
    transition: transform 0.36s var(--gift-ease);
}

.gift-group.is-open .gift-plus-v {
    transform: rotate(90deg);
}

/* 펼침 패널: grid-rows 0fr→1fr로 부드럽게 */
.gift-panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.42s var(--gift-ease), visibility 0s linear 0.42s;
}

.gift-group.is-open .gift-panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.42s var(--gift-ease), visibility 0s;
}

.gift-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.gift-accounts {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.42s var(--gift-ease);
}

.gift-group.is-open .gift-accounts {
    opacity: 1;
    transform: none;
}

/* 계좌 한 줄: 복사 버튼의 ::after가 행 전체를 덮어 터치 영역을 넓힘 */
.gift-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 16px 2px;
}

.gift-account + .gift-account {
    border-top: 1px solid var(--gift-line);
}

.gift-account-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gift-account-person,
.gift-account-bank {
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 6px;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: left;
}

.gift-account-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gift-muted);
}

.gift-account-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--font-color-default);
}

.gift-account-bank {
    font-size: 0.88rem;
    color: var(--gift-muted);
    row-gap: 2px;
}

.gift-account-number {
    flex-basis: 100%;
    color: var(--font-color-default);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    word-break: keep-all;
}

/* 복사 버튼: 왁스씰 (문구 없이 씰 + 토스트로 인지) */
.gift-copy {
    position: static;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: -4px 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* 행 전체를 탭해도 복사 (씰만 누를 필요 없음) */
.gift-copy::after {
    content: '';
    position: absolute;
    inset: 0;
}

.gift-seal {
    display: block;
    width: 44px;
    height: 44px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.gift-account:has(.gift-copy:active) {
    background: rgba(91, 117, 83, 0.05);
}

.gift-copy:active .gift-seal {
    transform: scale(0.88);
}

.gift-copy:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (hover: hover) {
    .gift-account:hover .gift-seal {
        transform: rotate(-8deg) scale(1.04);
    }
}

/* 복사 완료: 도장 찍듯 꾹 눌렸다 올라옴 */
.gift-copy.is-copied .gift-seal {
    animation: gift-seal-stamp 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes gift-seal-stamp {
    0%   { transform: scale(1); }
    30%  { transform: scale(0.8) rotate(-6deg); }
    65%  { transform: scale(1.08) rotate(2deg); }
    100% { transform: none; }
}

.gift-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 카카오페이 (링크가 있을 때만 렌더링) */
.gift-kakaopay {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(67, 67, 67, 0.12);
    border-radius: 999px;
    background: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.76rem;
    color: var(--font-color-default);
    cursor: pointer;
}

.gift-kakaopay-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* 복사 완료 토스트 */
.gift-toast {
    position: fixed;
    left: 50%;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 40px);
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(60, 82, 54, 0.94);
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(60, 82, 54, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.25s ease, transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}

.gift-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.gift-toast .gift-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

@keyframes gift-check-pop {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .gift-panel,
    .gift-group.is-open .gift-panel,
    .gift-accounts,
    .gift-toggle-icon path,
    .gift-toast {
        transition: none;
    }
    .gift-seal,
    .gift-copy.is-copied .gift-seal {
        animation: none;
        transition: none;
    }
}

/* 전역 button:focus 아웃라인이 탭/클릭 후에도 남지 않도록 (키보드 포커스만 표시) */
.gift-toggle:focus:not(:focus-visible),
.gift-copy:focus:not(:focus-visible),
.gift-kakaopay:focus:not(:focus-visible),
.map-control-btn:focus:not(:focus-visible),
.map-touch-guard:focus:not(:focus-visible),
.venue-pin:focus:not(:focus-visible) {
    outline: none;
}

.gift-toast.is-error {
    background: rgba(67, 67, 67, 0.92);
}

.family-description {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: center;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 12px;
}

.family-description .groom-line,
.family-description .bride-line {
    display: contents;
}

.family-parents {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.family-description .name-divider {
    display: inline;
    margin: 0;
}

.family-relation { white-space: nowrap; }

.family-description .groom-name,
.family-description .bride-name { margin-left: 0; }

/* ===== 방명록 카드 (가로 스크롤, 편지지 톤) ===== */
.guestbook-section {
    --gb-bleed: 30px;
    --gb-card-line: #E9E8E1;
    --gb-card-paper: #FAF9F5;
    --gb-card-text: #3E423B;
    --gb-card-muted: #9A9F94;
}

/* 섹션 좌우 끝까지 스크롤되게 살짝 넘김, 다음 카드가 빼꼼 보이도록 */
.guestbook-section .messages-list {
    display: flex;
    gap: 12px;
    margin: 0 calc(var(--gb-bleed) * -1);
    padding: 4px var(--gb-bleed) 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gb-bleed);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    contain: none;
}
.guestbook-section .messages-list::-webkit-scrollbar { display: none; }

.guestbook-section .message-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 236px;
    min-width: 0;
    max-width: none;
    min-height: 272px;
    padding: 22px 22px 18px;
    border: 1px solid var(--gb-card-line);
    border-radius: 20px;
    background: var(--gb-card-paper);
    box-shadow: none;
    transform: none;
    transition: none;
    scroll-snap-align: start;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
}
.guestbook-section .message-card::before,
.guestbook-section .message-card::after { content: none; display: none; }
.guestbook-section .message-card:hover { transform: none; box-shadow: none; }

/* 상단 편지 오너먼트 */
.guestbook-section .message-ornament {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: -2px 0 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.guestbook-section .message-content { display: block; flex: 1; width: 100%; padding: 0; margin-top: 14px; }
.guestbook-section .message-text {
    margin: 0;
    color: var(--gb-card-text);
    font-size: 13.5px;
    line-height: 1.85;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.guestbook-section .read-more-btn {
    display: inline-block;
    min-width: 0;
    min-height: 0;
    margin: 6px 0 0;
    padding: 4px 6px;
    border: 0;
    background: transparent;
    color: var(--primary-color, #5B7553);
    font: 500 12px / 1.4 'Noto Sans KR', sans-serif;
    box-shadow: none;
    transform: none;
    -webkit-tap-highlight-color: transparent;
}

/* 하단 서명: — 이름 — / 시간 */
.guestbook-section .message-footer {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 0;
    border: 0;
}
.guestbook-section .message-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}
.guestbook-section .author-name {
    display: block;
    max-width: 100%;
    margin: 0;
    color: #6B7066;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.guestbook-section .author-name::before { content: '— '; color: #B5B8AD; }
.guestbook-section .author-name::after { content: ' —'; color: #B5B8AD; }
.guestbook-section .timestamp {
    margin: 0;
    color: #AEB1A6;
    font-size: 10.5px;
    line-height: 1.4;
    opacity: 1;
}

/* 삭제: 우상단 얇은 세이지 X (배경 없음) */
.guestbook-section .delete-button {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 0;
    height: 24px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #8FA487;
    opacity: 1;
    box-shadow: none;
    transform: none;
    transition: color 140ms ease, transform 140ms ease;
    -webkit-tap-highlight-color: transparent;
}
.guestbook-section .delete-button::before { content: ''; position: absolute; inset: -10px; }
.guestbook-section .delete-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
}
.guestbook-section .delete-button:active {
    color: var(--primary-color-dark, #3C5236);
    transform: scale(0.88);
}

/* 작성하기: 시트 버튼과 같은 pill */
.guestbook-section .write-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-width: 128px;
    height: 50px;
    min-height: 50px;
    margin: 24px auto 0;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color, #5B7553);
    background-image: none;
    color: #FFFFFF;
    box-shadow: 0 8px 20px -10px rgba(60, 82, 54, 0.6);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transform: none;
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
.guestbook-section .write-button::before,
.guestbook-section .write-button::after { content: none; display: none; }
.guestbook-section .write-button:hover { transform: none; box-shadow: 0 8px 20px -10px rgba(60, 82, 54, 0.6); }
.guestbook-section .write-button:active { transform: scale(0.98); }

.guestbook-section #message-pagination { margin: 12px 0 0; }
.guestbook-section #load-more-messages {
    display: block;
    width: auto;
    min-height: 40px;
    margin: 0 auto;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gb-card-muted);
    font: 500 13px / 1.5 'Noto Sans KR', sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    -webkit-tap-highlight-color: transparent;
}
.guestbook-section #load-more-messages:disabled { opacity: .5; cursor: progress; }
.guestbook-section button:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
.guestbook-section button:focus:not(:focus-visible) { outline: none; }

@media (hover: hover) and (pointer: fine) {
    .guestbook-section .delete-button:hover { color: var(--primary-color-dark, #3C5236); }
    .guestbook-section .write-button:hover { background: var(--primary-color-dark, #3C5236); }
}

@media (max-width: 480px) {
    .guestbook-section { --gb-bleed: 1.5em; }
    .guestbook-section .message-card { width: 64vw; max-width: 248px; }
}

@media (prefers-reduced-motion: reduce) {
    .guestbook-section .messages-list { scroll-behavior: auto; }
    .guestbook-section .write-button { transition: none; }
    .guestbook-section .write-button:active { transform: none; }
}

/* ===== 방명록 삭제 확인 시트 (작성 시트와 같은 톤) ===== */
#password-modal {
    padding: 24px;
    background: rgba(24, 28, 22, 0.40);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 11000;
    animation: fadeIn 200ms ease-out;
}
#password-modal .password-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin: 0;
    padding: 28px 24px 24px;
    border: 0;
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 20px 60px rgba(24, 28, 22, 0.16);
    font-family: 'Noto Sans KR', sans-serif;
    text-align: left;
    animation: guestbook-enter 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
#password-modal .gb-sheet-grabber { display: none; }
#password-modal h3 {
    margin: 0 0 4px;
    color: #2B3028;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}
#password-modal p#delete-modal-desc {
    margin: 0 0 20px;
    color: #8C9287;
    font-size: 14px;
    line-height: 1.6;
}
#password-modal .password-input {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #E4E7E0;
    border-radius: 14px;
    background: #FAFAF8;
    color: #3A3F37;
    font-family: inherit;
    font-size: 15px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}
#password-modal .password-input::placeholder { color: #A9AEA4; font-size: 14px; }
#password-modal .password-input:focus { outline: none; border-color: var(--primary-color); background: #FFFFFF; box-shadow: none; }
#password-modal .password-input[aria-invalid="true"] { border-color: #B5675A; background: #FFFFFF; }
#password-modal .password-error {
    min-height: 18px;
    margin: 8px 0 0 2px;
    color: #A45245;
    font-size: 12px;
    line-height: 1.5;
}
#password-modal .password-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}
#password-modal .password-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: none;
    transform: none;
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
#password-modal .password-button.cancel { background: #F1F3EE; color: #4A5046; }
#password-modal .password-button.confirm { background: var(--primary-color, #5B7553); color: #FFFFFF; box-shadow: 0 8px 20px -10px rgba(60, 82, 54, 0.6); }
#password-modal .password-button:hover { transform: none; }
#password-modal .password-button:active { transform: scale(0.98); }
#password-modal .password-button:focus:not(:focus-visible) { outline: none; }
#password-modal .password-button:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
#password-modal .password-button-spinner { display: none; }
#password-modal .password-button.confirm[aria-busy="true"] { cursor: progress; }
#password-modal .password-button.confirm[aria-busy="true"] .password-button-label { visibility: hidden; }
#password-modal .password-button.confirm[aria-busy="true"] .password-button-spinner {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255, 255, 255, 0.32);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
    #password-modal .password-button.cancel:hover { background: #E8EBE4; }
    #password-modal .password-button.confirm:hover { background: var(--primary-color-dark, #3C5236); }
}
@media (max-width: 600px) {
    #password-modal { align-items: flex-end; padding: 16px 0 0; }
    #password-modal .password-modal-content {
        max-width: 100%;
        padding: 18px 20px calc(16px + env(safe-area-inset-bottom, 0px));
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -6px 30px rgba(24, 28, 22, 0.10);
        animation: guestbook-sheet-enter 320ms cubic-bezier(0.32, 0.72, 0, 1);
    }
    #password-modal .gb-sheet-grabber {
        display: block;
        width: 36px;
        height: 4px;
        margin: -8px auto 18px;
        border-radius: 999px;
        background: #E0E3DC;
    }
    #password-modal .password-buttons { grid-template-columns: 1fr 1fr; flex-direction: row; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #password-modal .password-modal-content { animation: fadeIn 150ms ease-out; }
    #password-modal .password-button.confirm[aria-busy="true"] .password-button-spinner { animation-duration: 1.6s; }
}

/* ===== 방명록 작성 바텀시트 (레퍼런스: 리뷰/투표 생성 바텀시트 폼) ===== */
#guestbook-modal {
    --gb-title: #2B3028;
    --gb-text: #3A3F37;
    --gb-label: #4A5046;
    --gb-muted: #8C9287;
    --gb-placeholder: #A9AEA4;
    --gb-border: #E4E7E0;
    --gb-field: #FAFAF8;
    --gb-accent: var(--primary-color, #5B7553);
    height: 100dvh;
    padding: 24px;
    background: rgba(24, 28, 22, 0.40);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 11000;
    animation: fadeIn 200ms ease-out;
}

#guestbook-modal .form-modal-content {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: #FFFFFF;
    color: var(--gb-text);
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 0 20px 60px rgba(24, 28, 22, 0.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    animation: guestbook-enter 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
#guestbook-modal .form-modal-content::-webkit-scrollbar { display: none; }

#guestbook-modal .guestbook-sheet-grabber { display: none; }

#guestbook-modal .form-modal-close {
    top: 20px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gb-muted);
    transform: none;
    transition: background-color 160ms ease, color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
#guestbook-modal .form-modal-close::before { content: ''; position: absolute; inset: -6px; }
#guestbook-modal .form-modal-close svg { position: relative; width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.7; }
#guestbook-modal .form-modal-close:active { background: #F2F3F0; }
#guestbook-modal .form-modal-close:focus:not(:focus-visible) { outline: none; }
#guestbook-modal .form-modal-close:focus-visible { outline: 2px solid var(--gb-accent); outline-offset: 2px; }

#guestbook-modal .form-modal-header { text-align: left; margin: 0; padding: 28px 64px 0 24px; }
#guestbook-modal .form-modal-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--gb-title);
}
#guestbook-modal .form-modal-subtitle { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gb-muted); }

#guestbook-modal form {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 0;
}

#guestbook-modal .form-group { margin: 0; }
#guestbook-modal .form-label {
    display: block;
    margin: 0 0 8px 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--gb-label);
}
/* 모든 칸이 필수라 별표는 숨김 (required 속성은 유지) */
#guestbook-modal .required { display: none; }

/* 공통 입력 텍스트 */
#guestbook-modal .text-input {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--gb-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
#guestbook-modal .text-input:focus { outline: none; box-shadow: none; }
#guestbook-modal .text-input::placeholder { color: var(--gb-placeholder); font-size: 14px; }
#guestbook-modal .text-input[readonly] { color: var(--gb-muted); }

/* 메시지: 얇은 테두리 카드, 글자수는 라벨 줄 오른쪽 */
#guestbook-modal .guestbook-message-field { position: relative; }
#guestbook-modal textarea.text-input {
    height: 116px;
    min-height: 116px;
    padding: 12px 14px;
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    background: var(--gb-field);
    line-height: 1.65;
    resize: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}
#guestbook-modal textarea.text-input:focus { border-color: var(--gb-accent); background: #FFFFFF; }
#guestbook-modal .char-counter {
    position: absolute;
    top: 0;
    right: 2px;
    margin: 0;
    font-size: 12px;
    line-height: 19.5px;
    color: var(--gb-placeholder);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
#guestbook-modal .char-counter.warning { color: #987329; }
#guestbook-modal .char-counter.error { color: #A45245; }

/* 성함·비밀번호: 칸 분리, 메시지 칸과 같은 얇은 테두리 */
#guestbook-modal .guestbook-identity-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0 0;
}
#guestbook-modal .guestbook-field-row { display: block; min-height: 0; padding: 0; border: 0; }
#guestbook-modal .guestbook-field-row .text-input {
    height: 46px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    background: var(--gb-field);
    transition: border-color 160ms ease, background-color 160ms ease;
}
#guestbook-modal .guestbook-field-row .text-input:focus { border-color: var(--gb-accent); background: #FFFFFF; }
#guestbook-modal .form-hint { margin: 8px 0 0 2px; font-size: 12px; line-height: 1.5; color: var(--gb-muted); }

/* 하단 원버튼 (pill), 스크롤해도 바닥 고정 */
#guestbook-modal .guestbook-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: block;
    margin: 8px -24px 0;
    padding: 16px 24px 24px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #FFFFFF 14px);
}

#guestbook-modal .submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--gb-accent);
    color: #FFFFFF;
    box-shadow: 0 8px 20px -8px rgba(60, 82, 54, 0.55);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
    transform: none;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
#guestbook-modal .submit-btn:hover:not(:disabled) { background: var(--gb-accent); box-shadow: 0 8px 20px -8px rgba(60, 82, 54, 0.55); transform: none; }
#guestbook-modal .submit-btn:active:not(:disabled) { transform: scale(0.98); box-shadow: 0 4px 12px -6px rgba(60, 82, 54, 0.5); }
#guestbook-modal .submit-btn:focus:not(:focus-visible) { outline: none; }
#guestbook-modal .submit-btn:focus-visible { outline: 2px solid var(--gb-accent); outline-offset: 3px; }

/* 전송 중: 문구는 숨기고(스크린리더용으로만 유지) 인디케이터만 가운데 */
#guestbook-modal .guestbook-submit-spinner { display: none; }
#guestbook-modal .submit-btn[aria-busy="true"] { opacity: 1; cursor: progress; }
#guestbook-modal .submit-btn[aria-busy="true"] #guestbook-submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
#guestbook-modal .submit-btn[aria-busy="true"] .guestbook-submit-spinner {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 2.5px solid rgba(255, 255, 255, 0.32);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
    #guestbook-modal .submit-btn:hover:not(:disabled) { background: var(--primary-color-dark, #3C5236); }
    #guestbook-modal .form-modal-close:hover { background: #F2F3F0; color: var(--gb-title); }
    #guestbook-modal .text-input:hover:not(:focus) { border-color: #D5DACF; }
}

/* 모바일: 아래에서 올라오는 시트 */
@media (max-width: 600px) {
    #guestbook-modal { align-items: flex-end; padding: 16px 0 0; }
    #guestbook-modal .form-modal-content {
        max-width: 100%;
        max-height: calc(100dvh - 16px);
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -6px 30px rgba(24, 28, 22, 0.10);
        animation: guestbook-sheet-enter 320ms cubic-bezier(0.32, 0.72, 0, 1);
    }
    #guestbook-modal .guestbook-sheet-grabber {
        display: block;
        flex-shrink: 0;
        width: 36px;
        height: 4px;
        margin: 8px auto 0;
        border-radius: 999px;
        background: #E0E3DC;
    }
    #guestbook-modal .form-modal-close { top: 18px; right: 12px; }
    #guestbook-modal .form-modal-header { padding: 20px 60px 0 20px; }
    #guestbook-modal form { padding: 22px 20px 0; }
    #guestbook-modal .guestbook-form-footer {
        margin: 8px -20px 0;
        padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

.share-toast {
    width: max-content;
    max-width: calc(100vw - 32px);
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-align: center;
}

@keyframes guestbook-enter {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
@keyframes guestbook-sheet-enter {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #guestbook-modal .form-modal-content { animation: fadeIn 150ms ease-out; }
    #guestbook-modal .submit-btn,
    #guestbook-modal .text-input { transition: none; }
    #guestbook-modal .submit-btn:active:not(:disabled) { transform: none; }
    #guestbook-modal .submit-btn[aria-busy="true"] .guestbook-submit-spinner { animation-duration: 1.6s; }
}
