@charset "UTF-8";

/* WantedSans 폰트 임포트 */
@import url("../fonts/WantedSans/WantedSansVariable.css");

/* 폰트 정의 */
@font-face {
    font-family: "Sun Batang";
    src: url("../fonts/SunBatang/SunBatang-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "S-Core Dream";
    src: url("../fonts/S-Core_Dream/SCDream5.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "SUIT";
    src: url("../fonts/SUIT-ttf/SUIT-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "SUITE";
    src: url("../fonts/SUITE-ttf/SUITE-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("../fonts/Pretendard/PretendardVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "Gowun Dodum";
    src: url("../fonts/GowunDodum/GowunDodum-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Gowun Batang";
    src: url("../fonts/GowunBatang/GowunBatang-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "MaruBuri";
    src: url("../fonts/maruburi/MaruBuri-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Gmarket Sans";
    src: url("../fonts/GmarketSansTTF/GmarketSansTTFMedium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Nanum Barun Pen";
    src: url("../fonts/nanum-barun-pen/NanumBarunpenR.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Nanum Square";
    src: url("../fonts/nanum-square/NanumSquareR.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Nanum Square Neo";
    src: url("../fonts/nanum-square-neo/NanumSquareNeo-Variable.eot") format("embedded-opentype");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "Mapo Flower Island";
    src: url("../fonts/MapoFlowerIsland/MapoFlowerIsland.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ChosunNm";
    src: url("../fonts/ChosunNm/ChosunNmSlim.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ChosunGu";
    src: url("../fonts/ChosunGu/ChosunGu.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "NEXON Lv1 Gothic";
    src: url("../fonts/NEXON_Lv1_Gothic/NEXONLv1GothicRegular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.4;
}

li {
    list-style: none;
}

html {
    font-size: 10px;
}

body {
    font-family:
        "Wanted Sans Variable",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 공통 링크 스타일 */
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* 공통 버튼 스타일 */
button {
    font-family: "Wanted Sans Variable", sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* ============================================
   Landing Page Styles
   ============================================ */

.landing-container {
    position: relative;
    width: 100vw;
    height: min(100dvh, 100vh);
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
}

/* 로그인 좌측 */
.landing-left {
    flex: 1;
    background: var(--neutral-950);
    overflow: hidden;
    position: relative;
}

.landing-marquee {
    display: grid;
    grid-template-columns: repeat(3, 31.4rem);
    gap: 2.4rem;
    height: 100%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-2.4rem, -50%);
}

.marquee-column {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.marquee-column:nth-child(1) {
    display: none;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.marquee-set {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.marquee-card {
    border: 0.1rem solid var(--neutral-800);
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 314 / 676;
}

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

.marquee-column:nth-child(2) .marquee-track {
    animation: marquee-up-1 120s linear infinite;
}

.marquee-column:nth-child(3) .marquee-track {
    animation: marquee-down-2 120s linear infinite;
}

.marquee-column:nth-child(4) .marquee-track {
    animation: marquee-up-3 120s linear infinite;
}

@media (min-width: 2200px) {
    .landing-marquee {
        grid-template-columns: repeat(4, 31.4rem);
    }

    .marquee-column:nth-child(1) {
        display: block;
    }

    .marquee-column:nth-child(1) .marquee-track {
        animation: marquee-down-0 120s linear infinite;
    }

    .marquee-column:nth-child(2) .marquee-track {
        animation: marquee-up-1 120s linear infinite;
    }

    .marquee-column:nth-child(3) .marquee-track {
        animation: marquee-down-2 120s linear infinite;
    }

    .marquee-column:nth-child(4) .marquee-track {
        animation: marquee-up-3 120s linear infinite;
    }
}

@keyframes marquee-down-0 {
    from {
        transform: translateY(calc(-50% - 1.2rem + 10rem));
    }
    to {
        transform: translateY(10rem);
    }
}

@keyframes marquee-up-1 {
    from {
        transform: translateY(-8rem);
    }
    to {
        transform: translateY(calc(-50% - 1.2rem - 8rem));
    }
}

@keyframes marquee-down-2 {
    from {
        transform: translateY(calc(-50% - 1.2rem + 4rem));
    }
    to {
        transform: translateY(4rem);
    }
}

@keyframes marquee-up-3 {
    from {
        transform: translateY(-14rem);
    }
    to {
        transform: translateY(calc(-50% - 1.2rem - 14rem));
    }
}

/* 로그인 우측 */
.landing-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--neutral-100);
}

.phone-wrap {
    position: relative;
    width: 39rem;
    height: 78rem;
}

.phone-wrap::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 63.6rem;
    height: 94.3rem;
    background: url(../images/landing/bg_shadow.png) no-repeat center/cover;
    z-index: 0;
    pointer-events: none;
}

.phone-frame {
    position: relative;
    width: 39rem;
    height: 78rem;
    background: url(../images/landing/bg_login.webp) no-repeat center/cover;
    border: 0.4rem solid var(--neutral-950);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        inset 0 0.2rem 2rem rgba(39, 42, 43, 0.15),
        inset 0 0.2rem 4rem rgba(39, 42, 43, 0.15);
}

.phone-frame::after {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 12rem;
    height: 2.8rem;
    background: var(--neutral-950);
    border-radius: 100rem;
}

.phone-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.login-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.login-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.login-logo {
    width: 13.8rem;
    height: 4.8rem;
}

.login-logo img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.login-desc {
    font-size: 1.6rem;
    color: var(--neutral-700);
}

.login-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 24rem;
    gap: 0.8rem;
}

.login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    height: 5.6rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-950);
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    line-height: 1;
    transition: 0.2s all;
}

.login-btn:hover {
    background: var(--neutral-50);
    opacity: 1;
}

.login-btn.naver {
    background: #03a94d;
    color: var(--white);
}

.login-btn.naver::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-logo-naver.svg) no-repeat center center / cover;
}

.login-btn.naver:hover {
    background: #039946;
}

/* 하단 링크 */
.footer-links {
    display: flex;
    justify-content: center;
}

.footer-links a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-links a:nth-child(n + 2):before {
    content: "";
    width: 0.3rem;
    height: 0.3rem;
    background: var(--neutral-500);
    border-radius: 100rem;
    flex: 0 0 auto;
    margin: 0 0.8rem;
}

.footer-links a:hover {
    opacity: 1;
}

.login-bottom {
    width: 100%;
    position: absolute;
    bottom: 2.4rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* ============================================
   Index Page Styles
   ============================================ */

/* CSS 변수 정의 */
:root {
    --neutral-50: #f9fafa;
    --neutral-100: #f3f4f4;
    --neutral-200: #e6e7e8;
    --neutral-300: #d1d5d6;
    --neutral-400: #b5bbbd;
    --neutral-500: #979fa1;
    --neutral-600: #777f82;
    --neutral-700: #61686a;
    --neutral-800: #505658;
    --neutral-900: #45484a;
    --neutral-950: #272a2b;
    --white: #ffffff;
    --error: #e11d48;
}

.txt-red {
    color: var(--error);
}

/* Index 페이지 전용 body 스타일 */
body.index-page {
    background-color: var(--neutral-50);
    color: var(--neutral-950);
}

/* Index 페이지 컨테이너 */
.index-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: var(--neutral-50);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 7.8rem;
}

/* 헤더 네비게이션 */
.index-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    border-bottom: 0.1rem solid var(--neutral-200);
    background: var(--white);
}

.index-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 7.8rem;
    max-width: 144rem;
    padding: 1.2rem 2rem;
    margin: 0 auto;
}

.logo a {
    display: block;
    width: 9.2rem;
    height: 3.2rem;
    background: url(../images/logo.png) no-repeat center center / cover;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    padding: 1.6rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item-text {
    color: var(--neutral-950);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
}

.nav-item-icon {
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-user {
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.header-user img {
    width: 100%;
    height: 100%;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 12.8rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.8rem);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
    z-index: 1000;
}

.header-user.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    width: 100%;
    padding: 1.2rem 1.6rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    transition: background 0.2s ease;
    display: block;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background: var(--neutral-50);
}

.user-dropdown-item:first-child {
    border-radius: 0.8rem 0.8rem 0 0;
}

.user-dropdown-item:last-child {
    border-radius: 0 0 0.8rem 0.8rem;
}

.logout-btn {
    color: var(--error);
}

/* 메인 콘텐츠 영역 */
.index-main {
    width: 100%;
    max-width: 144rem;
    padding: 0 2rem;
    padding-top: 3.2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

/* 이용안내 카드 */
.info-card {
    width: 100%;
    padding: 1.4rem 2rem;
    background: var(--white);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 2.4rem;
}

.info-card-title {
    color: var(--neutral-950);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.info-card-toggle {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.info-card.expanded .info-card-toggle {
    transform: rotate(180deg);
}

.toggle-icon {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.info-card-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding-top 0.3s ease;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-card.expanded .info-card-content {
    max-height: 32rem;
    padding-top: 1.6rem;
}

.info-card-item {
    color: var(--neutral-800);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.info-card-item::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--neutral-400);
    margin-right: 0.6rem;
}

/* 청첩장 카드 그리드 */
.cards-grid {
    /* display: flex; */
    margin-bottom: 4rem; /* margin-bottom 세팅 20260122 jwi */
    gap: 2.4rem;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (max-width: 1280px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-item {
    width: 100%;
    padding: 0.4rem;
    background: var(--white);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.card-item:not(:has(.watermark-btn)) {
    gap: 1.6rem;
}

.card-cover-wrapper {
    width: 100%;
    height: 32rem;
    position: relative;
    overflow: visible;
    padding-bottom: 2.4rem;
    flex: 0 0 auto;
}

.card-cover-bg {
    width: 100%;
    height: 32rem;
    left: 0;
    top: 0;
    position: absolute;
    background: var(--neutral-50);
    border-radius: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-cover-image {
    display: block;
    width: 100%;
    height: 38rem;
    object-fit: cover;
}

.empty-card-image {
    width: 25rem;
    height: 25rem;
    object-fit: cover;
}

.empty-card-text-below {
    color: var(--neutral-800);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.watermark-btn {
    position: absolute;
    bottom: -2rem;
    left: 1.2rem;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.2rem 1.2rem rgba(39, 42, 43, 0.12);
    border-radius: 10rem;
    outline: 0.2rem solid var(--white);
    outline-offset: -0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    z-index: 10;
}

.watermark-btn-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watermark-btn-icon img {
    width: 100%;
    height: 100%;
}

.watermark-btn-text {
    color: var(--neutral-950);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.privacy-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.4rem 1rem;
    background: var(--white);
    box-shadow: 0 0.2rem 1.2rem rgba(39, 42, 43, 0.12);
    border-radius: 10rem;
    backdrop-filter: blur(1rem);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.privacy-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.1);
    position: relative;
}

.privacy-dot::after {
    content: "";
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background: var(--error);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-text {
    color: var(--error);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.more-btn {
    position: absolute;
    bottom: -2rem;
    right: 1.2rem;
    width: 4rem;
    height: 4rem;
    padding: 1rem;

    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 0.2rem 1.2rem rgba(39, 42, 43, 0.12);
    border-radius: 100rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    isolation: isolate;
}

.more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: 0.2rem solid var(--white);
    outline-offset: -0.2rem;
    z-index: 0;
    border-radius: 100rem;
}

.more-btn > * {
    position: relative;
    z-index: 1;
}

.more-btn-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-btn-icon img {
    width: 100%;
    height: 100%;
}

/* 더보기 팝업 메뉴 */
.more-menu-popup {
    position: absolute;
    bottom: calc(100% + 0.8rem);
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    border: 0.2rem solid var(--white);
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 1.2rem rgba(39, 42, 43, 0.12);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    padding: 0.4rem;
    min-width: 16.4rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 1000;
    overflow: hidden;
}

.more-btn.active .more-menu-popup {
    display: flex;
}

.more-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 0.4rem;
    gap: 1.2rem;
}

.more-menu-item:hover {
    background-color: var(--white);
}

.more-menu-item:active {
    background-color: #eeeeee;
}

.more-menu-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    text-align: left;
    line-height: 2rem;
}

.more-menu-icon {
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.more-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.more-menu-item[data-action="delete"] {
    color: #dc2626;
}
.more-menu-item[data-action="share-kakao"] .more-menu-icon img {
    width: 1.6rem;
    height: 1.6rem;
}

/* 카드 정보 영역 */
.card-info {
    padding: 0 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    height: 100%;
    justify-content: space-between;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card-header-text {
    align-self: stretch;
    padding: 0 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-date {
    color: var(--neutral-600);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
}

.card-title {
    color: var(--neutral-950);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    /* 26.02.04 : 말줄임처리 추가 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-link-group {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
}

.card-link-input {
    flex: 1;
    padding: 1rem 1.2rem;
    background: var(--neutral-100);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    color: var(--neutral-800);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-link-copy {
    padding: 1rem;
    background: var(--white);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-link-copy:hover {
    background: var(--neutral-50);
}

.card-link-copy-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-link-copy-icon img {
    width: 100%;
    height: 100%;
}

/* 20260112 추가 start */
.card-link-input-edit {
    flex: 1;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-950);
    color: var(--neutral-950);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Wanted Sans Variable", sans-serif;
    outline: none;
    max-width: 80%;
}

.card-link-input-edit:focus {
    border-color: var(--neutral-950);
}

.card-link-save {
    padding: 1rem;
    background: var(--neutral-950);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-950);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-link-save:hover {
    background: var(--neutral-800);
}
/* 20260112 추가 end */

.card-divider {
    width: 100%;
    height: 0.1rem;
    background: var(--neutral-100);
}

.card-actions-wrapper {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}

.card-actions {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    padding-top: 1.2rem;
    padding-bottom: 0.8rem;
    align-self: stretch;
}

.action-btn {
    padding: 1.4rem;
    background: var(--white);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.action-btn:hover {
    background: var(--neutral-50);
}

.action-btn-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn-icon img {
    width: 100%;
    height: 100%;
}

.edit-btn {
    flex: 1;
    padding: 1.2rem 1.6rem;
    background: var(--neutral-950);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.edit-btn:hover {
    opacity: 0.9;
}

.edit-btn-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
}

.edit-btn-icon img {
    width: 100%;
    height: 100%;
}

.edit-btn-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

/* 빈 카드 (새로 만들기) */
.empty-card {
    align-self: stretch;
    min-height: 54rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.empty-card:hover {
    background: var(--neutral-50);
}

.empty-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.empty-card-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-card-icon-img {
    width: 100%;
    height: 100%;
}

.empty-card-text {
    color: var(--neutral-600);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

/* 푸터 */
.index-footer {
    width: 100%;
    /* margin-top: 4.8rem; */
    background: #1a1a1a;
    gap: 0;
}

.index-footer-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 144rem;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.footer-top {
    padding: 1.6rem 0;
    border-bottom: 0.1rem solid var(--neutral-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.footer-logo {
    width: 9.2rem;
    height: 3.2rem;
    background: url(../images/logo_white.png) no-repeat center center / cover;
}

.footer-cs-btn {
    padding: 0.8rem 1.2rem;
    background: var(--white);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-cs-btn:hover {
    background: var(--neutral-50);
}

.footer-cs-text {
    color: var(--neutral-950);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-cs-icon {
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cs-icon img {
    width: 100%;
    height: 100%;
}

.footer-links-row {
    display: flex;
    gap: 3.8rem;
    align-items: center;
}

.footer-link {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-link-bold {
    font-weight: 600;
}

.footer-middle {
    padding: 1.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-info-row {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.footer-info-item {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
}

.footer-store-btn {
    width: 20.2rem;
    padding: 1.2rem 1.6rem;
    background: var(--white);
    border-radius: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-store-btn:hover {
    background: var(--neutral-50);
}

.footer-store-text {
    color: var(--neutral-950);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-store-icon {
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-store-icon img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credit {
    color: var(--neutral-600);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
}

/* ============================================
   Privacy Page Styles
   ============================================ */

.privacy-main {
    width: 100%;
    max-width: 144rem;
    margin: 3.2rem auto;
    padding: 0 2rem;
    flex: 1;
}

.privacy-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.2rem;
    background: var(--white);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
}

.privacy-title {
    font-family:
        "Wanted Sans Variable",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--neutral-950);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.privacy-date {
    color: var(--neutral-600);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 4rem;
    padding-bottom: 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.privacy-section {
    margin-bottom: 4rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--neutral-950);
    margin-bottom: 1.6rem;
    line-height: 1.4;
}

.privacy-content {
    color: var(--neutral-800);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 1.6rem;
}

.privacy-list {
    color: var(--neutral-800);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    margin-left: 2.4rem;
    margin-bottom: 1.6rem;
}

.privacy-list li {
    margin-bottom: 1.2rem;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

.privacy-contact {
    background: var(--neutral-50);
    padding: 2.4rem;
    border-radius: 0.8rem;
    margin-top: 1.6rem;
}

.privacy-contact p {
    color: var(--neutral-800);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.privacy-contact p:last-child {
    margin-bottom: 0;
}

.privacy-contact strong {
    color: var(--neutral-950);
    font-weight: 600;
}

/* ============================================
   Notice Page Styles
   ============================================ */

.notice-main {
    width: 100%;
    max-width: 144rem;
    margin: 3.2rem auto;
    padding: 0 2rem;
    flex: 1;
}

.notice-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.2rem;
    background: var(--white);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
}

.notice-title {
    font-family:
        "Wanted Sans Variable",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--neutral-950);
    margin-bottom: 3.2rem;
    line-height: 1.4;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3.2rem;
    border-top: 0.16rem solid var(--neutral-600);
    border-bottom: 0.16rem solid var(--neutral-200);
}

.notice-table-header {
    display: grid;
    grid-template-columns: 1fr 12.8rem 9.6rem;
    padding: 1.6rem 2rem;
    background: var(--neutral-50);
    border-bottom: 0.2rem solid var(--neutral-200);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-950);
}

.notice-col-title {
    text-align: left;
}

.notice-col-date {
    text-align: center;
}

.notice-col-views {
    text-align: center;
}

.notice-item {
    display: grid;
    grid-template-columns: 1fr 12.8rem 9.6rem;
    padding: 2rem;
    border-bottom: 0.1rem solid var(--neutral-200);
    align-items: center;
    transition: background 0.2s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--neutral-50);
}

.notice-item-important {
    background: var(--neutral-50);
}

.notice-item-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notice-item-badge {
    padding: 0.4rem 1rem;
    background: var(--error);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-item-link {
    color: var(--neutral-950);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
}

.notice-item-link:hover {
    color: var(--neutral-600);
}

.notice-col-date {
    font-size: 1.4rem;
    color: var(--neutral-600);
    font-weight: 400;
    text-align: center;
}

.notice-col-views {
    font-size: 1.4rem;
    color: var(--neutral-600);
    font-weight: 400;
    text-align: center;
}

/* 공지사항 상세 */
.notice-detail {
    border-top: 0.16rem solid var(--neutral-600);
    border-bottom: 0.2rem solid var(--neutral-200);
}

.notice-detail-header {
    padding: 2.4rem 2rem;
    border-bottom: 0.2rem solid var(--neutral-200);
    background: var(--neutral-50);
}

.notice-detail-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}

.notice-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-950);
    line-height: 1.5;
    margin: 0;
}

.notice-detail-meta {
    display: flex;
    gap: 2.4rem;
    font-size: 1.4rem;
    color: var(--neutral-600);
}

.notice-detail-date,
.notice-detail-views {
    font-weight: 400;
}

.notice-detail-content {
    padding: 3.2rem 2rem;
    min-width: 73.6rem;
    min-height: 32rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--neutral-950);
}

.notice-detail-content p {
    margin: 0 0 1.6rem 0;
}

.notice-detail-content ul {
    margin: 1.6rem 0;
    padding-left: 2.4rem;
}

.notice-detail-content li {
    margin-bottom: 0.8rem;
}

.notice-detail-content strong {
    font-weight: 600;
}

.notice-detail-navigation {
    border-top: 0.1rem solid var(--neutral-200);
    border-bottom: 0.1rem solid var(--neutral-200);
}

.notice-nav-item {
    display: flex;
    align-items: center;
    padding: 1.6rem 2rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.notice-nav-item:last-child {
    border-bottom: none;
}

.notice-nav-label {
    width: 9.6rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-600);
    flex-shrink: 0;
}

.notice-nav-link {
    font-size: 1.4rem;
    color: var(--neutral-950);
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice-nav-link:hover {
    color: var(--neutral-600);
}

.notice-nav-link-disabled {
    color: var(--neutral-400);
    cursor: default;
}

.notice-detail-actions {
    padding: 2.4rem 2rem;
    display: flex;
    justify-content: center;
}

.notice-list-btn {
    padding: 1.2rem 3.2rem;
    background: var(--neutral-950);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.8rem;
    transition: background 0.2s ease;
}

.notice-list-btn:hover {
    background: var(--neutral-800);
}

/* 자주 묻는 질문 (FAQ) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3.2rem;
    border-top: 0.16rem solid var(--neutral-600);
    border-bottom: 0.16rem solid var(--neutral-200);
}

.faq-item {
    border-bottom: 0.1rem solid var(--neutral-200);
    transition: background 0.2s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: var(--neutral-50);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.5;
    flex: 1;
}

.faq-toggle-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: 1.6rem;
}

.faq-item-open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item-open .faq-answer {
    max-height: 32rem;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer-content {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--neutral-700);
    padding-top: 0.8rem;
}

/* 내 정보 페이지 */
.my-info-main {
    width: 100%;
    max-width: 144rem;
    padding: 0 2rem;
    margin: 3.2rem auto;
    flex: 1;
}

.my-info-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.2rem;
}

.my-info-title {
    font-family:
        "Wanted Sans Variable",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--neutral-950);
    margin-bottom: 3.2rem;
    line-height: 1.4;
}

.my-info-content-box {
    background: var(--white);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
    margin-bottom: 1.6rem;
}

.my-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.my-info-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-600);
}

.my-info-value {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
}

.my-info-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.6rem;
}

.withdraw-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-500);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.8rem;
}

.withdraw-btn:hover {
    color: var(--neutral-800);
}

/* 탈퇴 확인 모달 */
.withdraw-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.withdraw-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdraw-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.4rem);
}

.withdraw-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1.2rem;
    padding: 3.2rem;
    max-width: 40rem;
    width: 90%;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
    z-index: 2001;
}

.withdraw-modal-message {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--neutral-950);
    line-height: 1.6;
    margin-bottom: 3.2rem;
    text-align: center;
}

.withdraw-modal-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.withdraw-modal-btn {
    padding: 1.2rem 2.4rem;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.withdraw-modal-btn-cancel {
    background: var(--neutral-100);
    color: var(--neutral-950);
}

.withdraw-modal-btn-cancel:hover {
    background: var(--neutral-200);
}

.withdraw-modal-btn-confirm {
    background: var(--error);
    color: var(--white);
}

.withdraw-modal-btn-confirm:hover {
    background: #c81a3f;
}

/* 편집 페이지 */
.edit-header-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2rem;
    background: var(--white);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-header-btn:hover {
    background: var(--neutral-50);
}
.edit-header-btn.view {
    border: 0.1rem solid var(--neutral-200);
    display: none;
}

@media screen and (max-width: 768px) {
    .edit-header-btn.view {
        display: flex;
    }
}

.edit-header-btn.save {
    background: var(--neutral-950);
    color: var(--white);
    border-color: var(--neutral-950);
}

.edit-header-btn.save:hover {
    background: var(--neutral-800);
}

.edit-main {
    width: 100%;
    padding: 0 2rem;
    min-height: calc(100vh - 32rem);
}

.edit-container {
    max-width: 140rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.2rem;
    align-items: flex-start;
}

.edit-container > * {
    min-width: 0;
}

/* 왼쪽: 아이폰 프리뷰 */
.edit-preview {
    flex: 1 0 0;
    padding: 2.4rem 0;
    background: var(--white);
    border-left: 0.1rem solid var(--neutral-200);
    border-right: 0.1rem solid var(--neutral-200);
    height: calc(100dvh - 7.9rem); /* 100dvh - header */
    position: sticky;
    top: 7.9rem;
    left: 0;
    right: 0;
}

.edit-preview-phone {
    width: 39rem; /* 390px */
    height: 100%;
    border-radius: 1.2rem;
    box-shadow: 0 0.4rem 2.4rem rgba(39, 42, 43, 0.08);
    margin: 0 auto;
    overflow: hidden;
    outline: 0.5rem solid var(--neutral-200);
}

.edit-preview-content {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 1.2rem;
    overflow: hidden;
    position: relative;
}

.edit-preview-content::-webkit-scrollbar {
    display: none;
}

.edit-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.edit-preview-iframe::-webkit-scrollbar {
    display: none;
}

/* 우측: 편집 항목들 */
.edit-items {
    flex: 1;
    padding: 1.6rem 0;
}

.edit-section {
    margin-bottom: 3.2rem;
}

.edit-section-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--neutral-600);
    margin-bottom: 1.2rem;
    margin-left: 1.6rem;
}

.edit-item-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.edit-item {
    background: var(--white);
    border-radius: 1.2rem;
    border: 0.1rem solid var(--neutral-200);
    overflow: hidden;
    transition: all 0.2s ease;
}

.edit-item:hover {
    border-color: var(--neutral-400);
}

.edit-item.open {
    border-color: var(--neutral-950);
}

.edit-item-header {
    display: flex;
    align-items: center;
    padding: 1.6rem 2rem;
    cursor: pointer;
    user-select: none;
    gap: 1.6rem;
    position: relative;
}

/* Switch 스타일 */
.edit-item-switch {
    position: relative;
    display: inline-block;
    width: 5.2rem;
    height: 2.8rem;
    flex-shrink: 0;
    cursor: pointer;
}

.edit-item-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.edit-item-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neutral-300);
    transition: 0.3s;
    border-radius: 2.4rem;
}

.edit-item-switch-slider:before {
    position: absolute;
    content: "";
    height: 2rem;
    width: 2rem;
    left: 0.4rem;
    bottom: 0.4rem;
    background-color: var(--white);
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
    transition: 0.3s;
    border-radius: 50%;
}

.edit-item-switch-input:checked + .edit-item-switch-slider {
    background-color: var(--neutral-950);
}

.edit-item-switch-input:checked + .edit-item-switch-slider:before {
    transform: translateX(2.4rem);
}

.edit-item-title {
    flex: 1;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--neutral-950);
}

.edit-item-preview {
    margin-right: 1.6rem;
    position: absolute;
    right: 4rem;
    font-size: 1.4rem;
    color: var(--neutral-600);
    white-space: nowrap;
}

.edit-item-toggle {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.edit-item.open .edit-item-toggle {
    transform: rotate(180deg);
}

.edit-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--neutral-50);
}

.edit-item.open .edit-item-content {
    max-height: 76vh;
    overflow-y: auto;
    border-top: 0.1rem solid var(--neutral-200);
}

.edit-item.open .edit-item-content::-webkit-scrollbar {
    width: 1.6rem;
}

.edit-item.open .edit-item-content::-webkit-scrollbar-thumb {
    background-color: var(--neutral-600);
    border: 0.5rem solid var(--neutral-50);
    border-radius: 1rem;
}

.edit-item.open .edit-item-content::-webkit-scrollbar-track {
    background-color: var(--neutral-50);
}

.edit-item-form {
    padding: 1.6rem 2rem;
}

/* 메인 화면 편집 폼 */
.edit-form-section {
    margin-bottom: 2.4rem;
}

.edit-form-section:last-child {
    margin-bottom: 0;
}
.edit-form-flex1 {
    flex: 1;
}

.edit-form-label {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-800);
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.4rem;
}

.edit-form-section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
    margin-bottom: 0.6rem;
}

.edit-form-row {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.edit-form-row:last-child {
    margin-bottom: 0;
}

.edit-form-inline-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    white-space: nowrap;
    flex-shrink: 0;
}

.edit-form-row-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 0;
}

.edit-form-input-half {
    flex: 1;
}

/* select 스타일 */
select.edit-form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2345484a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 4rem;
}

.edit-form-input-third {
    flex: 1;
}

.edit-form-input-auto {
    flex: 1;
    min-width: 0;
}

.checkbox-option-inline {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 0.8rem;
}

/* 스타일 선택 */
.style-selector {
    display: flex;
    gap: 0.8rem;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
}

.style-selector::-webkit-scrollbar {
    display: none;
}

.style-selector img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.style-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 12rem;
    flex: 0 0 auto;
    position: relative;
    padding: 0.2rem 0;

    scroll-snap-align: start;
}

.style-card,
.style-card * {
    -webkit-user-select: none;
    user-select: none;
}

.style-sample-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
}
.style-sample-button:hover {
    border-color: var(--neutral-400);
}
.style-sample-button:after {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    background: url(../images/ico14-link.svg) center center no-repeat;
}
.style-option {
    position: relative;
    width: 100%;
    flex: 0 0 26rem;
    cursor: pointer;
    border-radius: 0.4rem;
    overflow: hidden;
    outline: 0.1rem solid var(--neutral-200);
}

.style-option:hover {
    border-color: var(--neutral-400);
}

.style-option.selected::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--neutral-900);
    border-radius: 0.4rem;
    pointer-events: none;
}

.style-option-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.style-option-label {
    padding: 0.8rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--neutral-950);
    background: var(--white);
}

.style-option-check {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    width: 2rem;
    height: 2rem;
    background: url(../images/ico14-check.svg) center center no-repeat rgba(39, 42, 43, 0.7);
    background-size: 1.4rem 1.4rem;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.style-option.selected .style-option-check {
    display: flex !important;
}

.style-check-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.style-util-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.style-util-prev,
.style-util-next {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 100rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1;
}

.style-util-prev {
    padding: 0.8rem 1.2rem 0.8rem 0.8rem;
}

.style-util-prev::before {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    background: url(../images/ico16-arrow-left.svg) no-repeat center center / cover;
}

.style-util-next {
    padding: 0.8rem 0.8rem 0.8rem 1.2rem;
}

.style-util-next::after {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    background: url(../images/ico16-arrow-right.svg) no-repeat center center / cover;
}

.style-util-btn button.is-disabled,
.style-util-btn button:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 사진 업로드 */
.photo-upload-area {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.photo-upload-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12rem;
    height: 12rem;
    background: var(--white);
    border: 0.1rem dashed var(--neutral-400);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
}

.photo-upload-label:hover {
    background: var(--neutral-100);
}

.photo-upload-label-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: url(../images/ico32-img-add.svg) center center no-repeat;
    background-size: 3.2rem 3.2rem;
}

.photo-preview-container {
    width: 12rem;
    height: 12rem;
}

.photo-preview-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 비율 */
    background: var(--neutral-100);
    border-radius: 0.8rem;
    overflow: hidden;
}

.photo-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-remove {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 0.6);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.photo-preview-remove:hover {
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 1);
}

