/* ===== platform_relay 插件前端样式 ===== */
.pr-card { margin-bottom: 1rem; overflow: hidden; }

/* 活动卡片头部 */
.pr-card-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 1rem 0; border-bottom: none;
}
.pr-card-head-left { display: flex; align-items: center; gap: 0.5rem; }
.pr-card-head-left h5 { margin: 0; font-weight: 700; font-size: 1.1rem; color: #333; }
.pr-avatar { width: 40px; height: 40px; border-radius: 0.375rem; object-fit: cover; }

/* 描述 */
.pr-desc { color: #6c757d; margin-bottom: 1rem; line-height: 1.6; }

/* 统计行（活动卡片） */
.pr-stats {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8f9fa; border-radius: 0.375rem; padding: 0.75rem; margin-bottom: 0.75rem;
}
.pr-stat-item { flex: 1; text-align: center; border-right: 1px solid #dee2e6; }
.pr-stat-item:last-child { border-right: none; }
.pr-stat-label { font-size: 0.8rem; color: #6c757d; }
.pr-stat-value { font-weight: 700; color: #333; font-size: 0.95rem; }
.pr-stat-city {
    max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    display: inline-block;
}
.pr-stat-reward { color: #d9534f; font-size: 1.1rem; }

/* 标签 */
.pr-tags { margin-bottom: 0.75rem; text-align: center; }
.pr-tag {
    display: inline-block; padding: 0.15rem 0.5rem; margin: 0.15rem;
    font-size: 0.8rem; border-radius: 0.25rem; background: #6c757d; color: #fff;
}
.pr-tag-info { background: #0dcaf0 !important; color: #000 !important; }
.pr-tag-warn { background: #ffc107 !important; color: #000 !important; }

/* 活动卡片在线/线下标识 */
.pr-badge {
    display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.8rem;
    border-radius: 50px; color: #fff; font-weight: 600;
}
.pr-badge-online { background: #28a745; }
.pr-badge-offline { background: #007bff; }

/* 按钮区域 */
.pr-actions {
    display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.5rem; margin-top: 0.5rem;
}
