.wrap{
    position: relative;
}
.aside-menu{
    position: fixed;
    text-align: center;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    z-index: 99999;
}
.aside-menu-list{
    display: flex;
    flex-direction: column;
    gap: var(--space-small);
}
.aside-menu-list img{
    height: 2.5rem;
    border-radius: 50%;
}
.chat-panel{
    position: fixed;
    right: 80px;
    bottom: 20px;
    background: url(../img/0-imgPublishing/etc/chat-bg.jpg) no-repeat 50% 50% / cover;
    width: 350px;
    height: 600px;
    border-radius: 1rem;
    box-shadow: 0 4px 15.2px -7px rgba(0,0,0,0.25);
    display: none;
    transition: all .6s ease 0s;
}
.chat-panel.on {
    display: flex;
    flex-direction: column;
}
.chat-header{
    background-color: var(--cb-color-900);    
    height: 59px;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
}
.chat-inner-header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.chat-inner-header>span{
    color: #fff;
    font-size: .7rem;
}
.btn-chat-close{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%,-50%);
    line-height: 0;
}
.btn-chat-close img{
    height: 100%;
}
.chat-content {
    width: auto;
    /* margin: 1rem auto; */
    font-size: .7rem;
    padding: 1rem;
    flex: 1;
    position: relative;
}
.chat-date{
    background-color: #E9E9E9;
    border-radius: 2.5rem;
    width: 122px;
    padding: var(--space-x-small) var(--space-small);
    display: flex;
    justify-content: center;
    justify-self: center;
    margin-bottom: 1.2rem;
}
.chat-date>span{
    font-size: .5rem;
}
.avatar{
    display: flex;
    align-items: flex-end;
    gap: var(--space-x-small);
    margin-bottom: var(--space-small);;
}
.avatar img{
    height: 32px;
}
.avatar>span{
    font-size: .6rem;
    color: #AEAEAE;
}
.bubble{
    text-align: left;
    background-color: #fff;
    border-radius: .5rem;
    padding: var(--space-small);
    width: 236px;
    box-sizing: border-box;
    margin-bottom: var(--space-3x-large);
}
.chat-question{
    text-align: left;
    font-size: .6rem;
    margin-bottom: var(--space-small);
}
.chat-options{
    width: 206px;
    margin-bottom: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-x-small);
}
.chat-options>span{
    background-color: var(--cb-color-100);
    padding: .4rem var(--space-small);
    box-sizing: border-box;
    display: inline-block;
    border-radius: 2.5rem;
    transition: all .3s ease 0s;
}
.chat-options>span:hover{
    background-color: #fff;
}
.chat-input {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    right: 1rem;
}
.chat-input input[id="u-chat"]{
    width: 100%;
    border-radius: 2.5rem;
    padding: .7rem 0 .7rem 1.1rem;
    box-sizing: border-box;

    /* 부드러운 배경 */
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.3)
    );

    /* 블러 (glass 느낌 핵심) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* 안쪽 음영 (엠보싱 느낌) */
    box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.1),
    inset 0 -1px 2px rgba(255,255,255,0.7),
    0 4px 10px rgba(0,0,0,0.05);

    /* 테두리 */
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.chat-btn-send{
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 33px;
    height: 33px;
    padding: .2rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;

    /* 부드러운 배경 */
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.3)
    );

    /* 블러 (glass 느낌 핵심) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* 안쪽 음영 (엠보싱 느낌) */
    box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.1),
    inset 0 -1px 2px rgba(255,255,255,0.7),
    0 4px 10px rgba(0,0,0,0.05);

    /* 테두리 */
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.chat-btn-send img{
    height: 1rem;
}







/* --------------- */
/* 반응형 대응 코드 */
@media (max-width: 1440px){
    .chat-options {
        margin-bottom: 3.8rem;
    }
}


@media (max-width: 768px){
    
}


@media (max-width: 450px){
    .chat-panel {
        right: 0;
        bottom: 0;
        width: 100vw;
        height: calc(100vh - 65px);
    }
    .bubble {
        width: auto;
    }
}