.room-view-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1;
    width: 320px;
    height: 490px;
    border-radius: 8px;
    overflow: hidden;
    background: rgb(82 82 91);
    display: none;
}

.room-view-wrapper.active {
    display: block;
    z-index: 2;
}

.room-view-title {
    position: absolute;
    z-index: 1;
    border-bottom: 1px solid rgb(57 57 64);
    height: 60px;
    width: 100%;
    top: 0;
    padding: 12px;
    display: flex;
    align-items: center;
}

.room-view-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 49px;
    top: 60px;
    overflow-y: scroll;
    /* scroll bar 표시 제거 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.abbox-top-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.detail-items {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}


/*talk room*/

.room-input-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 50px;
}

.room-count {
    color: #8c8c8c;
    font-weight: 500;
    display: inline-block;
}

.room-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    line-height: 1.5;
    position: absolute;
    bottom: 0;
    border: none;
    outline: none !important;
    resize: none;
    border-top: 1px solid rgb(57 57 64);
    height: 50px;
    overflow: hidden;
    font-size: 1rem;
    padding-right: 50px;
    background: rgb(255 255 255);
    color: #000;
    font-size: 13px;
}

.message-wrapper {
    overflow: hidden;
    padding-bottom: 10px;
    position: relative;
    padding-top: 17px;
}

.message-personal-name {
    font-size: 12px;
    color: #d3d3d3;
    margin-bottom: 5px;
    position: absolute;
    left: 0;
    top: -22px;
    width: 100%;
    padding-left: 2px;
    padding-right: 2px;
}

.message-text {
    padding: 0px 0px;
    min-width: 40px;
    white-space: pre-wrap;
    word-break: break-all;
    color: #000;
    font-size: 13px;
}

.external-link {
    display: inline-block;
    color: #007bff;
}

.message-time-age {
    position: absolute;
    width: 100px;
    color: #9e9e9e;
    font-size: 11px;
    top: 6px;
}

.message-personal .message-time-age {
    right: 100%;
    text-align: right;
    left: auto !important;
    margin-right: 6px;
}

.message-personal .message-personal-name {
    text-align: right;
}

.message-other .message-time-age {
    left: 100%;
    right: auto !important;
    margin-left: 6px;
}

.message {
    padding: 5px 10px 5px;
    background: #FFF;
    margin: 3px 0;
    line-height: 1.4;
    margin-left: 35px;
    position: relative;
    letter-spacing: 0px;
    max-width: 70%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 10%);
}

.message-personal .message-avatar {
    display: none;
}

.message-avatar {
    position: absolute;
}

.message-other .message-avatar {
    left: -44px;
    top: 0;
    overflow: hidden;
}

.message-avatar img {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 10px;
    /* border: 1px solid #eceef0; */
    background: #607d8b;
}

.message-other {
    float: left;
    border-radius: 0px 8px 8px 8px;
    margin-left: 5px;
}

.message-personal {
    float: right;
    border-radius: 8px 0px 8px 8px;
    margin-right: 5px;
    background: #ffeb3b;
}

.message.new {
    transform: scale(0);
    transform-origin: 0 0;
    -webkit-animation: bounce 500ms linear both;
    animation: bounce 500ms linear both;
}

.room-input-send-button {
    position: absolute;
    right: 0;
    bottom: 0px;
    height: 100%;
    width: 47px;
    padding: 12px;
    cursor: pointer;
}

.room-input-send-button svg {
    fill: #e2b203;
}

.room-og-title {
    margin-top: 7px;
    margin-bottom: 5px;
    color: #333;
}

.room-og-img {
    width: 100%;
    display: block;
    text-align: center;
    height: 150px;
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
    background-repeat: no-repeat;
}

.room-view-close-button {
    font-size: 28px;
    position: absolute;
    right: 0;
    padding: 12px 16px 6px 16px;
    cursor: pointer;
}

.room-og-link {
    width: 200px;
    display: block;
}

.room-og-urlbase {
    color: #007bff;
}

.room-view-toggle {
    width: 56px;
    height: 56px;
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: url("/coin-info_net/img/open_chat.png?ver=20240907") no-repeat;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    background-size: 100%;
    cursor: pointer;
    border-radius: 100%;
    transition: all 0.3s;
    background-color: #32a4fa;
}

.message-get-button {
    font-size: 12px;
    padding: 7px;
    text-align: center;
    margin: 16px;
    border: 1px solid #737373;
    color: #fff;
    background: #656565;
    cursor: pointer;
    border-radius: 5px;
}

.room-title-nick {
    padding-left: 10px;
}

.room-title-nick a {
    color: rgb(251, 191, 36);
    font-size: 14px;
}

@keyframes bounce {
    0% {
        transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    4.7% {
        transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    9.41% {
        transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    14.11% {
        transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    18.72% {
        transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    24.32% {
        transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    29.93% {
        transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    35.54% {
        transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    41.04% {
        transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    52.15% {
        transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    63.26% {
        transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    85.49% {
        transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    100% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@media (max-width: 992px) {
    .room-view-wrapper {
        width: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        height: 340px;
        box-shadow: 0 -1px 40px #000;
    }
    .room-view-toggle {
        bottom: 86px;
    }
}