/* =============================================================
   COMMUNITY CHATBOX — Floating Bubble UI
   ============================================================= */
#chat-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e51919, #ff6b6b);
    color: #fff;
    border: none;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(229, 25, 25, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8999;
    transition: transform 0.25s, box-shadow 0.25s;
}
#chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(229, 25, 25, 0.55);
}
#chat-toggle-btn .chat-unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #fbbf24;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    border-radius: 20px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    display: none;
}
#chat-toggle-btn .chat-unread-badge.visible {
    display: block;
    animation: chatBadgePop 0.3s ease;
}
@keyframes chatBadgePop {
    0%   { transform: scale(0); }
    65%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- Chatbox Panel --- */
#chatbox-panel {
    position: fixed;
    bottom: 95px;
    right: 24px;
    width: 350px;
    height: 480px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    z-index: 9000;
    /* overflow: hidden; -- Bỏ cái này để hiện popup dự đoán bên trên */
    /* Hidden by default */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#chatbox-panel.chat-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* --- Header --- */
.chatbox-header {
    background: linear-gradient(135deg, #e51919, #ff5252);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-radius: 22px 22px 0 0; /* Bo góc header */
}
.chatbox-header-title {
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chatbox-header-title::before {
    content: '💬';
    font-size: 18px;
}
.chatbox-online-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
    animation: chatPulse 1.5s infinite;
    display: inline-block;
}
@keyframes chatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
.chatbox-close-btn {
    background: rgba(255,255,255,0.25);
    border: none;
    color: #fff;
    font-size: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.chatbox-close-btn:hover { background: rgba(255,255,255,0.4); }

/* --- Message Area --- */
#chatbox-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8f9fc;
    scroll-behavior: smooth;
}
.chat-messages-container::-webkit-scrollbar { width: 6px; }
.chat-messages-container::-webkit-scrollbar-track { background: rgba(241, 245, 249, 0.5); }
.chat-messages-container::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.chat-messages-container::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Ngăn horizontal scroll khi reply btn hiện ra */
#chatbox-messages { overflow-x: hidden; }

/* --- Single Message --- */
.chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    animation: chatMsgIn 0.22s ease-out;
}
@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chat-msg-avatar {
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}
.chat-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat-msg-body { max-width: 240px; }
.chat-msg-meta {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 2px;
    padding-left: 2px;
}
.chat-bubble {
    background: #fff;
    border-radius: 12px 12px 12px 4px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: #1e293b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    line-height: 1.5;
    word-break: break-word;
}
/* Prediction bubble */
.chat-msg--prediction .chat-bubble {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-left: 3px solid #f59e0b;
}
.pred-badge {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* System message (time separator etc) */
.chat-system-msg {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    padding: 4px 0;
}

/* --- Input Area --- */
.chatbox-input-area {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    border-radius: 0 0 22px 22px; /* Bo góc footer */
    position: relative; /* đảm bảo predict-panel định vị đúng */
}
/* Login Prompt */
.chatbox-login-prompt {
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: #64748b;
}
.chatbox-login-prompt a {
    color: #e51919;
    font-weight: 700;
    text-decoration: none;
}
/* Input row */
.chat-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px 6px 4px 6px; /* Thay đổi padding cho cân đối nút trái/phải */
    transition: border-color 0.2s;
    position: relative;
}
.chat-input-row:focus-within {
    border-color: #e51919;
    box-shadow: 0 0 0 3px rgba(229, 25, 25, 0.08);
}
#chat-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #1e293b;
    padding: 6px 4px;
}
#chat-input::placeholder { color: #94a3b8; }

/* Nút Dự đoán (Icon súc sắc) */
#chat-predict-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#chat-predict-btn:hover, #chat-predict-btn.active {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: rotate(15deg) scale(1.1);
}

#chat-send-btn {
    background: #e51919;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
#chat-send-btn:hover { background: #c91515; transform: scale(1.08); }
#chat-send-btn:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }

/* --- Prediction Panel --- */
#chat-predict-panel {
    position: absolute;
    bottom: 100%; /* nằm trên input area */
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    padding: 12px;
    z-index: 9001;
    display: none;
    animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
#chat-predict-panel.active {
    display: block;
}

