:root {
    --overlay-opacity: 0.55;
    --sheet-radius: 16px;
    --purple: #6e56cf;
    --gray-300: #d4d4d4;
    --text-strong: #111;
}

/*html,*/
/*body {*/
/*    height: 100%;*/
/*}*/

/*body {*/
/*    margin: 0;*/
/*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Helvetica, Arial, sans-serif;*/
/*    color: var(--text-strong);*/
/*    background: #fff;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

body.no-scroll {
    overflow: hidden;
}

.open-btn {
    appearance: none;
    border: 1px solid var(--gray-300);
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay-opacity));
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.overlay.visible {
    opacity: 1;
    pointer-events: auto;
    z-index: 9999;
}

.bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top-left-radius: var(--sheet-radius);
    border-top-right-radius: var(--sheet-radius);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
    max-height: 52vh;
    display: grid;
    grid-template-rows: auto 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.sheet-handle:active {
    cursor: grabbing;
}

.handle-bar {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: #c9c9c9;
}

.sheet-content {
    padding: 16px 20px 24px;
    text-align: center;
}

.icon {
    margin: 8px auto 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffd9d9;
    color: #ff5a5a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.sheet-content .title {
    margin: 0 0 18px;
    line-height: 1.4;
    font-size: 24px;
    font-weight: 700;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/*.btn {*/
/*    appearance: none;*/
/*    border: none;*/
/*    padding: 14px 16px;*/
/*    border-radius: 12px;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*}*/

.btn-secondary {
    background: #e6e6e6;
    color: #222;
}

.btn-primary {
    background: var(--purple);
    color: #fff;
}

#leaveBtn {
    border: none;
    background: #D1D1D1;
    color: #000000;
}

#continueBtn {
    border: none;
    background: #7155F8;
    color: #FFFFFF;
}

#leaveBtn, #continueBtn {
    font-size: 24px;
}

#continueBtn:hover {
    background: #4429d0;
}

@media (max-width: 780px) {
    .sheet-content .title,
    #leaveBtn, #continueBtn {
        font-size: 17px;
    }
}