
:root {
    /* 赞助者专属配色：黄金渐变 */
    --donor-gold: #ffb800;
    --donor-orange: #ff8a00;
    --bg-glass: rgba(255, 255, 255, 0.85);
}
.contributor-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.donor-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 18px 6px 8px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 184, 0, 0.3); /* 金色微边框 */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.donor-card-user {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 18px 6px 8px;
    background: rgb(242 248 255 / 85%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* 金色微边框 */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.donor-card:hover {
    transform: scale(1.05);
    border-color: var(--donor-gold);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.2);
}

/* 动态头像框 - 金色流光 */
.avatar-box {
    position: relative;
    width: 36px;
    height: 36px;
    margin-right: 12px;
}
.avatar-box2 {
    position: relative;
    width: 36px;
    height: 36px;
    margin-right: 12px;
}
.avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--donor-gold);
    box-sizing: border-box;
    background: #fff;
}
.avatar-box2 img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-sizing: border-box;
    background: #fff;
}
/* 皇冠图标 */
.crown-icon {
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 16px;
    transform: rotate(-20deg);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

/* 名字与等级 */
.name {
    font-weight: 700;
    color: #444;
    font-size: 14px;
}

.donor-badge {
    font-size: 10px;
    background: linear-gradient(135deg, var(--donor-gold), var(--donor-orange));
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(255, 138, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 2px;
}

/* 悬浮气泡 */
.tooltip {
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #222;
    color: #ffd700; /* 金色文字 */
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.6;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 120px;
}

.tooltip b { color: #fff; font-size: 14px; }

.donor-card:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 感谢按钮 */
.thanks-btn {
    background: none;
    border: 1px solid #eee;
    border-radius: 15px;
    margin-left: 12px;
    padding: 2px 8px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}

.thanks-btn:hover {
    background: #fff5e6;
    border-color: var(--donor-gold);
    color: var(--donor-orange);
}