/* --- Right floating info panel --- */
.rightpanel {
    position: fixed;
    top: 100px;
    right: 180px;
    width: 220px;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.9rem;
    color: #c9d1d9;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    z-index: 100;
    line-height: 1.0
}

.rightpanel h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.6rem;

    padding-bottom: 4px;
}

.rightpanel a {
    color: #58a6ff;
    text-decoration: none;
}

.rightpanel a:hover {
    text-decoration: underline;
}

/* --- Hide or move on small screens --- */
@media (max-width: 1700px) {
    .rightpanel {
        position: static;
        width: auto;
        background: none;
        border: none;
        box-shadow: none;
        text-align: center;
        margin-top: 20px;
        padding: 0;
    }
}
