/* ═══════════════════════════════════════════════════════════════════════
   FLOKI STORE — ULTRA PREMIUM LIVE CHAT SYSTEM
   Full Discord-style 3-panel layout with glassmorphism & neon effects
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section wrapper ─────────────────────────────────────────────────── */
.floki-chat-section {
    padding: 90px 0 80px;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Animated noise overlay */
.floki-chat-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,200,83,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0,100,40,0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Grid lines bg */
.floki-chat-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,200,83,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,83,0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* ── Section header ──────────────────────────────────────────────────── */
.floki-chat-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.floki-chat-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    background: rgba(0,200,83,0.07);
    border: 1px solid rgba(0,200,83,0.22);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #00c853;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.floki-chat-kicker .live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: rgba(0,200,83,0.15);
    border-radius: 999px;
    color: #69ff47;
}

.floki-chat-kicker .pulse-ring {
    width: 7px;
    height: 7px;
    background: #00c853;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px #00c853;
    animation: chatPulse 1.8s ease-in-out infinite;
}

@keyframes chatPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,200,83,0.6); }
    50% { box-shadow: 0 0 0 6px rgba(0,200,83,0); }
}

.floki-chat-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.floki-chat-heading h2 .grad {
    background: linear-gradient(135deg, #00c853 0%, #69ff47 50%, #00c853 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.floki-chat-heading p {
    color: rgba(255,255,255,0.3);
    font-size: 0.95rem;
}

/* ── Main chat shell ─────────────────────────────────────────────────── */
.floki-chat-shell {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Outer glow wrapper */
.floki-chat-glow-wrap {
    position: relative;
    border-radius: 28px;
    padding: 2px;
    box-shadow:
        0 0 60px rgba(0,200,83,0.12),
        0 0 120px rgba(0,200,83,0.05),
        0 30px 80px rgba(0,0,0,0.8);
}

/* Animated conic border */
.floki-chat-glow-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 20%,
        #00c853 40%,
        #69ff47 50%,
        #00c853 60%,
        transparent 80%
    );
    z-index: -1;
    animation: rotateConic 5s linear infinite;
    filter: blur(2px);
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateConic {
    to { --angle: 360deg; }
}

/* Three-panel layout */
.floki-chat-layout {
    display: grid;
    grid-template-columns: 220px 1fr 210px;
    height: 680px;
    background: rgba(3, 7, 3, 0.98);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,200,83,0.08);
}

/* ── LEFT SIDEBAR — Channel list ─────────────────────────────────────── */
.fchat-sidebar {
    background: rgba(0, 4, 0, 0.9);
    border-right: 1px solid rgba(0,200,83,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Server header */
.fchat-server-header {
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(0,200,83,0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0,200,83,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.fchat-server-header:hover {
    background: rgba(0,200,83,0.06);
}

.fchat-server-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00c853, #004d1f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0,200,83,0.4);
}

.fchat-server-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    flex: 1;
}

.fchat-server-chevron {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

/* Channel categories */
.fchat-category {
    padding: 14px 12px 4px;
}

.fchat-category-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

/* Channel items */
.fchat-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin: 1px 0;
    position: relative;
}

.fchat-channel:hover {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.7);
}

.fchat-channel.active {
    background: rgba(0,200,83,0.1);
    color: #fff;
    font-weight: 600;
}

.fchat-channel.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: #00c853;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px #00c853;
}

