.ekk-container {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.ekk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.ekk-stats {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    flex-wrap: wrap;
}

.ekk-stats span {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
}

.ekk-restart {
    background: #D8352C;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.ekk-restart:hover {
    background: #b82a22;
}

.ekk-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #f8f5f0;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #e0d8d0;
    min-height: 300px;
}

.ekk-column h3 {
    text-align: center;
    color: #D8352C;
    margin-bottom: 12px;
}

.ekk-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.ekk-items::-webkit-scrollbar {
    width: 6px;
}

.ekk-items::-webkit-scrollbar-track {
    background: #e0d8d0;
    border-radius: 10px;
}

.ekk-items::-webkit-scrollbar-thumb {
    background: #D8352C;
    border-radius: 10px;
}

.ekk-item {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #e0d8d0;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s;
    user-select: none;
}

.ekk-item:hover:not(.ekk-matched) {
    transform: translateY(-2px);
    border-color: #D8352C;
}

.ekk-item.ekk-selected {
    border-color: #D8352C;
    background: #D8352C20;
    box-shadow: 0 0 0 3px #D8352C40;
}

.ekk-item.ekk-matched {
    background: #16a34a20;
    border-color: #16a34a;
    color: #16a34a;
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

.ekk-item.ekk-wrong {
    background: #dc262620;
    border-color: #dc2626;
    animation: ekk-shake 0.3s;
}

@keyframes ekk-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
    100% { transform: translateX(0); }
}

.ekk-message {
    text-align: center;
    font-weight: 700;
    margin-top: 20px;
    color: #D8352C;
    min-height: 1.8rem;
}

.ekk-error {
    padding: 20px;
    background: #fef9e7;
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 700px) {
    .ekk-board {
        grid-template-columns: 1fr;
    }
    .ekk-item {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}