* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.main-card {
    margin: 0 auto 0;
    border-radius: 18px;
}

.filter-bar {
    display: flex;
    background: transparent;
    border-radius: 0;
    padding: 12px 16px;
    border: none;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
}

.filter-buttons {
    display: flex;
    gap: 0;
    width: 100%;
    background: #eef1f6;
    border-radius: 10px;
    padding: 3px;
}

.filter-btn {
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8c99b3;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    position: relative;
    outline: none;
    flex: 1;
    text-align: center;
}

.filter-btn:hover {
    color: #4e6ef2;
    background: rgba(255, 255, 255, 0.5);
}

.filter-btn.active {
    background: #fff;
    color: #4e6ef2;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(78, 110, 242, 0.15);
}

.prize-list {
    margin: 0 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prize-card {
    display: flex;
    align-items: center;
    background: #f8fbfc;
    border-radius: 11px;
    box-shadow: 0 2px 13px rgba(70, 120, 220, .06);
    padding: 13px 16px 13px 11px;
    gap: 12px;
    position: relative;
    transition: box-shadow .13s;
}

.prize-card:hover {
    box-shadow: 0 3px 15px rgba(70, 120, 220, .10);
}

.prize-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, #eef2ff 0%, #e9f2fa 100%);
    box-shadow: 0 2px 8px rgba(70, 120, 220, .06);
    border: 1px solid rgba(78, 110, 242, .06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.prize-img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(78, 110, 242, .15);
}

/* ===== 奖品图片容器 ===== */
.prize-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

/* ===== 奖品数量徽标 ===== */
.prize-count-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ff6a00, #e74c3c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(231, 76, 60, .35);
    white-space: nowrap;
    z-index: 1;
}

.prize-info {
    flex: 1;
    min-width: 0;
}

.prize-claim-remark {
    color: #888;
    font-family: 'Consolas', 'Menlo', monospace;
}

.prize-name-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 12px;
}

.prize-name {
    font-size: 15px;
    font-weight: 600;
    color: #2442cf;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.prize-meta {
    font-size: 13px;
    color: #5b6a92;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 16px;
}

.prize-date, .tenant-name {
    color: #8c99b3;
}

.prize-expire, .claim-date {
    font-size: 13px;
    color: #bbbbbb;
    margin-top: 2px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    display: none;
}

/* ===== 邮寄地址选择抽屉 ===== */
.consignee-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 500;
    justify-content: center;
    align-items: flex-end;
}

.consignee-overlay.active {
    display: flex;
}

.consignee-sheet {
    width: 100%;
    max-width: 540px;
    max-height: 80vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    animation: sheetUp 0.3s ease;
    overflow: hidden;
}

@keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.consignee-sheet-bar {
    width: 36px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 8px auto 0;
    flex-shrink: 0;
}

.consignee-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.consignee-sheet-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.consignee-sheet-close {
    width: 28px; height: 28px;
    border: none; background: #f5f5f5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #999; font-size: 13px;
}

.consignee-sheet-close:hover { background: #eee; color: #333; }

.consignee-iframe {
    flex: 1;
    width: 100%;
    border: none;
    min-height: 400px;
}

/* ===== 交付方式选择弹窗 ===== */
.fulfill-method-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.fulfill-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.fulfill-method-option:hover {
    border-color: #4e6ef2;
    background: #f0f4ff;
}

.fulfill-method-option.selected {
    border-color: #4e6ef2;
    background: #eef2ff;
}

.fulfill-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.fulfill-method-icon.onsite {
    background: #fff3e0;
    color: #f57c00;
}

.fulfill-method-icon.mail {
    background: #e3f2fd;
    color: #1976d2;
}

.fulfill-method-text {
    flex: 1;
}

.fulfill-method-text h4 {
    margin: 0 0 2px 0;
    font-size: 15px;
    color: #333;
}

.fulfill-method-text p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

/* ===== 领取方式标签 ===== */
.fulfill-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.fulfill-badge i {
    font-size: 10px;
}

.fulfill-badge.onsite {
    background: #fff3e0;
    color: #e65100;
}

.fulfill-badge.mail {
    background: #e3f2fd;
    color: #1565c0;
}

/* ===== 物流信息卡片 ===== */
.logistics-info {
    margin-top: 8px;
    background: #f0f6ff;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(78, 110, 242, 0.1);
}

.logistics-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.logistics-row + .logistics-row {
    border-top: 1px dashed rgba(78, 110, 242, 0.15);
    padding-top: 6px;
    margin-top: 2px;
}

.logistics-label {
    font-size: 12px;
    color: #8c99b3;
    white-space: nowrap;
    min-width: 68px;
}

.logistics-label i {
    margin-right: 2px;
    font-size: 11px;
    color: #4e6ef2;
}

.logistics-value {
    flex: 1;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logistics-no {
    font-family: 'Consolas', 'Menlo', monospace;
    letter-spacing: 0.5px;
    color: #2442cf;
}

.logistics-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #fff;
    color: #4e6ef2;
    font-size: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s;
    border: 1px solid rgba(78, 110, 242, 0.15);
}

.logistics-copy:hover {
    background: #4e6ef2;
    color: #fff;
    border-color: #4e6ef2;
}

.logistics-copy:active {
    transform: scale(0.92);
}

/* ===== 奖品图片可点击 ===== */