.reader-auth {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    font-size: 14px;
}

.reader-auth-trigger {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #3eaf7c;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
    cursor: pointer;
}

.reader-auth-trigger img,
.reader-auth-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.reader-auth-github {
    font-weight: 700;
    font-size: 12px;
}

.reader-auth-panel {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 230px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    background: var(--theme-front-color, #fff);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .15);
}

.reader-auth-panel[hidden] {
    display: none;
}

.reader-auth-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.reader-auth-profile img {
    width: 40px;
    height: 40px;
}

.reader-auth-profile div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.reader-auth-profile strong,
.reader-auth-profile span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reader-auth-profile span {
    color: var(--theme-text-secondary, #888);
    font-size: 12px;
}

.reader-auth-panel > a {
    display: block;
    margin-top: 8px;
    color: var(--theme-color, #3eaf7c);
}

.reader-auth-login {
    font-weight: 600;
}

.reader-comment-login {
    padding: 20px 0;
    text-align: center;
}

.reader-comment-login p {
    margin: 0 0 10px;
}

.reader-comment-login a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
    background: var(--theme-color, #3eaf7c);
    color: #fff;
}

.reader-comment-login span {
    color: var(--theme-text-secondary, #888);
}

@media (max-width: 480px) {
    .reader-auth {
        right: 14px;
        bottom: 14px;
    }
}
