.home { padding: 22rpx 18rpx 180rpx; background: #fff; } .mast { display: flex; align-items: center; gap: 16rpx; padding: 8rpx 4rpx 22rpx; } .logo-mark { position: relative; display: grid; place-items: center; width: 72rpx; height: 58rpx; overflow: hidden; background: #111; color: #fff; font-size: 24rpx; font-weight: 950; letter-spacing: -2rpx; } .logo-cut { position: absolute; left: 25rpx; top: -18rpx; width: 28rpx; height: 28rpx; border: 8rpx solid #fff; border-radius: 50%; } .logo-word { font-size: 31rpx; font-weight: 950; letter-spacing: 2rpx; } .search { display: flex; align-items: center; height: 72rpx; margin-bottom: 20rpx; padding: 0 24rpx; background: #f3f3f3; border-radius: 8rpx; } .search-icon { margin-right: 14rpx; font-size: 38rpx; transform: rotate(-20deg); } .search input { flex: 1; font-size: 27rpx; } .waterfall { column-count: 2; column-gap: 10rpx; } .test-card { display: inline-block; width: 100%; margin: 0 0 18rpx; overflow: hidden; break-inside: avoid; background: #fff; } .test-card:active { opacity: .78; transform: scale(.985); } .card-art { display: block; width: 100%; height: 360rpx; background: #eee; } .card-1 .card-art { height: 430rpx; } .card-2 .card-art { height: 390rpx; } .card-body { padding: 16rpx 8rpx 10rpx; } .card-title { font-size: 28rpx; font-weight: 850; } .card-copy { margin-top: 8rpx; color: #555; font-size: 22rpx; line-height: 1.42; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .card-meta { margin-top: 12rpx; display: flex; justify-content: space-between; color: #999; font-size: 19rpx; } .retry { margin-top: 24rpx; width: 240rpx; font-size: 24rpx; } .bottom-nav { position: fixed; z-index: 20; left: 28rpx; right: 28rpx; bottom: calc(24rpx + env(safe-area-inset-bottom)); display: flex; height: 104rpx; padding: 0 18rpx; border-radius: 20rpx; background: #080808; box-shadow: 0 18rpx 50rpx rgba(0,0,0,.22); } .nav-item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #888; font-size: 18rpx; } .nav-item.active { color: #fff; } .nav-item.active:before { content: ''; position: absolute; top: -25rpx; width: 94rpx; height: 94rpx; border: 14rpx solid #fff; border-radius: 50%; background: #080808; } .nav-icon { z-index: 1; width: 26rpx; height: 26rpx; margin-bottom: 7rpx; border: 5rpx solid currentColor; } .home-icon { transform: rotate(45deg); border-radius: 5rpx; } .discover-icon { border-radius: 50%; border-width: 6rpx 2rpx; } .me-icon { border-radius: 50%; } .nav-item text { z-index: 1; }