/* 효과 선택 */
.effect-selector {
    display: flex;
    gap: 1.2rem;
}

.effect-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 1.2rem 2.4rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    background: var(--white);
    transition: all 0.2s ease;
    flex: 1;
}

.effect-option-btn:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
}

.effect-option-btn input[type="radio"]:checked + .effect-label {
    color: var(--neutral-950);
    font-weight: 500;
}

.effect-option-btn:has(input[type="radio"]:checked) {
    background: var(--neutral-950);
    border-color: var(--neutral-950);
}

.effect-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.effect-label {
    font-size: 1.4rem;
    color: var(--neutral-600);
    cursor: pointer;
    pointer-events: none;
}

.effect-option-btn:has(input[type="radio"]:checked) .effect-label {
    color: var(--white);
}

/* 문구 선택 */
.text-selector {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.text-dropdown {
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background: url(../images/arrow-down-01-round.svg) no-repeat right 1.6rem center var(--white);
    background-size: 2rem;
}

.text-dropdown:focus {
    outline: none;
    border-color: var(--neutral-950);
}

.custom-text-input {
    margin-top: 0.8rem;
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
}

.custom-text-input:focus {
    outline: none;
    border-color: var(--neutral-950);
}

/* 체크박스 옵션 */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-option-full {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    padding: 1.6rem;
    transition: border-color 0.2s ease;
    width: 100%;
    -webkit-user-select: none;
    user-select: none;
}

.checkbox-option-full:hover {
    border-color: var(--neutral-400);
}

.checkbox-input {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    background: var(--white);
    border-radius: 0.4rem;
    border: 0.1rem solid var(--neutral-300);
}

.checkbox-input:checked {
    background: url(../images/ico16-check.svg) center center no-repeat var(--neutral-950);
    border: 0.1rem solid var(--neutral-950);
}

.checkbox-input:disabled {
    background: url(../images/ico16-check.svg) center center no-repeat var(--neutral-400);
    border: 0.1rem solid var(--neutral-400);
}

.checkbox-label {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    flex: 1;
    -webkit-user-select: none;
    user-select: none;
}

/* 편집 폼 입력 필드 */
.edit-form-input {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
    transition: border-color 0.2s ease;
}

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

.edit-form-input::placeholder {
    color: var(--neutral-600);
}

/* 고인 선택 드롭다운 */
.deceased-select {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background: url(../images/arrow-down-01-round.svg) no-repeat right 1.6rem center var(--white);
    background-size: 2rem;
}

.deceased-select:focus {
    outline: none;
    border-color: var(--neutral-950);
}

/* 인사말 textarea */
.edit-form-textarea {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
    background: var(--white);
    resize: vertical;
    min-height: 12rem;
    line-height: 1.6;
    transition: border-color 0.2s ease;
}

.edit-form-textarea:focus {
    outline: none;
    border-color: var(--neutral-950);
}

.edit-form-textarea::-webkit-scrollbar {
    width: 1.6rem;
}

.edit-form-textarea::-webkit-scrollbar-thumb {
    background-color: var(--neutral-300);
    border: 0.5rem solid var(--white);
    border-radius: 1rem;
}

.edit-form-textarea::-webkit-scrollbar-track {
    background-color: var(--white);
}

/* 탭 버튼 추가 */
.edit-form-tab {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}
.edit-form-tab-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: var(--neutral-200);
    border-radius: 1.2rem;
    padding: 0.4rem;
}
.edit-form-tab-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 1.6rem;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    background: transparent;
}

