/* 观音灵签 - 精简合并CSS */
@charset "utf-8";

/* 基础样式 */
* {
    padding: 0;
    margin: 0;
}

html {
    font-size: 75px !important;
    color: #191919;
}

body {
    font-family: "-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,PingFang SC,Hiragino Sans GB,STHeiti,Microsoft YaHei,Microsoft JhengHei,Source Han Sans SC,Noto Sans CJK SC,Source Han Sans CN,Noto Sans SC,Source Han Sans TC,Noto Sans CJK TC,SimSun,sans-serif";
    color: #333;
    -webkit-tap-highlight-color: transparent;
    font-size: 0.28rem !important;
    background-color: #FCF9F2;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    border: none;
}

a {
    color: #191919;
    text-decoration: none;
}

a:hover {
    color: #F60;
    text-decoration: none;
}

/* 隐藏元素 */
.hide {
    display: none;
}

/* 主容器 */
.zhuti {
    max-width: 750px;
    margin: 0 auto;
}

/* 观音灵签求签步骤区块 */
.qian_steps {
    position: absolute;
    top: 11rem; /* 从10rem调整到11rem，进一步往下移动 */
    left: 50%;
    transform: translateX(-50%);
    width: 8rem; /* 从5.5rem增加到6.6rem，加宽20% */
    max-width: calc(100vw - 1rem); /* 确保不会超出屏幕宽度 */
    background-color: #FCF9F2;
    border: 2px dashed #D4A574;
    border-bottom: 20px solid #D4A574; /* 下方增加20px边框 */
    border-radius: 0.2rem;
    padding: 0.3rem;
    z-index: 5;
    box-sizing: border-box;
}

.steps_title {
    font-size: 0.28rem;
    font-weight: bold;
    color: #C83C23;
    text-align: left; /* 改为左对齐 */
    margin-bottom: 0.2rem;
    padding: 0.1rem 0;
}

.steps_content {
    padding: 0.1rem;
}

.step_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.15rem;
    font-size: 0.24rem;
    line-height: 1.4;
    color: #333;
}

.step_item:last-child {
    margin-bottom: 0;
}

.step_num {
    color: #C83C23;
    font-weight: bold;
    margin-right: 0.1rem;
    flex-shrink: 0;
}

