#canvas-container { 
    position: fixed; 
    inset: 0;
    background: #000; 
}
.tool-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tool-btn:disabled:hover { background: transparent; border-color: #2a2a2a; }

#gameplay-screen { background: transparent; }

.screen {
    position: fixed;
    inset: 0;
    display: none; /* Managed by JS */
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    z-index: 10001;
    color: #e0e0e0;
}

.screen-content {
    text-align: center;
    max-width: 800px;
    width: 90%;
    padding: 24px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    background: #111;
}

.screen-content h1 {
    margin-bottom: 24px;
    font-weight: 600;
}

.kit-selection-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.kit-card {
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #181818;
    width: 150px;
}

.kit-card:hover {
    background: #222;
    border-color: #444;
}

.kit-card.selected {
    border-color: #4a9eff;
    background: #2a3a4a;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.kit-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid #333;
}

.kit-card h2 {
    font-size: 16px;
    font-weight: 500;
}

#game-ui-container {
    position: fixed;
    inset: 0;
    z-index: 10002;
    pointer-events: none; /* Pass clicks through unless an element inside wants them */
    color: #e0e0e0;
}