.edit-form-tab-btn:hover {
    background: var(--neutral-300);
}

.edit-form-tab-btn span {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-700);
}
.edit-form-tab-btn.active {
    background: var(--white);
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

.edit-form-tab-btn.active span {
    color: var(--neutral-950);
}

.edit-form-tab-btn::before {
    width: 2rem;
    height: 2rem;
}

.edit-form-tab-btn.bus::before {
    content: url(../images/ico20-bus-gray.svg);
}

.edit-form-tab-btn.bus.active::before {
    content: url(../images/ico20-bus-black.svg);
}
.edit-form-tab-btn.metro::before {
    content: url(../images/ico20-metro-gray.svg);
}
.edit-form-tab-btn.metro.active::before {
    content: url(../images/ico20-metro-black.svg);
}
.edit-form-tab-btn.car::before {
    content: url(../images/ico20-car-gray.svg);
}
.edit-form-tab-btn.car.active::before {
    content: url(../images/ico20-car-black.svg);
}
.edit-form-tab-btn.walk::before {
    content: url(../images/ico20-walk-gray.svg);
}
.edit-form-tab-btn.walk.active::before {
    content: url(../images/ico20-walk-black.svg);
}

.edit-form-tab-content {
    display: none;
}
.edit-form-tab-content.active {
    display: block;
}

/* 계좌번호 안내 */
.edit-form-tab.account-tab .edit-form-section:nth-child(1) {
    margin-top: 1rem;
}

.edit-form-tab.account-tab .edit-form-section:nth-child(2) {
    padding-top: 2.4rem;
    border-top: 0.1rem solid var(--neutral-200);
}

.edit-form-tab.account-tab .edit-form-section-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.edit-form-tab.account-tab .edit-form-label {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neutral-700);
    margin-bottom: 0.4rem;
}

