#rtp-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 350px;
    max-width: 97vw;
    z-index: 9999;
    font-family: Arial, sans-serif;
}
#rtp-popup-content {
    padding: 14px 14px 10px 14px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    border-radius: 10px;
    background: #fff;
    display: block;
}

#rtp-popup-minimized {
    display: none;
    background: #1769aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 16px 16px 0 16px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    text-align: left;
    font-size: 15px;
    min-width: 120px;
}

#rtp-close {
    position: absolute;
    top: 10px; right: 14px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
}
#rtp-close:hover { color: #d00; }

.rtp-tabs {
    margin-bottom: 9px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.rtp-tab-btn {
    background: #f5f7fc;
    border: none;
    outline: none;
    padding: 6px 16px;
    border-radius: 16px 16px 0 0;
    font-size: 15px;
    color: #246;
    cursor: pointer;
    transition: background .15s, color .15s;
    margin-bottom: -2px;
}
.rtp-tab-btn.active {
    background: #1769aa;
    color: #fff;
    font-weight: bold;
    z-index: 2;
}

#rtp-list {
    max-height: 240px;
    overflow-y: auto;
    border-top: 1px solid #ececec;
    padding-top: 8px;
}

#rtp-list ul {
    margin: 0; padding: 0;
    list-style: none;
}
#rtp-list ul li {
    margin-bottom: 7px;
}
#rtp-list ul li a {
    color: #1769aa;
    text-decoration: none;
    font-size: 15px;
}
#rtp-list ul li a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    #rtp-popup {
        width: 98vw;
        right: 1vw;
        bottom: 1vw;
        max-width: 98vw;
    }
    #rtp-popup-content {
        padding: 10px 5px 7px 6px;
    }
}
#rtp-intro {
    font-size: 15px;
    color: #3b4863;
    margin-bottom: 9px;
    font-style: italic;
}
