.chat-hero {
    width: min(1200px, calc(100% - 30px));
    margin: 70px auto 40px;
    min-height: 390px;
    padding: 55px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(0, 12, 30, 0.94), rgba(30, 0, 55, 0.75)),
        url("https://i.imgur.com/zcxKoPN.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 195, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chat-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,195,255,0.08)),
        radial-gradient(circle at right, rgba(255,0,180,0.18), transparent 40%);
    pointer-events: none;
}

.chat-hero-content,
.chat-status-card {
    position: relative;
    z-index: 2;
}

.chat-hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(38px, 5vw, 66px);
    max-width: 850px;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00c3ff, #ffffff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-hero p {
    max-width: 720px;
    color: #d4f7ff;
    line-height: 1.7;
    font-size: 17px;
}

.chat-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.chat-status-card {
    min-height: 200px;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(0, 217, 255, 0.18), transparent 55%),
        rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(0, 217, 255, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.08);
    text-align: center;
}

.chat-status-card span {
    color: #00d9ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chat-status-card strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    margin: 10px 0;
    color: #ffffff;
}

.chat-status-card small {
    color: #9bdff0;
}

.chat-section {
    width: min(1200px, calc(100% - 30px));
    margin: 40px auto 80px;
}

.chat-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
}

.chat-box,
.chat-info-panel {
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.10), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.92), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.chat-box {
    padding: 28px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.chat-header h3,
.chat-info-panel h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-size: 30px;
}

.chat-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9bdff0;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.18);
}

.chat-live-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00d9ff;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.9);
}

.fake-chat {
    display: grid;
    gap: 14px;
    min-height: 360px;
}

.chat-message {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-message.alt {
    background: rgba(0, 195, 255, 0.08);
    border-color: rgba(0, 195, 255, 0.14);
}

.chat-message.system {
    background: rgba(255, 0, 180, 0.08);
    border-color: rgba(255, 0, 180, 0.18);
}

.chat-message strong {
    display: block;
    color: #00d9ff;
    margin-bottom: 6px;
}

.chat-message p {
    color: #d4f7ff;
    line-height: 1.6;
}

.chat-input-preview {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 12px;
    margin-top: 22px;
}

.chat-input-preview input,
.chat-input-preview button {
    min-height: 50px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
}

.chat-input-preview input {
    border: 1px solid rgba(0, 217, 255, 0.16);
    background: rgba(0, 0, 0, 0.34);
    color: rgba(255, 255, 255, 0.55);
    padding: 0 18px;
    outline: none;
}

.chat-input-preview button {
    border: none;
    color: #00111f;
    font-weight: 900;
    background: linear-gradient(135deg, #00c3ff, #ffffff);
    opacity: 0.55;
}

.chat-info-panel {
    padding: 30px;
}

.request-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.chat-rules {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.chat-rules div {
    padding: 17px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-rules strong {
    display: block;
    color: #00d9ff;
    margin-bottom: 6px;
}

.chat-rules p {
    color: #d4f7ff;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 950px) {
    .chat-hero {
        grid-template-columns: 1fr;
        padding: 35px 25px;
    }

    .chat-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .chat-hero {
        margin-top: 35px;
        border-radius: 26px;
    }

    .chat-box,
    .chat-info-panel {
        border-radius: 26px;
    }

    .chat-header {
        flex-direction: column;
    }

    .chat-input-preview {
        grid-template-columns: 1fr;
    }

    .chat-hero-actions .btn {
        width: 100%;
    }
}

/* =========================
   CHAT FUNCIONAL
========================= */

.nav-menu a.active {
    color: #22d3ee;
    text-shadow: 0 0 18px rgba(34, 211, 238, .65);
}

.chat-userbar {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(2, 6, 23, .55);
    border: 1px solid rgba(148, 163, 184, .16);
}

.chat-userbar label {
    color: #e0f2fe;
    font-weight: 800;
    font-size: .92rem;
}

.chat-userbar input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 999px;
    background: rgba(15, 23, 42, .88);
    color: #f8fafc;
    padding: 12px 16px;
    outline: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.chat-userbar input:focus {
    border-color: rgba(34, 211, 238, .75);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}

.real-chat {
    height: 440px;
    overflow-y: auto;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, .08), transparent 40%),
        linear-gradient(135deg, rgba(2, 6, 23, .88), rgba(15, 23, 42, .82));
    border: 1px solid rgba(148, 163, 184, .16);
    scroll-behavior: smooth;
}

.real-chat::-webkit-scrollbar {
    width: 8px;
}

.real-chat::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, .75);
    border-radius: 999px;
}

