body {
    margin: 0;
    background: #111;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

#container {
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
}

input {
    display: block;
    width: calc(100% - 40px);
    max-width: 360px;
    margin: 10px auto;
    padding: 14px;
    font-size: 20px;
    border-radius: 12px;
    border: none;
    text-align: center;
}

button {
    display: block;
    width: calc(100% - 40px);
    max-width: 360px;
    font-size: 20px;
    padding: 16px 22px;
    border-radius: 12px;
    border: none;
    margin: 12px auto;
}

#targetSelection {
    max-width: 360px;
    margin: 16px auto 0 auto;
    background: #1b1b1b;
    padding: 12px;
    border-radius: 12px;
}

#targetSelection label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
}

#targetSelect {
    width: 100%;
    padding: 12px;
    font-size: 20px;
    border-radius: 10px;
    border: none;
    text-align: center;
}

#roomInfo {
    font-size: 20px;
    margin-top: 10px;
    color: #ddd;
}

#compass {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 30px auto;
    border: 3px solid #555;
    border-radius: 50%;
}

#compassRose {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.15s linear;
    transform-origin: 50% 50%;
}

#targetArrow {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 200px;
    height: 200px;
    fill: white;
    transition: transform 0.15s linear;
    transform-origin: 50% 50%;
}

.compass-label {
    position: absolute;
    font-size: 22px;
    font-weight: bold;
    color: #aaa;
}

.north {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.east {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.south {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.west {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

#distance {
    font-size: 48px;
    font-weight: bold;
}

#bearing,
#heading {
    font-size: 22px;
    margin-top: 8px;
}

#participants {
    max-width: 420px;
    margin: 24px auto 0 auto;
    text-align: left;
    background: #1b1b1b;
    border-radius: 14px;
    padding: 14px;
}

#participants h3 {
    margin: 10px 0 6px 0;
}

#participants ul {
    margin-top: 4px;
    padding-left: 22px;
}

#status {
    margin-top: 20px;
    color: #ccc;
}