h6:root {
    --tm-info-bar-height: 42px;
}

#map,
#sidebar {
    height: calc(100vh - 60px - var(--tm-info-bar-height) - 8px);
}

.tmTooltip {
    position: fixed;
    z-index: 2147483000;
    box-sizing: border-box;
    max-width: min(280px, calc(100vw - 16px));
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(18, 21, 31, 0.97);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.38);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 70ms ease, transform 70ms ease;
}

.tmInfoBar {
    position: fixed;
    z-index: 7775;
    right: 0;
    top: 10px;
    left: 300px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 50%;
    min-height: var(--tm-info-bar-height);
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.94);
    background: none;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    pointer-events: none;
}

.tmInfoBarText:empty::before {
    content: '\00a0';
}

.tmTooltipText {
    position: relative;
    z-index: 1;
}

.tmTooltip.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .tmTooltip {
        transition: none;
    }
}
