#ALAC_ring {
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

#ALAC_ring a,
.tooltip-btn {
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000000,  
         1px -1px 0 #000000,
        -1px  1px 0 #000000,
         1px  1px 0 #000000;
    font-weight: bold;
    text-decoration: none;
}

#ALAC_ring a:hover,
.tooltip-btn:hover {
    color: #000000;
    text-shadow: 
        -1px -1px 0 #ffffff,  
         1px -1px 0 #ffffff,
        -1px  1px 0 #ffffff,
         1px  1px 0 #ffffff;
}

#ALAC_ring a:focus {
    outline: none;
    box-shadow: 0 0 0 2px #000000, 0 0 0 4px #ffffff;
}

#ALAC_ring img {
    width: 88px;
    height: 31px;
    display: block; 
    border: none;
    flex-shrink: 0;
    image-rendering: pixelated; 
}

.webring-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tooltip-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
}

.random-icon {
    font-size: 8px; 
}

.tooltip-btn::after {
    content: attr(alt);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    padding: 5px 8px;
    border: none;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #000000;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 999;
    font-family: "VCR OSD Mono", Courier, monospace;
    margin-bottom: 8px; 
    text-shadow: 
        -1px -1px 0 #000000,  
         1px -1px 0 #000000,
        -1px  1px 0 #000000,
         1px  1px 0 #000000;
}

.tooltip-btn:hover::after,
.tooltip-btn:focus::after {
    opacity: 1;
    visibility: visible;
}