/* 연락처 안내 */
.edit-form-tab.contact-tab .edit-form-section:nth-child(1) {
    margin-top: 1rem;
}

.edit-form-tab.contact-tab .edit-form-section:nth-child(2) {
    padding-top: 2.4rem;
    border-top: 0.1rem solid var(--neutral-200);
}

/* 샘플 문구 선택 버튼 */
.sample-text-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding: 1.2rem 2.4rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.08);
}
.sample-text-btn:after {
    content: url(../images/ico20-note.svg);
}
.sample-text-btn:hover {
    /* background: var(--neutral-50); */
    border-color: var(--neutral-400);
}

/* 샘플 문구 선택 모달 */
.sample-greeting-modal {
    width: 90vw;
    max-width: 50vw !important;
    max-height: 90vh;
}

.sample-greeting-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.sample-greeting-item {
    padding: 2rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: pre-line;
    line-height: 1.8;
    font-size: 1.4rem;
    color: var(--neutral-950);
}

.sample-greeting-modal .close-button-wrapper {
    margin-bottom: 0 !important;
}

.sample-greeting-item:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

/* 모달 스타일 (edit 페이지용) */
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-background .modal {
    background-color: var(--white);
    border-radius: 1.2rem;
    max-width: 32vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
    animation: modal-slide-in 0.3s ease;
}

@keyframes modal-slide-in {
    from {
        transform: translateY(-1.6rem);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-background .modal .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 1.6rem 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.modal-background .modal .header .close-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.2rem;
}

.modal-background .modal .header .close-button {
    position: relative;
    width: 2.4rem;
    height: 2.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.modal-background .modal .header .close-button::before {
    content: "";
    background: url(../images/ico24-x.svg) center center no-repeat;
    display: block;
    width: 2.4rem;
    height: 2.4rem;
}

.modal-background .modal .header .title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-950);
}

.modal-background .modal .content {
    max-height: 73vh;
    overflow-y: auto;
    padding: 1.6rem 2.4rem;
}

.modal-background .modal .content::-webkit-scrollbar {
    width: 1.6rem;
}

.modal-background .modal .content::-webkit-scrollbar-thumb {
    background-color: var(--neutral-600);
    border: 0.5rem solid var(--white);
    border-radius: 1rem;
}

.modal-background .modal .content::-webkit-scrollbar-track {
    background-color: var(--white);
}

/* 주소 검색 버튼 */
.address-search-btn {
    padding: 1.2rem 2.4rem;
    background: var(--neutral-950);
    color: var(--white);
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.address-search-btn:hover {
    background: var(--neutral-800);
}

/* 주소 입력 필드 (readonly) */
.edit-form-input[readonly] {
    background: var(--neutral-100);
    color: var(--neutral-600);
    cursor: not-allowed;
}

/* 날짜/시간 입력 필드 */
input[type="date"],
input[type="time"] {
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* 폰트 선택 그리드 */
.font-selector-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.font-option {
    width: 100%;
    position: relative;
    padding: 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
}

.font-option:hover {
    border-color: var(--neutral-400);
}

.font-option.selected {
    border-color: var(--neutral-950);
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

.font-option-sample {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    text-wrap: nowrap;
}

.font-option-name {
    font-family:
        "Wanted Sans Variable",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-600);
    line-height: 1.4;
    text-align: right;
}

.font-option-check {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 2rem;
    height: 2rem;
    background: var(--neutral-950);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* .font-option.selected .font-option-check {
    display: flex;
} */

/* .font-option-check-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--white);
}

.font-option-check-icon::before {
    content: "✓";
    font-size: 1.2rem;
    color: var(--white);
    font-weight: bold;
} */

/* 갤러리 업로드 영역 */
.gallery-description {
    font-size: 1.2rem;
    color: var(--neutral-600);
    margin-bottom: 1.6rem;
    line-height: 1.5;
}

.gallery-upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.gallery-add-btn {
    width: 100%;
    /* height: 10rem; */
    border: 0.1rem dashed var(--neutral-400);
    padding: 3.2rem 1.6rem;
    border-radius: 0.8rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery-add-btn:hover {
    border-color: var(--neutral-600);
    background: var(--neutral-100);
}

.gallery-add-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: url("../images/ico32-img-add.svg") center center no-repeat;
}

.gallery-add-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.2rem;
}
.gallery-add-desc-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
}
.gallery-add-desc-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-600);
}

.gallery-images-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.gallery-image-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.8rem;
    overflow: hidden;
    cursor: move;
    flex-shrink: 0;
}

.gallery-image-item.dragging {
    opacity: 0.5;
    z-index: 1000;
}

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

.gallery-image-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.gallery-image-item:hover .gallery-image-actions {
    opacity: 1;
}

.gallery-image-edit-btn,
.gallery-image-delete-btn {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gallery-image-edit-btn {
    position: absolute;
    top: 3.2rem;
    right: 0.4rem;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/ico14-edit.svg) center center no-repeat rgba(39, 42, 43, 0.6);
}

.gallery-image-edit-btn:hover {
    background: url(../images/ico14-edit.svg) center center no-repeat rgba(39, 42, 43, 1);
}

.gallery-image-delete-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 0.6);
}

.gallery-image-delete-btn:hover {
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 1);
}

.gallery-image-edit-icon,
.gallery-image-delete-icon {
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.gallery-image-edit-icon::before {
    content: "";
    font-size: 1.6rem;
    line-height: 1;
}

/* 이미지 크롭 모달 */
.image-crop-modal {
    width: 90vw;
    max-width: 80rem;
    max-height: 90vh;
}

.image-crop-modal .header .close-button-wrapper {
    margin-bottom: 0 !important;
}

.image-crop-container {
    width: 100%;
    max-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--neutral-50);
    border-radius: 0.8rem;
    overflow: hidden;
}

.image-crop-container img {
    max-width: 100%;
    max-height: 60vh;
}

.image-crop-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2.4rem;
}

.image-crop-btn {
    padding: 1.2rem 2.4rem;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
}

.image-crop-btn-cancel {
    background: var(--white);
    color: var(--neutral-950);
    border: 0.1rem solid var(--neutral-800);
}

.image-crop-btn-cancel:hover {
    background: var(--neutral-100);
}

.image-crop-btn-apply {
    background: var(--neutral-950);
    color: var(--white);
}

.image-crop-btn-apply:hover {
    background: var(--neutral-800);
}

/* 폼 도움말 텍스트 */
.form-help-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem;
    background: var(--neutral-100);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
}
.form-help-text {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-900);
    line-height: 1.4;
}

.form-help-icon {
    width: 1.8rem;
    height: 1.8rem;
    min-width: 1.8rem;
    background: url(../images/ico18-info.svg) no-repeat center center / 1.8rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 0.1rem;
}

/* 안내사항 추가 버튼 */
.add-notice-btn {
    width: 100%;
    padding: 1.2rem 2.4rem;
    background: var(--white);
    color: var(--neutral-950);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.08);
    transition: border 0.2s ease;
}

.add-notice-btn:hover {
    border: 0.1rem solid var(--neutral-400);
}

/* 안내사항 리스트 */
.notices-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.notice-item-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    cursor: move;
    transition: all 0.2s ease;
}

