/* Shared map palette; only the invisible hit area grows, never the icon. */
/* Keep the ordinary arrow over the map and targets; tooltips still work. */
.appHolder,
.appHolder *,
.detailTargetHitArea,
.detailTargetHitArea * {
    cursor: default !important;
}
.detailTargetHitArea {
    pointer-events: all;
    cursor: default !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
circle.detailTargetHitArea {
    fill: transparent;
    stroke: none;
} 
button.detailTargetHitArea {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
circle.detailTargetHitArea:focus-visible {
    stroke: #78a2ed;
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
}
button.detailTargetHitArea:focus-visible {
    box-shadow: 0 0 0 2px #78a2ed;
}
.detailTargetTooltip {
    --target-tooltip-surface: #2a2d31;
    --target-tooltip-border: #4a5058;
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    max-width: calc(100vw - 24px);
    padding: 9px 13px;
    border: 1px solid var(--target-tooltip-border);
    border-radius: 8px;
    background: var(--target-tooltip-surface);
    color: #f7f6f4;
    box-shadow: 0 6px 22px rgb(0 0 0 / 24%);
    font-family: "e-Ukraine", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    white-space: pre-line;
    max-width: min(310px, calc(100vw - 24px));
    overflow-wrap: anywhere;
    pointer-events: none;
}
.detailTargetTooltip[hidden] {
    display: none !important;
}
.detailTargetTooltip::after {
    position: absolute;
    left: calc(var(--target-tooltip-arrow-x, 50%) - 4px);
    bottom: -5px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--target-tooltip-surface);
    border-right: 1px solid var(--target-tooltip-border);
    border-bottom: 1px solid var(--target-tooltip-border);
    transform: rotate(45deg);
}
.detailTargetTooltip[data-placement="bottom"]::after {
    top: -5px;
    bottom: auto;
    transform: rotate(225deg);
}
html.light .detailTargetTooltip {
    --target-tooltip-surface: #fff;
    --target-tooltip-border: #ced3d8;
    color: #2a2d31;
    box-shadow: 0 6px 22px rgb(20 25 33 / 14%);
}
/* Cache refresh.                                 */
