/* ===== 群红包气泡样式 ===== */
.group-rp-bubble {
    width: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    user-select: none;
}
.group-rp-bubble .rp-header {
    background: linear-gradient(160deg, #e8334a, #c62135);
    padding: 12px 15px;
    text-align: center;
    color: #fff;
    position: relative;
}
.group-rp-bubble .rp-header .rp-type-tag {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    margin-bottom: 6px;
}
.group-rp-bubble .rp-header .rp-msg {
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.group-rp-bubble .rp-status-bar {
    background: #c62135;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}
.group-rp-bubble .rp-status-bar .rp-progress {
    font-weight: bold;
}
.group-rp-bubble .rp-receiver-tip {
    background: #fff;
    padding: 4px 12px;
    font-size: 11px;
    color: #999;
    text-align: right;
}
.group-rp-bubble.received {
    opacity: 0.8;
}
.group-rp-bubble.finished {
    opacity: 0.65;
}

/* ===== 群红包弹窗样式 ===== */
#groupRedPacketModal .rp-send-card {
    /* 继承 .rp-send-card 基础样式，此处可覆盖 */
}
#groupRedPacketModal .rp-input,
#groupRedPacketModal .rp-textarea {
    width: 100%;
    box-sizing: border-box;
}
#groupRedPacketModal .rp-card-bottom {
    gap: 12px;
}

/* ===== 口令红包输入弹窗 ===== */
.password-rp-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-rp-dialog {
    width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.password-rp-dialog input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    outline: none;
    font-size: 15px;
    margin: 12px 0;
    box-sizing: border-box;
}
.password-rp-dialog button {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #e8334a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.password-rp-dialog button:active {
    opacity: 0.85;
}

/* ===== 群红包封面预览 ===== */
#groupRpCoverPreview {
    transition: background 0.3s;
}
#groupRpCoverPreview:hover {
    opacity: 0.9;
}