span.tool-tips {
    font-size: 1.1em;
}

.tool-tips svg {
    width: calc(1.3rem * var(--dpr));
    height: calc(1.3rem * var(--dpr));
}

.tool-tips {
    display: flex;
    gap: 1em;
}

.tool-tips small {
    display: flex;
    gap: 0.25em;
    font-size: 1em;
}

div.tooltips-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -5.5em;
    gap: 1em;
    color: #fff;
    z-index: 9999;
}

div.tooltips {
    width: 1280px;
    display: flex;
    justify-content: center;
    gap: 0;
}

div.tooltips .tooltip {
    border-left: 2px solid #FFDA1A;
    border-top: 2px solid #FFDA1A;
    height: 3em;
    position: relative;
}

div.tooltips .tooltip:last-child {
    border-right: 2px solid #FFDA1A;
}

/* Dots at intersections */
div.tooltips .tooltip::before {
    content: '';
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    background: #FFDA1A;
    border-radius: 50%;
    left: -0.33em;
    bottom: -0.25em;
}

/* Right dot for last tooltip */
div.tooltips .tooltip:last-child::after {
    content: '';
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    background: #FFDA1A;
    border-radius: 50%;
    right: -0.33em;
    bottom: -0.25em;
}

@media screen and (max-width: 1279px) {
    #tooltips-toggle {
        display: none;
    }

    div.tooltips-wrapper {
        display: none;
    }
}

/* Desktop - keep font size smaller */
@media only screen and (min-width: 1280px) {
    .tool-tips svg {
        width: 2rem;
        height: 2rem;
    }
}

@media only screen and (max-width: 767px) {
    .tool-tips svg {
        width: clamp(1.4rem, 3.5vw, 2.5rem);
        height: clamp(1.4rem, 3.5vw, 2.5rem);
    }
}