.fc-location-preview {
    display: inline-flex;
    align-items: baseline;
    justify-content: inherit;
    gap: .3rem;
    padding: 0;
    border: 0;
    border-bottom: 1px dotted currentColor;
    background: transparent;
    color: var(--ft-gold, #d7b578);
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.fc-location-preview svg { flex: 0 0 auto; align-self: center; }
.fc-location-preview:hover { color: #f3d8a6; }
.fc-location-preview:focus-visible { outline: 2px solid #d7b578; outline-offset: 4px; border-radius: 2px; }

.fc-map-preview {
    box-sizing: border-box;
    position: fixed;
    z-index: 1100;
    width: min(440px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 12px;
    border: 1px solid #a88952;
    border-radius: 8px;
    background: #102931;
    color: #e5dcc9;
    box-shadow: 0 12px 40px #0009;
    font: 400 13px/1.5 Inter, sans-serif;
    text-align: left;
}

.fc-map-preview[hidden] { display: none; }
.fc-map-preview-heading { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; margin-bottom: 8px; }
.fc-map-preview-heading strong { color: #d7b578; font-size: 14px; }
.fc-map-preview-coordinates { color: #fff1cd; font-variant-numeric: tabular-nums; }
.fc-map-preview-canvas { position: relative; margin: 0; overflow: hidden; border-radius: 3px; touch-action: none; }
.fc-map-preview-layer { position: relative; transform-origin: 0 0; }
.fc-map-preview-canvas.is-zoomed { cursor: grab; }
.fc-map-preview-canvas.is-zoomed:active { cursor: grabbing; }
.fc-map-preview-canvas img { display: block; width: 100%; height: auto; border-radius: 3px; }
.fc-map-preview-layer img { pointer-events: none; user-select: none; }
.fc-map-preview-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.fc-map-preview-controls button { min-width: 38px; min-height: 38px; padding: 5px 10px; border: 1px solid #8e774e; border-radius: 4px; background: #183b43; color: #f1d5a0; font: inherit; font-weight: 600; cursor: pointer; }
.fc-map-preview-controls button:hover:not(:disabled) { background: #27535b; }
.fc-map-preview-controls button:disabled { opacity: .4; cursor: default; }
.fc-map-preview-controls .fc-map-zoom-reset { margin-left: auto; }
.fc-map-zoom-level { min-width: 4ch; color: #e5dcc9; text-align: center; font-variant-numeric: tabular-nums; }
.fc-map-preview-controls button:focus-visible, .fc-map-preview-canvas:focus-visible { outline: 2px solid #f1d5a0; outline-offset: -3px; }
.fc-map-preview-caption { margin: 8px 0 0; color: #bdcbd0; }
.fc-map-preview-note { margin: 5px 0 0; color: #aabcc3; font-size: 11px; }
.fc-map-preview-unavailable { padding: 24px 8px; text-align: center; color: #bdcbd0; }

.fc-map-preview-pin {
    position: absolute;
    width: 24px;
    height: 30px;
    transform: translate(-50%, -100%) scale(var(--fc-map-pin-scale, 1));
    transform-origin: 50% 100%;
    filter: drop-shadow(0 1px 2px #000b);
}

.fc-map-preview-pin svg { display: block; width: 100%; height: 100%; }
