/* 
* 数字样式统一
* 使X码中特数字样式与生肖数字样式一致
*/

/* X码中特数字样式 */
.code-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin: 0 3px;
    font-weight: bold;
    color: white;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.code-number:hover {
    transform: scale(1.1);
}

/* 颜色分类 */
.code-number.red {
    background-color: #e74c3c;
}

.code-number.green {
    background-color: #2ecc71;
}

.code-number.blue {
    background-color: #3498db;
}

/* X码中特容器 */
.code-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

/* 对X码中特文本进行处理 */
.code-formatter {
    display: inline-block;
    margin: 5px 0;
}

/* 保留旧类名以保持兼容性 */
.liuma-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin: 0 3px;
    font-weight: bold;
    color: white;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.liuma-number:hover {
    transform: scale(1.1);
}

.liuma-number.red {
    background-color: #e74c3c;
}

.liuma-number.green {
    background-color: #2ecc71;
}

.liuma-number.blue {
    background-color: #3498db;
}

.liuma-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

.liuma-formatter {
    display: inline-block;
    margin: 5px 0;
}

/* 生肖行样式 */
.shengxiao-container {
    margin: 10px auto;
    padding: 8px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shengxiao-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    padding: 5px;
    flex-wrap: wrap;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: auto;
}

/* 确保数字在圆圈中居中显示 */
.code-number, .liuma-number, .number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    margin: 0 3px !important;
    font-weight: bold !important;
    color: white !important;
    font-size: 13px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
    line-height: 1 !important;
    text-align: center !important;
    padding: 0 !important;
}

/* 生肖标签样式 */
.zodiac-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 5px 0 0;
    font-size: 20px;
    font-weight: bold;
}

.zodiac-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
} 