@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");


:root {
    --main-color: #292F86;
    --sub-color: #FFF;
    --gold-color: #FFEBA8;
    --split-line: #EEE;
    --bg-color: #F2F2F2;
    --teeoff-border-color: #DDDDDD;
    --meta-color: #888;
    --used-text-color: #B0B0B0;
    --used-subtext-color: #C1C1C1;
    --round-btn-border-color: #E4E4E4;
    --tag-bg-color: #F0F0F0;
    --select-color: #32ECD8;
    --select-sub-color: #00B7A4;
    --bold-green-color: #CBE8E0;
    --coupon-border-color: #C2E3DA;
    --button-sub-color: #343CB3;
    --radio-border-color: #DBDBDB;
    --join-border-color: #E9E9E9;
    --default-menu-color: #97B0FF;
    --sort-color: #CCC;
    --post-border-color: #E3E3E3;
    --inc-dec-color: #E3E3E3;
    --split-color: #E6E6E6;
    --prefix-font-color: #222222;
    --payment-btn-color: #F0FFFD;
    --submit-color: #17195C;
    --panel-bg-color: rgba(0, 0, 0, 0.5);
    --fade-time: 0.3s;
    --notice-color: #444444;
    --alarm-color: #F34847;
    --placeholder-color: #A3A3A3;
    --main-padding: 1rem;
    --slide-point-color: rgba(255, 255, 255, 0.7);
    --slide-point-color: rgba(255, 255, 255, 0.7);
    --header-vertical-border: rgba(244, 244, 244, 0.25);
    --border-line-color: #F4F4F4;
    --flex-border-line-color: #F5F5F5;
    --day-select-color: #E4F8F2;
    --advantage-color: #F8F8F8;
    --resv-border-color: #AAAAAA;
    --inc-dec-bg-color: #F8F8F8;
    --button-color: black;
    --button-border-color: #BBBBBB;
    --focus-border-color: #B3B3B3;
    --tab-color: #666666;
    --input_disabled_color: #999999;
    --summary-button-border: #D3D3D3;
    --button-group-border: #D3D3D3;
    --caution-color: #EF1410;
    --total-cost-bg-color: #E4F8F2;
    --semi-black: #111;
}

textarea:focus,
input:focus {
    outline: none;
}



html {
    /* 이걸로 전체 사이즈 조절 */
    /* font-size: calc( 16px ); */
    /* font-size: calc(16px * 360 / 360); */
    font-size: calc(100dvw * 16 / 360);
    font-optical-sizing: none;
    /* opsz 자동 보정 끄기 */
    overscroll-behavior: none;

    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    cursor: url('/assets/images/cursor_touch.png') 16 16, auto !important;
    user-select: none;
}

input,
textarea,
button,
a {
    cursor: url('/assets/images/cursor_touch.png') 16 16, auto !important;
}

button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;

}

body {

    overscroll-behavior: none;

    background: white;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    height: 100dvh;

}


a {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    /* iOS Safari 하이라이트 제거 */
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-container {
    position: relative;
    display: flex;
    width: 22.5rem;
    height: 4.5rem;
    padding: 0 1rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    z-index: 1;

}

.header-text-wrapper {
    display: flex;
    padding-bottom: 0.125rem;
    flex-direction: column;
    align-items: flex-start;

}

.header-text {
    color: #111;
    font-family: "Pretendard Variable";
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

.search-container {
    position: relative;
    display: flex;
    width: 22.5rem;
    height: 2.75rem;
    padding: 0 1rem;
    flex-direction: column;
    align-items: flex-start;

}

.search-input {
    display: flex;
    padding: 0.125rem;
    align-items: center;

    border-radius: 0.375rem;
    background: #F2F2F2;
    width: 100%;
    height: 100%
}



.search-icon {
    display: flex;
    padding: 0.3125rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
}

.search-icon img {

    width: 1.25rem;
    height: 1.25rem;

}

.clear-icon {
    opacity: 0;
    visibility: hidden;

}

.clear-icon.show {
    opacity: 1;
    visibility: visible;
}

.search-text-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

}

.search-text-container input {
    color: #111111;
    font-family: "Pretendard Variable";
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    border: none;
    background-color: #F2F2F2;
    width: 100%;
}

.list-container-wrapper {
    position: relative;
    display: flex;
    width: 22.5rem;
    height: calc(100dvh - 11.25rem);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 1rem;
    margin-top: 0.75rem;

    overflow: hidden;
}



.list-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;

    flex-direction: column;
    align-items: flex-start;




    min-height: 0;
    /* flex item이 줄어들 수 있게 */
    overflow: hidden;
    overflow-y: auto;

    /* 스크롤바 숨기기 (Firefox) */
    scrollbar-width: none;
    /* 스크롤바 숨기기 (IE, Edge) */
    -ms-overflow-style: none;

    /* Pointer Events 사용 시 브라우저 기본 터치 동작 비활성화 */
    touch-action: none;
    -webkit-overflow-scrolling: touch;

    /* 드래그 중 텍스트 선택 방지 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* GPU 가속 (스크롤 + 러버밴드 transform) */
    will-change: scroll-position, transform;
}