.predict-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.predict-title {
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.predict-title i {
    color: #f59e0b;
}
.chat-predict-close {
    background: #f1f5f9;
    border: none;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    line-height: normal;
}
.chat-predict-close:hover {
    background: #e51919;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}
.chat-predict-close i {
    pointer-events: none;
}

.predict-panel-body {
    display: flex;
    gap: 8px;
    align-items: center;
}
.predict-select, .predict-number {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none !important;
    height: 38px;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s;
}
.predict-select:focus, .predict-number:focus {
    border-color: #f59e0b;
}
.predict-select {
    flex: 2;
    padding: 0 8px;
}
.predict-number {
    flex: 1;
    text-align: center;
    padding: 0;
    -moz-appearance: textfield;
    appearance: none;
}
.predict-number::-webkit-outer-spin-button,
.predict-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.chat-predict-submit {
    flex: 1;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    height: 38px;
    transition: all 0.2s;
    white-space: nowrap;
}
.chat-predict-submit:hover {
    background: #000;
    transform: translateY(-1px);
}
.chat-predict-submit:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

/* --- Mobile --- */
@media (max-width: 640px) {
    #chatbox-panel {
        width: 100%;
        height: 65vh;
        bottom: 0;
        right: 0;
        border-radius: 22px 22px 0 0;
    }
    #chat-toggle-btn {
        bottom: 16px;
        right: 16px;
    }
}

/* ══════════════════════════════════════════
   REPLY FEATURE
   ══════════════════════════════════════════ */

/* Bọc avatar + body — chỉ rộng theo nội dung */
.chat-msg-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
}

/* Nút reply — flex sibling ngay sau bubble, không absolute */
.chat-reply-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8ecf0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.6);
    transition: opacity 0.18s, transform 0.2s cubic-bezier(0.175,0.885,0.32,1.2), background 0.15s;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 4px;
}
.chat-msg:hover .chat-reply-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.chat-reply-btn:hover {
    background: #e51919;
    color: #fff;
}
.chat-reply-btn svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Reply preview nhúng trong bubble (hiển thị nội dung được reply) */
.chat-reply-quoted {
    background: rgba(0,0,0,0.04);
    border-left: 3px solid #e51919;
    border-radius: 8px;
    padding: 5px 10px;
    margin-bottom: 6px;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}
