/* The Labyrinth UIスタイル用 */
body {
    background: #222;
    color: #fff;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}
h1 {
    text-align: center;
    font-size: 2em;
    margin: 1em 0 0.5em 0;
}
#room-ui {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
    margin-top: 1em;
}
#maze-area {
    display: flex;
    flex-direction: row;
    gap: 2em;
}
#maze-left, #maze-right {
    background: #333;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 0 8px #111;
    position: relative;
}
.player-label {
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: center;
}
.status-indicator {
    font-size: 0.9em;
    color: #aaf;
    margin-bottom: 0.5em;
    text-align: center;
}
#maze-grid-left, #maze-grid-right {
    width: 180px;
    height: 180px;
    display: grid;
    grid-template-columns: repeat(6, 30px);
    grid-template-rows: repeat(6, 30px);
    margin: 0 auto;
    position: relative;
}
.maze-cell {
    box-sizing: border-box;
}
.maze-wall, .maze-wall-candidate {
    pointer-events: auto;
}
#participant-list-area {
    background: #333;
    padding: 1em;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 0 8px #111;
}
#participant-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}
#modal {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    z-index: 1000;
}