/* 스크롤바 숨기기 (Webkit 브라우저) */
.list-container::-webkit-scrollbar {
    display: none;
}

.list-item {
    display: flex;
    width: 100%;
    min-height: 3.375rem;
    height: 3.375rem;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
    transition: opacity 0.2s ease;

}

.list-item:hover {
    /* background-color: #f2f2f2 */
    opacity: 0.7;
}




.list-item-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.list-item-icon img {
    width: 1.25rem;
    height: 1.25rem;

}

.list-item-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
}

.list-item-text-value {
    color: #111;
    font-family: "Pretendard Variable";
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;

}

.list-item-text-remark {
    color: #666;
    font-family: "Pretendard Variable";
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
}

.footer-container {
    position: relative;

    bottom: 0;
    background-color: #ffffff;
    height: 4rem;
    width: 100%;
    z-index: 50;
    display: flex;
    padding: 0 1rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.footer-button,
.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.2;
    color: #555;
    width: 4rem;
}

.footer-button img {
    display: block;
    width: 1.875rem;
    height: 1.875rem;
}

.footer-main img {
    width: 3.125rem;
    height: 3.125rem;
}


.curtain {
    pointer-events: none;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease;
    overscroll-behavior: contain;
    touch-action: none;
}

.curtain.show {
    pointer-events: auto;
    opacity: 2;
}

.detail-popup {
    position: fixed;
    z-index: 3;
    background-color: #fff;
    width: 100%;
    height: 90dvh;
    top: 100dvh;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
    transform: translateY(0);
}

.detail-popup.show {
    transform: translateY(-90dvh);
}

.detail-popup-header {
    position: relative;
    display: flex;
    height: 4.5rem;
    padding: 0 1rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-shrink: 0;
}

.detail-popup-header-text-wrapper {
    display: flex;
    padding-bottom: 0.125rem;
    flex-direction: column;
    align-items: flex-start;
}

.detail-popup-header-text {
    color: #000;
    font-family: "Pretendard Variable";
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.20;
}

.detail-popup-header-button {
    display: flex;
    padding-bottom: 0.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;

    position: absolute;
    right: 1rem;
    top: 1.125rem;
}

.detail-popup-header-button img {
    width: 2rem;
    height: 2rem;
}

.detail-popup-title {
    display: flex;
    padding: 0 1rem 1.5rem 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
}

.detail-popup-title-text {
    color: #000;
    font-family: "Pretendard Variable";
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.detail-popup-map-container {
    display: flex;
    padding: 0 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.detail-popup-map-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.detail-popup-info-container {
    display: flex;
    width: 22.5rem;
    padding: 1.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    flex-shrink: 0;
}

.detail-popup-info-item {
    display: flex;
    align-items: flex-start;
}

.detail-popup-info-item-title {
    display: flex;
    width: 5rem;
    align-items: center;
}

.detail-popup-info-item-title-text {
    color: #666;
    font-family: "Pretendard Variable";
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
}



.detail-popup-info-item-content {
    display: flex;
    padding-left: 1.125rem;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.detail-popup-info-item-content-text {
    color: #000;
    font-family: "Pretendard Variable";
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;

}