.real-chat::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, .55);
    border-radius: 999px;
}

.chat-message {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(30, 41, 59, .66));
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    animation: chatPop .22s ease both;
}

.chat-message.alt {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, .74), rgba(15, 23, 42, .88));
}

.chat-message.system {
    border-color: rgba(34, 211, 238, .34);
    background:
        linear-gradient(135deg, rgba(8, 47, 73, .50), rgba(15, 23, 42, .86));
    box-shadow: 0 0 28px rgba(34, 211, 238, .12);
}

.message-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.message-top strong {
    color: #67e8f9;
    font-weight: 900;
}

.message-top time {
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 700;
}

.chat-message p {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}

.chat-input-preview {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 16px;
}

.chat-input-preview input[type="text"] {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 999px;
    background: rgba(2, 6, 23, .82);
    color: #f8fafc;
    padding: 14px 18px;
    outline: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.chat-input-preview input[type="text"]:focus {
    border-color: rgba(34, 211, 238, .75);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}

.chat-input-preview button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    color: #020617;
    background: linear-gradient(135deg, #22d3ee, #ec4899);
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    cursor: pointer;
    transition: .25s ease;
}

.chat-input-preview button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(34, 211, 238, .25);
}

.chat-input-preview button:disabled,
.chat-input-preview input:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.chat-hp {
    display: none !important;
}

.chat-status-text {
    margin-top: 12px;
    color: #94a3b8;
    font-size: .88rem;
    font-weight: 600;
}

.chat-status-text.success {
    color: #86efac;
}

.chat-status-text.error {
    color: #fecaca;
}

.chat-loading,
.chat-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #cbd5e1;
    font-weight: 700;
}

.chat-empty span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

@keyframes chatPop {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .chat-userbar {
        grid-template-columns: 1fr;
    }

    .chat-input-preview {
        grid-template-columns: 1fr;
    }

    .real-chat {
        height: 380px;
    }
}

/* =========================
   CONTADOR Y EMOJIS CHAT
========================= */

.chat-live-dot strong {
    color: #67e8f9;
    font-weight: 900;
    margin-right: 3px;
}

.emoji-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(2, 6, 23, .50);
    border: 1px solid rgba(148, 163, 184, .16);
}

.emoji-bar button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(34, 211, 238, .25);
    border-radius: 14px;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, .18), transparent 55%),
        rgba(15, 23, 42, .88);
    color: #f8fafc;
    font-size: 1.2rem;
    cursor: pointer;
    transition: .22s ease;
}

.emoji-bar button:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(236, 72, 153, .45);
    box-shadow: 0 0 20px rgba(236, 72, 153, .18);
}

.emoji-bar button:active {
    transform: scale(.96);
}

/* =========================
   PANEL PRIVADO CHAT
========================= */

.admin-hero {
    margin-top: 40px;
}

.admin-message {
    max-width: 1200px;
    margin: 24px auto;
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 700;
    backdrop-filter: blur(16px);
}

.admin-message.error {
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, .45);
    background: rgba(127, 29, 29, .35);
    box-shadow: 0 0 30px rgba(248, 113, 113, .15);
}

.admin-message.success {
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, .45);
    background: rgba(20, 83, 45, .35);
    box-shadow: 0 0 30px rgba(34, 197, 94, .15);
}