.notice-item-card:hover {
    border-color: var(--neutral-400);
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.notice-item-card.dragging {
    opacity: 0.5;
    z-index: 1000;
}

.notice-item-handle {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    color: var(--neutral-600);
}

.notice-item-handle:active {
    cursor: grabbing;
}

.handle-icon {
    width: 2rem;
    height: 2rem;
    background: url(../images/ico20-draggable.svg) center center no-repeat;
    line-height: 1;
    user-select: none;
}

.notice-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.notice-item-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-950);
    line-height: 1.4;
}

.notice-item-preview {
    font-size: 1.4rem;
    color: var(--neutral-600);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-item-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.notice-item-edit-btn,
.notice-item-delete-btn {
    width: 3.4rem;
    height: 3.4rem;
    border: none;
    cursor: pointer;
    display: flex;
    border-radius: 0.4rem;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1.6rem;
    line-height: 1;
    background: transparent;
}

.notice-item-edit-btn:hover,
.notice-item-delete-btn:hover {
    background: var(--neutral-100);
}

.notice-edit-icon,
.notice-delete-icon {
    line-height: 1;
}

.notice-edit-icon {
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-pencil.svg) center center no-repeat;
}

.notice-delete-icon {
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-x-red.svg) center center no-repeat;
}

/* 배경음악 리스트 */
.music-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    transition: all 0.2s ease;
    position: relative;
}

.music-item:hover {
    border-color: var(--neutral-400);
}

.music-item:has(.music-radio:checked) {
    border-color: var(--neutral-950);
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

.music-radio {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    flex-shrink: 0;
    display: none;
}

.music-item-label-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.music-item-label {
    padding: 1.6rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    line-height: 1.4;
}

.music-file-name {
    font-size: 1.2rem;
    color: var(--neutral-600);
    line-height: 1.4;
}

.music-play-btn {
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.8rem;
    border: none;
    background: url(../images/ico16-play.svg) no-repeat center center / 1.6rem 1.6rem var(--neutral-100);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.music-play-btn:hover {
    background: url(../images/ico16-play.svg) no-repeat center center / 1.6rem 1.6rem var(--neutral-100);
}

.music-play-btn.playing {
    background: url(../images/ico16-pause.svg) no-repeat center center / 1.6rem 1.6rem var(--neutral-950);
}

.play-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 직접 등록 버튼 */
.custom-music-upload-btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 0.6rem;
}

.custom-music-upload-btn:hover {
    border-color: var(--neutral-400);
    background: var(--neutral-50);
}

.custom-music-upload-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: url(../images/ico16-plus-white.svg) no-repeat center center / 1.4rem 1.4rem var(--neutral-950);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.custom-music-upload-text {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    flex: 1;
    text-align: left;
    line-height: 1;
}

/* 미리보기 컨테이너 (가운데 정렬) */
.preview-container {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

/* 미리보기 타이틀 */
.share-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.6rem;
}

.share-title {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--neutral-950);
}

.share-desc {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.2rem 1.2rem 0.2rem 0.2rem;
    background: var(--neutral-950);
    border-radius: 100rem;
}

.share-desc::before {
    content: "";
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: url(../images/ico16-pencil.svg) no-repeat center center / 1.6rem 1.6rem var(--neutral-700);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.share-desc span {
    font-size: 1.5rem;
    color: var(--white);
}

/* 카카오톡 공유 스타일 */
.kakao-share-preview {
    width: 100%;
    max-width: 27rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1.88; /* 총 세로 크기 = 가로 크기의 1.88배 */
}

.kakao-share-preview-image-container {
    width: 100%;
    position: relative;
    cursor: pointer;
    flex: 0 0 67%; /* 사진 영역 = 총 세로 높이의 0.67배 */
}

.kakao-share-preview-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--neutral-100);
    overflow: hidden;
}

.kakao-share-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.kakao-share-image-placeholder-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: url(../images/ico32-img-add.svg) no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.kakao-share-image-placeholder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.kakao-share-image-placeholder-text-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
}

.kakao-share-image-placeholder-text-desc {
    font-size: 1.4rem;
    color: var(--neutral-600);
}

.kakao-share-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kakao-share-preview-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    border-top: 0.1rem solid var(--neutral-200);
}

.kakao-share-preview-text {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
}

.kakao-share-preview-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.kakao-share-preview-title-input {
    flex: 1;
    padding: 0.4rem 0.8rem;
    border: 0.1rem solid transparent;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    background: transparent;
    font-family: "Wanted Sans Variable", sans-serif;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.kakao-share-preview-title-input:focus {
    outline: none;
    border-color: var(--neutral-200);
    background: var(--neutral-50);
}

.kakao-share-preview-title-input:not(:focus) {
    border-color: transparent;
}

.kakao-share-preview-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
}

.kakao-share-preview-content-input {
    flex: 1;
    padding: 0.4rem 0.8rem;
    border: 0.1rem solid transparent;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    color: var(--neutral-800);
    background: transparent;
    font-family: "Wanted Sans Variable", sans-serif;
    resize: none;
    line-height: 1.4;
    min-height: 4rem;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.kakao-share-preview-content-input:focus {
    outline: none;
    border-color: var(--neutral-200);
    background: var(--neutral-50);
}

.kakao-share-preview-content-input:not(:focus) {
    border-color: transparent;
}
.kakao-share-button-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0 0.8rem;
}
.kakao-share-button-wrap button {
    flex: 1;
    width: 100%;
    padding: 1.2rem;
    background: var(--neutral-100);
    border: none;
    border-radius: 0.8rem;
    font-size: 1.3rem;
    color: var(--neutral-950);
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: "Wanted Sans Variable", sans-serif;
}

.kakao-share-button-wrap button:hover {
    background: var(--neutral-200);
}
.kakao-share-edit-btn {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.kakao-share-edit-btn:hover {
    opacity: 1;
}

.kakao-share-edit-icon {
    font-size: 1.4rem;
    color: var(--neutral-600);
    line-height: 1;
}

.kakao-share-view-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--neutral-100);
    border: none;
    border-radius: 0.8rem;
    font-size: 1.3rem;
    color: var(--neutral-950);
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: "Wanted Sans Variable", sans-serif;
}

.kakao-share-view-btn:hover {
    background: var(--neutral-200);
}

.kakao-share-favicon {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
}
.kakao-share-favicon-img {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.4rem;
    overflow: hidden;
}
.kakao-share-favicon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kakao-share-favicon-text {
    font-size: 1.2rem;
    color: var(--neutral-800);
    line-height: 1;
}

.kakao-debugger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--neutral-950);
    font-size: 1.6rem;
    font-weight: 500;
    transition: border 0.2s ease;
    width: 100%;
    background: var(--white);
    padding: 1.2rem 2.4rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.08);
    line-height: 1;
}

.kakao-debugger-link::after {
    content: url(../images/ico18-link.svg);
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: block;
}

.kakao-debugger-link:hover {
    border: 0.1rem solid var(--neutral-400);
    opacity: 1;
}

.form-help-content {
    flex: 1;
}

.form-help-title {
    font-weight: 600;
    color: var(--neutral-950);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.form-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 1.8rem;
}

.form-help-list li {
    position: relative;
    font-size: 1.4rem;
    color: var(--neutral-700);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.form-help-list li::before {
    content: "";
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 100rem;
    background: var(--neutral-500);
    margin-right: 0.6rem;
    flex: 0 0 auto;
    margin-top: 0.8rem;
}

/* 링크 공유 스타일 */
.link-share-preview {
    width: 100%;
    max-width: 27rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 0.88; /* 총 세로 크기 = 가로 크기의 0.88배 */
}

.link-share-preview-image-container {
    width: 100%;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 0.5; /* 이미지 영역 height = width의 0.5배 */
}

.link-share-preview-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--neutral-100);
    overflow: hidden;
}

.link-share-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    color: var(--neutral-600);
}

.link-share-image-placeholder-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: url(../images/ico32-img-add.svg) no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.link-share-image-placeholder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.link-share-image-placeholder-text-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
}

.link-share-image-placeholder-text-desc {
    font-size: 1.4rem;
    color: var(--neutral-600);
}

.link-share-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-share-preview-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    border-top: 0.1rem solid var(--neutral-200);
}

.link-share-preview-text {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
}

.link-share-preview-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.link-share-preview-title-input {
    flex: 1;
    padding: 0.4rem 0.8rem;
    border: 0.1rem solid transparent;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    background: transparent;
    font-family: "Wanted Sans Variable", sans-serif;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.link-share-preview-title-input:focus {
    outline: none;
    border-color: var(--neutral-200);
    background: var(--neutral-50);
}

.link-share-preview-title-input:not(:focus) {
    border-color: transparent;
}

.link-share-preview-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
}

.link-share-preview-content-input {
    flex: 1;
    padding: 0.4rem 0.8rem;
    border: 0.1rem solid transparent;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    color: var(--neutral-800);
    background: transparent;
    font-family: "Wanted Sans Variable", sans-serif;
    resize: none;
    line-height: 1.4;
    min-height: 4rem;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.link-share-preview-content-input:focus {
    outline: none;
    border-color: var(--neutral-200);
    background: var(--neutral-50);
}

.link-share-preview-content-input:not(:focus) {
    border-color: transparent;
}

.link-share-edit-btn {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    display: none;
}

.link-share-edit-btn:hover {
    opacity: 1;
}

.link-share-edit-icon {
    font-size: 1.4rem;
    color: var(--neutral-600);
    line-height: 1;
}

/* 표시 순서 변경 */
.display-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.display-order-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    transition: all 0.2s ease;
    cursor: move;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.display-order-item[draggable="true"] {
    cursor: grab;
}

.display-order-item[draggable="true"]:active {
    cursor: grabbing;
}

.display-order-item.long-press {
    background: var(--neutral-50);
    transform: scale(1.02);
}

.display-order-item:hover {
    border-color: var(--neutral-400);
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.display-order-item.dragging {
    opacity: 0.5;
    z-index: 1000;
}

.display-order-handle {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    pointer-events: none; /* 핸들은 시각적 표시만 제공 */
}

.display-order-handle-spacer {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

.display-order-badge {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--neutral-200);
    color: var(--neutral-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 600;
    flex-shrink: 0;
}

.display-order-badge-fixed {
    background: var(--neutral-950);
    color: var(--white);
}

.display-order-name {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.4;
}

.display-order-fixed {
    font-size: 1.2rem;
    color: var(--neutral-600);
    font-weight: 400;
    flex-shrink: 0;
}

/* 타임라인 이미지 업로드 */
.timeline-image-upload-area {
    width: 100%;
}

.timeline-image-preview-wrapper {
    width: 100%;
    height: 18rem;
    position: relative;
    background: var(--neutral-100);
    border-radius: 0.8rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border: 0.1rem dashed var(--neutral-400);
    transition: all 0.2s ease;
}

.timeline-image-preview-wrapper:hover {
    border-color: var(--neutral-600);
    background: var(--neutral-100);
}

.timeline-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--neutral-600);
    padding: 3.2rem 1.6rem;
    border-radius: 0.8rem;
}

.timeline-image-placeholder-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: url("../images/ico32-img-add.svg") center center no-repeat;
}

