// // PlayoffRoundSection.swift // IceGlass-iOS // // Copyright 2026 Rouslan Zenetl. All Rights Reserved. // import SwiftUI struct PlayoffRoundSection: View { let round: Int let items: [MainService.RoundSeriesItem] var body: some View { VStack(alignment: .leading, spacing: 8) { Text("ROUND \(round)") .font(.caption) .fontWeight(.bold) .foregroundStyle(.secondary) VStack(spacing: 0) { ForEach(items, id: \.series.seriesLetter) { item in SeriesRow(item: item) if item.series.seriesLetter != items.last?.series.seriesLetter { Divider() } } } .background(Color(uiColor: .secondarySystemGroupedBackground)) .clipShape(RoundedRectangle(cornerRadius: 12)) } } }