/* Shared WSG wind-map visuals. Application adapters own visibility and preference policy. */
.compass-container,
.wsg-wind-map-compass {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
}

.compass-rose,
.wsg-wind-map-compass__rose {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--wsg-compass-rose-rotation, 0deg));
    transform-origin: 50% 50%;
    opacity: 65%;
}

.wind-arrow,
.wsg-wind-map-compass__arrow {
    width: 30px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--wsg-wind-arrow-rotation, 0deg));
    transform-origin: 50% 50%;
    opacity: 65%;
}

.wind-direction,
.wsg-wind-map-compass__direction {
    position: absolute;
    color: #000;
    font-size: 9px;
    font-weight: normal;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: move;
    touch-action: none;
    line-height: 1.05;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.95), 0 0 4px rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.wind-direction strong,
.wsg-wind-map-compass__direction strong {
    font-size: 10px;
}

.wsg-wind-particle-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
