/* ═══════════════════════════════════════
   scan.css - Scan cards, full scan, bull stocks
   Lines: 940
   ═══════════════════════════════════════ */

/* 批量扫描结果卡片 */
/* ── 批量扫描卡片 ── */
.batch-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tech-batch-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.tech-batch-card:hover {
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.tech-batch-card.batch-has-signal {
    background: rgba(255,255,255,0.045);
}

/* 顶部渐变色条 */
.batch-accent {
    height: 3px;
    width: 100%;
    opacity: 0.85;
}

/* 卡片头部 */
.batch-card-header {
    display: flex;
    align-items: center;
    padding: 12px 16px 6px;
    cursor: pointer;
    gap: 10px;
    transition: background 0.15s;
}
.batch-card-header:hover {
    background: rgba(255,255,255,0.03);
}
.batch-header-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.batch-card-header .batch-code {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}
.batch-card-header .batch-name {
    color: var(--text-secondary);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 价格涨幅 */
.batch-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.batch-change {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.batch-change.up { color: #ff4444; }
.batch-change.down { color: #00c853; }

/* 信号计数徽章 */
.batch-count-badge {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    padding: 2px 10px;
    border-radius: 10px;
    color: #4fc3f7;
    background: rgba(79,195,247,0.10);
}
.batch-count-badge small { font-size: 10px; font-weight: 400; opacity: 0.6; }
.batch-count-badge.warm {
    color: #00c853;
    background: rgba(0,200,83,0.12);
}
.batch-count-badge.hot {
    color: #ff6b35;
    background: rgba(255,107,53,0.14);
}
.batch-count-badge.empty {
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    font-weight: 400;
}

/* 已触发信号标签行 */
.batch-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 16px 2px;
}
.batch-sig-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 14px;
    letter-spacing: 0.2px;
    transition: opacity 0.15s;
}
.batch-sig-pill .pill-icon {
    font-style: normal;
    font-size: 10px;
    opacity: 0.9;
}
.pill-s85 { color: #ff6666; background: rgba(255,68,68,0.12); }
.pill-s80 { color: #ff8a50; background: rgba(255,107,53,0.12); }
.pill-s75 { color: #66bb6a; background: rgba(76,175,80,0.12); }
.pill-s70 { color: #64b5f6; background: rgba(33,150,243,0.12); }
.pill-s65 { color: #ce93d8; background: rgba(156,39,176,0.10); }
.pill-s60 { color: #ffb74d; background: rgba(255,152,0,0.12); }
.pill-s55 { color: #90a4ae; background: rgba(96,125,139,0.12); }

/* 描述区域 */
.batch-desc-area {
    padding: 6px 16px 4px;
}
.batch-desc-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 2px 0;
    line-height: 1.45;
}
.desc-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}
.dot-s85 { background: #ff4444; }
.dot-s80 { background: #ff6b35; }
.dot-s75 { background: #4CAF50; }
.dot-s70 { background: #2196F3; }
.dot-s65 { background: #9C27B0; }
.dot-s60 { background: #FF9800; }
.dot-s55 { background: #607D8B; }
.desc-text {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* 批量扫描 - 综合推荐 */
.batch-rec-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-top: 2px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.batch-rec-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.batch-rec-tag.rec-buy,
.batch-rec-tag.rec-add {
    background: rgba(0,206,158,0.18);
    color: #00ce9e;
}
.batch-rec-tag.rec-sell {
    background: rgba(255,68,68,0.18);
    color: #ff4444;
}
.batch-rec-tag.rec-watch,
.batch-rec-tag.rec-hold {
    background: rgba(100,149,237,0.18);
    color: #6495ed;
}
.batch-rec-reason {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.batch-rec-rate {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

/* 持仓说明 */
.batch-holding-note,
.scan-holding-note,
.strategy-holding-note {
    font-size: 11.5px;
    color: #ff9800;
    background: rgba(255,152,0,0.08);
    padding: 4px 12px;
    margin: 4px 16px 0;
    border-radius: 6px;
    line-height: 1.4;
}
.scan-holding-note {
    margin: 4px 10px 6px;
}
.strategy-holding-note {
    margin: 2px 0 4px 0;
    padding: 3px 10px;
    font-size: 11px;
}

/* 未触发行 */
.batch-muted-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    padding: 6px 16px 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 6px;
}
.batch-muted-name {
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.2px;
}
.batch-muted-name + .batch-muted-name::before {
    content: '·';
    margin-right: 10px;
    color: rgba(255,255,255,0.12);
}

/* 兼容旧类名 */
.ss-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ss-dot-sm.s85 { background: #ff4444; }
.ss-dot-sm.s80 { background: #ff6b35; }
.ss-dot-sm.s75 { background: #4CAF50; }
.ss-dot-sm.s70 { background: #2196F3; }
.ss-dot-sm.s65 { background: #9C27B0; }
.ss-dot-sm.s60 { background: #FF9800; }
.ss-dot-sm.s55 { background: #607D8B; }

/* 全量扫描触发区域 */
.full-scan-trigger-section {
    margin-top: 16px;
    padding: 14px;
    background: var(--card-bg, #1e1e2e);
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}
.scan-loading-hint {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-top-color: #6c5ce7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.scan-trigger-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}
.scan-action-btn {
    flex: 1;
    padding: 8px 0;
    border: 1px solid rgba(108, 92, 231, 0.4);
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.15);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.scan-action-btn:hover {
    background: rgba(108, 92, 231, 0.35);
}
.scan-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scan-progress-bar { margin-bottom: 12px; }
.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.progress-track {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6c5ce7, #00ce9e);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.progress-done {
    margin-top: 8px;
    font-size: 13px;
    color: #00ce9e;
    font-weight: 600;
}

.scan-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.quick-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.quick-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

/* 策略建议CSS已移除（功能合并到全景扫描） */

.section-close {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.section-close:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}
.section-close.inline {
    display: inline-flex;
}

/* 全量扫描样式 */
.full-scan-section {
    margin-top: 16px;
    padding: 16px;
    background: var(--card-bg, #1e1e2e);
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, 0.3);
}
.full-scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.full-scan-trigger-section > .scan-summary-section {
    margin-top: 12px;
}
.scan-summary-section {
    margin-bottom: 8px;
}
.scan-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 6px 0;
    user-select: none;
}
.scan-summary-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-close.inline {
    padding: 2px 8px;
    font-size: 12px;
    min-width: auto;
}
.scan-summary-text {
    font-size: 12px;
    color: var(--text-secondary);
}
.scan-summary-text .highlight { color: #ffd93d; }
.scan-summary-toggle {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.scan-summary-body {
    padding-top: 4px;
}
.scan-time-info {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 8px;
}

.signal-dist-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.dist-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.dist-tag:hover, .dist-tag.active {
    background: rgba(108, 92, 231, 0.3);
    color: #fff;
}
.dist-tag b { margin-left: 4px; color: #ffd93d; }

.scan-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}
.scan-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.scan-filter-label {
    font-size: 11px;
    color: var(--text-muted);
    min-width: 28px;
    margin-right: 2px;
}
.filter-tag {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.filter-tag:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
}
.filter-tag.active {
    background: var(--primary, #6c5ce7);
    color: #fff;
}
.filter-tag.rec-all.active { background: var(--primary, #6c5ce7); color: #fff; }
.filter-tag.rec-buy.active { background: rgba(0, 206, 158, 0.35); color: #00ce9e; }
.filter-tag.rec-sell.active { background: rgba(255, 68, 68, 0.35); color: #ff4444; }
.filter-tag.rec-hold.active { background: rgba(255, 217, 61, 0.35); color: #ffd93d; }
.filter-tag.rec-watch.active { background: rgba(100, 149, 237, 0.35); color: #6495ed; }

.full-scan-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 500px;
    overflow-y: auto;
}
.scan-empty-hint {
    text-align: center;
    color: var(--text-muted);
    padding: 24px 16px;
    font-size: 13px;
}
.scan-result-card {
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    transition: all 0.2s;
}
.scan-result-card.has-signal {
    background: rgba(255, 217, 61, 0.05);
}
.scan-result-card.is-watched {
    /* 不再使用左边线颜色，仅保留星标等标识 */
}
.scan-result-card:hover { background: rgba(255,255,255,0.06); }
.scan-watched-icon {
    color: #f59e0b;
    font-size: 16px;
    flex-shrink: 0;
}
.scan-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 4px;
}
.scan-code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary, #6c5ce7);
    font-weight: 600;
}
.scan-name { font-size: 13px; color: var(--text-primary); }
.scan-price {
    font-size: 12px;
    color: #ffd700;
}
.scan-change {
    font-size: 11px;
    margin-left: 4px;
    font-weight: 500;
}
.scan-change.up { color: #ff4757; }
.scan-change.down { color: #00ce9e; }
.scan-recommend {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 4px;
}
.scan-recommend.buy { background: rgba(0, 206, 158, 0.2); color: #00ce9e; }
.scan-recommend.sell { background: rgba(255, 68, 68, 0.2); color: #ff4444; }
.scan-recommend.hold { background: rgba(255, 217, 61, 0.2); color: #ffd93d; }
.scan-recommend.watch-active { background: rgba(100, 149, 237, 0.2); color: #6495ed; }
.scan-recommend.watch { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.scan-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 4px;
}
.scan-info-left { display: flex; align-items: center; gap: 6px; }
.scan-triggered {
    font-size: 12px;
    color: #ffd93d;
    font-weight: 600;
}
.scan-no-signal {
    font-size: 12px;
    color: var(--text-muted);
}
.scan-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.scan-signal-tag {
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
}
.scan-signal-tag.active {
    background: rgba(0, 206, 158, 0.15);
    color: #00ce9e;
}
.scan-signal-tag.inactive {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
}

.scan-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.scan-pagination button {
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 12px;
}
.scan-pagination button:disabled { opacity: 0.3; cursor: not-allowed; }
.scan-pagination span { font-size: 13px; color: var(--text-secondary); }

.admin-link-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.admin-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* ══════════ 找牛股页面 ══════════ */
.bull-stocks-page { padding: 12px 0; }
.bull-flow-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.bull-flow-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 14px;
}
.bull-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.bull-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s;
    background: rgba(255,255,255,0.04);
    border: 1px solid transparent;
    min-width: 64px;
}
.bull-step:hover { background: rgba(255,255,255,0.08); }
.bull-step.active {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.bull-step .step-icon { font-size: 22px; margin-bottom: 4px; }
.bull-step .step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}
.bull-step .step-action {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    margin-top: 3px;
}
.bull-step .step-count {
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    color: var(--text-primary);
    background: rgba(255,255,255,0.1);
    padding: 1px 8px;
    border-radius: 10px;
}
.step-divergence .step-action { background: rgba(100, 149, 237, 0.25); color: #6495ed; }
.step-divergence.active { border-color: rgba(100, 149, 237, 0.4); }
.step-dragon .step-action { background: rgba(0, 206, 158, 0.25); color: #00ce9e; }
.step-dragon.active { border-color: rgba(0, 206, 158, 0.4); }
.step-true-dragon .step-action { background: rgba(0, 200, 83, 0.25); color: #00c853; }
.step-true-dragon.active { border-color: rgba(0, 200, 83, 0.4); }
.step-main-wave .step-action { background: rgba(255, 68, 68, 0.25); color: #ff6b6b; }
.step-main-wave.active { border-color: rgba(255, 68, 68, 0.4); }
.bull-flow-arrow {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 2px;
}
.bull-flow-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}
.bull-loading {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}
.bull-loading .loading-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: pulse 1.5s infinite;
    margin-right: 6px;
}
.bull-stage-section { margin-bottom: 16px; }
.bull-stage-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px 12px 0 0;
}
.bull-stage-icon { font-size: 20px; }
.bull-stage-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}
.bull-stage-count {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.08);
    padding: 3px 10px;
    border-radius: 10px;
}
.bull-stock-list {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-top: none;
    border-radius: 0 0 12px 12px;
}
.bull-stock-card {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bull-stock-card:last-child { border-bottom: none; }
.bull-stock-card:hover { background: rgba(255,255,255,0.06); }
.bull-stock-card.stage-bottom_divergence { border-left: 3px solid rgba(100, 149, 237, 0.5); }
.bull-stock-card.stage-dragon_head { border-left: 3px solid rgba(0, 206, 158, 0.5); }
.bull-stock-card.stage-true_dragon { border-left: 3px solid rgba(0, 200, 83, 0.5); }
.bull-stock-card.stage-main_rising_wave { border-left: 3px solid rgba(255, 68, 68, 0.5); }
.bull-stock-card.stage-other_signals { border-left: 3px solid rgba(255,255,255,0.15); }
.bull-card-left { min-width: 90px; }
.bull-card-code {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}
.bull-card-name {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.bull-card-center {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
}
.bull-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bull-card-right { text-align: right; flex-shrink: 0; }
.bull-card-rate { display: flex; align-items: baseline; gap: 1px; }
.rate-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--success);
}
.rate-unit { font-size: 11px; color: var(--text-muted); }
.bull-other-section { margin-top: 12px; }
.bull-other-header {
    padding: 10px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s;
}
.bull-other-header:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
}
.bull-empty {
    text-align: center;
    padding: 30px 16px;
    color: var(--text-muted);
    font-size: 13px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-top: none;
    border-radius: 0 0 12px 12px;
}
.bull-empty-tip {
    text-align: center;
    padding: 40px 16px;
}
.bull-empty-tip .empty-icon { font-size: 48px; margin-bottom: 12px; }
.bull-empty-tip p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0;
}
.bull-empty-tip .sub-tip {
    font-size: 12px;
    color: var(--text-muted);
}
.bull-empty-tip .scan-action-btn { margin-top: 16px; }

/* 阶段左侧装饰（数字阶段） */
.bull-stock-card.stage-s1 { border-left: 3px solid rgba(33, 150, 243, 0.5); }
.bull-stock-card.stage-s2 { border-left: 3px solid rgba(76, 175, 80, 0.5); }
.bull-stock-card.stage-s3 { border-left: 3px solid rgba(255, 152, 0, 0.5); }
.bull-stock-card.stage-s4 { border-left: 3px solid rgba(244, 67, 54, 0.5); }
.bull-stock-card.stage-s5 { border-left: 3px solid rgba(156, 39, 176, 0.5); }

/* 回调补涨阶段样式 */
.step-rebound .step-action { background: rgba(156, 39, 176, 0.25); color: #ce93d8; }
.step-rebound.active { border-color: rgba(156, 39, 176, 0.4); }

/* 信号标签列表 */
.bull-card-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}
.bull-signal-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(0, 206, 158, 0.12);
    color: #00ce9e;
    white-space: nowrap;
}
/* 推荐标签 + 下一信号 */
.bull-card-recommend {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.rec-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}
.rec-buy { background: rgba(244, 67, 54, 0.15); color: #f44336; }
.rec-sell { background: rgba(33, 150, 243, 0.15); color: #2196F3; }
.rec-add { background: rgba(255, 152, 0, 0.15); color: #FF9800; }
.rec-hold { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.rec-watch { background: rgba(156, 39, 176, 0.15); color: #ce93d8; }
.rec-observe { background: rgba(158, 158, 158, 0.15); color: #9E9E9E; }
.rec-reason {
    font-size: 10px;
    color: var(--text-muted);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 价格和涨跌幅 */
.bull-card-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}
.bull-card-change {
    font-size: 11px;
    text-align: right;
    margin-top: 2px;
}
.bull-card-change.up { color: #ff4444; }
.bull-card-change.down { color: #00c853; }
/* 迷你进度条 */
.bull-card-progress {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    justify-content: flex-end;
}
.mini-progress-bar {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.mini-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #2196F3, #4CAF50);
    transition: width 0.3s;
}
.bull-card-progress .progress-label {
    font-size: 10px;
    color: var(--text-muted);
    min-width: 28px;
    text-align: right;
}

/* ═══════════════════════════════════════
   手机端响应式布局 (≤ 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    /* ── 找牛股: 流程步骤改为换行网格 ── */
    .bull-flow-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .bull-flow-arrow { display: none; }
    .bull-step {
        flex-basis: calc(50% - 8px);
        max-width: calc(50% - 8px);
        padding: 8px 10px;
    }
    .bull-step .step-label { font-size: 11px; }
    .bull-step .step-action { font-size: 9px; padding: 0 4px; }
    .bull-step .step-count { font-size: 10px; padding: 0 6px; }

    /* ── 找牛股: 卡片改为竖排 ── */
    .bull-stock-card {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 14px;
        gap: 6px;
    }
    .bull-card-left {
        min-width: auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .bull-card-code { font-size: 14px; }
    .bull-card-name { font-size: 12px; margin-top: 0; margin-left: 8px; }
    .bull-card-center {
        width: 100%;
        padding: 0;
    }
    .bull-card-signals { justify-content: flex-start; }
    .bull-card-recommend {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    .rec-tag { font-size: 11px; padding: 2px 8px; }
    .rec-reason {
        font-size: 11px;
        white-space: normal;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: auto;
    }
    .bull-card-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .bull-card-price { font-size: 14px; }
    .bull-card-change { font-size: 12px; margin-top: 0; }
    .bull-card-progress { margin-top: 0; justify-content: flex-end; }
    .mini-progress-bar { width: 60px; }
    .progress-label { font-size: 11px; }
    .bull-stock-list { max-height: none; }

    /* ── 全景扫描: 结果卡片 ── */
    .full-scan-list { max-height: none; }
    .scan-result-card { padding: 10px; }
    .scan-card-header {
        flex-wrap: wrap;
        gap: 4px 8px;
        margin-bottom: 6px;
    }
    .scan-code, .scan-name, .scan-price, .scan-change, .scan-recommend { font-size: 12px; }
    .scan-info-left { flex-wrap: wrap; gap: 4px 8px; }
    .scan-triggered, .scan-no-signal { font-size: 11px; }
    .scan-signals { margin-top: 6px; }
    .scan-signal-tag { font-size: 10px; padding: 1px 6px; }
    .scan-holding-note { margin: 6px 0 0; padding: 3px 8px; font-size: 10px; }
    .scan-filter-row { flex-wrap: wrap; gap: 6px; }
    .filter-tag { padding: 4px 10px; font-size: 11px; }
    .signal-dist-bar { flex-wrap: wrap; gap: 6px; }
    .dist-tag { padding: 3px 8px; font-size: 11px; }
    .scan-summary-text { font-size: 11px; }
    .scan-time-info { font-size: 10px; }
    .scan-loading-hint { font-size: 12px; padding: 15px 0; }
    .loading-spinner { width: 16px; height: 16px; }
    .scan-action-btn { font-size: 12px; padding: 6px 0; }
    .scan-progress-bar { margin-bottom: 8px; }
    .progress-info { font-size: 11px; }
    .progress-done { font-size: 12px; }
    .scan-quick-actions { flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
    .quick-btn { padding: 5px 10px; font-size: 11px; }
    .scan-pagination { gap: 10px; margin-top: 10px; padding-top: 10px; }
    .scan-pagination button { padding: 5px 12px; font-size: 11px; }
    .scan-pagination span { font-size: 12px; }
    .admin-link-btn { font-size: 13px; padding: 10px; }

    /* ── 批量扫描卡片 ── */
    .tech-batch-card { border-radius: 10px; margin-bottom: 10px; }
    .batch-card-header { padding: 10px 12px; }
    .batch-stock-code { font-size: 13px; }
    .batch-stock-name { font-size: 11px; }
    .batch-price { font-size: 13px; }
    .batch-change { font-size: 11px; }
    .batch-card-body { padding: 8px 12px; }
    .batch-signal-tag { font-size: 10px; padding: 2px 6px; }
}
