.ss-chat-header-actions {
display: flex;
gap: 10px;
align-items: center;
}
#ss-chat-menu-btn {
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
}
#ss-chat-menu {
display: none;
background: #17171a;
border-bottom: 1px solid rgba(255,255,255,.12);
padding: 10px;
}
#ss-chat-menu button {
width: 100%;
padding: 10px;
margin-bottom: 6px;
background: #242428;
border: 1px solid rgba(255,255,255,.12);
color: white;
border-radius: 8px;
cursor: pointer;
text-align: left;
}
#ss-chat-button {
position: fixed;
right: 24px;
bottom: 24px;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 11px 18px 11px 16px;
border: 1px solid rgba(44, 245, 179, 0.35);
border-radius: 999px;
background: linear-gradient(135deg, #0f0f12 0%, #17171a 100%);
color: #fff;
font-weight: 600;
font-size: 14px;
cursor: pointer;
z-index: 99999;
box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 20px rgba(44,245,179,.25);
transition: transform .18s ease, box-shadow .18s ease;
}
#ss-chat-button:hover {
transform: translateY(-1px);
box-shadow: 0 14px 36px rgba(0,0,0,.55), 0 0 26px rgba(44,245,179,.4);
}
#ss-chat-button .ss-fab-icon {
width: 28px;
height: 28px;
border-radius: 50%;
background: #2cf5b3;
color: #0a0a0d;
display: inline-flex;
align-items: center;
justify-content: center;
}
#ss-chat-box {
display: none;
position: fixed;
right: 20px;
bottom: 86px;
width: 360px;
max-height: calc(100vh - 110px);
background: #0f0f12;
border: 1px solid rgba(255,255,255,.12);
border-radius: 14px;
z-index: 99999;
overflow-y: auto;
box-shadow: 0 0 30px rgba(0,0,0,.45);
}
#ss-chat-box::-webkit-scrollbar { width: 6px; }
#ss-chat-box::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.ss-chat-header {
background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
color: white;
padding: 12px 14px;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}
.ss-chat-header-info {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.ss-chat-avatar {
position: relative;
width: 38px;
height: 38px;
flex-shrink: 0;
}
.ss-chat-avatar img,
.ss-chat-avatar .ss-chat-avatar-fallback {
width: 38px;
height: 38px;
border-radius: 50%;
object-fit: cover;
background: #17171a;
display: flex;
align-items: center;
justify-content: center;
color: #2cf5b3;
font-size: 13px;
font-weight: bold;
}
.ss-chat-status-dot {
position: absolute;
right: -1px;
bottom: -1px;
width: 11px;
height: 11px;
border-radius: 50%;
background: #2cf5b3;
border: 2px solid #0f0f12;
box-shadow: 0 0 6px #2cf5b3;
}
.ss-chat-header-text {
display: flex;
flex-direction: column;
line-height: 1.15;
min-width: 0;
}
.ss-chat-header-name {
font-size: 15px;
font-weight: 700;
}
.ss-chat-header-sub {
font-size: 11px;
font-weight: 400;
opacity: .85;
}
.ss-chat-header button {
background: none;
border: none;
color: white;
font-size: 18px;
cursor: pointer;
padding: 4px 8px;
border-radius: 6px;
}
.ss-chat-header button:hover {
background: rgba(255,255,255,.1);
}
.ss-chat-welcome {
background: #17171a;
border: 1px solid rgba(255,255,255,.08);
border-radius: 10px;
padding: 12px 14px;
margin-bottom: 12px;
color: #e5e5ea;
}
.ss-chat-welcome-title {
font-size: 13px;
font-weight: 700;
color: #2cf5b3;
margin-bottom: 4px;
}
.ss-chat-welcome-body {
font-size: 12.5px;
line-height: 1.45;
color: #c9c9d1;
}
#ss-chat-quick {
padding: 10px 14px 2px;
border-top: 1px solid rgba(255,255,255,.08);
}
.ss-chat-quick-label {
font-size: 10px;
letter-spacing: 1.2px;
color: #7a7a85;
font-weight: 600;
margin-bottom: 6px;
}
.ss-chat-quick-chip {
display: block;
width: 100%;
text-align: left;
background: #17171a;
color: #e5e5ea;
border: 1px solid rgba(255,255,255,.08);
border-radius: 8px;
padding: 7px 11px;
font-size: 12.5px;
cursor: pointer;
margin-bottom: 5px;
transition: background .15s ease, border-color .15s ease;
}
.ss-chat-quick-chip:hover {
background: #1f1f24;
border-color: rgba(44,245,179,.35);
}
.ss-chat-footer {
padding: 8px 14px 10px;
background: #0a0a0d;
border-top: 1px solid rgba(255,255,255,.08);
display: flex;
flex-direction: column;
gap: 3px;
}
.ss-chat-footer-btn {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: #e5e5ea;
background: #17171a;
border: 1px solid rgba(255,255,255,.08);
border-radius: 8px;
padding: 8px 12px;
font-size: 12.5px;
font-weight: 600;
justify-content: center;
}
.ss-chat-footer-btn:hover {
background: #1f1f24;
border-color: rgba(88, 101, 242, .5);
}
.ss-chat-footer-note {
font-size: 10.5px;
color: #6a6a74;
text-align: center;
}
#ss-restart-box {
display: none;
padding: 14px;
background: #17171a;
border-bottom: 1px solid rgba(255,255,255,.12);
color: white;
text-align: center;
}
#ss-restart-box p {
margin: 0 0 10px;
font-size: 14px;
}
.ss-restart-actions {
display: flex;
gap: 8px;
}
.ss-restart-actions button {
flex: 1;
padding: 9px;
border-radius: 8px;
border: none;
cursor: pointer;
font-weight: bold;
}
#ss-minimize-chat {
background: #2b2b2f;
color: white;
}
#ss-restart-chat {
background: #ef4444;
color: white;
}
#ss-chat-messages {
height: 200px;
overflow-y: auto;
padding: 12px 14px;
color: white;
text-align: left;
}
.ss-msg-row {
display: flex;
gap: 8px;
margin-bottom: 10px;
align-items: flex-start;
}
.ss-msg-row.user {
flex-direction: row-reverse;
}
.ss-msg-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
background: #222;
}
.ss-msg-user,
.ss-msg-staff {
padding: 9px 11px;
border-radius: 10px;
color: white;
font-size: 14px;
max-width: 260px;
}
.ss-msg-user {
background: #5865F2;
}
.ss-msg-staff {
background: #2b2b2f;
}
.ss-msg-name {
font-size: 11px;
opacity: .75;
margin-bottom: 4px;
font-weight: bold;
}
.ss-msg-text {
white-space: pre-wrap;
word-break: break-word;
}
.ss-msg-attachment {
display: block;
color: #9ca3ff;
font-size: 12px;
margin-top: 6px;
}
.ss-msg-media {
max-width: 100%;
max-height: 180px;
border-radius: 8px;
display: block;
margin-top: 6px;
}
#ss-chat-form {
padding: 10px 14px 12px;
border-top: 1px solid rgba(255,255,255,.12);
}
#ss-chat-form textarea {
width: 100%;
height: 60px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid rgba(255,255,255,.12);
background: #1a1a1d;
color: white;
outline: none;
resize: none;
margin-bottom: 8px;
box-sizing: border-box;
font-size: 13px;
}
.ss-action-row {
display: flex;
gap: 8px;
align-items: center;
}
.ss-small-action {
width: 42px;
height: 42px;
background: #1a1a1d;
border: 1px solid rgba(255,255,255,.12);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: white;
font-size: 18px;
flex-shrink: 0;
}
.ss-send-btn {
flex: 1;
height: 42px;
background: #5865F2;
border: none;
border-radius: 8px;
color: white;
font-weight: bold;
cursor: pointer;
}
#ss-chat-status {
display: none;
}
#ss-chat-login-box {
padding: 18px;
color: #ccc;
text-align: center;
border-top: 1px solid rgba(255,255,255,.12);
}
.ss-login-btn {
display: block;
margin-top: 14px;
background: #5865F2;
color: white;
padding: 12px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
}
#ss-file-preview {
display: none;
margin-bottom: 10px;
padding: 8px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 8px;
background: #1a1a1d;
color: white;
font-size: 13px;
text-align: left;
}
#ss-file-preview img,
#ss-file-preview video {
max-width: 100%;
max-height: 140px;
border-radius: 8px;
display: block;
margin-top: 6px;
}
.ss-preview-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.ss-remove-file {
background: #ef4444;
border: none;
color: white;
border-radius: 6px;
padding: 4px 8px;
cursor: pointer;
}
#ss-emoji-picker {
display: none;
margin-top: 10px;
padding: 8px;
background: #1a1a1d;
border: 1px solid rgba(255,255,255,.12);
border-radius: 8px;
}
#ss-emoji-picker span {
font-size: 22px;
cursor: pointer;
margin: 4px;
display: inline-block;
}
