.registered-location-anchor,
.registered-location-anchor > .registered-location
{
    position:relative;
    display:block;
    width:0 !important;
    height:0 !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible;
    pointer-events:none;
    line-height:1;
    font-family:inherit;
}

.registered-location-anchor > .registered-location
{
    position:absolute;
    top:0;
    left:0;
    appearance:none;
    cursor:pointer;
}

.registered-location-pin
{
    position:absolute;
    left:0;
    bottom:0;
    display:block;
    max-width:none;
    transform:translateX(-50%);
    pointer-events:auto;
    user-select:none;
}

.registered-location-label,
.registered-location-count
{
    position:absolute;
    left:0;
    display:block;
    width:max-content;
    max-width:220px;
    box-sizing:border-box;
    padding:3px 6px;
    border:1px solid var(--theme-control-border, #687989);
    border-radius:4px;
    color:var(--theme-body-fg, #253b4b);
    background:var(--theme-panel-bg, #fff);
    box-shadow:0 1px 3px #0003;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-align:center;
    font-size:12px;
    font-weight:400;
    line-height:1.3;
    pointer-events:auto;
    transform:translateX(-50%);
}

.registered-location-label { top:5px; }
.registered-location-point,
.registered-location-count { display:none; }

.registered-location-anchor[data-location-shape='point'] .registered-location-pin,
.registered-location-anchor[data-location-shape='point']:not(.is-selected) .registered-location-label,
.registered-location-anchor[data-location-shape='cluster'] .registered-location-pin,
.registered-location-anchor[data-location-shape='cluster'] .registered-location-label { display:none; }

.registered-location-anchor[data-location-shape='point'] .registered-location-point
{
    position:absolute;
    top:-3.5px;
    left:-3.5px;
    display:block;
    width:7px;
    height:7px;
    box-sizing:border-box;
    border:2px solid #e53935;
    border-radius:50%;
    background:#fff;
    box-shadow:0 0 0 1px #fff, 0 1px 2px #9f2027a0;
    pointer-events:auto;
}

.registered-location-anchor[data-location-shape='point']:hover .registered-location-label,
.registered-location-anchor[data-location-shape='point']:focus-within .registered-location-label { display:block; }

.registered-location-anchor[data-location-shape='cluster'] .registered-location-count
{
    display:block;
    top:0;
    min-width:42px;
    padding:5px 8px;
    border:2px solid #fff;
    border-radius:14px;
    color:#fff;
    background:#9f2027;
    transform:translate(-50%, -50%);
}

.registered-location:hover .registered-location-label,
.registered-location:focus-visible .registered-location-label,
.registered-location-anchor.is-selected .registered-location-label
{
    border-color:#e53935;
    box-shadow:0 0 0 1px #e53935, 0 1px 3px #0003;
}

.registered-location:focus-visible { outline:none; }
.registered-location:focus-visible .registered-location-count { outline:2px solid #e53935; outline-offset:2px; }
