body { 
    margin: 0; 
    overflow: hidden; 
    background-color: #000; 
    font-family: 'Segoe UI', sans-serif; 
    user-select: none; 
}

#ui-layer { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
}

.panel {
    background: rgba(30, 30, 40, 0.85); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 12px;
    pointer-events: auto; 
    color: white; 
    transition: all 0.3s;
}

.bottom-bar {
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    gap: 12px; 
    padding: 12px;
}

button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none; 
    padding: 12px 24px; 
    border-radius: 8px; 
    color: white;
    font-weight: 600; 
    cursor: pointer; 
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
    transition: transform 0.1s, box-shadow 0.2s;
}
button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.3); 
}
button:active { 
    transform: scale(0.96); 
}
.btn-cancel { 
    background: linear-gradient(135deg, #ef4444, #dc2626); 
    display: none; 
}

#stats {
    position: absolute; 
    top: 20px; 
    right: 20px; 
    padding: 8px 16px;
    font-size: 16px; 
    font-weight: bold; 
    color: #fbbf24;
    display: flex; 
    align-items: center; 
    gap: 8px;
}

#chat-input {
    padding: 10px; 
    border-radius: 6px; 
    border:none; 
    width:180px; 
    outline:none;
}

.bubble {
    position: absolute; 
    background: white; 
    color: #1f2937; 
    padding: 8px 16px;
    border-radius: 16px; 
    font-size: 13px; 
    font-weight: 700; 
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    transform: translate(-50%, -100%);
    margin-top: -40px; 
    pointer-events: none; 
    white-space: nowrap;
}
.bubble::after {
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    left: 50%; 
    margin-left: -6px;
    border-width: 6px 6px 0; 
    border-style: solid; 
    border-color: white transparent;
}

/* Mobil Cihazlar için Ekranı Kaplama */
@media (max-width: 768px) {
    .bottom-bar {
        width: 90%;
        flex-wrap: wrap; /* Butonlar sığmazsa alt satıra geçsin */
        justify-content: center;
        bottom: 10px;
    }
    button {
        padding: 10px 16px;
        font-size: 12px;
    }
    #chat-input {
        width: 100%;
        margin-top: 8px;
    }
}
