/* ================================================================
   报单王 - 首页 / 活动页样式（合并版）
   ================================================================ */
/* ===== 轮播 banner ===== */
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e8edf5;
}
.swiper-container img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    display: block;
}
.swiper-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.swiper-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.3s;
}
.swiper-dots span.active { background: #fff; width: 16px; border-radius: 3px; }
/* ===== Tab 栏（黑底胶囊 + 绿字 + 选中白底黑字） ===== */
.tab-bar-wrapper {
    background: #ffffff;
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f3;
}
.tab-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #1f1f1f;
    border-radius: 40px;
    padding: 4px 6px;
    border: 1px solid #fff;
    overflow-x: auto;
    scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar span {
    flex: 1;
    text-align: center;
    color: #05fa30;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.tab-bar span.active {
    background: #ffffff;
    color: #0b1a2f;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* ===== Tab 内容区显隐（关键！独立 CSS 时不能丢这两行） ===== */
.tab-content { display: block; }
.tab-content.hide { display: none !important; }
/* ===== 统计条 ===== */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    font-size: 14px;
    color: #0b1a2f;
}
.stats-bar .total { font-weight: 500; }
.stats-bar .total span { color: #1a3a6b; font-weight: 700; font-size: 16px; margin: 0 2px; }
/* ===== 内容容器 ===== */
.content-container { padding: 12px 14px; }
/* ===== 订单卡 ===== */
.order-list { padding-bottom: 20px; }
.order-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(26, 58, 107, 0.05);
    transition: box-shadow 0.15s;
}
.order-card:active { box-shadow: 0 2px 8px rgba(26, 58, 107, 0.1); }
.order-row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-row1 .left { display: flex; align-items: center; gap: 8px; }
.order-row1 .model { font-size: 16px; font-weight: 600; color: #0b1a2f; }
.order-row1 .qty { font-size: 13px; color: #5e6f8d; }
.order-row1 .qty span { color: #1a3a6b; font-weight: 700; font-size: 15px; margin: 0 2px; }
.order-row2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: #5e6f8d; }
.order-row2 .sales { display: flex; align-items: center; gap: 6px; }
.order-row2 .source { font-size: 12px; color: #8a99b3; }
.order-row3 {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 8px; border-top: 1px solid #f1f4f9;
    font-size: 12px; color: #8a99b3;
}
.order-row3 .dealer { display: flex; align-items: center; gap: 6px; }
.order-row3 .time { color: #8a99b3; }
/* 小标签 */
.pill-model, .pill-sales, .pill-merchant {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}
.pill-model    { background: #e8edf5; color: #1a3a6b; }
.pill-sales    { background: #d1fae5; color: #065f46; }
.pill-merchant { background: #fef3c7; color: #92400e; }
/* 报单记录里的操作按钮 */
.order-actions {
    display: flex; justify-content: flex-end; gap: 8px;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid #f1f4f9;
}
.btn-action {
    padding: 6px 16px; border-radius: 16px; border: none;
    font-size: 13px; cursor: pointer; transition: all 0.15s;
}
.btn-action:active { transform: scale(0.95); }
.btn-edit   { background: #e8edf5; color: #1a3a6b; }
.btn-delete { background: #fee2e2; color: #dc2626; }
/* ===== 榜单 ===== */
.rank-list { padding-bottom: 20px; }
.rank-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(26, 58, 107, 0.04);
}
.rank-item .left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

/* 【新增】让 .sub 自动推到右边 */
.rank-item .left .sub {
    margin-left: auto;
}
.rank-item .rank-num {
    display: inline-block;
    width: 22px; height: 22px; line-height: 22px;
    text-align: center; border-radius: 50%;
    font-size: 12px; font-weight: 700;
    background: #eef1f6; color: #8a99b3;
    margin-right: 8px; flex-shrink: 0;
}
.rank-item .rank-num.top1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.rank-item .rank-num.top2 { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #fff; }
.rank-item .rank-num.top3 { background: linear-gradient(135deg, #fdba74, #f97316); color: #fff; }
.rank-item .name {
    font-size: 15px; font-weight: 600; color: #0b1a2f;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-item .sub {
    font-size: 12px; color: #8a99b3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-item .value { font-size: 18px; font-weight: 700; color: #1a3a6b; flex-shrink: 0; margin-left: 12px; }
.rank-item .value span { font-size: 12px; color: #8a99b3; font-weight: 400; }
.rank-item.drillable { cursor: pointer; transition: background 0.15s; }
.rank-item.drillable:active { background: #f1f4f9; }
/* ===== 日期弹窗 ===== */
.time-picker {
    display: flex; align-items: center; gap: 6px; cursor: pointer;
    padding: 6px 12px; background: #f1f4f9; border-radius: 20px;
    font-size: 14px; color: #1a3a6b; font-weight: 500; user-select: none;
}
.time-picker .arrow-icon { font-size: 10px; color: #8a99b3; }
.date-list-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1000;
    display: none; align-items: flex-end; justify-content: center;
}
.date-list-overlay.show { display: flex; }
.date-list-sheet {
    background: #fff; border-radius: 20px 20px 0 0;
    width: 100%; max-width: 420px; max-height: 70vh;
    padding: 20px 0 30px; animation: slideUp 0.3s ease;
}
.date-list-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px 16px; border-bottom: 1px solid #e8ecf2;
}
.date-list-header .title { font-size: 17px; font-weight: 600; color: #0b1a2f; }
.date-list-header .close { font-size: 20px; color: #8a99b3; cursor: pointer; padding: 0 4px; }
.date-list { padding: 8px 0; max-height: 50vh; overflow-y: auto; }
.date-item {
    padding: 14px 20px; font-size: 15px; color: #0b1a2f;
    cursor: pointer; transition: background 0.15s;
    border-bottom: 1px solid #f1f4f9;
}
.date-item:active { background: #e8edf5; }
.date-item.active { color: #1a3a6b; font-weight: 600; background: #e8edf5; }
.date-item .day { float: right; color: #8a99b3; font-size: 13px; }
/* ===== 报单表单 ===== */
.form-card {
    background: #fff;
    border-radius: 16px;
    margin: 12px 14px 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(26, 58, 107, 0.05);
}
.form-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid #f1f4f9;
    cursor: pointer; transition: background 0.15s;
}
.form-item:last-child { border-bottom: none; }
.form-item:active { background: #f8f9fc; }
.form-item .label { font-size: 15px; color: #0b1a2f; font-weight: 500; flex-shrink: 0; }
.form-item .value { font-size: 15px; color: #8a99b3; text-align: right; flex: 1; margin-left: 12px; }
.form-item .value.has-value { color: #0b1a2f; }
.form-item .value .arrow { color: #b0bcca; font-size: 18px; margin-left: 4px; }
.form-item .value input {
    border: none; background: transparent; text-align: right;
    padding: 0; color: #0b1a2f; font-size: 15px; width: 100%;
}
.form-item .qty-wrapper { display: flex; align-items: center; justify-content: flex-end; }
.form-item .qty-wrapper .num { font-size: 16px; color: #0b1a2f; font-weight: 600; }
.btn-row { display: flex; gap: 12px; padding: 0 14px 20px; }
.btn-row .btn {
    flex: 1; padding: 14px 0; border-radius: 30px;
    font-size: 16px; font-weight: 600; border: none;
    cursor: pointer; text-align: center; display: block;
    min-height: 50px; line-height: 1.4; transition: all 0.15s;
}
.btn-row .btn-cancel { background: transparent; color: #4a5a72; border: 1.5px solid #d0d6e0; }
.btn-row .btn-submit {
    background: #1a3a6b; color: #fff;
    border: 1.5px solid #1a3a6b;
    box-shadow: 0 4px 14px rgba(26, 58, 107, 0.15);
}
.btn-row .btn:active { transform: scale(0.97); }
.btn-row .btn-submit:disabled { background: #b0bcca; border-color: #b0bcca; box-shadow: none; cursor: not-allowed; }
.copyright { text-align: center; font-size: 12px; color: #b0bcca; padding: 20px 0 30px; }
/* ===== 个人中心 ===== */
.profile-card {
    background: linear-gradient(135deg, #1a3a6b, #2d5fa0);
    color: #fff; padding: 24px 20px;
    display: flex; align-items: center; gap: 16px;
}
.profile-card .avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.profile-card .info .name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.profile-card .info .sub { font-size: 13px; opacity: 0.85; }
.info-card {
    background: #fff; border-radius: 16px;
    margin: 12px 14px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(26, 58, 107, 0.05);
}
.info-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid #f1f4f9; font-size: 15px;
}
.info-item:last-child { border-bottom: none; }
.info-item .label { color: #5e6f8d; }
.info-item .value { color: #0b1a2f; font-weight: 500; }
.info-item.clickable { cursor: pointer; }
.info-item.clickable:active { background: #f8f9fc; }
.info-item .edit-icon { color: #8a99b3; font-size: 13px; margin-left: 6px; }
.menu-card {
    background: #fff; border-radius: 16px;
    margin: 12px 14px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(26, 58, 107, 0.05);
}
.menu-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid #f1f4f9;
    font-size: 15px; cursor: pointer; transition: background 0.15s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: #f8f9fc; }
.menu-item .left { display: flex; align-items: center; gap: 10px; }
.menu-item .icon { font-size: 18px; }
.menu-item .text { color: #0b1a2f; }
.menu-item .right { color: #8a99b3; font-size: 20px; }
.menu-item .status { color: #10b981; font-size: 13px; margin-right: 4px; }
.btn-home-wrap { padding: 20px 14px 30px; }
.btn-home {
    display: block; width: 100%; padding: 14px 0;
    border-radius: 30px; background: #fff; color: #1a3a6b;
    border: 1.5px solid #d0d6e0; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
}
.btn-home:active { background: #f1f4f9; }
/* ===== 空状态 ===== */
.empty-tip { text-align: center; padding: 60px 20px; color: #8a99b3; }
.empty-tip .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-tip h3 { color: #0b1a2f; font-size: 16px; margin: 0 0 8px; }
.empty-tip p { font-size: 14px; margin: 0 0 16px; }
.empty-tip .btn-primary {
    display: inline-block; padding: 10px 40px; border-radius: 24px;
    background: #1a3a6b; color: #fff; font-size: 15px; font-weight: 600;
    text-decoration: none;
}
/* ===== 选择器弹窗 ===== */
.picker-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1000;
    display: none; align-items: flex-end; justify-content: center;
}
.picker-overlay.show { display: flex; }
.picker-sheet {
    background: #fff; border-radius: 20px 20px 0 0;
    width: 100%; max-width: 420px; max-height: 60vh;
    padding: 20px 0 20px; animation: slideUp 0.3s ease;
    overflow-y: auto;
}
.picker-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px 16px; border-bottom: 1px solid #e8ecf2;
}
.picker-header .title { font-size: 17px; font-weight: 600; color: #0b1a2f; }
.picker-header .close { font-size: 20px; color: #8a99b3; cursor: pointer; }
.picker-item {
    padding: 14px 20px; font-size: 15px; color: #0b1a2f;
    cursor: pointer; border-bottom: 1px solid #f1f4f9;
    transition: background 0.15s;
}
.picker-item:active { background: #e8edf5; }
.picker-item.selected { color: #1a3a6b; font-weight: 600; background: #e8edf5; }
/* ===== 编辑 / 修改密码弹窗 ===== */
.edit-overlay,
.edit-profile-overlay,
.confirm-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1000;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.edit-overlay.show,
.edit-profile-overlay.show,
.confirm-overlay.show { display: flex; }
.edit-sheet {
    background: #fff; border-radius: 20px; width: 100%;
    max-width: 380px; padding: 20px;
    animation: popIn 0.25s ease;
}
.edit-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; border-bottom: 1px solid #e8ecf2;
    margin-bottom: 12px;
}
.edit-header .title { font-size: 17px; font-weight: 600; color: #0b1a2f; }
.edit-header .close { font-size: 20px; color: #8a99b3; cursor: pointer; }
.edit-field {
    display: flex; align-items: center;
    padding: 10px 0; border-bottom: 1px solid #f1f4f9;
}
.edit-field .label {
    width: 60px; flex-shrink: 0;
    font-size: 14px; color: #5e6f8d; font-weight: 500;
}
.edit-field .value {
    flex: 1; font-size: 16px; color: #0b1a2f;
    border: none; outline: none; background: transparent;
    padding: 6px 0;
}
.edit-field .value-select {
    padding: 6px 0; border: none; outline: none;
    background: transparent; font-size: 16px; color: #0b1a2f;
    appearance: none; -webkit-appearance: none;
    cursor: pointer; width: 100%;
}
.edit-field input.value {
    border: none; outline: none; background: transparent;
    font-size: 16px; color: #0b1a2f; padding: 6px 0; width: 100%;
}
.edit-field input.value::placeholder { color: #b0bcca; }
.edit-field input.disabled-input { background: #f8f9fc; cursor: default; opacity: 0.8; }
.edit-btn-row { display: flex; gap: 12px; margin-top: 16px; }
.edit-btn-row .btn {
    flex: 1; padding: 12px 0; border-radius: 30px;
    font-size: 16px; font-weight: 600; border: none;
    cursor: pointer; transition: all 0.15s;
}
.edit-btn-row .btn-cancel { background: #f1f4f9; color: #4a5a72; }
.edit-btn-row .btn-confirm {
    background: #1a3a6b; color: #fff;
    box-shadow: 0 4px 14px rgba(26, 58, 107, 0.15);
}
.edit-btn-row .btn:active { transform: scale(0.97); }
.edit-input {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #dce0e8; border-radius: 10px;
    background: #f8f9fc; font-size: 15px;
    margin-bottom: 16px; transition: 0.2s;
}
.edit-input:focus { border-color: #1a3a6b; background: #fff; }
/* ===== 确认框 ===== */
.confirm-box {
    background: #fff; border-radius: 20px;
    width: 100%; max-width: 320px;
    padding: 24px 20px 20px; text-align: center;
    animation: popIn 0.25s ease;
}
.confirm-box .icon { font-size: 42px; margin-bottom: 12px; }
.confirm-box .title { font-size: 17px; font-weight: 600; color: #0b1a2f; margin-bottom: 6px; }
.confirm-box .desc { font-size: 14px; color: #5e6f8d; margin-bottom: 20px; }
.confirm-box .btn-row { display: flex; gap: 12px; padding: 0; }
.confirm-box .btn {
    flex: 1; padding: 12px 0; border-radius: 24px;
    border: none; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
}
.confirm-box .btn-cancel { background: #f1f4f9; color: #4a5a72; }
.confirm-box .btn-confirm { background: #ef4444; color: #fff; }
.confirm-box .btn:active { transform: scale(0.97); }
/* ================================================================
   ===== 下钻弹窗（居中弹出） =====
   ================================================================ */
.drill-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1001;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.drill-overlay.show { display: flex; }
.drill-sheet {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 380px; max-height: 75vh;
    padding: 20px 0 30px; animation: popIn 0.25s ease;
    display: flex; flex-direction: column;
}
.drill-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px 12px; border-bottom: 1px solid #e8ecf2; flex-shrink: 0;
}
.drill-header .drill-title { font-size: 17px; font-weight: 600; color: #0b1a2f; }
.drill-header .close { font-size: 20px; color: #8a99b3; cursor: pointer; padding: 0 4px; }
.drill-sub {
    padding: 10px 20px; font-size: 13px; color: #8a99b3;
    border-bottom: 1px solid #f1f4f9; flex-shrink: 0;
}
.drill-list { padding: 8px 0; overflow-y: auto; flex: 1; }
.drill-head {
    display: flex; padding: 8px 20px;
    font-size: 12px; color: #8a99b3; font-weight: 500;
    border-bottom: 1px solid #f1f4f9;
}
.drill-head span:nth-child(1) { width: 50px; }
.drill-head span:nth-child(2) { flex: 1; }
.drill-head span:nth-child(3) { width: 60px; text-align: right; }
.drill-head span:nth-child(4) { width: 60px; text-align: right; }
.drill-row {
    display: flex; align-items: center;
    padding: 12px 20px; font-size: 14px; color: #0b1a2f;
    border-bottom: 1px solid #f8f9fc;
}
.drill-row.top1 { background: #fffbf0; }
.drill-row.top2 { background: #f8faff; }
.drill-row.top3 { background: #f7fcfa; }
.drill-no { width: 50px; font-weight: 600; color: #8a99b3; }
.drill-row.top1 .drill-no { color: #f59e0b; }
.drill-row.top2 .drill-no { color: #6b7280; }
.drill-row.top3 .drill-no { color: #d97706; }
.drill-name { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drill-count { width: 60px; text-align: right; color: #5e6f8d; }
.drill-qty { width: 60px; text-align: right; font-weight: 600; color: #1a3a6b; }
/* ===== 活动横幅（浮动在图片顶部 · 黑色半透明胶囊） ===== */
.activity-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;

    background: rgba(0, 0, 0, 0.45);   /* ← 改这里：深红半透明 */
    color: #fff;                            /* ← 白字 */
    padding: 3px 50px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.activity-banner .act-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}
.activity-banner .back-home {
    display: none;
}
/* ===== 顶部导航标题不换行 ===== */
.top-nav .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
    display: inline-block;
    vertical-align: middle;
}
/* ===== 页面底部留白 ===== */
#page-records .content-container { padding-bottom: 120px; }
#tab-list { padding-bottom: 100px; }
#list-loading {
    text-align: center; padding: 16px 0;
    color: #8a99b3; font-size: 14px; display: none;
}
#tab-merchant, #tab-sales, #tab-model, #tab-source { padding-bottom: 90px; }
/* ===== 动画 ===== */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
/* ===== 首页活动卡片 ===== */
.activity-list-wrap { padding: 12px 14px 100px; }
.activity-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(26, 58, 107, 0.08);
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.activity-card:active { transform: scale(0.98); box-shadow: 0 1px 6px rgba(26, 58, 107, 0.12); }
.activity-card-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a3a6b, #2d5fa0);
    position: relative; overflow: hidden;
}
.activity-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.activity-card-img .no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 40px;
}
.activity-card-body { padding: 14px 16px 16px; }
.activity-card-title {
    font-size: 17px; font-weight: 600; color: #0b1a2f;
    margin-bottom: 6px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.activity-card-desc {
    font-size: 13px; color: #8a99b3; line-height: 1.5;
    /*margin-bottom: 12px;*/
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    /*overflow: hidden; min-height: 38px;*/
}
.activity-card-footer { display: flex; justify-content: space-between; align-items: center; }
.activity-card-count { font-size: 13px; color: #5e6f8d; }
.activity-card-count strong { color: #1a3a6b; font-size: 16px; font-weight: 700; margin: 0 2px; }
.activity-card-btn {
    background: #1a3a6b; color: #fff; border: none;
    padding: 8px 20px; border-radius: 20px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.15s;
}
.activity-card-btn:active { transform: scale(0.95); background: #15305a; }
.empty-activities { text-align: center; padding: 60px 20px; color: #8a99b3; }
.empty-activities .icon { font-size: 48px; margin-bottom: 12px; }
/* ===== 活动选择弹窗 ===== */
.act-select-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1000;
    display: none; align-items: flex-end; justify-content: center;
}
.act-select-overlay.show { display: flex; }
.act-select-sheet {
    background: #fff; border-radius: 20px 20px 0 0;
    width: 100%; max-width: 420px;
    padding: 20px 0 30px; animation: slideUp 0.3s ease;
}
.act-select-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px 16px; border-bottom: 1px solid #e8ecf2;
}
.act-select-header .title { font-size: 17px; font-weight: 600; color: #0b1a2f; }
.act-select-header .close { font-size: 20px; color: #8a99b3; cursor: pointer; }
.act-select-item {
    padding: 14px 20px; font-size: 15px; color: #0b1a2f;
    cursor: pointer; border-bottom: 1px solid #f1f4f9;
}
.act-select-item:active { background: #e8edf5; }
.act-select-item .meta { font-size: 12px; color: #8a99b3; margin-top: 4px; }
/* ===== 从内联 style 搬到独立 CSS（必须补，否则 tab 失效） ===== */
.tab-content { display: block; }
.tab-content.hide { display: none !important; }

/* 加载占位 */
.loading-placeholder {
    text-align: center;
    padding: 40px 0;
    color: #8a99b3;
    font-size: 14px;
}

/* 活动横幅描述 */
.activity-banner .act-desc {
    opacity: 0.8;
    font-size: 12px;
}
.tab-content { display: block; }
.tab-content.hide { display: none !important; }