.step_text {
    flex: 1;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* 调整主容器高度以适应新内容 */
.juhe {
    background-image: url(../files/juhe.png);
    background-size: 100% 100%;
    height: 10.5rem; /* 调整高度到按钮与步骤区块的中间位置 */
    position: relative;
    margin: 0 auto;
}

/* 移动端主容器调整 */
@media (max-width: 768px) {
    .juhe {
        height: 11rem; /* 减少移动端高度 */
    }
    
    /* 移动端桌子优化 */
    .lq_zhuo {
        top: 4.2rem;
        width: 4.3rem;
        height: 2.8rem;
    }
}

@media (max-width: 480px) {
    .juhe {
        height: 11.5rem; /* 减少超小屏幕高度 */
    }
    
    /* 超小屏幕桌子优化 */
    .lq_zhuo {
        top: 3.8rem;
        width: 4rem;
        height: 2.6rem;
    }
}

/* 签文区域 */
.qian_wen {
    position: relative;
    height: 1.5rem;
}

/* 移动端签文区域优化 */
@media (max-width: 768px) {
    .qian_wen {
        height: 1.2rem;
    }
}

@media (max-width: 480px) {
    .qian_wen {
        height: 1rem;
    }
}

.juhe_tit {
    text-align: center;
    padding-top: 0.4rem;
    font-size: 0.32rem;
    font-weight: bold;
    color: #C83C23;
}

.lingqian_gongxi {
    font-size: 0.32rem;
    margin-top: 0.1rem;
    color: #333333;
    text-align: center;
    opacity: 0;
}

/* 按钮样式 */
.cesuan {
    background-image: url(../files/cesuan.png);
    background-size: 100% 100%;
    width: 5.17rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    position: absolute;
    bottom: 0.8rem; /* 从1.5rem调整到6rem，让按钮在步骤区块上方 */
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 0.48rem;
    font-weight: bold;
    color: #FFFFFF;
    z-index: 10; /* 添加z-index确保按钮在最上层 */
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cesuan:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
}

.cesuan:active {
    transform: scale(0.98);
}

/* 按钮隐藏状态样式（通过CSS可以添加过渡效果） */
.cesuan, .zhibei, .chakan {
    transition: opacity 0.3s ease;
}

.zhibei, .chakan {
    background-image: url(../files/cesuan.png);
    background-size: 100% 100%;
    width: 5.17rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    position: absolute;
    bottom: 0.8rem; /* 从1.5rem调整到5rem，与cesuan保持一致 */
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 0.48rem;
    font-weight: bold;
    color: #FFFFFF;
    display: none;
    z-index: 10; /* 添加z-index确保按钮在最上层 */
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.zhibei:hover, .chakan:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
}

.zhibei:active, .chakan:active {
    transform: scale(0.98);
}


/* 掷杯区域 */
.pusai {
    width: 2.25rem;
    height: 5.15rem;
    top: 1.4rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.pusai img {
    height: 4.5rem;
    margin-left: -0.2rem;
}

/* 签筒 */
.lq_tong {
    position: absolute;
    width: 2.71rem;
    height: 2.97rem;
    top: 3.9rem;
    left: 0.15rem;
    right: 0;
    z-index: 10;
    margin: 0 auto;
    text-align: center;
}

.lq_tong img {
    width: 0.72rem;
    height: 1.69rem;
    position: relative;
    z-index: 10;
}

/* 桌子 */
.lq_zhuo {
    position: absolute;
    width: 4.91rem;
    height: 3.14rem;
    top: 4.9rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.lq_zhuo img {
    width: 4.91rem;
    height: 3.14rem;
}

/* 签牌 */
.qianpai {
    background-image: url(../files/lq_pai.png);
    background-size: 100% 100%;
    width: 0.37rem;
    height: 2.51rem;
    position: absolute;
    top: -0.85rem;
    left: 1.2rem;
    z-index: 9;
    opacity: 0;
}

.qianshu {
    font-size: 0.1rem;
    color: #e3af61;
    position: relative;
    top: 0.9rem;
    text-align: center;
}

#qian_num {
    font-size: 0.2rem;
}

/* 圣杯 */
.jingzhitu {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 1002 !important;
    width: 2.71rem !important;
    height: 2.97rem !important;
}

/* 左右杯 */
.zuobei {
    position: absolute;
    left: 30px;
    top: 1.5rem;
    width: 0.98rem;
    height: 3.4rem;
}

.youbei {
    position: absolute;
    right: 30px;
    top: 1.5rem;
    width: 0.98rem;
    height: 3.4rem;
}

/* 动画效果 */
.bianxing {
    animation: upAnimation 1s ease-in-out 2;
}

@keyframes upAnimation {
    0% { transform: rotate(0deg); transition-timing-function: cubic-bezier(0.215,.61,.355,1); }
    10% { transform: rotate(-12deg); transition-timing-function: cubic-bezier(0.215,.61,.355,1); }
    20% { transform: rotate(12deg); transition-timing-function: cubic-bezier(0.215,.61,.355,1); }
    28% { transform: rotate(-10deg); transition-timing-function: cubic-bezier(0.215,.61,.355,1); }
    36% { transform: rotate(10deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    42% { transform: rotate(-8deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    48% { transform: rotate(8deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    52% { transform: rotate(-4deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    56% { transform: rotate(4deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    60% { transform: rotate(0deg); transition-timing-function: cubic-bezier(0.755,.5,.855,.06); }
    100% { transform: rotate(0deg); transition-timing-function: cubic-bezier(0.215,.61,.355,1); }
}

.animation {
    -webkit-animation: bottomSport1 2s ease-in-out both;
    animation: bottomSport1 2s ease-in-out both;
    opacity: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

@keyframes bottomSport1 {
    0% { top: -0.5rem; left: 1.2rem; transform: scale(0.2,0.2); }
    50% { top: -0.5rem; left: 1.2rem; transform: scale(0.2,0.2); }
    80% { top: -2rem; left: 1.2rem; }
}

.shangyi {
    -webkit-animation: xiaoshi 0.3s linear both;
    animation: xiaoshi 0.3s linear both;
    animation-fill-mode: forwards;
    transform-style: preserve-3d;
}

@keyframes xiaoshi {
    from { opacity: 1; }
    to { opacity: 0; }
}

.datu {
    width: 2.71rem !important;
    height: 2.97rem !important;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 750px; /* 与主体内容宽度相同 */
    max-width: 90%; /* 确保在小屏幕上不会超出 */
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-header {
    background: linear-gradient(135deg, #C83C23, #E55A3A);
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 0.4rem;
    font-weight: bold;
}

.close {
    color: white;
    font-size: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    padding: 0.1rem;
    min-width: 0.8rem;
    min-height: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #ffcccb;
}

.close:active {
    transform: scale(0.9);
}

.modal-body {
    padding: 30px;
    font-size: 0.28rem;
    line-height: 1.6;
    color: #333;
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.close-btn {
    background: #C83C23;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.28rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* 确保触摸目标足够大 */
}

.close-btn:hover {
    background: #A52D1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 60, 35, 0.3);
}

.close-btn:active {
    transform: translateY(0);
    background: #8B1A0F;
}

/* 签词内容样式 */
.qianci-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #C83C23;
}

.qianci-item h4 {
    color: #C83C23;
    margin: 0 0 10px 0;
    font-size: 0.3rem;
    font-weight: bold;
}

.qianci-item p {
    margin: 0;
    font-size: 0.26rem;
    line-height: 1.5;
}

.qianci-item div {
    font-size: 0.26rem;
    line-height: 1.5;
    color: #333;
}

/* shuju.json中的HTML标签样式 */
.qianci-item .tab_contet {
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin: 5px 0;
    font-weight: bold;
    color: #C83C23;
}

.qianci-item span {
    font-weight: bold;
    color: #C83C23;
}

.qianci-item strong {
    color: #C83C23;
    font-weight: bold;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 基础字体调整 */
    html {
        font-size: 50px !important;
    }
    
    body {
        font-size: 0.32rem !important;
        line-height: 1.8;
    }
    
    /* 主容器调整 */
    .zhuti {
        max-width: 100%;
        padding: 0 0.2rem;
    }
    
    /* 观音灵签求签步骤区块 */
    .qian_steps {
        top: 12.5rem;
        width: 8.5rem;
        max-width: calc(100vw - 1rem);
        padding: 0.4rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        box-sizing: border-box;
        border-bottom: 20px solid #D4A574; /* 下方增加20px边框 */
    }
    
    .steps_title {
        font-size: 0.3rem;
        margin-bottom: 0.25rem;
        line-height: 1.4;
    }
    
    .step_item {
        margin-bottom: 0.15rem;
        font-size: 0.26rem;
        line-height: 1.5;
    }
    
    /* 按钮样式调整 */
    .cesuan, .zhibei, .chakan {
        width: 6rem;
        height: 1.2rem;
        line-height: 1.2rem;
        font-size: 0.52rem;
        bottom: 0.2rem;
    }
    
    /* 签文区域调整 */
    .juhe_tit {
        font-size: 0.32rem;
        padding-top: 0.2rem;
        line-height: 1.3;
    }
    
    .lingqian_gongxi {
        font-size: 0.28rem;
        margin-top: 0.05rem;
        line-height: 1.3;
        padding: 0 0.2rem;
    }
    
    /* 模态框优化 */
    .modal-content {
        width: 95%;
        margin: 3% auto;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 25px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .modal-header h2 {
        font-size: 0.38rem;
    }
    
    .close {
        font-size: 0.6rem;
    }
    
    .modal-body {
        padding: 25px 20px;
        font-size: 0.3rem;
        line-height: 1.8;
    }
    
    .modal-footer {
        padding: 25px 20px;
    }
    
    .close-btn {
        padding: 15px 35px;
        font-size: 0.32rem;
        border-radius: 30px;
    }
    
    /* 签词内容样式 */
    .qianci-item {
        margin-bottom: 25px;
        padding: 20px;
        border-radius: 12px;
    }
    
    .qianci-item h4 {
        font-size: 0.32rem;
        margin-bottom: 15px;
    }
    
    .qianci-item p, .qianci-item div {
        font-size: 0.28rem;
        line-height: 1.8;
    }
    
    .qianci-item .tab_contet {
        padding: 10px 15px;
        border-radius: 6px;
        margin: 8px 0;
        font-size: 0.28rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    html {
        font-size: 45px !important;
    }
    
    body {
        font-size: 0.34rem !important;
    }
    
    .zhuti {
        padding: 0 0.15rem;
    }
    
    .qian_steps {
        width: 8.8rem;
        max-width: calc(100vw - 0.8rem);
        padding: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        box-sizing: border-box;
        border-bottom: 20px solid #D4A574; /* 下方增加20px边框 */
    }
    
    .steps_title {
        font-size: 0.32rem;
        margin-bottom: 0.2rem;
        line-height: 1.4;
    }
    
    .step_item {
        margin-bottom: 0.12rem;
        font-size: 0.28rem;
        line-height: 1.5;
    }
    
    .cesuan, .zhibei, .chakan {
        width: 6.5rem;
        height: 1.3rem;
        line-height: 1.3rem;
        font-size: 0.56rem;
        bottom: 0.8rem;
    }
    
    .juhe_tit {
        font-size: 0.36rem;
        padding-top: 0.15rem;
        line-height: 1.3;
    }
    
    .lingqian_gongxi {
        font-size: 0.32rem;
        margin-top: 0.05rem;
        line-height: 1.3;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-header h2 {
        font-size: 0.4rem;
    }
    
    .modal-body {
        padding: 20px 15px;
        font-size: 0.32rem;
    }
    
    .modal-footer {
        padding: 20px 15px;
    }
    
    .close-btn {
        padding: 18px 40px;
        font-size: 0.34rem;
    }
    
    .qianci-item {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .qianci-item h4 {
        font-size: 0.34rem;
    }
    
    .qianci-item p, .qianci-item div {
        font-size: 0.3rem;
    }
}

/* AI解签相关样式 */
.ai-explain-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #E8D5C4;
}

.ai-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.ai-btn {
    background: linear-gradient(135deg, #C83C23, #E55A3A);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.24rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 40px;
}

.ai-btn:hover {
    background: linear-gradient(135deg, #A52D1A, #C83C23);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 60, 35, 0.3);
}

.ai-btn:active {
    transform: translateY(0);
}

.ai-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* AI解签内容强制左对齐重置 */
.ai-content * {
    text-align: left !important;
}

.ai-content h1, .ai-content h2, .ai-content h3, .ai-content h4, 
.ai-content h5, .ai-content h6 {
    text-align: left !important;
    text-indent: 0 !important;
}

.ai-content ul, .ai-content ol, .ai-content li {
    text-align: left !important;
    text-indent: 0 !important;
}

.ai-content p {
    text-align: justify;
    text-indent: 2em;
}

.ai-content p:first-child {
    text-indent: 0;
}

.ai-content {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    font-size: 0.26rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

.ai-content p {
    margin: 10px 0;
    text-align: justify;
    line-height: 1.8;
    text-indent: 2em; /* 首行缩进 */
}

.ai-content p:first-child {
    margin-top: 0;
}

.ai-content p:last-child {
    margin-bottom: 0;
}

.ai-content strong {
    color: #C83C23;
    font-weight: bold;
}

.ai-content em {
    color: #666;
    font-style: italic;
}

.ai-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.ai-content h1, .ai-content h2, .ai-content h3, .ai-content h4 {
    color: #C83C23;
    font-weight: bold;
    margin: 15px 0 10px 0;
    line-height: 1.4;
    text-align: left !important;
    text-indent: 0 !important;
    display: block;
    width: 100%;
}

.ai-content h1 {
    font-size: 0.32rem;
    border-bottom: 2px solid #C83C23;
    padding-bottom: 5px;
    text-align: center;
    margin: 20px 0;
}

.ai-content h2 {
    font-size: 0.3rem;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
}

.ai-content h2:before {
    content: "◆";
    color: #C83C23;
    margin-right: 8px;
}

.ai-content h3 {
    font-size: 0.28rem;
    margin-top: 15px;
    margin-bottom: 10px;
    position: relative;
}

.ai-content h3:before {
    content: "◇";
    color: #C83C23;
    margin-right: 6px;
}

.ai-content h4 {
    font-size: 0.26rem;
    margin-top: 10px;
    margin-bottom: 8px;
    text-align: left !important;
    text-indent: 0 !important;
}

/* 特殊段落样式 */
.ai-content p:has(strong:first-child) {
    text-indent: 0;
    margin-left: 1em;
}

/* 引用样式 */
.ai-content blockquote {
    border-left: 4px solid #C83C23;
    padding-left: 15px;
    margin: 15px 0;
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 4px;
    font-style: italic;
}

/* 列表样式 */
.ai-content ul, .ai-content ol {
    margin: 10px 0;
    padding-left: 20px;
    text-align: left;
}

.ai-content li {
    margin: 5px 0;
    line-height: 1.6;
    text-align: left;
    text-indent: 0;
}

/* 确保列表项内的内容左对齐 */
.ai-content li strong {
    text-align: left;
    text-indent: 0;
}

/* 代码样式 */
.ai-content code {
    background: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
}

.ai-content pre {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 10px 0;
}

.ai-content pre code {
    background: none;
    padding: 0;
}

.ai-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #C83C23;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 移动端AI解签优化 */
@media (max-width: 768px) {
    .ai-btn-container {
        margin-bottom: 15px;
    }
    
    .ai-btn {
        font-size: 0.26rem;
        padding: 12px 30px;
    }
    
    .ai-content {
        font-size: 0.28rem;
        padding: 15px;
    }
    
    .ai-content h1 {
        font-size: 0.3rem;
    }
    
    .ai-content h2 {
        font-size: 0.28rem;
    }
    
    .ai-content h3 {
        font-size: 0.26rem;
    }
    
    .ai-content h4 {
        font-size: 0.24rem;
    }
    
    .ai-content p {
        text-indent: 1.5em; /* 移动端减少缩进 */
    }
}

@media (max-width: 480px) {
    .ai-btn-container {
        margin-bottom: 15px;
    }
    
    .ai-btn {
        font-size: 0.28rem;
        padding: 15px 35px;
        border-radius: 25px;
    }
    
    .ai-content {
        font-size: 0.3rem;
        padding: 18px;
    }
    
    .ai-content h1 {
        font-size: 0.32rem;
    }
    
    .ai-content h2 {
        font-size: 0.3rem;
    }
    
    .ai-content h3 {
        font-size: 0.28rem;
    }
    
    .ai-content h4 {
        font-size: 0.26rem;
    }
    
    .ai-content p {
        text-indent: 1em; /* 超小屏幕进一步减少缩进 */
        line-height: 1.7;
    }
}
