.role-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.role-selector button {
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

#owner-btn {
    background-color: #ff4444;
    color: white;
}

#viewer-btn {
    background-color: #4444ff;
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 20px;
}

.wheel-container {
    position: relative;
}

#spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
}

.race-track {
    position: relative;
    width: 800px;
    height: 400px;
    background-color: #f0f0f0;
    border: 2px solid #333;
    border-radius: 10px;
}

.finish-line {
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #fff 10px,
        #fff 20px
    );
}

.horse-lane {
    position: relative;
    height: 80px;
    border-bottom: 1px dashed #999;
    display: flex;
    align-items: center;
}

.horse {
    position: absolute;
    left: 50px;
    display: flex;
    align-items: center;
    transition: left 0.5s ease-out;
}

.horse-emoji {
    font-size: 40px;
}

.player-name {
    margin-left: 10px;
    font-weight: bold;
}

