/* M12 玩法模块 样式 */

/* 通用玩法卡片容器 */
.m12-play-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin: 0.10rem 0.04rem;
    overflow: hidden;
    font-size: 0.15rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 蓝色 Header */
.m12-card-header-blue {
    background-color: #3b82f6;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    font-size: 0.17rem;
    padding: 0.06rem 0.10rem;
    letter-spacing: 0.01rem;
}

/* 米黄/浅绿 Header (铁算盘风格) */
.m12-card-header-khaki {
    background-color: #e2eaab;
    color: #000000;
    text-align: center;
    font-weight: bold;
    font-size: 0.17rem;
    padding: 0.06rem 0.10rem;
    border-bottom: 1px solid #b5c57b;
    letter-spacing: 0.01rem;
}

.m12-card-header-khaki a {
    color: #0000ff;
    text-decoration: underline;
}

/* 命中黄色高亮 */
.hit-yellow {
    background-color: #ffff00 !important;
    color: #000000 !important;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

/* 颜色类 */
.text-red {
    color: red !important;
}

.text-green {
    color: #15803d !important;
    font-weight: bold;
}

.text-blue {
    color: #1d4ed8 !important;
    font-weight: bold;
}

.wave-red {
    color: red !important;
    font-weight: bold;
}

.wave-blue {
    color: #2563eb !important;
    font-weight: bold;
}

.wave-green {
    color: #15803d !important;
    font-weight: bold;
}

/* 1. 精准一肖一码 (七肖) 样式 */
.m12-jzyxym-body {
    padding: 0.04rem 0;
}

.m12-jzyxym-period-block {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.06rem;
    margin-bottom: 0.06rem;
}

.m12-jzyxym-period-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.m12-jzyxym-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.05rem 0.06rem;
    padding: 0.05rem 0.08rem;
    font-size: 0.15rem;
    align-items: center;
}

.m12-jzyxym-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.04rem 0.08rem;
    font-size: 0.15rem;
    border-bottom: 1px dashed #f1f5f9;
}

.m12-jzyxym-cell-left {
    display: flex;
    align-items: center;
    gap: 0.02rem;
    white-space: nowrap;
}

.m12-jzyxym-cell-right {
    display: flex;
    align-items: center;
    gap: 0.01rem;
    white-space: nowrap;
    text-align: left;
    justify-content: flex-start;
}

.m12-jzyxym-lbl {
    font-weight: bold;
    color: #000000;
}

.m12-jzyxym-zodiac {
    color: red;
    font-weight: bold;
}

.m12-jzyxym-num {
    color: #334155;
    font-weight: 500;
}

.m12-jzyxym-tag {
    color: #64748b;
    font-size: 0.13rem;
}

.m12-jzyxym-pink-box {
    background-color: #fce7f3;
    color: #00f;
    text-align: center;
    font-weight: bold;
    font-size: 0.16rem;
    padding: 0.06rem;
    margin: 0.04rem 0.08rem;
    border-radius: 0.04rem;
}

.m12-jzyxym-green-box {
    background-color: #dcfce7;
    color: #166534;
    text-align: center;
    font-weight: bold;
    font-size: 0.15rem;
    padding: 0.06rem;
    margin: 0.04rem 0.08rem 0.06rem 0.08rem;
    border-radius: 0.04rem;
}

.m12-link-blue {
    color: #00f;
    text-decoration: underline;
}

/* 2. 平特一肖 样式 */
.m12-ptyx-row {
    padding: 0.08rem 0.10rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.06rem;
}

.m12-ptyx-row:last-child {
    border-bottom: none;
}

.m12-ptyx-period {
    font-weight: bold;
    color: #000000;
}

.m12-ptyx-title {
    font-weight: bold;
    color: #15803d;
}

.m12-ptyx-zodiacs {
    font-weight: bold;
    color: #000000;
}

.m12-ptyx-res-pending {
    font-weight: bold;
    color: #000000;
}

.m12-ptyx-res-win {
    font-weight: bold;
    color: #0000ff;
}

.m12-ptyx-res-miss {
    font-weight: bold;
    color: #ff0000;
}

/* 3. 双波主16码 样式 */
.m12-sb16-row {
    padding: 0.08rem 0.10rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.17rem;
    text-align: center;
    white-space: nowrap;
}

.m12-sb16-row:last-child {
    border-bottom: none;
}

/* 4. 天肖地肖三肖六码 样式 */
.m12-txdx-subheader {
    background-color: #feffe8;
    border-bottom: 1px solid #e2eaab;
    padding: 0.06rem 0.10rem;
    text-align: center;
    font-size: 0.15rem;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.5;
}

.m12-txdx-block {
    padding: 0.08rem 0.10rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.17rem;
}

.m12-txdx-block:last-child {
    border-bottom: none;
}

.m12-txdx-line1 {
    text-align: center;
    margin-bottom: 0.04rem;
}

.m12-txdx-line2 {
    text-align: center;
    color: #333333;
}

/* 绝杀专区 表格样式 */
.m12-jszq-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.17rem;
}

.m12-jszq-table th {
    background-color: #FFCC66;
    color: #000000;
    padding: 0.06rem 0.04rem;
    border: 1px solid #e2b04a;
}

.m12-jszq-table td {
    padding: 0.06rem 0.04rem;
    border: 1px solid #e2e8f0;
    color: #333333;
}

/* 居中单行 玩法样式 */
.m12-play-row-center {
    padding: 0.08rem 0.10rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.17rem;
    text-align: center;
    white-space: nowrap;
}

.m12-play-row-center:last-child {
    border-bottom: none;
}

/* 五行图例 */
.m12-wuxing-legend {
    padding: 0.06rem 0.10rem 0.08rem 0.10rem;
    font-size: 0.14rem;
    color: #333333;
    line-height: 1.6;
    text-align: center;
    border-top: 1px dashed #cbd5e1;
}