.timeline-image-placeholder-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.timeline-image-placeholder-desc-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
}

.timeline-image-placeholder-desc-subtitle {
    font-size: 1.3rem;
    color: var(--neutral-600);
}

.timeline-image-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.timeline-image-remove {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 0.6);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.timeline-image-remove:hover {
    background: url(../images/ico14-x.svg) center center no-repeat rgba(39, 42, 43, 1);
}

#timelineListSection {
    padding-top: 2.4rem;
    border-top: 0.1rem solid var(--neutral-200);
}

/* 타임라인 리스트 */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.timeline-item-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.2rem 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    cursor: move;
    transition: all 0.2s ease;
}

.timeline-item-card:hover {
    border-color: var(--neutral-400);
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.timeline-item-card.dragging {
    opacity: 0.5;
    z-index: 1000;
}

.timeline-item-handle {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    color: var(--neutral-600);
}

.timeline-item-handle:active {
    cursor: grabbing;
}

.timeline-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timeline-item-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.4;
}

.timeline-item-preview {
    font-size: 1.3rem;
    color: var(--neutral-600);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline-item-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.timeline-item-edit-btn,
.timeline-item-delete-btn {
    width: 3.4rem;
    height: 3.4rem;
    border: none;
    cursor: pointer;
    display: flex;
    border-radius: 0.4rem;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1.6rem;
    line-height: 1;
    background: transparent;
}

.timeline-item-edit-btn:hover {
    background: var(--neutral-100);
}

.timeline-item-delete-btn:hover {
    background: var(--neutral-100);
}

.timeline-edit-icon {
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-pencil.svg) center center no-repeat;
}

.timeline-delete-icon {
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-x-red.svg) center center no-repeat;
}

.timeline-edit-icon,
.timeline-delete-icon {
    line-height: 1;
}

/* 워터마크 제거 모달 */
.watermark-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.watermark-modal-content {
    max-width: 51.2rem;
    width: 560px !important;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
}

.watermark-modal .header {
    padding: 1.6rem 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.watermark-header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
}

.watermark-modal .header .title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-950);
    text-align: left;
    flex: 1;
}

.watermark-modal .content {
    padding: 2.4rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* 탭 스타일 */
.watermark-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2.4rem;
    padding: 0.4rem;
    background-color: var(--neutral-50);
    border-radius: 1.2rem;
}

.watermark-tab {
    flex: 1;
    padding: 1.2rem 1.6rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.watermark-tab:hover {
    color: var(--neutral-800);
}

.watermark-tab.active {
    color: var(--neutral-950);
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

.watermark-tab-content {
    display: none;
}

.watermark-tab-content.active {
    display: block;
}

/* 섹션 스타일 */
.watermark-section {
    margin-bottom: 3.2rem;
}

.watermark-section:last-child {
    margin-bottom: 0;
}

.watermark-section-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.5;
}

.watermark-section-description {
    font-size: 1.4rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* 정보 그룹 */
.watermark-info-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    border-top: 0.1rem solid #e6e7e8;
    border-bottom: 0.1rem solid #e6e7e8;
}

.watermark-info-item {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.watermark-info-label {
    font-size: 1.4rem;
    color: var(--neutral-600);
    min-width: 6.4rem;
}

.watermark-info-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-950);
}

/* 입력 그룹 */
.watermark-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
}

.watermark-input {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    color: var(--neutral-950);
    background: var(--white);
    transition: all 0.2s ease;
}

.watermark-input:focus {
    outline: none;
    border-color: var(--neutral-950);
}

.watermark-input::placeholder {
    color: var(--neutral-400);
}

/* 버튼 스타일 (모달 내부 버튼만) */
.watermark-modal .watermark-btn {
    width: 100%;
    padding: 1.4rem 2.4rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s ease;
    margin-bottom: 1.6rem;
    position: static;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    outline: none;
    outline-offset: 0;
    border-radius: 0.8rem;
}

.watermark-modal .watermark-btn:last-child {
    margin-top: 1.2rem;
    margin-bottom: 0;
}

.watermark-modal .watermark-btn-naver {
    background-color: #03a94d;
}

.watermark-modal .watermark-btn-naver:hover {
    background-color: #039946;
}

.watermark-modal .watermark-btn-remove {
    background-color: #272a2b;
}

.watermark-modal .watermark-btn-remove:hover {
    background-color: #1a1c1d;
}

.watermark-modal .watermark-btn-event {
    background-color: var(--white);
    border: 0.1rem solid #e6e7e8;
    color: var(--neutral-950);
    margin-top: 0.8rem !important;
}

.watermark-modal .watermark-btn-event:hover {
    background-color: var(--neutral-50);
}

.watermark-modal .watermark-btn-icon {
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watermark-modal .watermark-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 안내문구 */
.watermark-notice {
    margin-top: 2.4rem;
    padding: 1.2rem 1.6rem;
    background-color: var(--neutral-50);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 1.2rem;
    list-style: none;
}

.watermark-notice-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1.4rem;
    color: var(--neutral-600);
    line-height: 1.4;
    margin-bottom: 0.2rem;
    position: relative;
}

.watermark-notice-item::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--neutral-400);
    margin-top: 0.7rem;
}

.watermark-notice-item:last-child {
    margin-bottom: 0;
}

/* 공유하기 모달 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.share-modal-content {
    max-width: 480px !important;
    width: 90%;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
}

.share-modal .header {
    padding: 1.6rem 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.share-header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
}

.share-modal .header .title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-950);
    text-align: left;
    flex: 1;
}

.share-modal .content {
    padding: 2.4rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* 공유 탭 스타일 */
.share-tabs {
    display: flex;
    gap: 0;
    padding: 0.4rem;
    background-color: var(--neutral-50);
    border-radius: 1.2rem;
    margin-bottom: 1.6rem;
}

.share-tab {
    flex: 1;
    padding: 1.2rem 1.6rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-tab:hover {
    color: var(--neutral-800);
}

.share-tab.active {
    color: var(--neutral-950);
    background-color: var(--white);
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

/* 안내문구 */
.share-notice {
    font-size: 1.5rem;
    color: var(--neutral-700);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

/* QR 코드 영역 */
.share-qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.share-qr-wrapper {
    width: 100%;
    max-width: 200px;
    padding: 1.2rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 1.2rem;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.share-qr-image {
    width: 100%;
    height: auto;
    display: block;
}

/* QR 코드 다운로드 버튼 */
.share-download-btn {
    width: fit-content;
    padding: 0.8rem 1.2rem;
    background: var(--neutral-100);
    border: 0.1rem solid var(--neutral-300);
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-950);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    margin: 0 auto 3.2rem auto;
}

.share-download-btn:hover {
    background: var(--neutral-200);
    border-color: var(--neutral-400);
}

.share-download-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-download-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 공유 액션 버튼들 */
.share-action-buttons {
    display: flex;
    gap: 0.8rem;
}

.share-link-btn,
.share-kakao-btn {
    flex: 1;
    padding: 1.6rem 2.4rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s ease;
}

.share-link-btn {
    background: var(--neutral-950);
    color: var(--white);
}

.share-link-btn:hover {
    background: var(--neutral-800);
}

.share-kakao-btn {
    background: #fee500;
    color: #000000;
}

.share-kakao-btn:hover {
    background: #fdd835;
}

.share-link-icon,
.share-kakao-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-link-icon img,
.share-kakao-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-notice {
    width: 100%;
    margin-top: 2.4rem;
    padding-top: 2.4rem;
    border-top: 0.1rem solid var(--neutral-200);
}

.modal-notice-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 1.2rem 1.6rem;
    background: var(--neutral-50);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 1.2rem;
}

.modal-notice-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.modal-notice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-950);
}

.modal-notice-desc {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-800);
}

.modal-notice-content {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-600);
}

.share-custom-link-btn {
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    color: var(--neutral-950);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.share-custom-link-btn::after {
    content: "";
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    background: url(../images/ico14-custom-link.svg) no-repeat center center;
    background-size: 100% 100%;
}

.share-custom-link-btn:hover {
    border-color: var(--neutral-400);
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

/* 통계 페이지 */
.stats-main {
    width: 140rem;
    margin: 2.4rem auto;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.6rem;
    margin-bottom: 1.6rem;
}

/* 20260108 통계 화면 수정 */
.stats-back-btn {
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    background: url(../images/ico20-left.svg) no-repeat center center var(--white);
    background-size: 2rem 2rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.stats-back-btn:hover {
    background: url(../images/ico20-left.svg) no-repeat center center var(--neutral-50);
    background-size: 2rem 2rem;
    border-color: var(--neutral-400);
}

.stats-card-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--neutral-950);
    line-height: 1.4;
    margin: 0;
}

.stats-body {
    display: grid;
    grid-template-columns: 32rem 1fr;
    gap: 4rem;
}

/* 20260108 통계 화면 수정 end */

.header-right-stats {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.stats-card-selector {
    flex: 1;
}

.stats-card-dropdown {
    width: 100%;
    max-width: 32rem;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-950);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2345484a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.6rem center;
    padding-right: 4rem;
}

.stats-card-dropdown:focus {
    outline: none;
    border-color: var(--neutral-950);
}

.stats-excel-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    transition: all 0.2s ease;
}

.stats-excel-btn:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
}

.stats-excel-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-excel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 통계 요약 카드 */
.stats-summary-cards {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.stats-summary-row {
    display: flex;
    gap: 1.6rem;
}

.stats-summary-card {
    flex: 1;
    padding: 0.8rem 2.4rem;
}

.stats-summary-card:has(.stats-summary-card-absent) {
    background: var(--neutral-50);
    border-top: 0.1rem solid var(--neutral-200);
}

.stats-summary-card-horizontal {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.stats-summary-card-desc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-top: 0.1rem solid var(--neutral-200);
}

.stats-summary-card-desc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-summary-card-desc-item.meal .stats-summary-label-inline::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-meal.svg) no-repeat center center;
    background-size: 100% 100%;
}

.stats-summary-card-desc-item.bus .stats-summary-label-inline::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-bus.svg) no-repeat center center;
    background-size: 100% 100%;
}

.stats-summary-value {
    font-size: 4rem;
    font-weight: 400;
    color: var(--neutral-950);
    line-height: 100%;
}

.stats-summary-card-attend,
.stats-summary-card-absent {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem 0;
}

/* .stats-summary-value-attend {
    color: #03c75a;
}

.stats-summary-value-absent {
    color: var(--error);
} */

.stats-summary-label {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-600);
    line-height: 1.4;
}

.stats-summary-label-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neutral-700);
    line-height: 1.4;
}

.stats-summary-value-inline {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--neutral-950);
    line-height: 100%;
}