.admin-panel-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.admin-form {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .98)),
        radial-gradient(circle at top left, rgba(236, 72, 153, .18), transparent 38%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, .14), transparent 42%);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.login-form {
    max-width: 460px;
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-field label {
    color: #e0f2fe;
    font-weight: 700;
    font-size: .95rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 16px;
    background: rgba(2, 6, 23, .72);
    color: #f8fafc;
    padding: 13px 15px;
    outline: none;
    font-family: "Poppins", sans-serif;
    transition: .25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(34, 211, 238, .75);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-stat-card {
    padding: 20px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .9), rgba(2, 6, 23, .96));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.admin-stat-card span {
    display: block;
    color: #94a3b8;
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-stat-card strong {
    display: block;
    color: #67e8f9;
    font-size: 2rem;
    font-family: "Orbitron", sans-serif;
}

.admin-stat-card small {
    color: #cbd5e1;
}

.admin-help-text {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 18px;
}

.admin-chat-list,
.admin-block-list {
    display: grid;
    gap: 14px;
}

.admin-chat-item,
.admin-block-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .90), rgba(2, 6, 23, .96));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.admin-chat-item.system {
    border-color: rgba(34, 211, 238, .32);
    box-shadow: 0 0 28px rgba(34, 211, 238, .10);
}

.admin-chat-top {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.admin-chat-top strong {
    color: #67e8f9;
    font-weight: 900;
}

.admin-chat-top span,
.admin-chat-main small,
.admin-block-item small {
    color: #94a3b8;
    font-size: .84rem;
    font-weight: 700;
}

.admin-chat-top em {
    color: #f0abfc;
    background: rgba(217, 70, 239, .12);
    border: 1px solid rgba(217, 70, 239, .25);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .75rem;
    font-style: normal;
    font-weight: 900;
}

.admin-chat-main p,
.admin-block-item p {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0 0 8px;
    word-break: break-word;
}

.admin-row-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-row-actions form {
    margin: 0;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .10);
    color: #cffafe;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: .25s ease;
}

.mini-btn:hover {
    transform: translateY(-2px);
    background: rgba(34, 211, 238, .20);
    box-shadow: 0 0 24px rgba(34, 211, 238, .18);
}

.mini-btn.danger {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .10);
}

.mini-btn.danger:hover {
    background: rgba(248, 113, 113, .20);
    box-shadow: 0 0 24px rgba(248, 113, 113, .18);
}

.manual-block-form {
    margin-bottom: 20px;
}

.admin-empty {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 24px;
    background: rgba(2, 6, 23, .55);
}

@media (max-width: 980px) {
    .admin-tools-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-chat-item,
    .admin-block-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .admin-tools-grid,
    .admin-stats-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CHAT CON CUENTAS
========================= */

.hp-field {
    display: none !important;
}

.chat-message {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, .22), transparent 58%),
        linear-gradient(135deg, rgba(236, 72, 153, .16), rgba(15, 23, 42, .88));
    border: 1px solid rgba(34, 211, 238, .25);
    box-shadow: 0 0 22px rgba(34, 211, 238, .10);
    font-size: 1.35rem;
}

.chat-message.system .chat-avatar {
    background:
        radial-gradient(circle at top, rgba(250, 204, 21, .25), transparent 58%),
        linear-gradient(135deg, rgba(236, 72, 153, .16), rgba(15, 23, 42, .88));
    border-color: rgba(250, 204, 21, .30);
}

.chat-bubble {
    min-width: 0;
}

.chat-message-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.chat-message-top strong,
.chat-nick-link {
    color: #67e8f9;
    font-weight: 900;
    text-decoration: none;
}

.chat-nick-link:hover {
    text-decoration: underline;
}

.chat-message-top span {
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 800;
}

.chat-level {
    color: #fef3c7 !important;
    background: rgba(250, 204, 21, .12);
    border: 1px solid rgba(250, 204, 21, .28);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .72rem !important;
}

.chat-account-bar,
.chat-login-required {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(2, 6, 23, .95));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.chat-account-bar {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 14px;
    align-items: center;
}

