/**
 * 乾坤门命理系统 - 统一样式表
 * 文件路径：bazipanuse/css/styles.css
 * 版本：V1.2
 * 更新时间：2025/03/20
 */

/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    min-height: 100vh;
}

/* ==================== 输入表单样式 ==================== */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    background: #8B4513;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #A52A2A;
}

.system-info {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* ==================== 结果展示样式 ==================== */
.bazi-paipan-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.system-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 30px;
}

.system-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.timestamp {
    opacity: 0.9;
    font-size: 0.9em;
}

/* 返回按钮 */
.back-button-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ==================== 内容区块 ==================== */
.section {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    font-size: 1.5em;
}

/* ==================== 基本信息 ==================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-item .label {
    font-weight: bold;
    color: #666;
}

.info-item .value {
    color: #333;
    margin-left: 10px;
}

/* ==================== 传统八字表格样式 ==================== */
.traditional-bazi-section {
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
}

.bazi-traditional-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* 表头样式 */
.bazi-traditional-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pillar-header-row th {
    padding: 15px 10px;
    font-size: 1.1em;
    font-weight: 600;
    border: 2px solid #5a67d8;
    text-align: center;
    vertical-align: middle;
}

.row-label-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    min-width: 100px;
    font-size: 1em;
}

.pillar-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.day-pillar-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    font-weight: 700;
}

.day-pillar-header small {
    display: block;
    font-size: 0.75em;
    opacity: 0.95;
    margin-top: 3px;
}

/* 表体行样式 */
.bazi-traditional-table tbody tr {
    border-bottom: 2px solid #e5e7eb;
}

.bazi-traditional-table tbody tr:last-child {
    border-bottom: none;
}

/* 行标签样式 */
.row-label {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    font-weight: 700;
    color: #374151;
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border: 2px solid #d1d5db;
    min-width: 100px;
    font-size: 0.95em;
}

/* 单元格基础样式 */
.pillar-cell {
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    border: 2px solid #e5e7eb;
    background: white;
    min-height: 60px;
    transition: all 0.3s ease;
}

.pillar-cell:hover {
    background: #f9fafb;
    transform: scale(1.02);
}

/* 日柱单元格特殊样式 */
.day-pillar-cell {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    font-weight: 600;
}

.day-pillar-cell:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}

/* 第1行：主星 */
.main-stars-row {
    background: #fef9f3;
}

.main-stars-row .pillar-cell {
    font-size: 1.1em;
    font-weight: 600;
    color: #dc2626;
    padding: 15px 8px;
}

/* 第2行：天干地支（核心行） */
.ganzhi-row {
    background: #fafafa;
}

.ganzhi-cell {
    padding: 15px 8px;
}

