/* Kong88 ↔ Support Board integration */

/* Guest login notice — anchored above chat input area */
.sb-main.sb-chat .sb-scroll-area {
    position: relative;
}

.kong88-chat-guest-notice {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 5;
    margin: 0;
    padding: 10px 36px 12px 12px;
    background: linear-gradient(180deg, rgba(255, 249, 235, 0.97) 0%, rgba(255, 253, 248, 0.98) 100%);
    border-top: 1px solid rgba(255, 173, 0, 0.28);
    box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(4px);
}

.kong88-chat-guest-notice .kong88-chat-guest-notice__close.sb-dashboard-btn.sb-icon-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 1.5rem !important;
    height: 1.5rem !important;
    padding: 0;
    border: none;
    border-radius: 999px !important;
    background: #c72525 !important;
    color: rgb(255 255 255) !important;
    opacity: 1 !important;
    text-align: center !important;
    line-height: 1.5rem !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.kong88-chat-guest-notice .kong88-chat-guest-notice__close.sb-dashboard-btn.sb-icon-close:before {
    color: rgb(255 255 255) !important;
    line-height: 1.5rem !important;
}

.kong88-chat-guest-notice .kong88-chat-guest-notice__close.sb-dashboard-btn.sb-icon-close:hover {
    background: #c72525 !important;
    opacity: 1 !important;
}

.kong88-chat-guest-notice__inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.kong88-chat-guest-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #b7791f;
    background: linear-gradient(145deg, rgba(255, 214, 102, 0.45) 0%, rgba(255, 173, 0, 0.22) 100%);
    border: 1px solid rgba(255, 173, 0, 0.45);
    box-shadow: 0 2px 8px rgba(255, 173, 0, 0.18);
}

.kong88-chat-guest-notice__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kong88-chat-guest-notice__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #3d4a5c;
    letter-spacing: 0.01em;
}

.kong88-chat-guest-notice__text strong {
    color: #c05621;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* BO lobby auth tiles — scoped for chat guest notice */
.kong88-chat-guest-notice .bo-lobby-header__guest-auth {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.kong88-chat-guest-notice .bo-lobby-header__auth-tile.lobby-image--use-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 118px;
    height: 42px;
    padding: 0 14px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.kong88-chat-guest-notice .bo-lobby-header__auth-tile--login span,
.kong88-chat-guest-notice .bo-lobby-header__auth-tile--register span {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.kong88-chat-guest-notice .bo-lobby-header__register-badge.ui-badge__wrapper {
    display: inline-flex;
    align-items: stretch;
    position: relative;
}

/* Legacy */
.kong88-chat-guest-notice__btn,
.kong88-chat-login-banner {
    display: none;
}

.kong88-member-panel {
    margin: 12px 0 0;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.kong88-member-panel__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
}

.kong88-member-panel__muted {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #718096;
}

.kong88-member-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kong88-member-panel__list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.kong88-member-panel__list li span {
    color: #718096;
}

.kong88-member-panel__list li strong {
    color: #2d3748;
    font-weight: 600;
    text-align: right;
}
