* {
    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);
    flex-shrink: 0;
    border: 1px solid rgba(78, 110, 242, .06);
}

.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;
}

/* ===== 邮寄信息查看行 ===== */
.mail-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #f0f4ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.mail-info-row:hover {
    background: #e8edff;
    border-color: rgba(78, 110, 242, 0.15);
}

.mail-info-icon {
    color: #4e6ef2;
    font-size: 12px;
}

.mail-info-text {
    flex: 1;
    font-size: 12px;
    color: #4e6ef2;
    font-weight: 500;
}

.mail-info-arrow {
    color: #bbb;
    font-size: 10px;
}