/* 基础样式 */
body {
    background-color: #0f0d1a !important;
    color: #fff !important;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", "Helvetica Neue", sans-serif;
}

/* 移动端适配 */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        padding: 15px;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
}

/* 问题 */
.question { font-size: 1em; color: #ff0000; }

/* 排盘 */
.paipan { font-size: 0.8em; color: #71E8EF;    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
     user-select: none;}

/* 查阅 */
.chayue { color: #71E8EF ; font-size: 0.7em;}

/* 思考 */
.think { color: #71E8EF ; font-size: 0.9em; padding-left: 10px;}
.think strong{ color: #71E8EF !important; font-size: 1.1em;}

/* 思考2 */
.think2 { color: #A2A2A2 ; font-size: 0.9em; border-left: 1px solid #A2A2A2; padding-left: 10px;}
.think2 strong{ color: #A2A2A2 !important; font-size: 1.1em;}

/* 图片 */
.responsive-img {
    Max-width: 50%;
    height: auto;
    display: block;
    margin: 0rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 带说明的图文组合 */
.figure-container {
    position: relative;
    left: 50%;
    top: 0px;
  transform: translate(-50%, 0%);
    margin: 0rem 0;
}
.img-caption {
    text-align: center;
    color: #888;
    font-size: 0.7em !important;
    margin-top: 0.1rem;
}
.img-caption2 {
    text-align: center;
    color: #888;
    font-size: 0.7em !important;
    margin-top: -0.7rem;
}

/* 特殊元素 */
strong {color: #FFE192 !important;font-size: 1.1em; }

ol, ul {padding-left: 1.5em; margin: 1em 0;}

li {margin-bottom: 0.8em; }
li strong {color : #71E8EF !important ;font-size: 1em}

 /* 链接样式 */
        a {
            color: #1E90FF !important; /* 道奇蓝 */
            text-decoration: underline;
        }
        a:hover {
            color: #00BFFF !important; /* 深天蓝 */
        }

        /* 表情支持 */
        .emoji {
            font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
            display: inline-block;
            vertical-align: middle;
        }

/* 声明样式 */
.alrm {
    text-align: center;
    font-size: 0.9em;
    margin-top: 2em;
    border-top: 1.2px solid #fff;
    padding-top: 1em;}
.alrm strong{ color: #ff0000 !important; }

/* 按钮样式 */
        .download-btn {
        /* 按钮基础样式 */
        justify-content: center;
        padding: 12px 24px;
        background: #45a049;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        margin-top: 60px;
        bottom: 50px;      /* 距离底部距离 */
        left: 50%;         /* 水平居中起点 */
        transform: translateX(-50%); /* 精确居中 */
        }

 .toupiao-btn {
        /* 按钮基础样式 */
        justify-content: center;
        padding: 12px 24px;
        background: #00baba;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        margin-top: 30px;
        bottom: 10px;      /* 距离底部距离 */
        left: 50%;         /* 水平居中起点 */
        transform: translateX(-50%); /* 精确居中 */
        }
		
 /* 模态框样式 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.4s ease;
        }
        
        .modal-content {
            background: white;
            border-radius: 20px;
            width: 80vw;
            max-width: 400px;
            padding: 25px;
            text-align: center;
            position: relative;
            animation: slideUp 0.5s ease;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }
        
        .close-btn {
            position: absolute;
            top: 5px;
            right: 20px;
            font-size: 30px;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .close-btn:hover {
            color: #e74c3c;
        }
        
        .modal h2 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.5rem;
        }
        
        .modal p {
            color: #7f8c8d;
            margin-bottom: 10px;
            font-size: 1.1rem;
            line-height: 1.7;
        }
        
        .qrcode-container {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 20px;
            display: inline-block;
            margin: 15px 0;
            border: 1px solid #eee;
        }
        
        .qrcode {
            width: 200px;
            height: 200px;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #e0e0e0;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .qrcode img {
            max-width: 100%;
            max-height: 100%;
        }
        
        .hint {
            background: #e3f2fd;
            padding: 12px;
            border-radius: 10px;
            font-size: 0.95rem;
            margin-top: 20px;
            color: #1976d2;
        }
        
        footer {
            color: rgba(255,255,255,0.7);
            text-align: center;
            padding: 30px;
            font-size: 1rem;
            margin-top: 20px;
        }
		
.card-image {
	position: relative;
                margin: 0 auto;
                width: 200px;
                height: auto;
	display: block;
	justify-content: center;
	top: 0px;
                transition: all 0.3s ease;
        }	
.card-image:hover {
            transform: scale(1.03);
}		