/* RSVP 섹션 */
.stats-rsvp-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stats-rsvp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-rsvp-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: 0.8rem;
}

.stats-rsvp-update {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-600);
}

.stats-rsvp-update-time {
    font-weight: 500;
}

.stats-rsvp-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.stats-rsvp-filter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stats-rsvp-filter-desc {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-600);
    line-height: 1.4;
}

.stats-rsvp-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.8rem 3.8rem 0.8rem 1.6rem;
    background: url(../images/arrow-down-01-round.svg) var(--white) no-repeat right 1.2rem center;
    background-size: 1.8rem 1.8rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
    transition: all 0.2s ease;
}

.stats-rsvp-filter select:hover {
    background: url(../images/arrow-down-01-round.svg) var(--white) no-repeat right 1.2rem center;
    background-size: 1.8rem 1.8rem;
    border-color: var(--neutral-400);
}

.stats-rsvp-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-950);
    line-height: 1.4;
    margin: 0;
}

.stats-more-link {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.stats-more-link:hover {
    color: var(--neutral-950);
}

/* RSVP 테이블 */
.stats-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 0.8em;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
}

.stats-table-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.stats-table-tab {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stats-table-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    background: var(--neutral-100);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.6rem 1rem;
}

.stats-table-tab-btn:hover {
    background: var(--neutral-200);
}

.stats-table-tab-btn.active {
    background: var(--neutral-950);
    color: var(--white);
}

.stats-table-tab-count {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-600);
    line-height: 1;
}

.stats-table-tab-btn.active .stats-table-tab-count {
    color: var(--neutral-400);
}

.stats-table-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 0.1rem solid var(--neutral-200);
}

.stats-table-header,
.stats-table-footer {
    padding: 1.6rem 2.4rem;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table thead {
    background: var(--neutral-50);
}

.stats-table th {
    padding: 1.6rem 2.4rem;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neutral-800);
}

.stats-table tbody {
    border-top: 0.1rem solid var(--neutral-200);
}

.stats-table td {
    padding: 1.2rem 2.4rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-950);
    border-bottom: 0.1rem solid var(--neutral-200);
}

.stats-table tbody tr:hover {
    background: var(--neutral-50);
}

.stats-table tbody tr:has(.stats-table-empty-text):hover {
    background: var(--white);
}

.stats-table tbody tr:last-child td {
    border-bottom: none;
}

.stats-table-empty {
    width: 100%;
}

.stats-table-empty-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-500);
    line-height: 1.4;
    padding: 2.4rem 0;
}

.stats-table-empty-text::before {
    content: "";
    display: block;
    width: 9.2rem;
    height: 3.2rem;
    background: url(../images/logo_gray.svg) no-repeat center;
    background-size: 100% 100%;
}

.stats-attend-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 100rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-950);
    line-height: 1.4;
    background: var(--white);
    border: 0.1rem solid var(--neutral-700);
}

.stats-attend-badge.absent {
    opacity: 0.5;
    border: 0.1rem solid var(--neutral-400);
}

.stats-check-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stats-check-icon.check {
    background: url(../images/ico20-circle-check.svg) no-repeat center;
    background-size: 100% 100%;
}

.stats-check-icon.not {
    background: url(../images/ico20-circle-x.svg) no-repeat center;
    background-size: 100% 100%;
}

/* 페이징 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1.2rem;
}

.pagination-left,
.pagination-right {
    display: flex;
    align-items: center;
}

.pagination-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    font-family: "Wanted Sans Variable", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.4rem;
    color: var(--neutral-950);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--neutral-100);
    border-color: var(--neutral-400);
}

.pagination-btn.prev {
    background: url(../images/ico16-arrow-left.svg) no-repeat center;
    background-size: 1.6rem 1.6rem;
}

.pagination-btn.next {
    background: url(../images/ico16-arrow-right.svg) no-repeat center;
    background-size: 1.6rem 1.6rem;
}

@media (hover: hover) and (pointer: fine) {
    .pagination-btn.prev:hover {
        background: url(../images/ico16-arrow-left.svg) no-repeat center var(--white);
        background-size: 1.6rem 1.6rem;
    }
    .pagination-btn.next:hover {
        background: url(../images/ico16-arrow-right.svg) no-repeat center var(--white);
        background-size: 1.6rem 1.6rem;
    }
}

.pagination-btn.prev,
.pagination-btn.next {
    font-size: 0;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: var(--neutral-950);
    border-color: var(--neutral-950);
    color: var(--white);
    font-weight: 700 !important;
}

.pagination-btn.active:hover {
    background: var(--neutral-950);
    border-color: var(--neutral-950);
    color: var(--white);
}

.pagination-numbers {
    display: flex;
    gap: 0.4rem;
}

/* 20260112 추가 start */
/* 청첩장 이름 변경 모달 */
.rename-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.rename-modal-content {
    background-color: var(--white);
    border-radius: 1.2rem;
    max-width: 40rem;
    width: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
}

.rename-modal .header {
    padding: 1.6rem 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-200);
}

.rename-header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
}

.rename-modal .header .title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-950);
    text-align: left;
    flex: 1;
}

.rename-modal .content {
    padding: 2.4rem;
}

.rename-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.4rem;
}

.rename-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    line-height: 1.4;
}

.rename-input {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-family: "Wanted Sans Variable", sans-serif;
    color: var(--neutral-950);
    background: var(--white);
    transition: all 0.2s ease;
}

.rename-input:focus {
    outline: none;
    border-color: var(--neutral-950);
}

.rename-input::placeholder {
    color: var(--neutral-400);
}

.rename-submit-btn {
    width: 100%;
    padding: 1.4rem 2.4rem;
    background: var(--neutral-950);
    color: var(--white);
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rename-submit-btn:hover {
    background: var(--neutral-800);
}
/* 20260112 추가 end */

/* 로딩바 - 20260121 추가 start */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.loading-overlay > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 반응형 - 로딩 오버레이 */
@media (max-width: 768px) {
    .loading-overlay > div {
        padding: 30px 40px;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .loading-text {
        font-size: 14px;
    }
}
/* 로딩바 - 20260121 추가 end */

/* 앱 다운로드 페이지 - 20260121 추가 start */
.app-download-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.app-header {
    padding: 20px 24px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.app-logo {
    height: 32px;
    width: auto;
}

.app-hero {
    padding: 60px 24px 80px;
    text-align: center;
}

.app-hero-content {
    max-width: 480px;
    margin: 0 auto;
}

.app-hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #272a2b;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.app-hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 48px 0;
}

.app-hero-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.app-download-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.app-store-btn,
.google-play-btn {
    display: inline-block;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    max-width: 40%;
    flex: 0 1 auto;
}

.app-store-btn img,
.google-play-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.app-store-btn:hover,
.google-play-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-features {
    padding: 40px 24px 60px;
    background: #ffffff;
}

.feature-item {
    max-width: 480px;
    margin: 0 auto 48px;
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-highlight {
    padding: 16px 20px 8px 20px;
    background: transparent;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-title {
    padding: 24px 20px 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #272a2b;
    margin: 0;
    letter-spacing: -0.3px;
    text-align: center;
}

.feature-description {
    padding: 12px 20px 0 20px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    text-align: center;
}

.feature-image-wrapper {
    width: 100%;
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.app-cta {
    padding: 60px 24px 100px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.app-cta-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #272a2b;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

/* 반응형 - 앱 다운로드 페이지 */
@media (max-width: 768px) {
    .app-hero-title {
        font-size: 28px;
    }

    .app-hero-description {
        font-size: 15px;
    }

    .app-hero-image {
        max-width: 280px;
    }

    .feature-item {
        margin-bottom: 32px;
    }

    .feature-highlight {
        padding: 24px 16px 6px 16px;
        font-size: 1.6rem;
    }

    .feature-title {
        padding: 8px 16px 0 16px;
        font-size: 18px;
    }

    .feature-description {
        padding: 10px 16px 0 16px;
        font-size: 14px;
    }

    .feature-image-wrapper {
        padding: 16px;
    }

    .app-cta-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 640px) {
    .app-store-btn,
    .google-play-btn {
        max-width: 45%;
    }
}

/* 하단 고정 다운로드 버튼 */
.app-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #272a2b;
    padding: 12px 24px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.app-fixed-bottom.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.app-fixed-bottom:hover {
    background: #1a1c1d;
}

/* 앱 다운로드 페이지 - 20260121 추가 end */

.toggle-password-btn {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/ico18-pw-view.svg) no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: unset;
}

.toggle-password-btn.view {
    background: url(../images/ico18-pw-fade.svg) no-repeat center center;
}

/* 토스트 */
.toast {
    position: fixed;
    bottom: 1.6rem;
    right: 0;
    left: 0;
    margin: 0 auto;
    border-radius: 100rem;
    padding: 0.6rem 1.2rem 0.6rem 0.8rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    width: fit-content;
    backdrop-filter: blur(0.8rem);
    animation:
        slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        fadeOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

.toast.show {
    opacity: 1;
}

.toast-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: var(--white);
    border-radius: 100rem;
}

.toast.check {
    background: rgba(13, 157, 5, 0.7);
    box-shadow: 0 0.4rem 1.6rem rgba(13, 157, 5, 0.24);
}

.toast.check .toast-icon::before {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    background-image: url(../images/ico14-toast-check.svg);
}

.toast.error {
    background: rgba(225, 29, 72, 0.7);
    box-shadow: 0 0.4rem 1.6rem rgba(225, 29, 72, 0.24);
}

.toast.error .toast-icon::before {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    background-image: url(../images/ico14-toast-error.svg);
}

.toast-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(1.5rem) scale(0.98);
    }

    60% {
        opacity: 1;
        transform: translateY(-0.2rem) scale(1);
    }

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* 하객 맞춤 링크 모달 */
.custom-link-modal .modal {
    width: 100%;
    height: 100%;
    max-width: 48rem;
    max-height: 65dvh;
}

.custom-link-modal-content .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-link-modal-content .header {
    padding: 1.6rem 2.4rem;
    border-bottom: 0.1rem solid var(--neutral-100);
}

.custom-link-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-link-tabs {
    display: flex;
    gap: 0;
    padding: 0.4rem;
    background-color: var(--neutral-50);
    border-radius: 1.2rem;
    margin-bottom: 1.6rem;
}

.custom-link-tab {
    flex: 1;
    padding: 1.2rem 1.6rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-link-tab:hover {
    color: var(--neutral-800);
}

.custom-link-tab.active {
    color: var(--neutral-950);
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1.6rem rgba(39, 42, 43, 0.12);
}

.custom-link-tab-content {
    display: none;
}

.custom-link-tab-content.active {
    display: block;
}

.custom-link-group-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
    min-height: 0;
}

.custom-link-add-btn {
    padding: 0.4rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-950);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-link-group {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    overflow-y: auto;
}

.custom-link-group::-webkit-scrollbar {
    width: 0.4rem;
}

.custom-link-group::-webkit-scrollbar-track {
    background: transparent;
}

.custom-link-group::-webkit-scrollbar-thumb {
    background-color: var(--neutral-400);
    border-radius: 0.4rem;
}

.custom-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
    padding: 0.8rem 1.2rem 0.8rem 1.6rem;
    border-radius: 0.8rem;
    background-color: var(--white);
    transition: all 0.2s ease;
    min-width: 0;
}

.custom-link-item:hover {
    background-color: var(--neutral-50);
    border-color: var(--neutral-200);
}

.custom-link-item.empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 2.4rem;
}

.custom-link-item.empty .custom-link-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.custom-link-item.empty .custom-link-desc {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neutral-600);
}

.custom-link-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.custom-link-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-950);
}

