/**
 * 组3组6卡片摘要样式
 * 参考同现TOP卡片样式设计
 */

/* 摘要项目容器 */
.summary-item {
    margin-bottom: 12px;
}

.summary-item:first-child {
    margin-top: 0;
}

.summary-item:last-child {
    margin-bottom: 0;
}

/* 摘要标题 */
.summary-title {
    color: #3498db;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 4px 0;
    text-align: center; /* 修改为居中对齐 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===============================
   和值统计区域样式
   =============================== */

.sum-stats-container {
    padding: 4px;
}

/* 和值统计表头 */
.sum-stats-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 2px 4px;
}

.sum-stats-header .header-item {
    color: #87ceeb;
    font-size: 13px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sum-stats-header .sum-header {
    flex: 2;
    text-align: left;
}

.sum-stats-header .type-header {
    flex: 1;
    text-align: center;
}

.sum-stats-header .omission-header {
    flex: 1.5;
    text-align: center;
}

.sum-stats-header .coefficient-header {
    flex: 1.5;
    text-align: right;
}

/* 和值统计数据行 */
.sum-stats-row {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    margin-bottom: 2px;
    border-radius: 4px;
}

/* 和值统计高亮效果 - 参考同现TOP */
.sum-stats-row.highlight {
    /* 白色发光效果 */
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
    position: relative;
}

/* 绿色背景效果 - 应用到数字内容 */
.breakthrough-value {
    background-color: #28a745 !important;
    color: #fff !important;
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-block;
}

.sum-stats-row .sum-value-cell {
    flex: 2;
}

.sum-stats-row .sum-value {
    color: #dadada;
    font-size: 16px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sum-stats-row .sum-type-cell {
    font-size: 12px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1;
    text-align: center;
}

.sum-stats-row .sum-omission-cell {
    color: #dadada;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1.5;
    text-align: center;
}

.sum-stats-row .sum-coefficient-cell {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1.5;
    text-align: right;
}

/* ===============================
   明细前两位区域样式
   =============================== */

.detail-container {
    padding: 4px;
}

/* 明细表头 */
.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 2px 4px;
}

.detail-header .header-item {
    color: #87ceeb;
    font-size: 13px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.detail-header .combo-header {
    flex: 2;
    text-align: left;
}

.detail-header .type-header {
    flex: 1;
    text-align: center;
}

.detail-header .current-header {
    flex: 1.5;
    text-align: center;
}

.detail-header .max-header {
    flex: 1.5;
    text-align: right;
}

/* 明细数据行 */
.detail-row {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    margin-bottom: 2px;
    border-radius: 4px;
}

.detail-row .combo-info {
    flex: 2;
}

.detail-row .combo-value {
    color: #dadada;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.detail-row .combo-type {
    font-size: 12px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1;
    text-align: center;
}

.detail-row .combo-current-omission {
    color: #dadada;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1.5;
    text-align: center;
}

.detail-row .combo-max-omission {
    color: #dadada;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex: 1.5;
    text-align: right;
}

/* 突破记录的高亮效果 - 参考同现TOP */
.detail-row.highlight {
    /* 白色发光效果 */
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
    position: relative;
}



/* ===============================
   通用样式
   =============================== */

/* 组3组6类型颜色 */
.group3-type {
    color: #ff9500; /* 橙色 - 组3 */
}

.group6-type {
    color: #32cd32; /* 绿色 - 组6 */
}

/* 状态样式 */
.no-data,
.error,
.unsupported-lottery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hint-text {
    color: #87ceeb;
    font-weight: bold;
    margin-bottom: 4px;
}

.hint-subtext {
    color: #95a5a6;
    font-size: 11px;
}

.error-text {
    color: #e74c3c;
}

/* 响应式适配 */
@media (max-width: 600px) {
    .sum-stats-row,
    .detail-row {
        padding: 3px;
    }
    
    .sum-stats-row .sum-value {
        font-size: 15px;
    }
    
    .sum-stats-row .sum-omission-cell,
    .sum-stats-row .sum-coefficient-cell,
    .detail-row .combo-value,
    .detail-row .combo-current-omission,
    .detail-row .combo-max-omission {
        font-size: 13px;
    }
    
    .sum-stats-row .sum-type-cell,
    .detail-row .combo-type {
        font-size: 11px;
    }
    
    .summary-title {
        font-size: 14px;
    }
    
    .sum-stats-header .header-item,
    .detail-header .header-item {
        font-size: 12px;
    }
} 