.fchat-channel i {
    width: 16px;
    text-align: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.fchat-channel .ch-badge {
    margin-left: auto;
    background: #00c853;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
}

/* User info at bottom */
.fchat-user-panel {
    margin-top: auto;
    padding: 10px 12px;
    background: rgba(0,200,83,0.04);
    border-top: 1px solid rgba(0,200,83,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fchat-user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0,200,83,0.4);
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
}

.fchat-user-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fchat-user-info-sm {
    flex: 1;
    overflow: hidden;
}

.fchat-user-info-sm .uname {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fchat-user-info-sm .ustatus {
    font-size: 0.65rem;
    color: #00c853;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fchat-user-info-sm .ustatus::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #00c853;
    border-radius: 50%;
}

.fchat-user-icons {
    display: flex;
    gap: 4px;
}

.fchat-user-icons button {
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.fchat-user-icons button:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ── CENTER — Messages ───────────────────────────────────────────────── */
.fchat-main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Channel topbar */
.fchat-topbar {
    padding: 0 20px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,200,83,0.08);
    background: rgba(0,4,0,0.7);
    flex-shrink: 0;
}

.fchat-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fchat-topbar-hash {
    color: rgba(255,255,255,0.25);
    font-size: 1.1rem;
    font-weight: 900;
}

.fchat-topbar-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.fchat-topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.1);
}

.fchat-topbar-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

.fchat-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fchat-topbar-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px;
}

.fchat-topbar-btn:hover {
    color: #00c853;
}

/* Messages scroll area */
.fchat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scroll-behavior: smooth;
}

.fchat-messages::-webkit-scrollbar { width: 4px; }
.fchat-messages::-webkit-scrollbar-track { background: transparent; }
.fchat-messages::-webkit-scrollbar-thumb {
    background: rgba(0,200,83,0.25);
    border-radius: 999px;
}

/* Date separator */
.fchat-date-sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

.fchat-date-sep::before,
.fchat-date-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

/* Message group */
.fchat-msg-group {
    display: flex;
    gap: 14px;
    padding: 6px 8px;
    border-radius: 10px;
    transition: background 0.15s;
    cursor: default;
    margin-bottom: 4px;
    animation: msgSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fchat-msg-group:hover {
    background: rgba(255,255,255,0.02);
}

/* Avatar */
.fchat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #0a0f0a;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fchat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fchat-avatar:hover {
    border-color: rgba(0,200,83,0.5);
    box-shadow: 0 0 12px rgba(0,200,83,0.3);
}

/* Message content area */
.fchat-msg-body {
    flex: 1;
    min-width: 0;
}

.fchat-msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.fchat-msg-name {
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.fchat-msg-name:hover { opacity: 0.75; }

/* Role badges */
.fchat-role-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rb-admin {
    background: rgba(0,200,83,0.12);
    color: #00c853;
    border: 1px solid rgba(0,200,83,0.3);
    box-shadow: 0 0 8px rgba(0,200,83,0.2);
}

.rb-seller {
    background: rgba(250,204,21,0.1);
    color: #facc15;
    border: 1px solid rgba(250,204,21,0.3);
}

.rb-member {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.06);
}

.rb-system {
    background: rgba(139,92,246,0.12);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.3);
}

/* Rank badge */
.fchat-rank-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    border: 1px solid;
}

.fchat-msg-time {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
    margin-left: auto;
}

/* Bubble */
.fchat-msg-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    word-break: break-word;
    position: relative;
}

/* Admin message highlight */
.fchat-msg-group.is-admin .fchat-msg-text {
    padding: 10px 14px;
    background: rgba(0,200,83,0.04);
    border-left: 3px solid rgba(0,200,83,0.5);
    border-radius: 0 8px 8px 0;
}