.chat-reply-quoted strong {
    display: block;
    color: #e51919;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Reply bar phía trên input (khi đang chọn reply) */
.chat-reply-bar {
    display: none;
    align-items: center;
    gap: 8px;
    background: #fff5f5;
    border-left: 3px solid #e51919;
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #475569;
    animation: chatMsgIn 0.2s ease;
}
.chat-reply-bar.active {
    display: flex;
}
.chat-reply-bar .reply-bar-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-reply-bar strong {
    color: #e51919;
    font-weight: 700;
}
.chat-cancel-reply {
    background: none;
    border: none;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}
.chat-cancel-reply:hover { color: #e51919; }

/* ── Embedded Chat Section Revamp ── */
.ctdd-embedded-chat-section {
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .ctdd-embedded-chat-section {
        padding: 0 7px;
    }
}
.ctdd-section-title-wrap {
    margin-bottom: 30px;
    /* border-left: 5px solid #e51919; */
    padding-left: 20px;
}
.ctdd-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ctdd-section-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-top: 5px;
}

.embedded-chat-wrap {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    height: 700px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fdfdfd;
    font-family: 'Inter', sans-serif;
}

.embedded-chat-wrap.mini {
    height: 380px; /* Chiều cao ngắn cho trang chủ */
    border-radius: 16px;
}

.embedded-chat-wrap.mini .chat-messages-container {
    padding: 15px; /* Giảm padding cho bản mini */
}

.embedded-chat-header {
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.embedded-chat-header .title {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.chat-expand-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.chat-expand-btn:hover {
    background: #e51919;
    color: #fff;
    transform: scale(1.1);
}

/* Modal Phóng To Chat */
.chat-full-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chat-full-modal.active {
    display: flex;
}

.chat-full-content {
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    background: #fff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-full-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.embedded-chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Cho phép flex container co lại hợp lý */
}

.embedded-chat-container .chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    scroll-behavior: smooth;
}

/* Embedded Input Area at Bottom */
.chatbox-input-area.embedded {
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    min-height: 50px;
}

.chatbox-input-area.embedded .chat-input-row {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    border: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbox-input-area.embedded .chat-main-input {
    flex: 1;
    background: transparent;
    border: none !important;
    outline: none !important;
    font-size: 15px;
    padding: 8px 0;
    color: #1e293b;
}

/* Chỉ áp dụng style "icon button" cho các nút trigger */
.chatbox-input-area.embedded .chat-predict-trigger,
.chatbox-input-area.embedded .chat-send-trigger {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.chatbox-input-area.embedded .chat-predict-trigger:hover,
.chatbox-input-area.embedded .chat-send-trigger:hover {
    transform: scale(1.2);
}

/* Embedded Predict Panel - Overlay Style */
.chatbox-input-area.embedded .chat-predict-panel {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 30px;
    right: 30px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    padding: 20px;
}

.chatbox-input-area.embedded .chat-predict-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbox-input-area.embedded .predict-panel-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
}

.chatbox-input-area.embedded .predict-title {
    font-size: 16px;
}

.chatbox-input-area.embedded .predict-panel-body {
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.chatbox-input-area.embedded .predict-select,
.chatbox-input-area.embedded .predict-number {
    height: 48px;
    border-radius: 12px;
    padding: 0 15px;
    font-size: 14px;
}

.chatbox-input-area.embedded .predict-select { flex: 2; }
.chatbox-input-area.embedded .predict-number { flex: 1; }

.chatbox-input-area.embedded .chat-predict-submit {
    height: 48px;
    padding: 0 30px;
    border-radius: 12px;
    font-size: 14px;
}

.chatbox-input-area.embedded .chat-predict-submit:hover {
    background: #000;
    transform: scale(1.02);
}

/* Extra Polish for Messages in Big Box (Full Modal) */
.embedded-chat-container .chat-msg {
    margin-bottom: 12px;
    max-width: 90%;
}

/* Đảm bảo khung nhúng trang chủ vừa vặn */
.embedded-chat-wrap.mini .chat-msg-avatar {
    width: 32px;
    height: 32px;
    font-size: 18px;
}

.embedded-chat-wrap.mini .chat-bubble {
    padding: 8px 12px;
    font-size: 13.5px;
}

@media (max-width: 768px) {
    .embedded-chat-wrap { height: 500px; border-radius: 20px; }
    .chatbox-input-area.embedded { padding: 15px; }
    .embedded-chat-container .chat-messages-container { padding: 15px; }
    .chatbox-input-area.embedded .predict-panel-body { flex-direction: column; gap: 10px; }
    .chatbox-input-area.embedded select, .chatbox-input-area.embedded input[type="number"], .chatbox-input-area.embedded .chat-predict-submit { width: 100%; }
}

/* Common Toast Styles */
.chat-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    padding: 10px 18px;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: chatMsgIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.chat-toast.success { background: #10b981; }
.chat-toast.error   { background: #ef4444; }
.chat-toast.out {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}


/* ADMIN VIP */
@keyframes adminRing {
  0%,100% { box-shadow: 0 0 0 2px #d97706, 0 0 0 5px rgba(217,119,6,0.2); }
  50%      { box-shadow: 0 0 0 2px #d97706, 0 0 0 8px rgba(217,119,6,0.05); }
}
@keyframes crownFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}
@keyframes badgePulse {
  0%,100% { opacity:1; }
  50%      { opacity:0.7; }
}
.admin-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.admin-wrap .admin-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7f1d1d, #dc2626);
  border: 2px solid #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;
  font-weight: 900;
  font-size: 14px;
  animation: adminRing 2.5s ease-in-out infinite;
}
.admin-wrap .admin-crown {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  line-height: 1;
  animation: crownFloat 2.5s ease-in-out infinite;
  pointer-events: none;
}
.admin-wrap .admin-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #fff;
}
.admin-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg,#92400e,#b45309,#92400e);
  color: #fde68a;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  border: 1px solid #d97706;
  animation: badgePulse 2s ease-in-out infinite;
}
/* END ADMIN VIP */
.admin-av-img { width: 32px !important; height: 32px !important; border-radius: 50% !important; object-fit: cover !important; border: 2px solid #d97706 !important; display: block !important; }
.admin-av-img { border: 2.5px solid #d97706 !important; border-radius: 50% !important; animation: adminRing 2.5s ease-in-out infinite !important; }
.admin-av-img { outline: 2.5px solid #d97706 !important; outline-offset: 1px !important; border-radius: 50% !important; width: 32px !important; height: 32px !important; object-fit: cover !important; display: block !important; border: none !important; animation: none !important; }
.admin-wrap { position: relative; flex-shrink: 0; width: 36px; height: 36px; margin-top: 12px; }
.admin-ring { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid #d97706; overflow: hidden; }
.admin-av-img { width: 32px !important; height: 32px !important; border-radius: 50% !important; display: block !important; border: none !important; outline: none !important; animation: none !important; }
.admin-crown { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 16px; line-height: 1; animation: crownFloat 2.5s ease-in-out infinite; z-index: 10; }
.admin-dot { position: absolute; bottom: 0; right: -2px; width: 9px; height: 9px; background: #22c55e; border-radius: 50%; border: 2px solid #fff; }
.admin-wrap { margin-left: -4px !important; }
.admin-crown { display: none !important; }
