@charset "UTF-8";

@font-face {
    font-family: 'AppleSDGothicNeo';
    src: url('/css/font/AppleSDGothicNeo-Regular.woff2') format('woff2');
    font-weight: 400;
}
@font-face {
    font-family: 'AppleSDGothicNeo';
    src: url('/css/font/AppleSDGothicNeo-SemiBold.woff2') format('woff2');
    font-weight: 600;
}
@font-face {
    font-family: 'AppleSDGothicNeo';
    src: url('/css/font/AppleSDGothicNeo-ExtraBold.woff2') format('woff2');
    font-weight: 900;
}

#body {padding-top: 0 !important;}
#body > .fix-layout {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
hr.padding {display: none !important;}

#smartphone {
    --kakao-txt: #212072;
    --kakao-bak: linear-gradient(to bottom, #ff6ab3 -10%, #ffffff 40%);
    --chat-my-bak: linear-gradient(to bottom, #e5f3ff 13%, #b5d7ff 33%, #c6e2ff);
    --chat-you-bak: linear-gradient(to bottom, #fffde4 13%, #fff8bb 33%, #fffbd4);
    --chat-my-shadow: inset 0 0 7px #c4d8ef;
    --chat-you-shadow: inset 0 0 7px #efefef;
    --screen-x-padding: .7em;
    position: fixed;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
    width: 91%;
    max-width: 300px;
    font-family: 'AppleSDGothicNeo';
    outline:0;
    transition:unset;
    -webkit-transition:unset;
    color: #010101;
    font-size: 14px;
    filter: drop-shadow(0 6px 30px rgba(0,0,0,.4));
    cursor: auto;
    pointer-events: auto;
}
#smartphone:before {content:"";display:block;position:relative;padding-top: 200%;z-index:-999;background: url(img/frame_phone.png) no-repeat 50% 50%;background-size: contain;}
#smartphone.show {display: block;}

#smartphone .phone-screen {position:absolute;left: 5.8%;top: 0;right: 5.9%;height: 100%;mask: url(img/frame_screen.png) 50% 50% no-repeat;-webkit-mask: url(img/frame_screen.png) 50% 50% no-repeat;mask-size: contain;-webkit-mask-size: contain;}
#smartphone .phone-screen::before {
    content: '';
    position: absolute;
    width: 34%;
    height: 5px;
    bottom: 3.5%;
    left: 32%;
    background: #000;
    border-radius: 1em;
    z-index: 1;
}

.phone-header {
    position: relative;
    top: 0;
    display: flex;
    padding: 1.4em 1.2em 0 2.2em;
    justify-content: space-between;
    align-items: center;
    height: 7.2%;
}
.phone-header strong {font-size: .95em;padding-top: .4em;}
.phone-header img {height: .73em;}

#screen {height: calc(88% + 1.2em); position: relative;top: 0;color: var(--kakao-txt); padding-top: .7em;}

.phone-screen {background: var(--kakao-bak);}

.messages-wrapper::scrollbar {width: 10px;}
.messages-wrapper::-webkit-scrollbar {width: 10px;}
.messages-wrapper::scrollbar-thumb {background:rgba(0,0,0,.7); border: 4px solid transparent; border-radius: 1em; background-clip: padding-box;}
.messages-wrapper::-webkit-scrollbar-thumb {background:rgba(0,0,0,.7); border: 4px solid transparent; border-radius: 1em; background-clip: padding-box;}

.talk-box, .talk-box .inner {height: 100%;}

.messenger {height: 100%;}
.messenger-top {padding: 0 .5em 15px; display: flex;justify-content: space-between;align-items: center;font-weight: 600;}
.messenger-top .back {
    position: relative;
    display: block;
    top: 0;
    height: 1.2em;
    padding-left: 1em;
    line-height: 1.4;
    cursor: pointer;
}
.messenger-top .back::before {
    content: '';
    position: absolute;
    top: .3em;
    left: 0;
    width: .7em;
    border-top: 2px solid;
    transform: rotate(-45deg);
}
.messenger-top .back::after {
    content: '';
    position: absolute;
    bottom: .32em;
    left: 0;
    width: .7em;
    border-top: 2px solid;
    transform: rotate(45deg);
}
.messenger-top .title {
    position: absolute;
    left: 0;
    width: 100%;
    padding-top: 5px;
    text-align: center;
    pointer-events: none;
    user-select: none;
    font-weight: 900;
}

.messenger-bottom {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    min-height: calc(27px + 2 * var(--screen-x-padding));
    display: flex;
    flex-direction: column;
}
.messenger-bottom .bottom-wrapper {
    padding: var(--screen-x-padding);
    padding-bottom: 2.5em;
}

.profile-wrapper {text-align: center;}
.profile-wrapper .profile-thumb {width: 5em;height: 5em;overflow:hidden;border-radius: 50%; corner-shape: squircle; margin: 0 auto; background: grey;}
.profile-wrapper .profile-thumb img {display:block;}

.profile-wrapper .profile-name {padding-top: 1em; font-size: 1.2em;}

.my-prof .profile-thumb {
    background: url('/pouch/img/나_프사.jpg') center / cover no-repeat;
}

p.profile-txt {
    font-size: .8em;
}