body {
    margin: 0;
    overflow: hidden;
    background-color: #222;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

#canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#info {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    user-select: none;
}

#legend {
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    pointer-events: none;
    user-select: none;
    text-align: right;
    border: 1px solid #444;
}

#legend div:first-child {
    color: #ff6b6b;
    margin-bottom: 5px;
}

#legend div:last-child {
    color: #51cf66;
    font-weight: bold;
}

#result {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.5s;
    color: #ffd700;
}

#result.show {
    opacity: 1;
}

#benj-info {
    position: absolute;
    top: 60px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    pointer-events: none;
    user-select: none;
    border: 1px solid #444;
}

.benj-question {
    margin-bottom: 8px;
    color: #aaa;
}

.benj-answer {
    font-size: 1.5rem;
    font-weight: bold;
}

.benj-answer.non {
    color: #ff6b6b;
}

.benj-answer.oui {
    color: #51cf66;
}
