
body{
    font-family:Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: rgb( 252,250,235);
}
main{
    max-width: clamp(300px, 100vw, 900px); 
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box; 
    background-image: linear-gradient( 135deg, rgba(247, 239, 187,0.5), rgba(238, 229, 176,0.5) );
    box-shadow: 1px 2px 5px 2px rgba(119, 115, 87, 0.253);
}
svg{
    /* Prevent annoying select behaviour on mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
svg text{
    -webkit-user-select: text;
    user-select:text;
    -webkit-tap-highlight-color: #a688df;
} 
.sticky-wrapper{
    position: relative;
    /* Keeps the bar active through the remaining content height */
    height: 100%; 
    /* Allows the child to sit at the absolute bottom when not sticking */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Prevents an empty wrapper from collapsing */
    pointer-events: none; 
}
#tooltip{
    position:sticky;
    bottom: 0px;
    width: 90%;
    background-color: rgba(247, 239, 187);
    transition: 0.2s ease-in-out all;
    padding: 20px;
}
text{
    /* cursor: pointer; */
}
b.highlighted{
    color: #611fdb; 
}
path.hover-composer{
    opacity: 0.25 !important;
    transition: 0.05s ease-in-out all;
    stroke:#611fdb;
}
circle.hover-composer{
    fill:#a688df;
}

circle:hover {
    r:8;
}
circle.hover-id{
    opacity: 1 !important;
    fill: #611fdb;
    r: 8;
}
tspan.hover-composer{
    font-weight:bold;
    fill: #611fdb;
}
path.hover-id{
    stroke: #611fdb;
    opacity: 0.8 !important;
    transition: 0.05s ease-in-out all;
    cursor: pointer;

}
path{
    stroke-width: 8px;
    fill: none;            
    transition: 0.1s ease-in-out all;
    cursor: pointer;
}
circle{
    transition: 0.2s ease-in-out all;
    cursor: pointer;
    r: 5;
}
circle.always-invisible{
    r: 13 !important;
    fill: rgba(0,0,0,0) !important;
}
.missing_rank{
    stroke-dasharray: 12 12;  
}