#tw-map-focus-card {
    position: fixed;
    inset: max(14px, env(safe-area-inset-top)) 0 auto;
    z-index: 1250;
    box-sizing: border-box;
    width: min(740px, calc(100vw - 780px));
    max-height: min(300px, 48dvh);
    overflow: auto;
    overscroll-behavior: contain;
    margin-inline: auto;
    padding: 4px 18px 12px;
    background: #be1247;
    color: #fff;
    border: 1px solid #e28594;
    border-radius: 12px;
    box-shadow: 0 6px 24px #141a1a66;
    font: 14px/1.45 Inter, system-ui, sans-serif;
    overflow-wrap: anywhere;
}
#tw-map-focus-card header {
    position: relative;
    min-height: 48px;
    display: grid;
    align-items: center;
    padding-inline: 0 46px;
    border-bottom: 1px solid #ffffff72;
    color: inherit;
    font: 400 clamp(14px, 2.5vw, 19px)/1.3 Inter, system-ui, sans-serif;
    letter-spacing: -.025em;
}
#tw-map-focus-card h2 {
    margin: 8px 0 4px;
    color: inherit;
    font: 650 clamp(17px, 2vw, 23px)/1.25 Inter, system-ui, sans-serif;
}
#tw-map-focus-card p { margin: 0 0 5px; color: inherit; }
#tw-map-focus-card p[hidden] { display: none; }
#tw-map-focus-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: inherit;
    font-weight: 650;
    text-decoration: underline;
}
#tw-map-focus-card button {
    position: absolute;
    top: 50%;
    inset-inline-end: 0;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
}
#tw-map-focus-card :is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    #tw-map-focus-card { display: none; }
}
body:has(#twUniversalPopup.active, #twLoginPopup.tw-visible, #twSingleFlyout.tw-open) #tw-map-focus-card {
    visibility: hidden;
}
