



/* ============================================================
   区域13：弹窗（.modal-overlay / .modal-box）
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
}

.modal-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 380px;
    background: #f3f5f8;
    border-radius: 8px;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 12px 16px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    position: relative;
    background: var(--b3);
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 32px;
    color: #ededed;
    font-weight: 300;   /* ← 关键：数值越小越细 */
    line-height: 1;
}

.modal-body {
  
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
}

/* ============================================================
   统一白色卡片样式（六肖区 + 两个静态 div 共用）
   ============================================================ */
.modal-card {
    margin-top: 10px;
    padding: 10px;
    background: #ffffff;

}

/* ============================================================
   六肖 + 16码 合并版
   ============================================================ */

/* 外层容器：竖排三行 */
.six-number-grid {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    align-items: center;
}

/* 每一行：横排，居中 */
.row-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

/* 第1行（期号+生肖）：不要间隔 */
.row-line-six {
    gap: 0;
}

/* 第1行的期号和生肖文字 */
.row-line .six-item {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* 16码数字项样式 */
.row-line .num-item2 {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* ============================================================
   16码行：号码之间用 . 连接
   ============================================================ */
.gold-row {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* ============================================================
   区块标题（放在白色卡片内部）
   ============================================================ */
.section-title {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    padding: 6px 0;
    letter-spacing: 2px;
    text-align: center;
}

/* ============================================================
   下方静态文字 div
   ============================================================ */
.modal-text {
    font-size: 14px;
    color: #333;
    line-height: 1.2;
    text-align: center;
}

.modal-text-red {
    color: #d33;
    font-weight: bold;
}

/* ============================================================
   底部关闭按钮区
   ============================================================ */
.modal-footer {
    padding: 12px 16px;
    background: var(--b3);
    border-top: 1px solid #e3e6eb;
    text-align: center;
}

.modal-footer .footer-close {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 4px;
    padding: 4px 0;
    transition: opacity 0.2s;
}

.modal-footer .footer-close:hover {
    opacity: 0.7;
}