html {
    font-size: 8px;
}

body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
}

#main-title {
    position: absolute;
    top: 1rem;
    width: 100%;
    text-align: center;
    z-index: 100;
    color: #007bff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
}

#main-title h1 {
    font-size: 2.8rem;
    margin: 0;
    padding: 0;
    font-weight: bold;
    letter-spacing: 0.2rem;
    color: #fff;
    text-shadow: none;
}

#leaderboard-panel {
    position: absolute;
    top: 6rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;
    font-size: 1.4rem;
}

#leaderboard-panel h3 {
    margin-top: 0;
    font-size: 1.8rem;
    border-bottom: 0.1rem solid #555;
    padding-bottom: 0.8rem;
}

#leaderboard-panel p {
    font-size: 1.6rem;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #ccc;
}

#leaderboard-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#leaderboard-panel li {
    padding: 0.6rem 0;
    border-bottom: 0.1rem solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}

#leaderboard-panel li:last-child {
    border-bottom: none;
}

#leaderboard-panel .leaderboard-header {
    font-weight: bold;
    border-bottom: 2px solid #666;
    margin-bottom: 8px;
    padding-bottom: 10px;
}

#leaderboard-panel .layer-text.high {
    color: #ff4444;
}

#leaderboard-panel .layer-text.mid {
    color: #ffff44;
}

#leaderboard-panel .layer-text.low {
    color: #4444ff;
}

#info-panel {
    position: absolute;
    top: 52rem;
    left: 2rem;
    right: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;
    font-size: 1.4rem;
}

#info-panel h3 {
    margin-top: 0;
    font-size: 1.8rem;
    border-bottom: 0.1rem solid #555;
    padding-bottom: 0.8rem;
}

#info-panel h4 {
    font-size: 1.6rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    border-bottom: 0.1rem solid #444;
    padding-bottom: 0.5rem;
}

#info-panel div {
    margin-bottom: 5px;
}

#pockets-panel {
    position: absolute;
    top: 6rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;
    font-size: 1.4rem;
}

#pockets-panel h3 {
    margin-top: 0;
    font-size: 1.8rem;
    border-bottom: 0.1rem solid #555;
    padding-bottom: 0.8rem;
}

#pockets-list table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

#pockets-list th,
#pockets-list td {
    padding: 0.6rem;
    text-align: left;
}

#explanation-panel {
    position: absolute;
    top: 35rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;
    font-size: 1.4rem;
}

#explanation-panel h3 {
    margin-top: 0;
    font-size: 1.8rem;
    border-bottom: 0.1rem solid #555;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

#explanation-panel p {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 1.4rem;
}

#explanation-panel p:last-child {
    margin-bottom: 0;
}

#container {
    width: 100vw;
    height: 100vh;
}

#ui-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
}

#hour-slider {
    width: 300px;
}