#place_popup {
    width: min(400px, 95%);
    height: 90vh;
    max-height: 810px;
}

#my_place {
    width: min(500px, 100%);
    height: auto;
    max-height: 90vh;
    background-color: #fff;
    border-top-right-radius: min(20px, max(15px, 4vw));
    border-top-left-radius: min(20px, max(15px, 4vw));
    overflow-y: auto;
}
#my_place > .body {
    width: 100%;
    height: auto;
    padding: 20px;
    padding: min(40px, max(8vw, 20px)) 10px 0;
    display: block;
    position: relative;
}
#my_place .ok_btn_area {
    position: sticky;
    bottom: 0;
    padding: min(40px, max(8vw, 20px)) 0;
    background-color: #fff;
}

.my_place_items_box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1px;
    background-color: var(--border-01);
    border-top: 1px solid var(--border-01);
    border-bottom: 1px solid var(--border-01);
}
.my_place_items_box > .my_place_item {
    background-color: var(--bg-01);
    padding: .5em min(20px, max(15px, 4vw));
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
}
.my_place_items_box > .on {
    background-color: var(--bg-12);
}
.my_place_items_box > .my_place_item > .left {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.5em;
}
.my_place_items_box > .my_place_item p.name {
    font-size: 1em;
    font-weight: 500;
    color: var(--text-01);
}
.my_place_items_box > .my_place_item p.address, .my_place_items_box > .my_place_item p.tel {
    font-size: .875em;
    color: var(--text-03);
}
.my_place_items_box > .my_place_item > .right {
    display: flex;
    align-items: center;
    gap: .1em;
    flex-wrap: nowrap;
}
.my_place_items_box > .my_place_item > .right img {
    display: inline-block;
    width: 24px;
    height: auto;
}



.information {
    font-size: .875em;
    color: var(--text-02);
}
.margin_bottom {
    margin-bottom: 20px;
}

.bugo_section_list {
    display: flex;
    gap: 5px;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    overflow-x: hidden;
}
.bugo_section_list > .bugo_section {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--bg-01);
    padding: 20px 20px 40px;
}
.title_box {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.title_box > .subtitle {
    display: inline-block;
    width: fit-content;
    height: auto;
    font-size: 1.125em;
    font-weight: 600;
    position: relative;
    flex-shrink: 0;
}
.title_box > .subtitle > .required {
    width: min(10px, max(8px, 2vw));
    height: auto;
    position: absolute;
    right: max(-12px, min(-10px, -2.25vw));
    top: 0;
}
.title_box > .right {
    display: flex;
    align-items: end;
    justify-content: right;
}
.title_box > .right > .my_checkbox {
    font-size: .875em;
    font-weight: 500;
}

.my_place {
    display: inline-flex;
    align-items: center;
    font-size: .875em;
    line-height: 1em;
    color: #000;
    gap: .2em;
}
.my_place > img {
    width: 1.125em;
    height: auto;
}

#skin_list_cover {
    display: block;
    width: 100%;
    overflow-x: scroll;
    height: auto;
    white-space: nowrap;
    font-size: 0;
    line-height: 0;
    margin-bottom: 20px;
    position: relative;
    touch-action: none; /* important: prevent default browser gestures */
    -ms-touch-action: none;
    -webkit-user-drag: none;
}
#skin_list_cover > .skin_cover {
    display: inline-block;
    width: min(130px, max(100px, 26vw));
    height: auto;
}
.skin_cover > .thumbnail {
    width: 98%;
    height: auto;
    margin: 0 auto;
    -webkit-user-drag: none;
}
.skin_cover > .skin_name {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    font-size: .875rem;
    line-height: 1em;
    padding-bottom: 1rem;
}
.skin_cover > .skin_name img {
    height: 1.2em !important;
}
.skin_cover > .skin_name > label {
    gap: .25em;
}

.single_row_list {
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
}
.single_row_list >  .row {
    width: 100%;
    height: auto;
    padding: .5em .75em ;
    border: 1px solid var(--border-input);
}

.double_cols_list {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 10px;
}
.double_cols_list > .col {
    width: 100%;
    height: auto;
    padding: .5em .75em ;
    border: 1px solid var(--border-input);
}

textarea {
    line-height: 1.5em;
    font-size: 1rem;
    color: #000;
    font-weight: 400;
}
textarea[name="goin_profile_desc"] {
    width: 100%;
    height: auto;
    aspect-ratio: 460/100;
    min-height: 80px;
}

textarea[name="bg_notice"], textarea[name="flr_msg"] {
    width: 100%;
    height: auto;
    aspect-ratio: 460/120;
    min-height: 80px;
}

.goin_age {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}
.goin_age::after {
    position: absolute;
    top: 50%;
    right: .5em;
    transform: translateY(-50%);
    width: fit-content;
    height: auto;
    line-height: 1em;
    font-size: 1em;
    content: "세";
    z-index: 1;
}
.goin_age > input::-webkit-outer-spin-button,
.goin_age > input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}
.goin_age > input[type=number] {
    -moz-appearance:textfield; /* Firefox */
    text-align: right;
    padding-right: 1.5em;
}

.yugongja, .binso_off {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 0 .75em ;
    border: 1px solid var(--border-input);
}