/* System message */
.fchat-system-row {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.fchat-system-row::before,
.fchat-system-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.fchat-system-row .sys-icon {
    color: #a78bfa;
}

/* Reactions */
.fchat-msg-reactions {
    display: flex;
    gap: 6px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.fchat-reaction {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 999px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fchat-reaction:hover {
    background: rgba(0,200,83,0.08);
    border-color: rgba(0,200,83,0.25);
}

.fchat-reaction.reacted {
    background: rgba(0,200,83,0.1);
    border-color: rgba(0,200,83,0.35);
    color: #69ff47;
}

/* Typing indicator */
.fchat-typing {
    padding: 4px 20px 8px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    flex-shrink: 0;
}

.fchat-typing-dots {
    display: inline-flex;
    gap: 3px;
}

.fchat-typing-dots span {
    width: 5px;
    height: 5px;
    background: rgba(0,200,83,0.6);
    border-radius: 50%;
    display: inline-block;
    animation: typingDot 1.4s ease-in-out infinite;
}

.fchat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.fchat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; background: #00c853; }
}

/* Input bar */
.fchat-input-bar {
    padding: 12px 16px 16px;
    background: rgba(0,4,0,0.6);
    border-top: 1px solid rgba(0,200,83,0.07);
    flex-shrink: 0;
}

.fchat-input-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,200,83,0.12);
    border-radius: 14px;
    padding: 0 8px 0 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.fchat-input-inner:focus-within {
    border-color: rgba(0,200,83,0.35);
    box-shadow: 0 0 0 3px rgba(0,200,83,0.06), 0 0 20px rgba(0,200,83,0.08);
}

.fchat-input-btn {
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.fchat-input-btn:hover {
    background: rgba(0,200,83,0.08);
    color: #00c853;
}

#chatInput, #chatInput.fchat-text-input {
    flex: 1 !important;
    padding: 11px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.88rem !important;
    outline: none !important;
    -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
    box-shadow: none !important;
}

#chatInput::placeholder { color: rgba(255,255,255,0.2) !important; }

#chatInput:disabled {
    cursor: not-allowed !important;
    -webkit-text-fill-color: rgba(255,255,255,0.15) !important;
}

.fchat-send-btn {
    width: 36px;
    height: 36px;
    background: rgba(0,200,83,0.1);
    border: 1px solid rgba(0,200,83,0.2);
    border-radius: 10px;
    color: rgba(0,200,83,0.5);
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s;
    flex-shrink: 0;
}

