/* CSS: css/theatre-styles-game.css */

#theatre-styles-game {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.styles-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.styles-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px;
}

.styles-table th, .styles-table td {
    border: 1px solid #333;
    padding: 5px;
    text-align: center;
    vertical-align: top;
    width: 150px;
}

.style {
    background: #66ccff;
    border: 2px solid #333;
    padding: 5px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    width: 100%;
    height: 100px;
    font-size: 0.75em;
}

.style:hover {
    background: #3399ff;
}

.conventions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.convention {
    background: #ffcc66;
    border: 2px solid #333;
    padding: 5px;
    cursor: grab;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    width: 80px;
    text-align: center;
    font-size: 0.75em;
}

.convention:hover {
    background: #ff9933;
}

.convention.dragging {
    opacity: 0.5;
}

#game-result {
    font-size: 1.5em;
    margin-top: 20px;
}