.custom-link-desc {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}
.custom-link-desc span {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--neutral-700);
}

.custom-link-side {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.custom-link-memo {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.custom-link-memo::before {
    content: "";
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    background-color: var(--neutral-400);
    border-radius: 50%;
    margin: 0 0.4rem;
    vertical-align: middle;
    transform: translateY(-0.05em);
}

.custom-link-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

.custom-link-kakao-btn {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    background: #fee500;
    border: none;
    border-radius: 0.6rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--neutral-950);
    cursor: pointer;
}

.custom-link-kakao-btn::before {
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    background: url(../images/ico16-kakao-black.svg) no-repeat center center;
}

.custom-link-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 0.7rem;
    border-radius: 0.8rem;
    cursor: pointer;
}

.custom-link-more-btn::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(../images/ico20-more.svg) no-repeat center center;
}

.custom-link-more {
    position: relative;
}

.custom-link-more-content {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 7.2rem;

    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    padding: 0.4rem 0;
    list-style: none;

    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);

    display: none;
    z-index: 10;
}

.custom-link-more.is-open .custom-link-more-content {
    display: block;
}

.custom-link-more-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.6rem 1.2rem;
    background: none;
    border: 0;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-950);
    cursor: pointer;
}

.custom-link-more-item.edit {
    color: var(--neutral-950);
}

.custom-link-more-item.edit::after {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--neutral-800);
    mask: url(../images/ico14-edit.svg) no-repeat center center;
    mask-size: 1.4rem 1.4rem;
}

.custom-link-more-item.delete {
    color: var(--error);
}

.custom-link-more-item.delete::after {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background: url(../images/ico14-delete.svg) no-repeat center center;
}

.custom-link-more-item:hover {
    background: var(--neutral-50);
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.segmented-item {
    display: block;
}

.segmented-item input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.segmented-btn {
    padding: 1.2rem 1.6rem;
    border-radius: 0.8rem;
    background: var(--neutral-50);
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--neutral-700);
    cursor: pointer;
    user-select: none;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.segmented-check {
    opacity: 0;
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    background: url(../images/ico16-check-black.svg) no-repeat center center / cover;
    position: absolute;
}

.segmented-item input[type="radio"]:checked + .segmented-btn {
    background: var(--white);
    border-color: var(--neutral-950);
    color: var(--neutral-950);
}

.segmented-item input[type="radio"]:checked + .segmented-btn .segmented-check {
    opacity: 1;
    position: relative;
}

.segmented-item input[type="radio"]:focus-visible + .segmented-btn {
    box-shadow: 0 0 0 0.3rem rgba(43, 46, 47, 0.12);
}

.custom-link-modal-content .edit-form-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.custom-link-modal-content .modal-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.custom-link-modal-content .modal-form-footer button {
    flex: 1;
}

.modal-form-cancel-btn {
    padding: 1.2rem 1.6rem;
    border-radius: 0.8rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--neutral-700);
    cursor: pointer;
    user-select: none;
    transition:
        background 200ms ease,
        border-color 200ms ease,
        color 200ms ease;
}

.modal-form-cancel-btn:hover {
    color: var(--neutral-950);
    background: var(--neutral-50);
}

.modal-form-submit-btn {
    padding: 1.2rem 1.6rem;
    border-radius: 0.8rem;
    background: var(--neutral-950);
    border: 0.1rem solid var(--neutral-950);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--white);
    cursor: pointer;
    user-select: none;
    transition:
        background 200ms ease,
        border-color 200ms ease,
        color 200ms ease;
}

.modal-form-submit-btn:hover {
    background: var(--neutral-900);
    border-color: var(--neutral-900);
}

.custom-link-modal-content:has(.modal-form-footer) {
    height: auto;
}

/* 툴팁 */
.edit-tooltip {
    position: relative;
    display: inline-flex;
}

.edit-tooltip-icon {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-tooltip.svg) no-repeat center center / cover;
}

.edit-tooltip-content {
    position: absolute;
    left: 50%;
    width: fit-content;
    background: var(--neutral-700);
    border-radius: 0.4rem;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 150ms ease,
        transform 150ms ease,
        visibility 0s linear 150ms;
    z-index: 100;
}

.edit-tooltip-content.bottom {
    top: calc(100% + 0.6rem);
    transform: translateX(-50%) translateY(0.2rem); /* 시작: 아래쪽 */
}

.edit-tooltip-content.bottom::after {
    content: "";
    position: absolute;
    top: -0.2rem;
    left: 50%;
    transform: translateX(calc(-50% + 0.05rem)) rotate(45deg);
    width: 1rem;
    height: 1rem;
    background: var(--neutral-700);
    border-radius: 0.2rem;
    z-index: -1;
}

/* ✅ 위에 뜨는 툴팁: 위에서 아래로(= 살짝 더 위에서 시작해서 내려옴) */
.edit-tooltip-content.top {
    bottom: calc(100% + 0.6rem);
    transform: translateX(-50%) translateY(-0.2rem); /* 시작: 위쪽 */
}

.edit-tooltip-content.top::after {
    content: "";
    position: absolute;
    bottom: -0.2rem; /* 말풍선 아래에 꼬리 */
    left: 50%;
    transform: translateX(calc(-50% + 0.05rem)) rotate(45deg);
    width: 1rem;
    height: 1rem;
    background: var(--neutral-700);
    border-radius: 0.2rem;
    z-index: -1;
}

/* 텍스트 */
.edit-tooltip-content p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
    text-wrap: nowrap;
    text-align: center;
}

.edit-tooltip:hover .edit-tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition:
        opacity 150ms ease,
        transform 150ms ease,
        visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
    .edit-tooltip-content {
        transition: none;
    }
}

/* 편집 화면 테마 색상 선택 */
.edit-theme-color-grid {
    display: flex;
    justify-content: flex-start;
    gap: 0.8rem;
}

.edit-theme-color-option {
    background: var(--white);
}

.edit-theme-color-option .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);

    white-space: nowrap;
    border: 0;
}

.edit-theme-color-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.edit-theme-color-chip {
    width: 4.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 0.4rem 0.2rem;
    border-radius: 0.4rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-200);
    padding: 0.6rem 0.6rem 0.4rem 0.6rem;
    cursor: pointer;
}

.edit-theme-color-main {
    grid-column: 1 / -1;
    aspect-ratio: 1;
    border-radius: 0.4rem;
    background: var(--theme-color-main);
}

.edit-theme-color-sub {
    height: 1rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 100rem;
    width: 100%;
    background: var(--theme-color-sub);
    align-self: center;
}

.edit-theme-color-third {
    width: 1rem;
    height: 1rem;
    border: 0.1rem solid var(--neutral-200);
    border-radius: 100rem;
    background: var(--theme-color-third);
    align-self: center;
    justify-self: end;
}

.edit-theme-color-input:checked + .edit-theme-color-chip {
    outline: 0.2rem solid var(--neutral-900);
}

.theme-black .edit-theme-color-chip {
    --theme-color-main: #272a2b;
    --theme-color-sub: #fff;
    --theme-color-third: #e6e7e8;
}

.theme-pink .edit-theme-color-chip {
    --theme-color-main: #fea6b1;
    --theme-color-sub: #fff;
    --theme-color-third: #272a2b;
}
.theme-beige .edit-theme-color-chip {
    --theme-color-main: #c6a88d;
    --theme-color-sub: #e5d9c8;
    --theme-color-third: #fff;
}
.theme-pink-gray .edit-theme-color-chip {
    --theme-color-main: #e6e7e8;
    --theme-color-sub: #fff;
    --theme-color-third: #e8b9bb;
}
.theme-beige-pink .edit-theme-color-chip {
    --theme-color-main: #e5d9c8;
    --theme-color-sub: #fff;
    --theme-color-third: #e8b9bb;
}
.theme-navy .edit-theme-color-chip {
    --theme-color-main: #a7b5d2;
    --theme-color-sub: #f5f6fa;
    --theme-color-third: #fff;
}

/* 샘플 먼저 둘러보기 페이지 */
.preview-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding-top: 2.4rem;
}

.preview-title {
    font-size: 3.2rem;
    color: var(--neutral-950);
}

.preview-desc {
    font-size: 1.7rem;
    color: var(--neutral-600);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8rem 4rem;
    margin-top: 1.6rem;
    margin-bottom: 8rem;
    align-items: start;
}

.preview-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--white);
    outline: 0.1rem solid var(--neutral-100);
    border-radius: 2rem;
    padding: 1.6rem;
}

.preview-card-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--white);
    outline: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    box-shadow: 0 0 4.8rem rgba(39, 42, 43, 0.12);
}

.preview-card-thumb-inner {
    aspect-ratio: 288 / 624;
}

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

.preview-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.preview-card-thumb:hover .preview-card-overlay {
    opacity: 1;
    visibility: visible;
}

.preview-card-make-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.8);
    border: 0.2rem solid var(--white);
    border-radius: 100rem;
    line-height: 1;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-950);
    box-shadow: 0 0.2rem 1.2rem rgba(39, 42, 43, 0.12);
    backdrop-filter: blur(2rem);
}

.preview-card-make-btn::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/ico18-preview-choice.svg) no-repeat center center / cover;
}

.preview-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.6rem;
    background: var(--neutral-50);
    border: 0.1rem solid var(--neutral-200);
    border-radius: 0.8rem;
    box-shadow: inset 0 0 1.6rem rgba(39, 42, 43, 0.05);
}

.preview-card-desc {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.preview-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.preview-card-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.8rem;
    border-radius: 100rem;
    background: var(--neutral-800);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
}

.preview-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem;
    margin-top: 1.6rem;
    background: var(--white);
    border: 0.1rem solid var(--neutral-800);
    border-radius: 0.6rem;
    font-size: 1.5rem;
    font-weight: 500;
    width: 100%;
}

.preview-card-link::after {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    background: url(../images/ico14-link.svg) no-repeat center center / cover;
}

.preview-card-link:hover {
    opacity: 1;
}

.preview-card.coming-soon {
    height: auto;
}
.preview-card.coming-soon .preview-card-desc {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--neutral-700);
    position: absolute;
    bottom: 7.2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}
