/* 保持与整体风格一致的暗色背景 */ page { background-color: #1a1a2e; height: 100%; color: #fff; } .container { padding: 30px 20px; box-sizing: border-box; min-height: 100%; display: flex; flex-direction: column; } /* --- 列表状态样式 --- */ .header-tip { font-size: 20px; margin-bottom: 30px; text-align: center; opacity: 0.9; letter-spacing: 1px; } .grid-container { display: flex; flex-wrap: wrap; justify-content: space-between; } .zodiac-item { width: 30%; /* 三列布局 */ background-color: rgba(255, 255, 255, 0.05); margin-bottom: 20px; padding: 20px 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; border: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; } .zodiac-symbol { font-size: 28px; margin-bottom: 5px; } .zodiac-name { font-size: 14px; opacity: 0.8; } .zodiac-range { font-size: 10px; opacity: 0.5; margin-top: 3px; } /* --- 结果状态样式 --- */ .result-container { display: flex; flex-direction: column; align-items: center; margin-top: 20px; flex: 1; width: 100%; } .result-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; animation: fadeIn 0.8s ease; } .result-symbol { font-size: 50px; margin-bottom: 10px; color: #e94560; } .today-title { font-size: 18px; opacity: 0.8; } .fortune-card { width: 100%; padding: 25px; background-color: rgba(255, 255, 255, 0.05); border-radius: 16px; box-sizing: border-box; margin-bottom: 40px; border: 1px solid rgba(233, 69, 96, 0.3); animation: slideUp 0.8s ease; display: flex; flex-direction: column; } /* 0. 关键词卡片样式 */ .keyword-card { background-color: rgba(0, 0, 0, 0.2); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; align-items: center; margin-bottom: 25px; border: 1px solid rgba(255, 255, 255, 0.05); } .keyword-label { font-size: 12px; color: #a29bfe; margin-bottom: 5px; opacity: 0.8; } .keyword-text { font-size: 32px; /* 进一步加大关键词字号 */ color: #fff; font-weight: bold; letter-spacing: 4px; margin-top: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); } /* 三段式内容的样式 */ .section { display: flex; flex-direction: column; margin-bottom: 25px; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); /* 分隔线 */ padding-bottom: 15px; } .last-section { margin-bottom: 0; border-bottom: none; padding-bottom: 0; } .section-label { font-size: 14px; color: #a29bfe; /* 浅紫色标签 */ margin-bottom: 8px; font-weight: bold; } .section-content { font-size: 14px; /* 二级信息字号调小 */ line-height: 1.6; color: #fff; opacity: 0.75; /* 二级信息透明度降低 */ text-align: left; } /* 一级信息强调样式 */ .primary-section .section-content { font-size: 17px; opacity: 1; font-weight: 500; line-height: 1.7; letter-spacing: 0.5px; } .primary-section .section-label { font-size: 15px; color: #e94560; /* 稍微强调标题颜色 */ opacity: 1; } .back-btn { font-size: 14px; opacity: 0.6; text-decoration: underline; padding: 10px; } /* 简单的动效 */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* 关系模块样式 */ .status-divider { width: 100%; height: 1px; background-color: rgba(255, 255, 255, 0.05); margin: 15px 0; } .match-module { display: flex; flex-direction: column; align-items: center; padding: 10px 0; cursor: pointer; } .match-trigger { font-size: 14px; color: #fbaceb; /* 淡淡的粉色 */ opacity: 0.8; text-decoration: underline; margin-bottom: 5px; } .match-content { display: flex; flex-direction: column; align-items: center; margin-top: 15px; animation: fadeIn 0.5s ease; } .match-intro { font-size: 12px; color: #fff; opacity: 0.6; margin-bottom: 8px; } .match-name { font-size: 18px; color: #fff; font-weight: bold; } /* 总体结论样式 */ .summary-text { font-size: 13px; color: rgba(255, 255, 255, 0.5); /* 中性灰 */ margin-top: -20px; /* 调整间距 */ margin-bottom: 30px; text-align: center; max-width: 80%; line-height: 1.5; }