.chat-account-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .26);
}

.chat-account-bar strong {
    display: block;
    color: #f8fafc;
    font-weight: 900;
}

.chat-account-bar span {
    color: #94a3b8;
    font-weight: 700;
    font-size: .9rem;
}

.mini-chat-link {
    color: #cffafe;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid rgba(34, 211, 238, .28);
    background: rgba(34, 211, 238, .10);
    border-radius: 999px;
    padding: 8px 12px;
}

.mini-chat-link:hover {
    background: rgba(34, 211, 238, .18);
}

.chat-login-required {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.chat-login-required strong {
    color: #f8fafc;
    font-family: "Orbitron", sans-serif;
}

.chat-login-required p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 4px;
}

.chat-login-required.blocked {
    border-color: rgba(248, 113, 113, .35);
    background:
        radial-gradient(circle at top left, rgba(248, 113, 113, .12), transparent 42%),
        linear-gradient(135deg, rgba(30, 10, 20, .90), rgba(2, 6, 23, .96));
}

.chat-login-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chat-rules-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding-left: 18px;
    color: #cbd5e1;
    line-height: 1.6;
}

.chat-xp-note {
    padding: 14px;
    border-radius: 18px;
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .24);
}

.chat-xp-note strong {
    display: block;
    color: #67e8f9;
    font-family: "Orbitron", sans-serif;
}

.chat-xp-note span {
    color: #cbd5e1;
    font-weight: 700;
}

@media (max-width: 700px) {
    .chat-account-bar {
        grid-template-columns: 1fr;
    }

    .chat-login-required {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   ORGANIZACIÓN VISUAL CHAT
========================= */

.chat-messages {
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.chat-composer-zone {
    margin-top: 28px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, .10), transparent 42%),
        linear-gradient(135deg, rgba(15, 23, 42, .84), rgba(2, 6, 23, .96));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow:
        0 20px 55px rgba(0, 0, 0, .28),
        inset 0 0 24px rgba(34, 211, 238, .03);
}

.chat-composer-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.chat-composer-title span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .26);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.chat-composer-title h4 {
    margin-top: 8px;
    color: #f8fafc;
    font-family: "Orbitron", sans-serif;
    font-size: 1.05rem;
}

.chat-composer-title small {
    color: #94a3b8;
    font-weight: 800;
    white-space: nowrap;
}

.chat-account-bar {
    margin-top: 0;
    margin-bottom: 18px;
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, .12), transparent 45%),
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .98));
}

.chat-write-box {
    padding: 18px;
    border-radius: 24px;
    background: rgba(2, 6, 23, .45);
    border: 1px solid rgba(148, 163, 184, .14);
}

.emoji-bar {
    margin-top: 0;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-form {
    margin-top: 0;
}

.chat-message-field textarea {
    min-height: 120px;
}

.chat-status-text {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.chat-login-required {
    margin-top: 0;
}

@media (max-width: 700px) {
    .chat-composer-title {
        flex-direction: column;
    }

    .chat-composer-title small {
        white-space: normal;
    }

    .chat-composer-zone {
        padding: 18px;
    }

    .chat-write-box {
        padding: 14px;
    }
}

.chat-account-avatar.has-image {
    padding: 0;
    overflow: hidden;
}

.chat-account-avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.chat-account-avatar-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.chat-avatar.has-image {
    padding: 0;
    overflow: hidden;
}

.chat-avatar.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.chat-avatar.has-emoji span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.admin-chat-userline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-chat-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.20), transparent 65%),
        rgba(2, 6, 23, 0.86);
    border: 1px solid rgba(34, 211, 238, 0.28);
    overflow: hidden;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.admin-chat-avatar.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-chat-avatar.has-emoji span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1.45rem;
}

.admin-chat-top strong a {
    color: inherit;
    text-decoration: none;
}

.admin-chat-top strong a:hover {
    color: #67e8f9;
}

.admin-chat-level {
    display: inline-flex;
    margin-top: 4px;
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.78rem;
}