.ganzhi-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gan-char,
.zhi-char {
    font-size: 2em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.yang-text {
    color: #dc2626;
}

.yin-text {
    color: #2563eb;
}

.wuxing-tags {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.wuxing-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border: 1px solid #a5b4fc;
}

/* 第3行：藏干 */
.canggan-row {
    background: #f0fdf4;
}

.canggan-row .pillar-cell {
    font-size: 0.95em;
    color: #059669;
    line-height: 1.6;
    padding: 10px 8px;
}

/* 第4行：副星连 */
.sub-stars-row {
    background: #fef3f2;
}

.sub-stars-row .pillar-cell {
    font-size: 0.9em;
    color: #dc2626;
    line-height: 1.5;
    padding: 10px 8px;
}

/* 第5行：神煞 */
.shensha-row {
    background: #faf5ff;
}

.shensha-row .pillar-cell {
    font-size: 0.85em;
    color: #7c3aed;
    line-height: 1.5;
    padding: 10px 8px;
}

.shensha-item {
    padding: 2px 0;
    margin: 2px 0;
}

/* 第6行：纳音 */
.nayin-row {
    background: #ecfeff;
}

.nayin-row .pillar-cell {
    font-size: 1em;
    font-weight: 600;
    color: #0891b2;
    padding: 12px 8px;
}

/* ==================== 大运显示样式 ==================== */
.dayun-section {
    background: linear-gradient(to bottom, #fefefe 0%, #f9f9f9 100%);
}

.dayun-info-header {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.dayun-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dayun-info-item .info-label {
    font-weight: 600;
    color: #00695c;
    font-size: 0.95em;
}

.dayun-info-item .info-value {
    color: #004d40;
    font-weight: 700;
    font-size: 1.05em;
}

.dayun-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 10px;
    background: white;
    border-radius: 8px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dayun-item {
    flex: 0 0 auto;
    min-width: 110px;
    max-width: 110px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dayun-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

/* 当前大运高亮 */
.dayun-item.dayun-current {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border: 3px solid #ffa726;
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.4);
    transform: scale(1.05);
}

.dayun-item.dayun-current:hover {
    transform: scale(1.08) translateY(-3px);
}

/* 年龄范围 */
.dayun-age-range {
    font-size: 0.85em;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
}

.dayun-current .dayun-age-range {
    color: #e65100;
    border-bottom-color: #ffa726;
}

/* 干支 */
.dayun-ganzhi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 10px 0;
}

.dayun-gan,
.dayun-zhi {
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.dayun-gan {
    color: #dc2626;
}

.dayun-zhi {
    color: #2563eb;
}

.dayun-current .dayun-gan,
.dayun-current .dayun-zhi {
    font-size: 2em;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

/* 天干十神 */
.dayun-shishen {
    font-size: 0.9em;
    color: #d32f2f;
    font-weight: 600;
    margin: 8px 0 4px 0;
    min-height: 20px;
}

/* 藏干十神 */
.dayun-canggan-shishen {
    font-size: 0.8em;
    color: #7c3aed;
    line-height: 1.3;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e0e0e0;
    min-height: 30px;
}

.dayun-current .dayun-canggan-shishen {
    border-top-color: #ffa726;
}

/* 当前大运徽章 */
.dayun-current-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.7em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(238, 90, 111, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ==================== 四柱八字（旧版布局保留） ==================== */
.sizhu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pillar-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.pillar-item.day-pillar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3);
}

.pillar-label {
    font-size: 0.9em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.pillar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.pillar-content .gan,
.pillar-content .zhi {
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.pillar-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.wuxing-info,
.yinyang-info {
    font-size: 0.85em;
    opacity: 0.9;
    margin: 5px 0;
}

.wuxing-info span,
.yinyang-info span {
    margin: 0 5px;
}

/* ==================== 五行分析 ==================== */
.wuxing-chart {
    margin: 20px 0;
}

.wuxing-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.wuxing-name {
    width: 60px;
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.wuxing-bar-container {
    flex: 1;
    height: 35px;
    background: #e9ecef;
    border-radius: 17px;
    overflow: hidden;
    margin: 0 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wuxing-bar {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 17px;
}

.wuxing-value {
    width: 120px;
    text-align: right;
    color: #666;
    font-weight: bold;
}

.wuxing-summary {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
}

.wuxing-summary .summary-item {
    margin: 10px 0;
    color: #333;
}

.wuxing-summary .analysis-text {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    color: #666;
    line-height: 1.6;
}

/* ==================== 十神分析 ==================== */
.shishen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.shishen-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.shishen-item:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.shishen-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.shishen-value {
    color: #667eea;
    font-size: 1.1em;
}

/* ==================== 阴阳平衡 ==================== */
.yinyang-chart {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
}

.yinyang-item {
    text-align: center;
    padding: 30px;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.yinyang-item.yang {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.yinyang-item.yin {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.yinyang-label {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.yinyang-count {
    font-size: 2.5em;
    font-weight: bold;
}

.yinyang-ratio {
    font-size: 1.2em;
    margin-top: 10px;
}

.yinyang-divider {
    font-size: 2em;
    font-weight: bold;
    color: #666;
}

.yinyang-analysis {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
}

/* ==================== 纳音五行 ==================== */
.nayin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.nayin-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.nayin-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.nayin-value {
    color: #667eea;
    font-size: 1.3em;
    font-weight: bold;
}

/* ==================== 大运显示样式 ==================== */
.dayun-section {
    background: linear-gradient(to bottom, #fefefe 0%, #f9f9f9 100%);
}

.dayun-info-header {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.dayun-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dayun-info-item .info-label {
    font-weight: 600;
    color: #00695c;
    font-size: 0.95em;
}

.dayun-info-item .info-value {
    color: #004d40;
    font-weight: 700;
    font-size: 1.05em;
}

.dayun-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 10px;
    background: white;
    border-radius: 8px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dayun-item {
    flex: 0 0 auto;
    min-width: 110px;
    max-width: 110px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dayun-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

/* 当前大运高亮 */
.dayun-item.dayun-current {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border: 3px solid #ffa726;
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.4);
    transform: scale(1.05);
}

.dayun-item.dayun-current:hover {
    transform: scale(1.08) translateY(-3px);
}

/* 年龄范围 */
.dayun-age-range {
    font-size: 0.85em;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
}

.dayun-current .dayun-age-range {
    color: #e65100;
    border-bottom-color: #ffa726;
}

/* 天干十神（上方） */
.dayun-shishen-top {
    font-size: 0.9em;
    color: #d32f2f;
    font-weight: 600;
    margin: 8px 0;
    min-height: 20px;
}

/* 干支竖排容器 */
.dayun-ganzhi-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 8px 0;
}

/* 干支字符样式 */
.dayun-gan,
.dayun-zhi {
    font-size: 2em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.dayun-gan {
    color: #dc2626;
}

.dayun-zhi {
    color: #2563eb;
}

/* 当前大运的干支边框（关键样式） */
.dayun-current .current-gan,
.dayun-current .current-zhi {
    border: 3px solid #4caf50;
    border-radius: 6px;
    background: rgba(76, 175, 80, 0.15);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.dayun-current .dayun-gan,
.dayun-current .dayun-zhi {
    font-size: 2.2em;
}

/* 藏干容器 */
.dayun-canggan {
    font-size: 0.8em;
    color: #7c3aed;
    line-height: 1.4;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    min-height: 35px;
}

.dayun-current .dayun-canggan {
    border-top-color: #ffa726;
}

.canggan-item {
    padding: 2px 0;
    margin: 1px 0;
}

/* 当前大运徽章 */
.dayun-current-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.7em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(238, 90, 111, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ==================== 系统页脚 ==================== */
.system-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    color: #666;
}

/* ==================== 错误页面 ==================== */
.error-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.error-icon {
    font-size: 48px;
    color: #f44336;
    margin-bottom: 20px;
}

.error-message {
    color: #f44336;
    font-size: 18px;
    margin: 20px 0;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-size: 16px;
}

.back-link:hover {
    text-decoration: underline;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .form-container {
        margin: 20px auto;
        padding: 20px;
    }

    .sizhu-container {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .yinyang-chart {
        flex-direction: column;
        gap: 20px;
    }

    .yinyang-divider {
        transform: rotate(90deg);
    }

    .yinyang-item {
        width: 150px;
        height: 150px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* 传统表格响应式 */
    .bazi-traditional-table {
        font-size: 0.85em;
    }

    .pillar-header-row th {
        padding: 10px 5px;
        font-size: 0.95em;
    }

    .row-label {
        min-width: 70px;
        padding: 8px 5px;
        font-size: 0.85em;
    }

    .pillar-cell {
        padding: 8px 5px;
        min-height: 50px;
    }

    .gan-char,
    .zhi-char {
        font-size: 1.5em;
    }

    .wuxing-tag {
        font-size: 0.7em;
        padding: 2px 6px;
    }

    .main-stars-row .pillar-cell {
        font-size: 0.95em;
        padding: 10px 5px;
    }
    
    /* 大运响应式 */
    .dayun-info-header {
        gap: 15px;
        padding: 15px;
    }
    
    .dayun-info-item {
        font-size: 0.9em;
    }
    
    .dayun-container {
        gap: 8px;
        padding: 15px 5px;
    }
    
    .dayun-item {
        min-width: 95px;
        max-width: 95px;
        padding: 10px 6px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.6em;
        padding: 6px 10px;
    }
    
    .dayun-current .dayun-gan,
    .dayun-current .dayun-zhi {
        font-size: 1.8em;
    }
    
    .dayun-shishen-top {
        font-size: 0.85em;
    }
    
    .dayun-canggan {
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    .bazi-traditional-table {
        font-size: 0.75em;
    }

    .gan-char,
    .zhi-char {
        font-size: 1.3em;
    }

    .pillar-cell {
        padding: 6px 3px;
    }

    .row-label {
        min-width: 60px;
        font-size: 0.8em;
    }
    
    /* 大运响应式 */
    .dayun-info-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .dayun-item {
        min-width: 80px;
        max-width: 80px;
        padding: 8px 4px;
    }
    
    .dayun-age-range {
        font-size: 0.75em;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.3em;
    }
    
    .dayun-current .dayun-gan,
    .dayun-current .dayun-zhi {
        font-size: 1.5em;
    }
    
    .dayun-shishen {
        font-size: 0.8em;
    }
    
    .dayun-canggan-shishen {
        font-size: 0.7em;
    }
    
}

/* ==================== 袁天罡秤骨歌样式 ==================== */
.mybone-section {
    background: linear-gradient(to bottom, #fff9f0 0%, #fff5e6 100%);
}

.mybone-weight-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(255, 154, 158, 0.3);
}

.weight-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.weight-number {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.weight-label {
    font-size: 1.2em;
    color: white;
    opacity: 0.9;
}

.fortune-level {
    text-align: right;
}

.level-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.level-badge.level-上上上 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.level-badge.level-上上 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.level-badge.level-上吉 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.level-badge.level-中上 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.level-badge.level-中平 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.level-badge.level-中下 {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.level-desc {
    display: block;
    color: white;
    font-size: 1.1em;
    opacity: 0.95;
}

/* 骨重构成 */
.mybone-components {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mybone-components h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fad0c4;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.component-item {
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 8px;
    text-align: center;
    border: 2px solid #fad0c4;
    transition: transform 0.3s ease;
}

.component-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 208, 196, 0.4);
}

.component-label {
    display: block;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.component-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #ff6b6b;
    margin: 10px 0;
}

.component-desc {
    display: block;
    font-size: 0.9em;
    color: #888;
}

/* 秤骨歌诀 */
.mybone-song {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(252, 182, 159, 0.3);
}

.mybone-song h3 {
    color: #333;
    margin-bottom: 15px;
}

.song-content {
    font-size: 1.2em;
    line-height: 2;
    color: #333;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-weight: 500;
}

/* 命理解读 */
.mybone-interpretation {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #ff9a9e;
}

.mybone-interpretation h3 {
    color: #333;
    margin-bottom: 15px;
}

.mybone-interpretation p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05em;
}

/* 总结 */
.mybone-summary {
    padding: 15px 20px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 8px;
    color: #006064;
    font-size: 1.05em;
    line-height: 1.8;
}

/* ==================== 小儿关煞样式 ==================== */
.kidkuansha-section {
    background: linear-gradient(to bottom, #f0f9ff 0%, #e0f2fe 100%);
}

/* 总体状况 */
.kidkuansha-overview {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.overview-item {
    text-align: center;
    color: white;
}

.overview-label {
    display: block;
    font-size: 0.95em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.overview-value {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

.overview-value.severity-极高 {
    color: #ff4757;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.overview-value.severity-高 {
    color: #ffa502;
    text-shadow: 0 0 10px rgba(255, 165, 2, 0.5);
}

.overview-value.severity-中 {
    color: #ffd32a;
}

.overview-value.severity-低 {
    color: #7bed9f;
}

/* 关煞列表 */
.kidkuansha-list {
    margin: 30px 0;
}

.kidkuansha-list h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.kuansha-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kuansha-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.kuansha-item.severity-极高 {
    border: 3px solid #ff4757;
}

.kuansha-item.severity-高 {
    border: 3px solid #ffa502;
}

.kuansha-item.severity-中 {
    border: 3px solid #ffd32a;
}

.kuansha-item.severity-低 {
    border: 3px solid #7bed9f;
}

.kuansha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.kuansha-name {
    font-size: 1.3em;
    font-weight: bold;
}

.kuansha-severity-badge {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.3);
}

.kuansha-body {
    padding: 20px;
    background: white;
}

.kuansha-body > div {
    margin-bottom: 12px;
    line-height: 1.6;
}

.kuansha-period {
    color: #555;
}

.kuansha-description {
    color: #333;
    font-size: 1.05em;
}

.kuansha-advice {
    color: #0984e3;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 5px;
    border-left: 4px solid #0984e3;
}

/* 总结分析 */
.kidkuansha-summary {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.kidkuansha-summary h3 {
    color: #333;
    margin-bottom: 15px;
}

.kidkuansha-summary p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05em;
}

/* 注意事项 */
.kidkuansha-notice {
    padding: 15px 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6b3 100%);
    border-radius: 8px;
    border: 2px dashed #ffa502;
    color: #995700;
    font-size: 0.95em;
    line-height: 1.6;
}

.kidkuansha-notice strong {
    color: #ff6348;
}

/* ==================== 响应式设计（新增模块） ==================== */
@media (max-width: 768px) {
    /* 秤骨歌响应式 */
    .mybone-weight-display {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .weight-number {
        font-size: 2.5em;
    }

    .fortune-level {
        text-align: center;
    }

    .components-grid {
        grid-template-columns: 1fr;
    }

    .song-content {
        font-size: 1em;
    }

    /* 小儿关煞响应式 */
    .kidkuansha-overview {
        flex-direction: column;
        gap: 15px;
    }

    .overview-value {
        font-size: 1.5em;
    }

    .kuansha-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .kuansha-name {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .weight-number {
        font-size: 2em;
    }

    .component-value {
        font-size: 1.5em;
    }

    .song-content {
        font-size: 0.95em;
        padding: 15px;
    }

    .kuansha-body {
        padding: 15px;
        font-size: 0.95em;
    }
}
/* ==========================================
   十二长生样式
   ========================================== */

/* 十二长生行基础样式 */
.longevity-row {
    background-color: #f8f9fa;
}

.longevity-row .row-label {
    background-color: #e9ecef;
    font-weight: 600;
}

/* 十二长生文本样式 */
.longevity-text {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

/* 旺相状态（绿色系）*/
.longevity-changsheng {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.longevity-guandai {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.longevity-linguan {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.longevity-diwang {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    font-weight: 700;
}

.longevity-yang {
    background-color: #e7f3ff;
    color: #0066cc;
    border: 1px solid #cce5ff;
}

/* 中性状态（蓝灰色系）*/
.longevity-muyu {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.longevity-tai {
    background-color: #e7f1ff;
    color: #2b5a9e;
    border: 1px solid #cfe2ff;
}

/* 衰弱状态（橙红色系）*/
.longevity-shuai {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.longevity-bing {
    background-color: #ffe5d0;
    color: #d63031;
    border: 1px solid #ffd7ba;
}

.longevity-si {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.longevity-mu {
    background-color: #e2e3e5;
    color: #495057;
    border: 1px solid #d6d8db;
}

.longevity-jue {
    background-color: #d6d8d9;
    color: #2d3436;
    border: 1px solid #b2bec3;
}

/* ==========================================
   特殊柱位样式（胎元、胎息、身宫）
   ========================================== */

.special-pillar-item {
    background-color: #fff9e6;
    border-left: 3px solid #ffc107;
    padding-left: 12px;
}

.special-pillar-item .label {
    color: #856404;
    font-weight: 600;
}

.special-pillar-value {
    font-size: 16px;
    font-weight: 700;
    color: #d68910;
    letter-spacing: 2px;
}

/* ==========================================
   响应式调整
   ========================================== */

@media (max-width: 768px) {
    .longevity-text {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .special-pillar-value {
        font-size: 14px;
    }
}

/* ==========================================
   袁天罡秤骨歌样式
   ========================================== */

.mybone-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fffaf0 100%);
    border-left: 4px solid #d4af37;
}

.mybone-weight-display {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.weight-label {
    font-size: 18px;
    color: #8b6914;
    margin-bottom: 10px;
}

.weight-value {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.mybone-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
}

.mybone-breakdown-table th,
.mybone-breakdown-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e0d4b0;
}

.mybone-breakdown-table th {
    background: #f5f0e0;
    color: #8b6914;
    font-weight: 600;
}

.mybone-poem {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mybone-poem h3 {
    color: #8b6914;
    margin-bottom: 15px;
}

.poem-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #5d4e37;
    margin: 8px 0;
    padding-left: 20px;
    border-left: 3px solid #d4af37;
}

.mybone-interpretation {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.mybone-interpretation h3 {
    color: #8b6914;
    margin-bottom: 15px;
}

.mybone-interpretation p {
    line-height: 1.8;
    color: #5d4e37;
}

/* ==========================================
   小儿关煞样式
   ========================================== */

.kidkuansha-section {
    background: linear-gradient(135deg, #fff0f5 0%, #fff5f8 100%);
    border-left: 4px solid #ff69b4;
}

.kidkuansha-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.kidkuansha-summary p {
    margin: 10px 0;
    font-size: 15px;
}

.kidkuansha-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-bottom: 20px;
}

.kidkuansha-table th,
.kidkuansha-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ffe0eb;
}

.kidkuansha-table th {
    background: #ffe0eb;
    color: #c71585;
    font-weight: 600;
}

.kuansha-name {
    font-weight: 600;
    color: #c71585;
}

.severity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.severity-极高 {
    background: #ff4757;
    color: white;
}

.severity-高 {
    background: #ff6348;
    color: white;
}

.severity-中 {
    background: #ffa502;
    color: white;
}

.severity-低 {
    background: #70a1ff;
    color: white;
}

.kidkuansha-advice {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.kidkuansha-advice h3 {
    color: #c71585;
    margin-bottom: 15px;
}

.kidkuansha-advice ul {
    list-style: none;
    padding: 0;
}

.kidkuansha-advice li {
    margin: 10px 0;
    padding: 10px;
    background: #fff0f5;
    border-radius: 6px;
    border-left: 3px solid #ff69b4;
}

/* ==========================================
   响应式调整
   ========================================== */

@media (max-width: 768px) {
    .weight-value {
        font-size: 36px;
    }
    
    .mybone-breakdown-table th,
    .mybone-breakdown-table td {
        padding: 8px;
        font-size: 14px;
    }
    
    .kidkuansha-table {
        font-size: 14px;
    }
}
/* ============================================
   八字排盘系统 V4.0 新增样式
   更新时间：2025/10/18
   说明：将以下样式添加到 bazipanuse/css/styles.css 文件末尾
   ============================================ */

/* ====================
   1. 命宫高亮样式
   ==================== */
.minggong-item {
    background-color: #fff3cd !important;
    border: 2px solid #ffc107 !important;
}

.minggong-value {
    font-weight: bold;
    color: #856404;
}

/* ====================
   2. 藏干横排显示
   ==================== */
.canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.canggan-char {
    display: inline-block;
    padding: 2px 5px;
    font-size: 14px;
}

/* ====================
   3. 藏干十神竖排显示
   ==================== */
.shishen-vertical-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 5px 0;
}

.shishen-vertical-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.shishen-char {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

/* ====================
   4. 流年显示区
   ==================== */
.liunian-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.liunian-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #495057;
}

.liunian-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.liunian-cell {
    border: 2px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 5px;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.liunian-cell:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.liunian-current {
    background: linear-gradient(135deg, #fff9c4 0%, #ffeb3b 100%);
    border-color: #ffc107;
    border-width: 3px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.liunian-year {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #212529;
}

.liunian-ganzhi {
    font-size: 20px;
    font-weight: bold;
    margin: 8px 0;
    color: #dc3545;
}

.liunian-canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 5px 0;
    padding: 5px 0;
    border-top: 1px solid #e9ecef;
}

.liunian-shishen-vertical {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

/* ====================
   5. 大运藏干显示
   ==================== */
.dayun-canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 8px 0 5px 0;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.dayun-canggan-shishen-vertical {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    padding-bottom: 5px;
}

/* ====================
   6. 五行分析段落化
   ==================== */
.wuxing-content-structured {
    line-height: 1.8;
}

.wuxing-subtitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #495057;
}

.wuxing-item-line {
    margin-bottom: 12px;
    padding: 10px 15px;
    background: #fff;
    border-left: 4px solid #28a745;
    border-radius: 3px;
}

.wuxing-label {
    font-weight: bold;
    color: #495057;
    display: inline-block;
    min-width: 110px;
}

.wuxing-value {
    color: #212529;
}

.wuxing-analysis-block {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.wuxing-analysis-block p {
    margin: 0;
    line-height: 1.8;
}

/* ====================
   7. 身强身弱区块
   ==================== */
.shenqiangruo-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    padding: 20px;
}

.shenqiangruo-content {
    text-align: left;
}

.shenqiangruo-result {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.strength-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.3);
    margin: 0 5px;
}

.shenqiangruo-detail {
    padding: 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-top: 15px;
}

.shenqiangruo-breakdown {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
}

.shenqiangruo-breakdown h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #495057;
}

.shenqiangruo-breakdown ul {
    list-style: none;
    padding-left: 0;
}

.shenqiangruo-breakdown li {
    padding: 5px 0;
    border-bottom: 1px dashed #dee2e6;
}

.shenqiangruo-breakdown li:last-child {
    border-bottom: none;
}

/* ====================
   8. 喜用神系统区块
   ==================== */
.usegod-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 8px;
    padding: 20px;
}

.usegod-content {
    text-align: left;
}

.usegod-intro {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #495057;
}

.usegod-list {
    margin-bottom: 20px;
}

.usegod-item-line {
    margin-bottom: 12px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 5px;
    border-left: 4px solid #ff9800;
}

.usegod-label {
    font-weight: bold;
    color: #495057;
    display: inline-block;
    min-width: 80px;
}

.usegod-value {
    color: #212529;
}

.element-badge {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
    border-radius: 15px;
    margin: 0 5px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.usegod-disclaimer {
    padding: 15px 20px;
    background: #ffebee;
    border: 2px solid #ef5350;
    border-radius: 5px;
    color: #c62828;
}

.usegod-disclaimer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ====================
   9. 响应式设计
   ==================== */
@media (max-width: 1200px) {
    .liunian-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .liunian-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .liunian-year {
        font-size: 14px;
    }
    
    .liunian-ganzhi {
        font-size: 18px;
    }
    
    .wuxing-label {
        min-width: 90px;
        font-size: 14px;
    }
    
    .strength-badge {
        font-size: 18px;
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .liunian-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shishen-vertical-container {
        gap: 5px;
    }
    
    .wuxing-item-line {
        padding: 8px 10px;
    }
    
    .element-badge {
        padding: 4px 10px;
        font-size: 12px;
        margin: 2px;
    }
}

/* ====================
   10. 打印样式优化
   ==================== */
@media print {
    .liunian-current {
        background: #ffffcc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .strength-badge,
    .element-badge {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/**
 * 八字命理系统 - CSS补充样式 V4.0
 * 文件路径: bazipanuse/css/styles.css
 * 更新时间: 2025/10/18
 * 说明: 将此CSS添加到 styles.css 文件末尾
 * 
 * 新增内容:
 * 1. 大运一览区块样式
 * 2. 当运格子加深样式优化
 * 3. 当运天干/地支绿底标记
 * 4. 喜用神"无"的样式
 * 5. 响应式优化
 * 6. 打印样式优化
 * 7. 喜用神区块微调
 */

/* ============================================
   1. 大运一览区块样式
   ============================================ */

.dayun-overview-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dayun-overview-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
    letter-spacing: 0.5px;
}

.dayun-overview-description {
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
    margin: 0;
    text-align: justify;
}

.dayun-overview-description br {
    display: block;
    margin: 8px 0;
    content: "";
}


/* ============================================
   2. 当运格子加深样式优化
   ============================================ */

.dayun-current {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border: 2.5px solid #2196f3 !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.dayun-current:hover {
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.35),
                inset 0 1px 3px rgba(255, 255, 255, 0.6);
    transform: scale(1.03);
}

/* 当前大运徽章优化 */
.dayun-current-badge {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
}


/* ============================================
   3. 当运天干/地支绿底标记
   ============================================ */

.current-gan {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%) !important;
    color: #1b5e20 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1.5px solid #81c784;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    transition: all 0.2s ease;
}

.current-zhi {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%) !important;
    color: #1b5e20 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1.5px solid #81c784;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    transition: all 0.2s ease;
}

/* 鼠标悬停效果 */
.current-gan:hover,
.current-zhi:hover {
    background: linear-gradient(135deg, #a5d6a7 0%, #81c784 100%) !important;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.35);
    transform: scale(1.05);
}

/* 确保垂直排列时的样式 */
.dayun-ganzhi-vertical .current-gan,
.dayun-ganzhi-vertical .current-zhi {
    display: inline-block;
    margin: 2px 0;
}


/* ============================================
   4. 喜用神"无"的样式
   ============================================ */

.element-none {
    color: #adb5bd;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

/* 喜用神元素徽章对比优化 */
.element-badge {
    display: inline-block;
    padding: 4px 12px;
    margin: 3px 5px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
    transition: all 0.2s ease;
}

.element-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.4);
}


/* ============================================
   5. 喜用神区块样式微调
   ============================================ */

.usegod-item-line {
    display: flex;
    align-items: center;
    margin: 12px 0;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.usegod-item-line:last-child {
    border-bottom: none;
}

.usegod-label {
    font-weight: 600;
    color: #424242;
    min-width: 85px;
    font-size: 15px;
}

.usegod-value {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.usegod-disclaimer {
    margin-top: 25px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
}

.usegod-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================
   6. 响应式优化 - 平板设备
   ============================================ */

@media screen and (max-width: 768px) {
    /* 大运一览区块 */
    .dayun-overview-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .dayun-overview-title {
        font-size: 16px;
    }
    
    .dayun-overview-description {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* 当运标记 */
    .current-gan,
    .current-zhi {
        padding: 3px 6px;
        font-size: 14px;
    }
    
    /* 喜用神区块 */
    .usegod-label {
        min-width: 70px;
        font-size: 14px;
    }
    
    .element-badge {
        padding: 3px 10px;
        font-size: 13px;
        margin: 2px 3px;
    }
    
    .element-none {
        font-size: 12px;
    }
}


/* ============================================
   7. 响应式优化 - 手机设备
   ============================================ */

@media screen and (max-width: 480px) {
    /* 大运一览区块 */
    .dayun-overview-section {
        padding: 12px;
        margin: 15px 0;
    }
    
    .dayun-overview-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .dayun-overview-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* 当运格子 */
    .dayun-current {
        border-width: 2px !important;
    }
    
    /* 当运标记 */
    .current-gan,
    .current-zhi {
        padding: 2px 5px;
        font-size: 13px;
        border-width: 1px;
    }
    
    /* 喜用神区块 */
    .usegod-item-line {
        flex-direction: column;
        align-items: flex-start;
        margin: 10px 0;
    }
    
    .usegod-label {
        min-width: auto;
        margin-bottom: 6px;
        font-size: 13px;
    }
    
    .usegod-value {
        width: 100%;
    }
    
    .element-badge {
        padding: 2px 8px;
        font-size: 12px;
        margin: 2px;
    }
    
    .element-none {
        font-size: 11px;
    }
    
    .usegod-disclaimer {
        padding: 12px;
        margin-top: 20px;
    }
    
    .usegod-disclaimer p {
        font-size: 12px;
    }
}


/* ============================================
   8. 打印样式优化
   ============================================ */

@media print {
    /* 确保当运标记颜色在打印时显示 */
    .dayun-current {
        background: #e3f2fd !important;
        border: 2px solid #2196f3 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .current-gan,
    .current-zhi {
        background: #c8e6c9 !important;
        color: #1b5e20 !important;
        border: 1px solid #81c784 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .element-badge {
        background: #4caf50 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .element-none {
        color: #999 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .dayun-overview-section {
        background: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-inside: avoid;
    }
    
    .usegod-disclaimer {
        background: #fff3cd !important;
        border-left: 3px solid #ffc107 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* 避免重要内容被分页截断 */
    .dayun-current,
    .usegod-item-line {
        page-break-inside: avoid;
    }
}


/* ============================================
   9. 辅助样式和动画效果
   ============================================ */

/* 淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dayun-overview-section {
    animation: fadeInUp 0.5s ease-out;
}

/* 脉冲效果（可选，用于强调当前大运） */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
    }
    50% {
        box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
    }
    100% {
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
    }
}

.dayun-current {
    animation: pulse 2s ease-in-out infinite;
}

/* 无障碍支持 - 高对比度模式 */
@media (prefers-contrast: high) {
    .current-gan,
    .current-zhi {
        border-width: 2px;
        font-weight: 900;
    }
    
    .element-none {
        opacity: 1;
    }
}

/* 深色模式支持（如果需要） */
@media (prefers-color-scheme: dark) {
    .dayun-overview-section {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-left-color: #4299e1;
    }
    
    .dayun-overview-title {
        color: #e2e8f0;
        border-bottom-color: #4a5568;
    }
    
    .dayun-overview-description {
        color: #cbd5e0;
    }
}

/* ==========================================
   乾坤门八字排盘系统 - 中国风首页样式
   ========================================== */

/* 主体背景 */
.master-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

.master-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(218, 165, 32, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 20, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 主容器 */
.master-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== 顶部装饰云纹 ========== */
.top-decoration {
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.cloud-left,
.cloud-right {
    position: absolute;
    width: 150px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(218, 165, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    animation: float 6s ease-in-out infinite;
}

.cloud-left {
    left: 10%;
    top: 0;
}

.cloud-right {
    right: 10%;
    top: 0;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========== 主标题区域 ========== */
.master-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 30px 20px;
}

.seal-decoration {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border: 3px solid #daa520;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    transform: rotate(12deg);
    opacity: 0.9;
}

.seal-decoration::before {
    content: '乾坤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-family: "KaiTi", "楷体", serif;
}

.master-title {
    font-size: 3.5em;
    font-weight: 900;
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.5);
    font-family: "KaiTi", "楷体", "STKaiti", serif;
    letter-spacing: 8px;
    margin-bottom: 15px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.master-subtitle {
    color: #daa520;
    font-size: 1.2em;
    letter-spacing: 4px;
    margin-top: 10px;
    opacity: 0.9;
    font-family: "KaiTi", "楷体", serif;
}

.title-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #daa520 50%, transparent 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ========== 表单容器 ========== */
.master-form-container {
    background: linear-gradient(135deg, #2c1810 0%, #3d2817 100%);
    border: 3px solid #daa520;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 50px rgba(218, 165, 32, 0.1);
    padding: 5px;
    position: relative;
    margin-bottom: 30px;
}

.master-form-container::before,
.master-form-container::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #daa520 0%, #ffd700 100%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
}

.master-form-container::before {
    top: -20px;
    left: -20px;
}

.master-form-container::after {
    bottom: -20px;
    right: -20px;
}

.form-inner {
    background: rgba(15, 10, 5, 0.8);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* 表单标题 */
.form-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.form-title {
    color: #daa520;
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 4px;
    font-family: "KaiTi", "楷体", serif;
}

.form-icon {
    color: #daa520;
    font-size: 1.2em;
    margin: 0 15px;
    opacity: 0.7;
}

/* ========== 表单样式 ========== */
.master-form-group {
    margin-bottom: 25px;
}

.master-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.master-form-row .master-form-group {
    margin-bottom: 0;
}

.flex-1 {
    flex: 1;
}

/* 标签样式 */
.master-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #d4af37;
    font-size: 1.05em;
    font-weight: 600;
    font-family: "Microsoft YaHei", sans-serif;
}

.label-icon {
    color: #daa520;
    margin-right: 8px;
    font-size: 1.1em;
}

.label-text {
    letter-spacing: 2px;
}

.required-mark {
    color: #dc143c;
    margin-left: 5px;
    font-size: 1.2em;
}

/* 输入框样式 */
.master-input,
.master-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    color: #f5f5dc;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: "Microsoft YaHei", sans-serif;
}

.master-input:focus,
.master-select:focus {
    outline: none;
    border-color: #daa520;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

.master-input::placeholder {
    color: rgba(245, 245, 220, 0.4);
}

.master-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23daa520' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.master-select option {
    background: #1a1a2e;
    color: #f5f5dc;
    padding: 8px;
}

/* ========== 提交按钮 ========== */
.master-submit-container {
    margin-top: 35px;
    text-align: center;
}

.master-submit-btn {
    position: relative;
    padding: 16px 60px;
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
    border: 3px solid #daa520;
    border-radius: 12px;
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 20px rgba(220, 20, 60, 0.4),
        inset 0 0 20px rgba(218, 165, 32, 0.2);
    font-family: "KaiTi", "楷体", serif;
    overflow: hidden;
}

.master-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.master-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(220, 20, 60, 0.6),
        inset 0 0 30px rgba(218, 165, 32, 0.3);
    border-color: #ffd700;
}

.master-submit-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-decoration {
    margin-left: 15px;
    opacity: 0.7;
    font-size: 0.9em;
}

/* ========== 说明文字 ========== */
.master-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 10px;
}

.note-item {
    color: #d4af37;
    font-size: 0.95em;
    line-height: 2;
    letter-spacing: 1px;
    margin: 5px 0;
}

.note-item::before {
    content: '⚬';
    margin-right: 8px;
    color: #daa520;
}

/* ========== 底部装饰 ========== */
.master-footer {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.footer-decoration {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #daa520 50%, transparent 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.footer-text {
    color: #daa520;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-family: "KaiTi", "楷体", serif;
}

.footer-subtext {
    color: rgba(212, 175, 55, 0.7);
    font-size: 0.95em;
    letter-spacing: 2px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .master-title {
        font-size: 2.5em;
        letter-spacing: 4px;
    }
    
    .master-subtitle {
        font-size: 1em;
        letter-spacing: 2px;
    }
    
    .form-inner {
        padding: 25px 20px;
    }
    
    .master-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .master-form-row .master-form-group {
        margin-bottom: 25px;
    }
    
    .master-submit-btn {
        padding: 14px 40px;
        font-size: 1.1em;
        letter-spacing: 4px;
    }
    
    .seal-decoration {
        width: 50px;
        height: 50px;
        right: 10px;
    }
    
    .seal-decoration::before {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .master-body {
        padding: 10px;
    }
    
    .master-title {
        font-size: 2em;
        letter-spacing: 3px;
    }
    
    .form-title {
        font-size: 1.3em;
        letter-spacing: 3px;
    }
    
    .form-inner {
        padding: 20px 15px;
    }
    
    .master-label {
        font-size: 0.95em;
    }
    
    .master-input,
    .master-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .master-submit-btn {
        padding: 12px 30px;
        font-size: 1em;
        letter-spacing: 3px;
    }
    
    .note-item {
        font-size: 0.85em;
    }
    
    .cloud-left,
    .cloud-right {
        display: none;
    }
}
/* ==========================================
   乾坤门八字排盘系统 - 结果页面样式
   第一部分：系统标题 + 基本信息区
   ========================================== */

/* ========== 结果页面整体容器 ========== */
.bazi-paipan-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    position: relative;
}

.bazi-paipan-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(218, 165, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 20, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========== 系统标题区 ========== */
.system-header {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #daa520;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.system-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L90 90 L10 90 Z' fill='none' stroke='rgba(218,165,32,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.system-header h1 {
    font-size: 2.8em;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "KaiTi", "楷体", "STKaiti", serif;
    letter-spacing: 8px;
    margin: 0;
    position: relative;
    z-index: 1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 215, 0, 1), 2px 2px 4px rgba(0, 0, 0, 0.5); }
}

.system-header .timestamp {
    color: rgba(255, 215, 0, 0.9);
    font-size: 1.1em;
    margin-top: 15px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

/* ========== 通用Section样式 ========== */
.section {
    background: rgba(30, 25, 20, 0.85);
    margin: 25px 20px;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(218, 165, 32, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(218, 165, 32, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #daa520 50%, transparent 100%);
}

.section h2 {
    color: #daa520;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 6px;
    text-align: center;
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.6);
}

/* ========== 个人信息区（姓名、性别）========== */
.personal-info-section {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(60, 20, 20, 0.5) 100%);
    border-color: rgba(255, 215, 0, 0.5);
}

.personal-info-section h2 {
    color: #ffd700;
    border-bottom-color: rgba(255, 215, 0, 0.4);
}

/* ========== 基本信息区 ========== */
.basic-info-section {
    background: linear-gradient(135deg, rgba(30, 25, 20, 0.9) 0%, rgba(40, 30, 25, 0.85) 100%);
}

/* 信息网格布局 - 固定4列 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* 单个信息项 - 紧凑版 */
.info-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 18px;
    border-radius: 10px;
    border: 2px solid rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.1) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.info-item:hover {
    border-color: #daa520;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.3);
    transform: translateY(-3px);
}

.info-item:hover::before {
    left: 100%;
}

/* 信息标签 - 紧凑版 */
.info-item .label {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 信息值 - 紧凑版 */
.info-item .value {
    display: block;
    font-size: 1.2em;
    color: #f5f5dc;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 1px;
}

/* 特殊柱位样式（胎元、胎息、身宫、命宫）*/
.special-pillar-item {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(101, 67, 33, 0.4) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.special-pillar-item .label {
    color: #ffd700;
}

.special-pillar-value {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px !important;
}

/* 命宫特别高亮 */
.minggong-item {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(139, 0, 0, 0.4) 100%);
    border: 3px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.minggong-value {
    font-size: 1.5em !important;
    animation: minggongPulse 2s ease-in-out infinite;
}

@keyframes minggongPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .system-header {
        padding: 30px 20px;
    }
    
    .system-header h1 {
        font-size: 2em;
        letter-spacing: 4px;
    }
    
    .section {
        margin: 20px 10px;
        padding: 25px 20px;
    }
    
    .section h2 {
        font-size: 1.5em;
        letter-spacing: 4px;
    }
    
    /* 平板：2列布局 */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .info-item .label {
        font-size: 0.95em;
    }
    
    .info-item .value {
        font-size: 1.1em;
    }
    
    .special-pillar-value {
        font-size: 1.3em !important;
    }
}

@media (max-width: 480px) {
    .system-header h1 {
        font-size: 1.6em;
        letter-spacing: 3px;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .section h2 {
        font-size: 1.3em;
        letter-spacing: 3px;
    }
    
    /* 手机：1列布局 */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        padding: 12px 15px;
    }
}
/* ==========================================
   乾坤门八字排盘系统 - 结果页面样式
   第二部分：四柱八字表格（核心区域）
   ========================================== */

/* ========== 传统八字表格区域 ========== */
.traditional-bazi-section {
    background: linear-gradient(135deg, rgba(20, 15, 10, 0.95) 0%, rgba(35, 25, 20, 0.9) 100%);
    border-color: rgba(218, 165, 32, 0.6);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 50px rgba(218, 165, 32, 0.1);
}

/* ========== 八字表格整体 ========== */
.bazi-traditional-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 10, 5, 0.7) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(218, 165, 32, 0.05);
}

/* ========== 表头样式 ========== */
.bazi-traditional-table thead {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
}

.pillar-header-row th {
    padding: 18px 12px;
    font-size: 1.3em;
    font-weight: 700;
    color: #ffd700;
    border: 2px solid rgba(218, 165, 32, 0.5);
    text-align: center;
    vertical-align: middle;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 4px;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 行标签表头 */
.row-label-header {
    background: linear-gradient(135deg, #6b1010 0%, #8b0000 100%);
    min-width: 100px;
    font-size: 1.2em;
}

/* 日柱表头特殊样式 */
.day-pillar-header {
    background: linear-gradient(135deg, #dc143c 0%, #ff1744 50%, #dc143c 100%);
    position: relative;
    font-weight: 900;
    animation: dayPillarGlow 2s ease-in-out infinite;
}

@keyframes dayPillarGlow {
    0%, 100% { 
        box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.4);
    }
    50% { 
        box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.day-pillar-header small {
    display: block;
    font-size: 0.7em;
    opacity: 0.95;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* ========== 表格行样式 ========== */
.bazi-traditional-table tbody tr {
    border-bottom: 2px solid rgba(218, 165, 32, 0.2);
    transition: background 0.3s ease;
}

.bazi-traditional-table tbody tr:hover {
    background: rgba(218, 165, 32, 0.05);
}

/* ========== 行标签样式 ========== */
.row-label {
    background: linear-gradient(135deg, rgba(30, 20, 15, 0.9) 0%, rgba(40, 25, 20, 0.85) 100%);
    font-weight: 700;
    color: #daa520;
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    border: 2px solid rgba(218, 165, 32, 0.3);
    min-width: 100px;
    font-size: 1.1em;
    font-family: "Microsoft YaHei", sans-serif;
    letter-spacing: 2px;
}

/* ========== 单元格基础样式 ========== */
.pillar-cell {
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    border: 2px solid rgba(218, 165, 32, 0.2);
    background: rgba(0, 0, 0, 0.4);
    min-height: 70px;
    transition: all 0.3s ease;
}

.pillar-cell:hover {
    background: rgba(218, 165, 32, 0.1);
    border-color: rgba(218, 165, 32, 0.4);
    transform: scale(1.02);
}

/* 日柱单元格特殊样式 */
.day-pillar-cell {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    font-weight: 600;
}

.day-pillar-cell:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.35) 0%, rgba(139, 0, 0, 0.4) 100%);
    border-color: rgba(255, 215, 0, 0.7);
}

/* ========== 第1行：主星（天干十神）========== */
.main-stars-row {
    background: rgba(40, 20, 10, 0.5);
}

.main-stars-row .pillar-cell {
    font-size: 1.2em;
    font-weight: 700;
    color: #ff6b6b;
    padding: 18px 10px;
    letter-spacing: 2px;
}

/* ========== 第2行：天干地支（核心行）========== */
.ganzhi-row {
    background: rgba(20, 15, 10, 0.6);
}

.ganzhi-cell {
    padding: 20px 10px;
}

.ganzhi-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* 干支文字样式 */
.gan-char,
.zhi-char {
    font-size: 2.5em;
    font-weight: 900;
    text-shadow: 
        0 0 15px currentColor,
        2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
}

.yang-text {
    color: #ff4757;
}

.yin-text {
    color: #5dade2;
}

/* 五行标签 */
.wuxing-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.wuxing-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3) 0%, rgba(184, 134, 11, 0.4) 100%);
    color: #ffd700;
    border: 1px solid rgba(218, 165, 32, 0.5);
    letter-spacing: 1px;
}

/* ========== 第3行：藏干 ========== */
.canggan-row {
    background: rgba(30, 40, 30, 0.3);
}

.canggan-row .pillar-cell {
    font-size: 1em;
    color: #7bed9f;
    line-height: 1.8;
    padding: 12px 10px;
}

.canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.canggan-char {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(123, 237, 159, 0.15);
    border: 1px solid rgba(123, 237, 159, 0.3);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
}

/* ========== 第4行：副星连（藏干十神）- 竖排 ========== */
.sub-stars-row {
    background: rgba(40, 20, 30, 0.4);
}

.sub-stars-row .pillar-cell {
    font-size: 0.95em;
    color: #ff6b9d;
    line-height: 1.6;
    padding: 12px 10px;
}

.shishen-vertical-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.shishen-vertical-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 8px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 5px;
}

.shishen-char {
    display: block;
    font-weight: 600;
    font-size: 1.05em;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* ========== 第5行：十二长生 ========== */
.longevity-row {
    background: rgba(30, 35, 40, 0.4);
}

.longevity-row .pillar-cell {
    padding: 15px 10px;
}

.longevity-text {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 2px;
}

/* 旺相状态（绿色系）*/
.longevity-changsheng {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.longevity-guandai,
.longevity-linguan {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
    border: 2px solid #007bff;
}

.longevity-diwang {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    border: 2px solid #ffc107;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.longevity-yang {
    background: linear-gradient(135deg, #e7f3ff 0%, #cce5ff 100%);
    color: #0066cc;
    border: 2px solid #0088ff;
}

/* 中性状态（蓝灰色系）*/
.longevity-muyu,
.longevity-tai {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%);
    color: #383d41;
    border: 2px solid #6c757d;
}

/* 衰弱状态（橙红色系）*/
.longevity-shuai {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
}

.longevity-bing {
    background: linear-gradient(135deg, #ffe5d0 0%, #ffd7ba 100%);
    color: #d63031;
    border: 2px solid #ff7675;
}

.longevity-si,
.longevity-mu {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
}

.longevity-jue {
    background: linear-gradient(135deg, #d6d8d9 0%, #b2bec3 100%);
    color: #2d3436;
    border: 2px solid #636e72;
}

/* ========== 第6行：神煞 ========== */
.shensha-row {
    background: rgba(40, 30, 50, 0.4);
}

.shensha-row .pillar-cell {
    font-size: 0.9em;
    color: #be9fe1;
    line-height: 1.6;
    padding: 12px 10px;
}

.shensha-item {
    padding: 3px 0;
    margin: 2px 0;
    color: #dda0dd;
    font-weight: 500;
}

/* ========== 第7行：纳音 ========== */
.nayin-row {
    background: rgba(20, 40, 45, 0.4);
}

.nayin-row .pillar-cell {
    font-size: 1.1em;
    font-weight: 700;
    color: #48d1cc;
    padding: 15px 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(72, 209, 204, 0.5);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .bazi-traditional-table {
        font-size: 0.9em;
    }

    .pillar-header-row th {
        padding: 12px 8px;
        font-size: 1.1em;
        letter-spacing: 2px;
    }

    .row-label {
        min-width: 80px;
        padding: 10px 8px;
        font-size: 1em;
    }

    .pillar-cell {
        padding: 10px 8px;
        min-height: 60px;
    }

    .gan-char,
    .zhi-char {
        font-size: 2em;
    }

    .wuxing-tag {
        font-size: 0.8em;
        padding: 3px 10px;
    }

    .main-stars-row .pillar-cell {
        font-size: 1.1em;
        padding: 12px 8px;
    }

    .longevity-text {
        font-size: 1em;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .bazi-traditional-table {
        font-size: 0.8em;
    }

    .gan-char,
    .zhi-char {
        font-size: 1.6em;
    }

    .pillar-cell {
        padding: 8px 5px;
    }

    .row-label {
        min-width: 70px;
        font-size: 0.95em;
        padding: 8px 5px;
    }

    .pillar-header-row th {
        padding: 10px 5px;
        font-size: 1em;
    }

    .wuxing-tag {
        font-size: 0.75em;
        padding: 2px 8px;
    }

    .longevity-text {
        font-size: 0.9em;
        padding: 4px 10px;
    }
}
/* ==========================================
   乾坤门八字排盘系统 - 结果页面样式
   第三部分：大运流年区域
   ========================================== */

/* ========== 大运区域整体 ========== */
.dayun-section {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.95) 0%, rgba(25, 35, 45, 0.9) 100%);
    border-color: rgba(72, 209, 204, 0.5);
}

.dayun-section h2 {
    color: #48d1cc;
    border-bottom-color: rgba(72, 209, 204, 0.4);
}

/* ========== 大运信息头部 ========== */
.dayun-info-header {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(72, 209, 204, 0.15) 0%, rgba(32, 178, 170, 0.2) 100%);
    border-radius: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border: 2px solid rgba(72, 209, 204, 0.3);
}

.dayun-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dayun-info-item .info-label {
    font-weight: 600;
    color: #7fcdcd;
    font-size: 1.05em;
    letter-spacing: 2px;
}

.dayun-info-item .info-value {
    color: #48d1cc;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 1px;
}

/* ========== 流年区域 ========== */
.liunian-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.liunian-title {
    color: #ffd700;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* 流年网格布局 */
.liunian-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 20px;
}

/* 单个流年卡片 */
.liunian-cell {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 10px;
    border-radius: 10px;
    border: 2px solid rgba(218, 165, 32, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.liunian-cell:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.6);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.3);
}

/* 当前流年高亮 */
.liunian-current {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3) 0%, rgba(255, 152, 0, 0.4) 100%);
    border: 3px solid #ffa726;
    box-shadow: 0 5px 20px rgba(255, 167, 38, 0.5);
    transform: scale(1.05);
}

.liunian-current:hover {
    transform: scale(1.08) translateY(-5px);
}

/* 流年年份 */
.liunian-year {
    font-size: 1.1em;
    font-weight: 700;
    color: #daa520;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.liunian-current .liunian-year {
    color: #ffa726;
    font-size: 1.2em;
}

/* 流年干支 */
.liunian-ganzhi {
    font-size: 1.8em;
    font-weight: 900;
    color: #ff6b6b;
    margin: 10px 0;
    font-family: "KaiTi", "楷体", serif;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.liunian-current .liunian-ganzhi {
    color: #ff5722;
    font-size: 2em;
    text-shadow: 0 0 15px rgba(255, 87, 34, 0.7);
}

/* 流年藏干（横排）*/
.liunian-canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 8px 0;
}

.liunian-canggan-horizontal .canggan-char {
    background: rgba(123, 237, 159, 0.2);
    border: 1px solid rgba(123, 237, 159, 0.4);
    padding: 2px 8px;
    font-size: 0.95em;
}

/* 流年十神（竖排）*/
.liunian-shishen-vertical {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

/* ========== 大运一览说明区 ========== */
.dayun-overview-section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 10px;
}

.dayun-overview-title {
    color: #daa520;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
}

.dayun-overview-description {
    color: #d4af37;
    font-size: 1.05em;
    line-height: 1.8;
    letter-spacing: 1px;
}

/* ========== 大运横排容器 ========== */
.dayun-container {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 25px;
}

/* 滚动条美化 */
.dayun-container::-webkit-scrollbar {
    height: 10px;
}

.dayun-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.dayun-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    border-radius: 5px;
}

.dayun-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
}

/* ========== 单个大运卡片 ========== */
.dayun-item {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 120px;
    background: linear-gradient(135deg, rgba(30, 25, 20, 0.9) 0%, rgba(40, 30, 25, 0.85) 100%);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dayun-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
    border-color: rgba(218, 165, 32, 0.7);
}

/* 当前大运高亮 */
.dayun-current {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.4) 0%, rgba(255, 152, 0, 0.5) 100%);
    border: 3px solid #ffa726;
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.6);
    transform: scale(1.08);
}

.dayun-current:hover {
    transform: scale(1.12) translateY(-5px);
}

/* 年龄范围 */
.dayun-age-range {
    font-size: 0.95em;
    font-weight: 600;
    color: #999;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    letter-spacing: 1px;
}

.dayun-current .dayun-age-range {
    color: #ff6f00;
    border-bottom-color: #ffa726;
    font-weight: 700;
}

/* 天干十神（上方）*/
.dayun-shishen-top {
    font-size: 1em;
    color: #ff6b6b;
    font-weight: 600;
    margin: 10px 0;
    min-height: 24px;
    letter-spacing: 1px;
}

.dayun-current .dayun-shishen-top {
    color: #ff5722;
    font-weight: 700;
}

/* 干支竖排容器 */
.dayun-ganzhi-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

/* 干支字符 */
.dayun-gan,
.dayun-zhi {
    font-size: 2.2em;
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: "KaiTi", "楷体", serif;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px currentColor;
}

.dayun-gan {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.dayun-zhi {
    color: #5dade2;
    background: rgba(93, 173, 226, 0.1);
    border: 2px solid rgba(93, 173, 226, 0.3);
}

/* 当前大运的干支边框（关键样式）*/
.dayun-current .current-gan {
    border: 3px solid #4caf50;
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.dayun-current .current-zhi {
    border: 3px solid #4caf50;
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.dayun-current .dayun-gan,
.dayun-current .dayun-zhi {
    font-size: 2.4em;
}

/* 藏干横排 */
.dayun-canggan-horizontal {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.dayun-canggan-horizontal .canggan-char {
    font-size: 0.9em;
}

/* 藏干十神竖排 */
.dayun-canggan-shishen-vertical {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(218, 165, 32, 0.3);
}

.dayun-current .dayun-canggan-shishen-vertical {
    border-top-color: #ffa726;
}

.dayun-canggan-shishen-vertical .shishen-vertical-item {
    background: rgba(255, 107, 157, 0.15);
    border: 1px solid rgba(255, 107, 157, 0.4);
    padding: 4px 6px;
}

.dayun-canggan-shishen-vertical .shishen-char {
    font-size: 0.9em;
}

/* 当前大运徽章 */
.dayun-current-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.75em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(238, 90, 111, 0.5);
    animation: badgePulse 2s infinite;
    letter-spacing: 1px;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .dayun-info-header {
        gap: 20px;
        padding: 15px;
    }
    
    .dayun-info-item {
        font-size: 0.95em;
    }
    
    /* 流年：3列布局 */
    .liunian-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .liunian-cell {
        padding: 12px 8px;
    }
    
    .liunian-ganzhi {
        font-size: 1.5em;
    }
    
    .dayun-container {
        gap: 10px;
        padding: 20px 10px;
    }
    
    .dayun-item {
        min-width: 100px;
        max-width: 100px;
        padding: 12px 8px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.8em;
        padding: 6px 10px;
    }
    
    .dayun-current .dayun-gan,
    .dayun-current .dayun-zhi {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .dayun-info-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    /* 流年：2列布局 */
    .liunian-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .liunian-cell {
        padding: 10px 6px;
    }
    
    .liunian-year {
        font-size: 1em;
    }
    
    .liunian-ganzhi {
        font-size: 1.3em;
    }
    
    .dayun-item {
        min-width: 85px;
        max-width: 85px;
        padding: 10px 6px;
    }
    
    .dayun-age-range {
        font-size: 0.85em;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.5em;
    }
    
    .dayun-current .dayun-gan,
    .dayun-current .dayun-zhi {
        font-size: 1.7em;
    }
    
    .dayun-shishen-top {
        font-size: 0.9em;
    }
    
    .dayun-canggan-shishen-vertical .shishen-char {
        font-size: 0.8em;
    }
}
/* ==========================================
   乾坤门八字排盘系统 - 结果页面样式
   第四部分：其他分析区域 + 返回按钮
   ========================================== */

/* ========== 袁天罡秤骨歌区域 ========== */
.mybone-section {
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.15) 0%, rgba(250, 208, 196, 0.2) 100%);
    border-color: rgba(255, 107, 107, 0.5);
}

.mybone-section h2 {
    color: #ff9a9e;
    border-bottom-color: rgba(255, 154, 158, 0.4);
}

/* 骨重显示 */
.mybone-weight-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(250, 177, 160, 0.25) 100%);
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid rgba(255, 107, 107, 0.4);
}

.weight-label {
    font-size: 1.5em;
    font-weight: 700;
    color: #ff6b6b;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
}

.weight-value {
    font-size: 3em;
    font-weight: 900;
    color: #ff5252;
    text-shadow: 0 0 20px rgba(255, 82, 82, 0.6);
    font-family: "KaiTi", "楷体", serif;
}

/* 骨重分解表格 */
.mybone-breakdown {
    margin: 25px 0;
}

.mybone-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.mybone-breakdown-table thead {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.mybone-breakdown-table th {
    padding: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.05em;
    letter-spacing: 2px;
}

.mybone-breakdown-table td {
    padding: 15px;
    text-align: center;
    color: #ffa07a;
    font-size: 1.2em;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* 称骨歌诗 */
.mybone-poem {
    margin: 25px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.15) 0%, rgba(252, 182, 159, 0.2) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 160, 122, 0.4);
}

.mybone-poem h3 {
    color: #ff8c69;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
}

.poem-content {
    text-align: center;
    line-height: 2.2;
}

.poem-content p {
    font-size: 1.3em;
    color: #d4a574;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
    margin: 8px 0;
}

/* 命理解释 */
.mybone-interpretation {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid #ff9a9e;
}

.mybone-interpretation h3 {
    color: #ff9a9e;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-family: "KaiTi", "楷体", serif;
}

.mybone-interpretation p {
    line-height: 1.9;
    color: #d4af37;
    font-size: 1.05em;
    letter-spacing: 1px;
}

/* ========== 小儿关煞区域 ========== */
.kidkuansha-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.5);
}

.kidkuansha-section h2 {
    color: #667eea;
    border-bottom-color: rgba(102, 126, 234, 0.4);
}

/* 小儿关煞总结 */
.kidkuansha-summary {
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    margin-bottom: 25px;
}

.kidkuansha-summary p {
    color: #a8b3ff;
    font-size: 1.05em;
    line-height: 1.8;
    margin: 8px 0;
}

.kidkuansha-summary strong {
    color: #667eea;
}

/* 关煞列表 */
.kidkuansha-list {
    margin: 25px 0;
}

.kidkuansha-list h3 {
    color: #667eea;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
}

/* 关煞表格 */
.kidkuansha-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.kidkuansha-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kidkuansha-table th {
    padding: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.05em;
    text-align: center;
}

.kidkuansha-table td {
    padding: 15px 12px;
    color: #b8c5ff;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.kuansha-name {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1em;
}

/* 严重程度徽章 */
.severity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95em;
}

.severity-badge.severity-极高 {
    background: #ff4757;
    color: white;
}

.severity-badge.severity-高 {
    background: #ffa502;
    color: white;
}

.severity-badge.severity-中 {
    background: #ffd32a;
    color: #333;
}

.severity-badge.severity-低 {
    background: #7bed9f;
    color: #333;
}

/* 化解建议 */
.kidkuansha-advice {
    margin: 25px 0;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.kidkuansha-advice h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
}

.kidkuansha-advice ul {
    list-style: none;
    padding: 0;
}

.kidkuansha-advice li {
    padding: 10px 0;
    color: #a8b3ff;
    font-size: 1.05em;
    line-height: 1.7;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.kidkuansha-advice li:last-child {
    border-bottom: none;
}

/* ========== 五行分析区域 ========== */
.wuxing-section {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.15) 100%);
    border-color: rgba(67, 233, 123, 0.5);
}

.wuxing-section h2 {
    color: #43e97b;
    border-bottom-color: rgba(67, 233, 123, 0.4);
}

/* 五行内容结构化 */
.wuxing-content-structured {
    padding: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.wuxing-subtitle {
    color: #7bed9f;
    font-size: 1.4em;
    margin-bottom: 25px;
    font-family: "KaiTi", "楷体", serif;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(123, 237, 159, 0.5);
}

/* 五行数据行 */
.wuxing-item-line {
    display: flex;
    align-items: baseline;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-bottom: 2px solid rgba(67, 233, 123, 0.2);
    background: rgba(67, 233, 123, 0.05);
    border-radius: 8px;
}

.wuxing-item-line:last-of-type {
    border-bottom: 2px solid rgba(67, 233, 123, 0.2);
}

.wuxing-label {
    flex: 0 0 150px;
    font-weight: 700;
    color: #7bed9f;
    font-size: 1.2em;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(123, 237, 159, 0.4);
}

.wuxing-value {
    flex: 1;
    color: #d4edda;
    font-size: 1.15em;
    line-height: 1.6;
    font-weight: 500;
}

/* 五行分析文本块 */
.wuxing-analysis-block {
    margin-top: 25px;
    padding: 20px;
    background: rgba(67, 233, 123, 0.1);
    border-radius: 10px;
    border-left: 4px solid #7bed9f;
}

.wuxing-analysis-block p {
    color: #d4edda;
    font-size: 1.1em;
    line-height: 1.9;
    letter-spacing: 1px;
}

/* ========== 身强身弱区域 ========== */
.shenqiangruo-section {
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.1) 0%, rgba(254, 225, 64, 0.15) 100%);
    border-color: rgba(250, 112, 154, 0.5);
}

.shenqiangruo-section h2 {
    color: #fa709a;
    border-bottom-color: rgba(250, 112, 154, 0.4);
}

.shenqiangruo-content {
    padding: 20px;
}

.shenqiangruo-result {
    font-size: 1.3em;
    line-height: 1.8;
    color: #fee140;
    text-align: center;
    margin-bottom: 20px;
}

.strength-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
    font-weight: 900;
    font-size: 1.3em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(250, 112, 154, 0.4);
    margin: 0 10px;
    letter-spacing: 3px;
}

.shenqiangruo-detail {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
}

.shenqiangruo-detail p {
    color: #ffd89b;
    font-size: 1.05em;
    line-height: 1.9;
}

.shenqiangruo-breakdown {
    padding: 20px;
    background: rgba(250, 112, 154, 0.1);
    border-radius: 10px;
    border-left: 4px solid #fa709a;
}

.shenqiangruo-breakdown h3 {
    color: #fa709a;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
}

.shenqiangruo-breakdown ul {
    list-style: none;
    padding: 0;
}

.shenqiangruo-breakdown li {
    padding: 10px 0;
    color: #ffd89b;
    font-size: 1.05em;
    line-height: 1.7;
}

/* ========== 喜用神区域 ========== */
.usegod-section {
    background: linear-gradient(135deg, rgba(168, 237, 234, 0.15) 0%, rgba(254, 214, 227, 0.2) 100%);
    border-color: rgba(168, 237, 234, 0.5);
}

.usegod-section h2 {
    color: #a8edea;
    border-bottom-color: rgba(168, 237, 234, 0.4);
}

.usegod-content {
    padding: 25px;
}

.usegod-intro {
    font-size: 1.2em;
    color: #fed6e3;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 8px rgba(254, 214, 227, 0.3);
}

/* 喜用神列表 */
.usegod-list {
    padding: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 2px solid rgba(168, 237, 234, 0.3);
}

.usegod-item-line {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-bottom: 2px solid rgba(168, 237, 234, 0.2);
    background: rgba(168, 237, 234, 0.05);
    border-radius: 8px;
}

.usegod-item-line:last-child {
    border-bottom: 2px solid rgba(168, 237, 234, 0.2);
}

.usegod-label {
    flex: 0 0 120px;
    font-weight: 700;
    color: #a8edea;
    font-size: 1.3em;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(168, 237, 234, 0.4);
}

.usegod-value {
    flex: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.element-badge {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(168, 237, 234, 0.9) 0%, rgba(254, 214, 227, 0.9) 100%);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.15em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(168, 237, 234, 0.4);
    letter-spacing: 2px;
    border: 2px solid rgba(168, 237, 234, 0.5);
}

.element-none {
    color: #999;
    font-style: italic;
    font-size: 1.1em;
}

/* 免责声明 */
.usegod-disclaimer {
    margin-top: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.2) 100%);
    border-radius: 8px;
    border: 2px dashed rgba(255, 193, 7, 0.5);
}

.usegod-disclaimer p {
    color: #ffb74d;
    font-size: 0.95em;
    line-height: 1.7;
}

/* ========== 阴阳平衡区域 ========== */
.yinyang-section {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.15) 100%);
    border-color: rgba(79, 172, 254, 0.5);
}

.yinyang-section h2 {
    color: #4facfe;
    border-bottom-color: rgba(79, 172, 254, 0.4);
}

/* 阴阳图表 */
.yinyang-chart {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 30px;
}

.yinyang-item {
    text-align: center;
    padding: 40px;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.yinyang-item:hover {
    transform: scale(1.05);
}

.yinyang-item.yang {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.yinyang-item.yin {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.yinyang-label {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: "KaiTi", "楷体", serif;
}

.yinyang-count {
    font-size: 3em;
    font-weight: bold;
}

.yinyang-ratio {
    font-size: 1.3em;
    margin-top: 10px;
}

.yinyang-divider {
    font-size: 2.5em;
    font-weight: bold;
    color: #daa520;
}

/* 阴阳分析 */
.yinyang-analysis {
    text-align: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: #a8edea;
    line-height: 1.9;
    font-size: 1.15em;
}

/* ========== 返回按钮区域 ========== */
.back-button-container {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(218, 165, 32, 0.3);
}

.back-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    letter-spacing: 3px;
    font-family: "Microsoft YaHei", sans-serif;
}

.back-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* ========== 系统页脚 ========== */
.system-footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #999;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
}

.system-footer p {
    font-size: 1.05em;
    letter-spacing: 2px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .mybone-weight-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .weight-value {
        font-size: 2.5em;
    }
    
    .poem-content p {
        font-size: 1.1em;
    }
    
    .yinyang-chart {
        flex-direction: column;
        gap: 20px;
    }
    
    .yinyang-item {
        width: 180px;
        height: 180px;
        padding: 30px;
    }
    
    .yinyang-divider {
        transform: rotate(90deg);
    }
    
    .wuxing-item-line {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wuxing-label {
        margin-bottom: 8px;
    }
    
    .usegod-item-line {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .usegod-label {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .weight-value {
        font-size: 2em;
    }
    
    .poem-content p {
        font-size: 1em;
    }
    
    .yinyang-item {
        width: 150px;
        height: 150px;
        padding: 20px;
    }
    
    .yinyang-label {
        font-size: 1.5em;
    }
    
    .yinyang-count {
        font-size: 2.5em;
    }
    
    .strength-badge {
        font-size: 1.1em;
        padding: 6px 15px;
    }
    
    .back-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    
    .kidkuansha-table,
    .mybone-breakdown-table {
        font-size: 0.9em;
    }
}
/**
 * 乾坤门命理系统 - 手机端响应式修复补丁
 * 文件：mobile_fix.css
 * 版本：V1.0
 * 日期：2025-10-30
 * 
 * 使用方法：将此文件内容复制到 styles.css 的最末尾
 * 或者在 HTML 中单独引入：<link rel="stylesheet" href="mobile_fix.css">
 */

/* ==================== 基础响应式修复 ==================== */

/* 防止主容器横向溢出 */
.bazi-paipan-container {
    overflow-x: auto; /* 改为auto允许滚动，而不是hidden截断 */
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

/* 基础网格优化 */
.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 从250px改为200px */
}

/* ==================== 平板设备优化 (768px - 1024px) ==================== */
@media (max-width: 1024px) {
    .bazi-paipan-container {
        max-width: 100%;
        border-radius: 10px;
        margin: 0 10px;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .section h2 {
        font-size: 1.3em;
    }
}

/* ==================== 手机端优化 (max-width: 768px) ==================== */
@media (max-width: 768px) {
    /* 全局布局 */
    body {
        padding: 10px 5px;
    }
    
    .bazi-paipan-container {
        border-radius: 8px;
        margin: 0 5px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* 标题区域 */
    .system-header {
        padding: 20px 15px;
    }
    
    .system-header h1 {
        font-size: 1.5em;
    }
    
    .timestamp {
        font-size: 0.85em;
    }
    
    /* 内容区域 */
    .section {
        padding: 20px 12px;
    }
    
    .section h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    /* 信息网格 - 强制单列 */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    /* 传统八字表格优化 */
    .bazi-traditional-table {
        font-size: 0.8em;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .bazi-traditional-table thead,
    .bazi-traditional-table tbody,
    .bazi-traditional-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .pillar-header-row th {
        padding: 8px 4px;
        font-size: 0.9em;
        min-width: 60px;
    }
    
    .row-label-header {
        min-width: 60px;
        font-size: 0.85em;
    }
    
    .row-label {
        min-width: 60px !important;
        padding: 8px 4px;
        font-size: 0.85em;
    }
    
    .pillar-cell {
        padding: 8px 4px;
        min-height: auto;
    }
    
    /* 干支字符大小 */
    .gan-char,
    .zhi-char {
        font-size: 1.4em;
        display: inline-block;
        margin: 0 2px;
    }
    
    /* 五行标签 */
    .wuxing-tag {
        font-size: 0.65em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    .wuxing-tags {
        gap: 3px;
        flex-wrap: wrap;
    }
    
    /* 藏干显示 */
    .canggan-horizontal {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .canggan-char {
        font-size: 0.8em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    /* 神煞显示 */
    .shensha-item {
        font-size: 0.7em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    /* 大运区域 */
    .dayun-info-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .dayun-info-item {
        font-size: 0.85em;
    }
    
    .dayun-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
        gap: 8px;
    }
    
    .dayun-item {
        min-width: 85px;
        max-width: 85px;
        padding: 8px 5px;
        flex-shrink: 0;
    }
    
    .dayun-age-range {
        font-size: 0.75em;
        padding: 3px 5px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.5em;
        padding: 5px 8px;
    }
    
    .dayun-shishen-top {
        font-size: 0.8em;
        padding: 3px;
    }
    
    .dayun-canggan-horizontal {
        gap: 2px;
    }
    
    .dayun-canggan-horizontal .canggan-char {
        font-size: 0.7em;
        padding: 2px 3px;
    }
    
    /* 流年区域 */
    .liunian-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
        gap: 8px;
    }
    
    .liunian-cell {
        min-width: 70px;
        padding: 8px 4px;
        flex-shrink: 0;
    }
    
    .liunian-year {
        font-size: 0.8em;
    }
    
    .liunian-ganzhi {
        font-size: 1.2em;
    }
    
    /* 五行分析 */
    .wuxing-distribution {
        flex-direction: column;
    }
    
    .wuxing-chart {
        max-width: 100%;
    }
    
    /* 阴阳平衡 */
    .yinyang-chart {
        flex-direction: column;
        gap: 15px;
    }
    
    .yinyang-item {
        width: 140px;
        height: 140px;
    }
    
    /* 返回按钮 */
    .back-btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
    
    /* 表单优化 */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==================== 小屏手机优化 (max-width: 480px) ==================== */
@media (max-width: 480px) {
    /* 进一步缩小间距 */
    body {
        padding: 5px 3px;
    }
    
    .bazi-paipan-container {
        margin: 0 3px;
        border-radius: 5px;
    }
    
    .system-header {
        padding: 15px 10px;
    }
    
    .system-header h1 {
        font-size: 1.3em;
    }
    
    .section {
        padding: 15px 8px;
    }
    
    .section h2 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    /* 表格进一步优化 */
    .bazi-traditional-table {
        font-size: 0.7em;
    }
    
    .pillar-header-row th {
        padding: 6px 3px;
        font-size: 0.85em;
        min-width: 50px;
    }
    
    .row-label-header,
    .row-label {
        min-width: 50px !important;
        font-size: 0.8em;
        padding: 6px 3px;
    }
    
    .pillar-cell {
        padding: 6px 2px;
    }
    
    .gan-char,
    .zhi-char {
        font-size: 1.2em;
        margin: 0 1px;
    }
    
    .wuxing-tag {
        font-size: 0.6em;
        padding: 1px 3px;
    }
    
    /* 大运区域 */
    .dayun-item {
        min-width: 70px;
        max-width: 70px;
        padding: 6px 3px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.3em;
        padding: 4px 6px;
    }
    
    .dayun-age-range {
        font-size: 0.7em;
    }
    
    .dayun-shishen-top {
        font-size: 0.75em;
    }
    
    /* 流年区域 */
    .liunian-cell {
        min-width: 60px;
        padding: 6px 3px;
    }
    
    .liunian-year {
        font-size: 0.75em;
    }
    
    .liunian-ganzhi {
        font-size: 1.1em;
    }
    
    /* 阴阳图表 */
    .yinyang-item {
        width: 120px;
        height: 120px;
    }
    
    .yinyang-percentage {
        font-size: 1.8em;
    }
    
    /* 按钮 */
    .back-btn {
        padding: 8px 20px;
        font-size: 0.9em;
    }
}

/* ==================== 横屏优化 ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .system-header {
        padding: 15px 20px;
    }
    
    .system-header h1 {
        font-size: 1.4em;
    }
    
    .section {
        padding: 15px 20px;
    }
    
    /* 横屏时表格可以稍大一些 */
    .bazi-traditional-table {
        font-size: 0.85em;
    }
    
    .pillar-header-row th {
        min-width: 70px;
    }
}

/* ==================== 超小屏设备 (max-width: 360px) ==================== */
@media (max-width: 360px) {
    .system-header h1 {
        font-size: 1.2em;
    }
    
    .bazi-traditional-table {
        font-size: 0.65em;
    }
    
    .pillar-header-row th,
    .row-label {
        min-width: 45px !important;
        padding: 5px 2px;
    }
    
    .gan-char,
    .zhi-char {
        font-size: 1.1em;
    }
    
    .dayun-item,
    .liunian-cell {
        min-width: 55px;
        max-width: 55px;
    }
}

/* ==================== 打印优化 ==================== */
@media print {
    .back-button-container,
    .back-btn {
        display: none !important;
    }
    
    .bazi-paipan-container {
        box-shadow: none;
        max-width: 100%;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .bazi-traditional-table {
        font-size: 0.9em;
    }
}

/* ==================== 辅助类 ==================== */

/* 隐藏元素（手机端） */
.hide-mobile {
    display: none !important;
}

/* 只在手机端显示 */
.show-mobile {
    display: block !important;
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-mobile {
        display: none !important;
    }
    
    .hide-mobile {
        display: block !important;
    }
}

/* 滚动提示 */
.scroll-hint {
    display: none;
    text-align: center;
    color: #666;
    font-size: 0.85em;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .scroll-hint {
        display: block;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大触摸目标 */
    .back-btn,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 禁用悬停效果 */
    *:hover {
        -webkit-tap-highlight-color: transparent;
    }
}
/**
 * 乾坤门命理系统 - 手机端响应式修复补丁
 * 文件：mobile_fix.css
 * 版本：V1.0
 * 日期：2025-10-30
 * 
 * 使用方法：将此文件内容复制到 styles.css 的最末尾
 * 或者在 HTML 中单独引入：<link rel="stylesheet" href="mobile_fix.css">
 */

/* ==================== 基础响应式修复 ==================== */

/* 防止主容器横向溢出 */
.bazi-paipan-container {
    overflow-x: auto; /* 改为auto允许滚动，而不是hidden截断 */
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

/* 基础网格优化 */
.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 从250px改为200px */
}

/* ==================== 平板设备优化 (768px - 1024px) ==================== */
@media (max-width: 1024px) {
    .bazi-paipan-container {
        max-width: 100%;
        border-radius: 10px;
        margin: 0 10px;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .section h2 {
        font-size: 1.3em;
    }
}

/* ==================== 手机端优化 (max-width: 768px) ==================== */
@media (max-width: 768px) {
    /* 全局布局 */
    body {
        padding: 10px 5px;
    }
    
    .bazi-paipan-container {
        border-radius: 8px;
        margin: 0 5px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* 标题区域 */
    .system-header {
        padding: 20px 15px;
    }
    
    .system-header h1 {
        font-size: 1.5em;
    }
    
    .timestamp {
        font-size: 0.85em;
    }
    
    /* 内容区域 */
    .section {
        padding: 20px 12px;
    }
    
    .section h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    /* 信息网格 - 强制单列 */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    /* 传统八字表格优化 */
    .bazi-traditional-table {
        font-size: 0.8em;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .bazi-traditional-table thead,
    .bazi-traditional-table tbody,
    .bazi-traditional-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .pillar-header-row th {
        padding: 8px 4px;
        font-size: 0.9em;
        min-width: 60px;
    }
    
    .row-label-header {
        min-width: 60px;
        font-size: 0.85em;
    }
    
    .row-label {
        min-width: 60px !important;
        padding: 8px 4px;
        font-size: 0.85em;
    }
    
    .pillar-cell {
        padding: 8px 4px;
        min-height: auto;
    }
    
    /* 干支字符大小 */
    .gan-char,
    .zhi-char {
        font-size: 1.4em;
        display: inline-block;
        margin: 0 2px;
    }
    
    /* 五行标签 */
    .wuxing-tag {
        font-size: 0.65em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    .wuxing-tags {
        gap: 3px;
        flex-wrap: wrap;
    }
    
    /* 藏干显示 */
    .canggan-horizontal {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .canggan-char {
        font-size: 0.8em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    /* 神煞显示 */
    .shensha-item {
        font-size: 0.7em;
        padding: 2px 4px;
        margin: 1px;
    }
    
    /* 大运区域 */
    .dayun-info-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .dayun-info-item {
        font-size: 0.85em;
    }
    
    .dayun-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
        gap: 8px;
    }
    
    .dayun-item {
        min-width: 85px;
        max-width: 85px;
        padding: 8px 5px;
        flex-shrink: 0;
    }
    
    .dayun-age-range {
        font-size: 0.75em;
        padding: 3px 5px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.5em;
        padding: 5px 8px;
    }
    
    .dayun-shishen-top {
        font-size: 0.8em;
        padding: 3px;
    }
    
    .dayun-canggan-horizontal {
        gap: 2px;
    }
    
    .dayun-canggan-horizontal .canggan-char {
        font-size: 0.7em;
        padding: 2px 3px;
    }
    
    /* 流年区域 */
    .liunian-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
        gap: 8px;
    }
    
    .liunian-cell {
        min-width: 70px;
        padding: 8px 4px;
        flex-shrink: 0;
    }
    
    .liunian-year {
        font-size: 0.8em;
    }
    
    .liunian-ganzhi {
        font-size: 1.2em;
    }
    
    /* 五行分析 */
    .wuxing-distribution {
        flex-direction: column;
    }
    
    .wuxing-chart {
        max-width: 100%;
    }
    
    /* 阴阳平衡 */
    .yinyang-chart {
        flex-direction: column;
        gap: 15px;
    }
    
    .yinyang-item {
        width: 140px;
        height: 140px;
    }
    
    /* 返回按钮 */
    .back-btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
    
    /* 表单优化 */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==================== 小屏手机优化 (max-width: 480px) ==================== */
@media (max-width: 480px) {
    /* 进一步缩小间距 */
    body {
        padding: 5px 3px;
    }
    
    .bazi-paipan-container {
        margin: 0 3px;
        border-radius: 5px;
    }
    
    .system-header {
        padding: 15px 10px;
    }
    
    .system-header h1 {
        font-size: 1.3em;
    }
    
    .section {
        padding: 15px 8px;
    }
    
    .section h2 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    /* 表格进一步优化 */
    .bazi-traditional-table {
        font-size: 0.7em;
    }
    
    .pillar-header-row th {
        padding: 6px 3px;
        font-size: 0.85em;
        min-width: 50px;
    }
    
    .row-label-header,
    .row-label {
        min-width: 50px !important;
        font-size: 0.8em;
        padding: 6px 3px;
    }
    
    .pillar-cell {
        padding: 6px 2px;
    }
    
    .gan-char,
    .zhi-char {
        font-size: 1.2em;
        margin: 0 1px;
    }
    
    .wuxing-tag {
        font-size: 0.6em;
        padding: 1px 3px;
    }
    
    /* 大运区域 */
    .dayun-item {
        min-width: 70px;
        max-width: 70px;
        padding: 6px 3px;
    }
    
    .dayun-gan,
    .dayun-zhi {
        font-size: 1.3em;
        padding: 4px 6px;
    }
    
    .dayun-age-range {
        font-size: 0.7em;
    }
    
    .dayun-shishen-top {
        font-size: 0.75em;
    }
    
    /* 流年区域 */
    .liunian-cell {
        min-width: 60px;
        padding: 6px 3px;
    }
    
    .liunian-year {
        font-size: 0.75em;
    }
    
    .liunian-ganzhi {
        font-size: 1.1em;
    }
    
    /* 阴阳图表 */
    .yinyang-item {
        width: 120px;
        height: 120px;
    }
    
    .yinyang-percentage {
        font-size: 1.8em;
    }
    
    /* 按钮 */
    .back-btn {
        padding: 8px 20px;
        font-size: 0.9em;
    }
}

/* ==================== 横屏优化 ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .system-header {
        padding: 15px 20px;
    }
    
    .system-header h1 {
        font-size: 1.4em;
    }
    
    .section {
        padding: 15px 20px;
    }
    
    /* 横屏时表格可以稍大一些 */
    .bazi-traditional-table {
        font-size: 0.85em;
    }
    
    .pillar-header-row th {
        min-width: 70px;
    }
}

/* ==================== 超小屏设备 (max-width: 360px) ==================== */
@media (max-width: 360px) {
    .system-header h1 {
        font-size: 1.2em;
    }
    
    .bazi-traditional-table {
        font-size: 0.65em;
    }
    
    .pillar-header-row th,
    .row-label {
        min-width: 45px !important;
        padding: 5px 2px;
    }
    
    .gan-char,
    .zhi-char {
        font-size: 1.1em;
    }
    
    .dayun-item,
    .liunian-cell {
        min-width: 55px;
        max-width: 55px;
    }
}

/* ==================== 打印优化 ==================== */
@media print {
    .back-button-container,
    .back-btn {
        display: none !important;
    }
    
    .bazi-paipan-container {
        box-shadow: none;
        max-width: 100%;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .bazi-traditional-table {
        font-size: 0.9em;
    }
}

/* ==================== 辅助类 ==================== */

/* 隐藏元素（手机端） */
.hide-mobile {
    display: none !important;
}

/* 只在手机端显示 */
.show-mobile {
    display: block !important;
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-mobile {
        display: none !important;
    }
    
    .hide-mobile {
        display: block !important;
    }
}

/* 滚动提示 */
.scroll-hint {
    display: none;
    text-align: center;
    color: #666;
    font-size: 0.85em;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .scroll-hint {
        display: block;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大触摸目标 */
    .back-btn,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 禁用悬停效果 */
    *:hover {
        -webkit-tap-highlight-color: transparent;
    }
}
/* ==================== 🔥 新增：空亡显示样式 ==================== */
/* 将此代码添加到 styles.css 文件末尾 */

.kongwang-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.kongwang-section h2 {
    color: #fff;
    border-bottom-color: #60a5fa;
    text-align: center;
}

.kongwang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.kongwang-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kongwang-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.year-kongwang {
    border-left: 5px solid #ef4444;
}

.day-kongwang {
    border-left: 5px solid #3b82f6;
}

.kongwang-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.kongwang-type {
    font-size: 1.2em;
    font-weight: 700;
    color: #1f2937;
}

.year-kongwang .kongwang-type {
    color: #dc2626;
}

.day-kongwang .kongwang-type {
    color: #2563eb;
}

.kongwang-xun {
    font-size: 0.9em;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
}

.kongwang-content {
    text-align: center;
}

.kongwang-branches {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
}

.kongwang-branch {
    font-size: 2em;
    font-weight: 700;
    color: #dc2626;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kongwang-desc {
    font-size: 1em;
    color: #374151;
    font-weight: 600;
}

/* ==================== 🔥 新增：流月显示样式 ==================== */

.liuyue-section {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.liuyue-section h2 {
    color: #fff;
    border-bottom-color: #a78bfa;
    text-align: center;
}

.liuyue-year-title {
    text-align: center;
    font-size: 1.1em;
    color: #faf5ff;
    font-weight: 600;
    margin-bottom: 20px;
}

.liuyue-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.liuyue-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.liuyue-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.liuyue-card:hover {
    transform: scale(1.05);
    border-color: #fbbf24;
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.liuyue-month-num {
    font-size: 0.9em;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 8px;
}

.liuyue-ganzhi {
    font-size: 1.8em;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.liuyue-jieqi {
    font-size: 0.85em;
    color: #059669;
    font-weight: 600;
    margin-bottom: 5px;
}

.liuyue-date {
    font-size: 0.75em;
    color: #9ca3af;
}

/* ==================== 📱 响应式设计 ==================== */

@media (max-width: 1024px) {
    .liuyue-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kongwang-grid {
        grid-template-columns: 1fr;
    }
    
    .liuyue-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .liuyue-card {
        padding: 12px;
    }
    
    .liuyue-ganzhi {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .kongwang-section,
    .liuyue-section {
        padding: 15px;
    }
    
    .kongwang-branch {
        width: 50px;
        height: 50px;
        font-size: 1.6em;
    }
    
    .liuyue-row {
        grid-template-columns: 1fr;
    }
    
    .liuyue-card {
        padding: 15px;
    }
}