.tab-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: rgba(250, 246, 238, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--line); display: flex; padding: 8px 0 22px; z-index: 99; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-3); text-decoration: none; font-size: 10px; background: transparent; border: none; cursor: pointer; font-family: inherit; padding: 4px 0 8px; min-height: 44px; min-width: 44px; }
.tab-item.active { color: var(--rose); }
.tab-item.active .tab-icon { transform: scale(1.1); }
.tab-icon { width: 22px; height: 22px; transition: transform 0.2s; }

/* 情绪弹层 */
.emo-mask { position: fixed; inset: 0; background: rgba(31, 26, 20, 0.5); z-index: 1000; display: none; align-items: flex-end; justify-content: center; }
.emo-mask.show { display: flex; animation: fadeIn 0.25s; }
.emo-panel { background: var(--bg-warm); width: 100%; max-width: 480px; max-height: 80vh; border-radius: 20px 20px 0 0; padding: 20px; overflow-y: auto; animation: slideUp 0.3s cubic-bezier(0.5, 0, 0.5, 1); }
.emo-head { text-align: center; margin-bottom: 16px; position: relative; }
.emo-title { font-family: 'Songti SC', 'STSong', 'SimSun', serif; font-size: 20px; font-weight: 600; }
.emo-sub { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.emo-close { position: absolute; right: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--line); border: none; color: var(--ink-2); font-size: 18px; cursor: pointer; }
.emo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emo-card { background: var(--paper); border-radius: 14px; padding: 14px 10px; text-align: center; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: all 0.2s; position: relative; overflow: hidden; }
.emo-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--emo-c); }
.emo-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(31, 26, 20, 0.08); }
.emo-emoji { font-size: 32px; margin-bottom: 6px; }
.emo-name { font-family: 'Songti SC', 'STSong', 'SimSun', serif; font-size: 14px; font-weight: 600; color: var(--emo-c); margin-bottom: 2px; }
.emo-desc { font-size: 10px; color: var(--ink-3); line-height: 1.3; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
