:root {
    --player-counter-bg: rgba(31, 125, 202, 0.8);
    --player-counter-border: 2px solid #273657;
    --player-counter-radius: 4px; --player-counter-z: 99999;
    --tooltip-bg: rgba(33, 33, 33, 0.95);
    --tooltip-border-color: rgba(255, 255, 255, 0.1);
    --tooltip-z-index: 2000;
}

html, body {
    background-color: #20232a; overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

.hydra-logo {
    position: absolute;
    top: 32px; right:
    32px; z-index: 999999999999999;
    height: 5%; opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.hydra-logo:hover {
    opacity: 0.8;
}

#infoPanel {
    position: absolute;
    padding: 10px;
    background-color: rgba(31, 125, 202, 0.8);
    color: white;
    border: 2px solid #273657;
    border-radius: 4px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    z-index: 9999999;
    user-select: none;
    pointer-events: none;
}

#map {
    width: 100%;
    height: 100%;
}

.leaflet-container {
    background-color: #20232a;
}

.navbar-top {
    color: white;
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 9999999999;
}

.palworld-clock {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 99999;
    --size: 64px;
    --half-size: calc(var(--size) / 2);
    --stroke-width: 4px;
    --radius: calc((var(--size) - var(--stroke-width)) / 2);
    --circumference: calc(var(--radius) * pi * 2);
    --dash: calc((var(--progress) * var(--circumference)) / 100);
    user-select: none; pointer-events: none;
}

.palworld-clock circle {
    cx: var(--half-size);
    cy: var(--half-size);
    r: var(--radius);
    stroke-width: var(--stroke-width);
    fill: rgba(0.01, 0.01, 0.01, 0.15);
    stroke-linecap: round;
}

.palworld-clock circle.bg {
    stroke: rgba(0.01, 0.01, 0.01, 0);
}

.palworld-clock circle.fg {
    transform: rotate(-90deg);
    transform-origin: var(--half-size) var(--half-size);
    stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
    transition: stroke-dasharray 0.3s linear 0s;
    stroke: #FFEAA5;
}

.player-counter {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background-color: var(--player-counter-bg);
    color: white;
    padding: 8px 16px;
    border-radius: var(--player-counter-radius);
    font-size: 16px;
    font-weight: bold;
    z-index: var(--player-counter-z);
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: var(--player-counter-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.player-counter-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

@property --progress {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

.server-name {
    background-color: #18181881;
    color: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    z-index: 999999999;
    user-select: none;
    pointer-events: none;
}

.status-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    padding: 4px 16px;
    border-radius: 4px;
    background-color: rgb(255, 81, 0);
    color: white;
    z-index: 99999999;
    user-select: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.version-watermark {
    position: absolute;
    right: 100px;
    bottom: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5); 
    font-family: monospace;
    z-index: 99990;
    user-select: none;
    pointer-events: none;
    text-align: center;
}