.tool-container { max-width: 560px; margin: 0 auto; padding: 20px 16px 60px; }
.tool-header { text-align: center; padding: 40px 0 24px; }
.tool-icon { font-size: 3rem; margin-bottom: 12px; }
.tool-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.subtitle { color: var(--accent-color); font-size: 0.95rem; }
.intro-text { text-align: center; line-height: 1.7; margin-bottom: 24px; opacity: 0.85; word-break: keep-all; }
.primary-btn { display: block; width: 100%; padding: 14px; background: var(--primary-color); color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-bottom: 12px; transition: opacity 0.2s; }
.primary-btn:hover { opacity: 0.85; }
.secondary-btn { display: block; width: 100%; padding: 12px; background: transparent; color: var(--text-color); border: 2px solid var(--input-border); border-radius: 12px; font-size: 0.95rem; cursor: pointer; transition: border-color 0.2s; }
.secondary-btn:hover { border-color: var(--primary-color); }
.progress-bar-wrap { background: var(--input-border); border-radius: 8px; height: 6px; margin-bottom: 16px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary-color); border-radius: 8px; transition: width 0.3s; }
.q-count { text-align: right; font-size: 0.85rem; opacity: 0.6; margin-bottom: 12px; }
.q-text { font-size: 1.15rem; font-weight: 600; line-height: 1.6; margin-bottom: 24px; word-break: keep-all; }
.q-options { display: flex; flex-direction: column; gap: 12px; }
.q-option-btn { padding: 16px; background: var(--card-bg); border: 2px solid var(--input-border); border-radius: 12px; font-size: 0.95rem; cursor: pointer; text-align: left; color: var(--text-color); transition: border-color 0.2s, background 0.2s; word-break: keep-all; line-height: 1.5; }
.q-option-btn:hover { border-color: var(--primary-color); background: var(--input-bg); }
.result-badge { font-size: 2.5rem; text-align: center; margin: 20px 0 8px; }
.result-title { text-align: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; color: var(--primary-color); }
.result-desc { text-align: center; line-height: 1.7; opacity: 0.85; margin-bottom: 20px; word-break: keep-all; }
.trait-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.trait-tag { background: var(--input-bg); border: 1px solid var(--primary-color); color: var(--primary-color); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
.result-detail { background: var(--card-bg); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; font-size: 0.9rem; line-height: 1.7; word-break: keep-all; }
.recommend-section { margin: 24px 0 16px; }
.recommend-title { text-align: center; font-size: 0.9rem; opacity: 0.7; margin-bottom: 12px; }
.recommend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.recommend-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; background: var(--card-bg); border-radius: 10px; text-decoration: none; color: var(--text-color); font-size: 0.8rem; transition: background 0.2s; }
.recommend-btn:hover { background: var(--input-bg); }
.rec-icon { font-size: 1.4rem; }
