.tab-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: flex; align-items: stretch; justify-content: space-around; padding: 8rpx 16rpx calc(8rpx + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-radius: 28rpx 28rpx 0 0; box-shadow: 0 -8rpx 36rpx rgba(15, 23, 42, 0.06); border-top: 1px solid rgba(228, 228, 231, 0.7); } .tab-item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6rpx; padding: 12rpx 0 10rpx; color: #a1a1aa; } .tab-indicator { position: absolute; top: 0; left: 50%; width: 36rpx; height: 6rpx; margin-left: -18rpx; border-radius: 0 0 8rpx 8rpx; background: #059669; opacity: 0; transform: scaleX(0.4); transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); } .tab-icon-wrap { width: 64rpx; height: 48rpx; display: flex; align-items: center; justify-content: center; border-radius: 20rpx; transition: background 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); } .tab-label { font-size: 20rpx; font-weight: 500; line-height: 1.2; transition: color 0.2s ease, font-weight 0.2s ease; } .tab-item.on { color: #059669; } .tab-item.on .tab-indicator { opacity: 1; transform: scaleX(1); } .tab-item.on .tab-icon-wrap { background: #ecfdf5; transform: translateY(-2rpx); } .tab-item.on .tab-label { font-weight: 600; color: #059669; }