.goin_photo_box {
    display: flex;
    width: 100%;
    height: auto;
    align-items: baseline;
    justify-content: center;
    background-color: var(--bg-11);
    padding: 10px 0;
}
.goin_photo_box > .photo_box {
    display: flex;
    width: 110px;
    height: 150px;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-01);
    position: relative;
}
.sangjo_photo_box {
    display: flex;
    width: 100%;
    height: auto;
    align-items: baseline;
    justify-content: center;
    background-color: var(--bg-11);
    padding: 10px;
}
.sangjo_photo_box > .photo_box {
    display: flex;
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 360/120;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-01);
    position: relative;
}
.photo_box > .photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo_box > .upload_btn {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1em;
    line-height: 1em;
    text-align: center;
    color: #000;
}
.photo_box > .upload_btn > img {
    display: block;
    width: 32px;
    height: auto;
    margin: 0 auto 1em;
}
.photo_box > .btn_box {
    position: absolute;
    top: 2.5px;
    right: calc(-1em - 2px);
    width: 1em;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: left;
    z-index: 1;
}
.photo_box > .btn_box > a {
    display: inline-block;
    width: 1em;
    height: auto;
}
.photo_box > .btn_box > a > img {
    width: 100%;
    height: auto;
}
.fn_name {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}
.fn_name > a {
    display: block;
    width: fit-content;
    height: 70%;
    z-index: 1;
    position: absolute;
    right: .5em;
    top: 50%;
    transform: translateY(-50%);
}
.fn_name > input[type="text"] {
    padding-right: 2em;
}
.fn_name > a > img {
    width: auto;
    height: 100%;
}


.relation_list_box {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: left;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-08);
    margin-bottom: 10px;
}
.relation_list_box > .relation_box {
    display: inline-flex;
    width: 80px;
    height: auto;
    line-height: 1em;
    font-size: .875em;
    color: var(--text-03);
    justify-content: space-between;
    border: 1px solid var(--border-input);
    border-radius: 15px;
    padding: 7px 10px;
}
.relation_list_box > .relation_box:hover {
    background-color: var(--text-02);
    color: var(--bg-01);
    transition: all .3s;
    cursor: grab;
}
.sortable-placeholder {
    display: inline-flex;
    background-color: var(--bg-08);
    transform: translateY(30%);
}
.relation_list_box > .msg {
    display: block;
    width: 100%;
    font-size: .875em;
    line-height: 1em;
    font-weight: 500;
    padding-bottom: 5px;
}
#sangju_relation_box {
    padding: 10px;
}
#sangju_relation_box > .relation_box {
    justify-content: center;
    width: 5em;
    cursor: pointer;
}

.family_list_box {
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 1px;
    background-color: var(--bg-08);
    border-bottom: 1px solid var(--bg-08);
}
.family_list_box > * {
    background-color: var(--bg-01);
    width: 100%;
    height: auto;
}

.relation_add_btn {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1em;
    font-size: .875em;
    font-weight: 500;
    padding: 10px 0;
    background-color: var(--text-03);
    color: var(--bg-01);
    text-align: center;
    margin-top: 30px;
}
.relation_add_btn:hover {
    background-color: var(--text-02);
    text-decoration: none;
    transition: all .3s;
}

#relation_list_popup {
    width: min(95vw, 475px);
    height: auto;
    background-color: #fff;
    position: relative;
}
#relation_list_popup > .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 1em;
    height: auto;
}
#relation_list_popup > .close > img {
    width: 100%;
    height: auto;
}


.place_box_cover {
    display: block;
    padding-top: 5px;
}
.place_box {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1em;
    border-bottom: 1px solid #D1D1D1 ;
}

.place_box > .place_name {
    display: inline-block;
    width: 100%;
    font-size: 1em;
    font-weight: 400;
    padding-bottom: .25em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

.place_box > .place_addr {
    display: inline-block;
    width: 100%;
    font-size: .8em;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

/* 상주 */
.sangju_box {
    display: grid;
    grid-template-columns: 7em 6em auto 2.5em;
    gap: 5px 10px;
    padding: 10px 0;
}
.sangju_box > * {
    display: block;
    width: 100%;
    height: auto;
}
.sangju_box .thin {
    display: none !important;
}
.sangju_box > .sj_del_btn {
    display: flex;
    align-items: center;
    justify-content: left;
    color: #000;
    font-size: .875em;
    line-height: 1em;
}
.account_view, .no_account, .edit_account {
    grid-column: span 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    font-size: .875em;
    color: var(--text-03);
    gap: 5px;
}
.account_view > .acc_text, .no_account > .acc_text {
    position: relative;
    line-height: 1em;
    height: auto;
    padding-left: 2em;
}
.account_view > .acc_text > img, .no_account > .acc_text > img {
    width: auto;
    height: 120%;
    position: absolute;
    left: .5em;
    top: 45%;
    transform: translateY(-50%);
}
.edit_account > .input {
    display: grid;
    flex: 1;
    height: auto;
    font-size: 1rem;
    grid-template-columns: 7em auto 6em;
    gap: 10px;
}
.sangju_add_btn {
    display: flex;
    width: 100%;
    height: auto;
    border-bottom: 3px solid var(--bg-08);
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1em;
    font-size: .875em;
    font-weight: 500;
    padding: 10px 0;
    color: #000;
}
.sangju_add_btn:hover {
    background-color: var(--text-02);
    color: var(--bg-01);
    text-decoration: none;
    transition: all .3s;
}
.sangju_add_btn > img {
    width: auto;
    height: 1.2em;
}
.sangju_box .acc_edit_btn {
    flex-shrink: 0;
}

@media (max-width:400px) {
    .sangju_box {
        display: grid;
        grid-template-columns: 7em auto 2.5em;
        gap: 5px 10px;
        padding: 10px 0;
    }

    .sangju_box .thin {
        display: flex !important;
    }
    .sangju_box .wide {
        display: none;
    }

    .edit_account {
        align-items: baseline;
    }

    .edit_account > .input {
        grid-template-columns: 7em auto;
    }
}

@media (max-width:440px) {
    .sangju_sort_info {
        font-size: .75em;
    }
}