.fchat-send-btn:not([disabled]) {
    background: linear-gradient(135deg, #00c853, #004d1f);
    border-color: rgba(0,200,83,0.5);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.fchat-send-btn:not([disabled]):hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 8px rgba(0, 200, 83, 0.2);
}

/* Custom emoji shortcuts hint */
.fchat-shortcuts-hint {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.fchat-shortcut-pill {
    font-size: 0.62rem;
    padding: 2px 8px;
    background: rgba(0,200,83,0.06);
    border: 1px solid rgba(0,200,83,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.2s;
}

.fchat-shortcut-pill:hover {
    background: rgba(0,200,83,0.1);
    color: #69ff47;
    border-color: rgba(0,200,83,0.3);
}

/* ── RIGHT SIDEBAR — Members ─────────────────────────────────────────── */
.fchat-members {
    background: rgba(0,4,0,0.85);
    border-left: 1px solid rgba(0,200,83,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fchat-members-header {
    padding: 16px 14px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,200,83,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fchat-members-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 8px;
}

.fchat-members-list::-webkit-scrollbar { width: 3px; }
.fchat-members-list::-webkit-scrollbar-thumb { background: rgba(0,200,83,0.15); border-radius: 999px; }

.fchat-member-group-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
    padding: 8px 8px 4px;
}

.fchat-member-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.fchat-member-item:hover {
    background: rgba(255,255,255,0.04);
}

.fchat-member-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.fchat-member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0a0f0a;
    overflow: hidden;
    border: 1px solid rgba(0,200,83,0.2);
}

.fchat-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fchat-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #030703;
}

.sd-online { background: #00c853; box-shadow: 0 0 6px rgba(0,200,83,0.8); }
.sd-idle   { background: #facc15; }
.sd-offline{ background: #555; }

.fchat-member-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.fchat-member-item:hover .fchat-member-name {
    color: rgba(255,255,255,0.85);
}

.fchat-member-role-icon {
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Login gate overlay */
.fchat-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px 20px;
    background: rgba(0,200,83,0.03);
    border: 1px dashed rgba(0,200,83,0.15);
    border-radius: 12px;
    text-align: center;
}

.fchat-gate i {
    font-size: 2rem;
    color: rgba(0,200,83,0.4);
}

.fchat-gate p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.fchat-gate a {
    color: #00c853;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,200,83,0.3);
    padding-bottom: 1px;
    transition: all 0.2s;
}

.fchat-gate a:hover {
    color: #69ff47;
    border-color: rgba(105,255,71,0.5);
}

/* Emoji picker for new chat */
.fchat-emoji-picker {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 300px;
    max-height: 200px;
    background: #060e06;
    border: 1px solid rgba(0,200,83,0.2);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 -15px 50px rgba(0,0,0,0.9), 0 0 30px rgba(0,200,83,0.08);
    z-index: 200;
    overflow-y: auto;
}

.fchat-emoji-picker.open {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.fchat-emoji-picker::-webkit-scrollbar { width: 3px; }
.fchat-emoji-picker::-webkit-scrollbar-thumb { background: rgba(0,200,83,0.2); border-radius: 999px; }

.fchat-emoji-picker button {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.15s;
    line-height: 1;
}

.fchat-emoji-picker button:hover {
    background: rgba(0,200,83,0.08);
    transform: scale(1.25);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .floki-chat-layout {
        grid-template-columns: 200px 1fr;
        height: 620px;
    }
    .fchat-members { display: none; }
}

@media (max-width: 700px) {
    .floki-chat-layout {
        grid-template-columns: 1fr;
        height: 580px;
    }
    .fchat-sidebar { display: none; }
}

/* ═══════════════════════════════════════════════════════
   DISCORD STYLE VOICE CHANNELS (LOBİ & VIP SALON)
   ═══════════════════════════════════════════════════════ */
.fchat-voice-channel {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    margin-bottom: 3px;
    color: rgba(255,255,255,0.7);
}

.fchat-voice-channel:hover {
    background: rgba(0, 200, 83, 0.1);
    color: #fff;
}

.fchat-voice-channel.active-voice {
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid rgba(0, 200, 83, 0.4);
    color: #00c853;
    font-weight: 700;
}

.fchat-voice-status-pill {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.active-voice .fchat-voice-status-pill {
    background: rgba(0, 200, 83, 0.2);
    color: #00c853;
}

/* Connected Voice Panel in Sidebar */
.fchat-voice-panel {
    background: linear-gradient(145deg, #07130a, #0d1e11);
    border: 1px solid rgba(0, 200, 83, 0.35);
    border-radius: 10px;
    padding: 10px;
    margin: 8px 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 200, 83, 0.05);
    animation: fadeInVoice 0.3s ease;
}

@keyframes fadeInVoice {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.fvp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.fvp-signal {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bar {
    width: 3px;
    background: #00c853;
    border-radius: 1px;
}
.signal-bar.b1 { height: 4px; }
.signal-bar.b2 { height: 8px; }
.signal-bar.b3 { height: 12px; }

.fvp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fvp-channel-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00c853;
    letter-spacing: 0.3px;
}

.fvp-rtc-status {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
}

.fvp-btn-disconnect {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.fvp-btn-disconnect:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.fvp-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fvp-avatar-wrap {
    position: relative;
    width: 30px;
    height: 30px;
}

.fvp-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fvp-speaking-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    transition: all 0.2s;
}

.fvp-speaking-ring.speaking {
    border-color: #00c853;
    box-shadow: 0 0 10px #00c853;
    animation: voicePulse 1s infinite alternate;
}

@keyframes voicePulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.15); opacity: 1; }
}

.fvp-voice-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fvp-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.fvp-action-btn:hover {
    background: rgba(0, 200, 83, 0.2);
    border-color: rgba(0, 200, 83, 0.4);
    color: #00c853;
}

.fvp-action-btn.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* Audio Visualizer 7 bars */
.fvp-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 24px;
    margin-top: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 0 8px;
}

.fvp-visualizer span {
    width: 3px;
    height: 4px;
    background: #00c853;
    border-radius: 999px;
    transition: height 0.08s ease;
    box-shadow: 0 0 4px rgba(0, 200, 83, 0.6);
}
