.dd-compass{
    --dd-compass-angle: 0deg;
    /* display: flex;
    flex-direction: column; */
    display: grid;
    grid-template-rows: auto;
    gap:5px;
    align-items: center;
    justify-content: center;
}

.dd-compass-background {
    position: relative;
    background: var(--dd-color-background);
    border-radius: 99px;
    line-height: 0;
    height: var(--dd-button-height-small);
    min-width: var(--dd-button-height-small);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(var(--dd-compass-angle));
    transition: transform var(--dd-animation-time) var(--dd-animation-easing);
}

.dd-compass-icon,
.dd-compass-north {
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    max-width: none;
    vertical-align: baseline;
}

.dd-compass-icon {
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}

.dd-compass-icon-outline {
    fill: none;
    stroke: var(--dd-color-text);
    stroke-width: 1.25px;
    stroke-miterlimit: 10;
    vector-effect: non-scaling-stroke;
}

.dd-compass-icon-fill {
    fill: var(--dd-color-text);
}

/* A badge on the rim beyond the arrow's tip, turned back by the arrow's angle so it always reads upright */
.dd-compass-north {
    left: 32.5%;
    top: -22%;
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background: var(--dd-color-text);
    fill: var(--dd-color-background);
    transform: rotate(calc(-1 * var(--dd-compass-angle)));
    transition: inherit;
}
