/* 頂部導航列 */ #main-nav { background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 20px; display: flex; justify-content: center; gap: 20px; backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; } .main-tab-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #aaa; padding: 10px 24px; border-radius: 30px; cursor: pointer; transition: all 0.3s; font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 8px; } .main-tab-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.4); } .main-tab-btn.active { background: #ffd37a; color: #0b0b1a; border-color: #ffd37a; box-shadow: 0 0 15px rgba(255, 211, 122, 0.3); } /* 內容容器切換 */ .view-container { display: none; padding: 20px; width: 100%; max-width: 1400px; margin: 0 auto; box-sizing: border-box; } .view-container.active-view { display: block; animation: fadeIn 0.5s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* ========================================= 星象區樣式 (OnlystarA 風格) ========================================= */ .star-layout { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 30px; } #starChart { max-width: 90vw; max-height: 90vw; width: min(640px, 90vw); height: min(640px, 90vw); aspect-ratio: 1 / 1; border: 1px solid #888; border-radius: 50%; background: radial-gradient(circle at center, #1a1a2e 0%, #0b0b1a 100%); flex-shrink: 0; box-shadow: 0 0 50px rgba(0,0,0,0.5); } #report { width: 100%; max-width: 500px; flex-grow: 1; padding: 25px; box-sizing: border-box; background: rgba(255, 255, 255, 0.03); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } #report h3 { margin: 10px 0 20px 0; color: #ffdf99; font-weight: 600; letter-spacing: 1px; font-size: 1.4rem; border-left: 4px solid #ffdf99; padding-left: 12px; } #report p { margin: 8px 0; color: #ddd; line-height: 1.7; font-size: 0.95rem; } .badge { color: #fff; background: rgba(255, 255, 255, 0.1); padding: 4px 10px; border-radius: 6px; display: inline-block; margin-right: 8px; font-size: 0.85em; border: 1px solid rgba(255, 255, 255, 0.15); } /* D3 Chart Specifics */ #wuxingChartContainer .bar { fill: #ffdf99; transition: height 0.5s ease; } #wuxingChartContainer text { fill: #aaa; font-size: 11px; font-family: sans-serif; } #wuxingChartContainer line, #wuxingChartContainer path { stroke: #444; } .hint { color: #ffecb3; font-size: 0.95em; margin-top: 12px; background: rgba(255, 223, 153, 0.08); padding: 12px; border-radius: 8px; border-left: 3px solid #ffdf99; line-height: 1.6; } /* Advice Tabs in Star View */ .advice-panel { background: rgba(255, 255, 255, 0.03); border-radius: 10px; padding: 15px; margin-top: 15px; border: 1px solid rgba(255, 255, 255, 0.06); display: none; animation: fadeIn 0.3s; } .advice-panel.active { display: block; } .advice-panel h4 { margin-top: 0; color: #fff; font-size: 1.1em; } .inner-tab-button { background: none; border: none; color: #888; padding: 10px 15px; cursor: pointer; border-bottom: 2px solid transparent; font-size: 1em; transition: all 0.3s; flex: 1; text-align: center; } .inner-tab-button:hover { color: #ccc; } .inner-tab-button.active { color: #ffdf99; border-bottom-color: #ffdf99; font-weight: bold; } /* Social Luck Table */ #socialLuckTable { width: 100%; font-size: 0.9em; border-collapse: separate; border-spacing: 0 4px; } #socialLuckTable th { text-align: left; padding: 5px; color: #888; font-weight: normal; border-bottom: 1px solid #444; } #socialLuckTable td { padding: 6px 5px; background: rgba(255,255,255,0.02); } #socialLuckTable tr:hover td { background: rgba(255,255,255,0.05); } /* ========================================= 筆劃字典區樣式 (Word 模組適配) ========================================= */ .word-layout-container { max-width: 1000px; margin: 0 auto; background-color: white; /* 確保內容在深色背景上清晰,使用白色卡片 */ color: #1f2937; /* Tailwind gray-800 */ } /* Word Tabs */ .word-tab-btn { padding: 0.75rem 1.5rem; font-weight: 600; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; transition: all 200ms; font-size: 1rem; } .word-tab-btn.active-tab { color: #1E40AF; border-bottom: 4px solid #1E40AF; background-color: #EFF6FF; } .word-tab-btn.inactive-tab { color: #6B7280; background-color: transparent; } .word-tab-btn.inactive-tab:hover { background-color: #F3F4F6; } .loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(3px); z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 0.75rem; } /* 響應式調整 */ @media (max-width: 768px) { .star-layout { flex-direction: column; align-items: center; } #report { width: 100%; padding: 15px; } #starChart { width: 100%; height: auto; } .main-tab-btn { padding: 8px 16px; font-size: 0.9rem; } }
系統根據宿曜、節氣與最近行星合成五行能量,對應至各幣種。
點擊後自動將「星象儀表板」計算出的年、月、日、時干支填入下方輸入框。
系統依 @ 符號及空白自動拆分計算。
📘 等待中文字典載入...
總分: ...