.team-hub {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    color: #333;
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.team-hub a {
    color: #333;
}
.team-hub a:hover {
    color: #605ca8;
    text-decoration: none;
}
.team-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 168px;
    padding: 28px 32px;
    background: linear-gradient(115deg, #605ca8 0%, #7a76c2 55%, #9b98d4 100%);
    overflow: hidden;
    color: #fff;
}
.team-hero-basic {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 280px;
    position: relative;
    z-index: 1;
}
.team-hero-basic img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255,255,255,.16);
    border-radius: 50%;
    padding: 6px;
    flex-shrink: 0;
}
.team-hero-basic h1 {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.team-hero-alias {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.8);
    margin-bottom: 8px;
}
.team-hero-extra {
    display: inline-block;
    font-size: 13px;
    color: #fff !important;
}
.team-hero-extra:after {
    content: " ›";
}
.team-hero-meta {
    display: flex;
    flex: 1;
    gap: 24px;
    position: relative;
    z-index: 1;
}
.team-hero-meta div em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 6px;
}
.team-hero-meta div b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.team-hero-mark {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: .18;
    pointer-events: none;
}
.team-tabs {
    display: flex;
    gap: 4px;
    padding: 0 16px;
    background: #f6f5fb;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}
.team-tab {
    flex: 0 0 auto;
    padding: 12px 18px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    user-select: none;
    display: inline-block;
    text-decoration: none;
}
.team-hub a.team-tab {
    color: #666;
    text-decoration: none;
}
.team-hub a.team-tab:hover,
.team-hub a.team-tab.is-on {
    color: #605ca8;
    text-decoration: none;
}
.team-tab.is-on {
    color: #605ca8;
    font-weight: 600;
}
.team-tab.is-on:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: #605ca8;
    border-radius: 2px 2px 0 0;
}
.team-panel {
    padding: 8px 20px 20px;
}
.team-sec {
    margin-top: 18px;
}
.team-sec-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding-left: 10px;
    border-left: 3px solid #605ca8;
    line-height: 1.2;
}
.team-intro p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}
.team-honors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.team-honor {
    background: #f6f5fb;
    border-radius: 8px;
    padding: 12px 14px;
}
.team-honor-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.team-honor-hd span {
    font-size: 14px;
    color: #333;
}
.team-honor-hd b {
    color: #605ca8;
    font-size: 14px;
    font-weight: 700;
}
.team-honor-years {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.team-honor-years em {
    font-style: normal;
    font-size: 12px;
    color: #888;
    background: #fff;
    border-radius: 3px;
    padding: 2px 6px;
}
.team-injured {
    margin: 0;
    padding: 0;
}
.team-injured li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.team-injured img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
}
.team-injured strong {
    display: block;
    font-size: 14px;
    color: #333;
}
.team-injured span {
    display: block;
    font-size: 12px;
    color: #888;
}
.team-roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.team-roster-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f6f5fb;
    border-radius: 6px;
    padding: 8px 10px;
    min-height: 48px;
}
.team-hub a.team-roster-item {
    color: inherit;
    text-decoration: none;
}
.team-injured-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    flex: 1;
}
.team-injured-link:hover strong,
.team-hub a.team-roster-item:hover strong,
.team-best-player a:hover strong,
.team-xfer-main a:hover {
    color: #605ca8;
}
.team-best-player a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.team-xfer-main a {
    color: inherit;
    text-decoration: none;
}
.team-roster-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    background: #fff;
}
.team-roster-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.team-roster-item em {
    display: block;
    font-style: normal;
    color: #888;
    font-size: 12px;
}
.team-radar {
    position: relative;
    max-width: 420px;
    margin: 8px auto 0;
    aspect-ratio: 1;
}
.team-radar svg {
    width: 100%;
    height: auto;
    display: block;
}
.team-radar-grid {
    fill: none;
    stroke: #e6e4f2;
    stroke-width: 1;
}
.team-radar-axis {
    stroke: #e6e4f2;
    stroke-width: 1;
}
.team-radar-avg {
    fill: rgba(96, 92, 168, .08);
    stroke: #b8b5d8;
    stroke-width: 1.5;
}
.team-radar-team {
    fill: rgba(96, 92, 168, .22);
    stroke: #605ca8;
    stroke-width: 2;
}
.team-radar-lab {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}
.team-radar-lab b {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888;
}
.team-radar-lab strong {
    display: block;
    font-size: 16px;
    color: #333;
    line-height: 1.2;
}
.team-radar-lab i {
    font-style: normal;
    font-size: 11px;
    color: #605ca8;
}
.team-radar-legend {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #888;
}
.team-radar-legend span:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: -1px;
}
.team-radar-legend .is-team:before {
    background: #605ca8;
}
.team-radar-legend .is-avg:before {
    background: #b8b5d8;
}
.team-basics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.team-basic {
    background: #f6f5fb;
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
}
.team-basic em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}
.team-basic strong {
    display: block;
    font-size: 18px;
    color: #333;
}
.team-basic i {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #605ca8;
    margin-top: 2px;
}
.team-news {
    margin: 0;
    padding: 0;
}
.team-news li {
    list-style: none;
    border-bottom: 1px solid #f0f0f0;
}
.team-news a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.team-empty {
    padding: 40px 0;
    text-align: center;
    color: #bbb;
}
.team-side-table {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px 6px 10px;
    margin-bottom: 16px;
}
.team-table-head,
.team-table-row {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 13px;
}
.team-table-head {
    color: #999;
    padding: 4px 6px 8px;
}
.team-table-head span:nth-child(1),
.team-table-row > span:nth-child(1) {
    flex: 0 0 28px;
    text-align: center;
}
.team-table-head span:nth-child(2),
.team-table-row > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}
.team-table-head span:nth-child(3),
.team-table-row > span:nth-child(3) {
    flex: 0 0 72px;
    text-align: center;
}
.team-table-head span:nth-child(4),
.team-table-row > span:nth-child(4) {
    flex: 0 0 36px;
    text-align: right;
}
.league-table .team-table-head span:nth-child(3),
.league-table .team-table-row > span:nth-child(3) {
    flex: 0 0 44px;
    text-align: center;
}
.league-table .team-table-head span:nth-child(4),
.league-table .team-table-row > span:nth-child(4) {
    flex: 0 0 88px;
    text-align: center;
}
.league-table .team-table-head span:nth-child(5),
.league-table .team-table-row > span:nth-child(5) {
    flex: 0 0 56px;
    text-align: right;
}
.league-season {
    margin-left: 8px;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    color: #999;
}
.league-updated {
    margin: 0 0 12px;
    font-size: 12px;
    color: #999;
}
.team-table-area-name {
    display: block;
    font-size: 12px;
    color: #605ca8;
    padding: 8px 8px 2px;
}
.team-table-area.is-down .team-table-area-name {
    color: #c45c5c;
}
.team-table-row {
    color: #333;
    height: 36px;
    padding: 0 6px;
    border-radius: 4px;
}
.team-table-row:hover {
    background: #f6f5fb;
    color: #605ca8;
}
.team-table-row.is-me {
    background: rgba(96, 92, 168, .12);
    color: #605ca8;
    font-weight: 600;
}
.team-table-row img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
}
.team-table-row em {
    font-style: normal;
    vertical-align: middle;
    font-size: 12px;
    display: inline-block;
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.team-table-row i {
    font-style: normal;
    color: #ccc;
    margin: 0 1px;
}
.team-sec-title em {
    margin-left: 8px;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    color: #999;
}
.team-best-layout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.team-best-side {
    flex: 0 0 108px;
    width: 108px;
}
.team-best-side-title {
    margin: 0 0 10px;
    padding-left: 10px;
    border-left: 3px solid #605ca8;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}
.team-best-metrics {
    display: flex;
    flex-direction: column;
    background: #f6f5fb;
    border-radius: 6px;
    overflow: hidden;
}
.team-best-metric {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #666;
    border-radius: 0;
    padding: 9px 8px;
    font-size: 13px;
    cursor: pointer;
    line-height: 1.2;
    text-align: center;
}
.team-best-metric:hover {
    color: #605ca8;
}
.team-best-metric.is-on {
    background: #605ca8;
    color: #fff;
}
.team-best-metric.is-on:hover {
    color: #fff;
}
.team-best-main {
    flex: 1;
    min-width: 0;
}
.team-best-updated {
    margin: 0 0 8px;
    font-size: 12px;
    color: #999;
    text-align: right;
}
.team-best-head,
.team-best-row {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 13px;
}
.team-best-head {
    color: #999;
    padding: 4px 6px 8px;
}
.team-best-head span:nth-child(1),
.team-best-row > span:nth-child(1) {
    flex: 0 0 44px;
    text-align: center;
}
.team-best-head span:nth-child(2),
.team-best-row > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}
.team-best-head span:nth-child(3),
.team-best-row > span:nth-child(3) {
    flex: 0 0 48px;
    text-align: center;
}
.team-best-head span:nth-child(4),
.team-best-row > span:nth-child(4) {
    flex: 0 0 56px;
    text-align: right;
    font-weight: 600;
    color: #605ca8;
}
.team-best-row {
    padding: 8px 6px;
    border-radius: 4px;
}
.team-best-row:nth-child(even) {
    background: #f6f5fb;
}
.team-best-player {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.team-best-player img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}
.team-best-player i {
    font-style: normal;
    min-width: 0;
}
.team-best-player strong {
    display: block;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.team-best-player em {
    display: block;
    font-size: 12px;
    color: #888;
}
.team-xfer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.team-xfer-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
}
.team-xfer-main {
    flex: 1;
    min-width: 0;
}
.team-xfer-main strong {
    display: block;
    font-size: 14px;
    color: #333;
}
.team-xfer-main em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #888;
}
.team-xfer-main span {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.team-xfer-side {
    text-align: right;
    flex-shrink: 0;
}
.team-xfer-side b {
    display: block;
    font-size: 12px;
    color: #605ca8;
    font-weight: 600;
}
.team-xfer-side i {
    font-style: normal;
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .team-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px 16px;
        gap: 14px;
        min-height: 0;
    }
    .team-hero-basic {
        flex: none;
        width: 100%;
    }
    .team-hero-basic h1 {
        font-size: 22px;
    }
    .team-hero-meta {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }
    .team-hero-meta div {
        flex: 1;
        min-width: 30%;
    }
    .team-hero-mark {
        width: 88px;
        height: 88px;
        right: 8px;
        opacity: .12;
    }
    .team-tabs {
        padding: 0 8px;
    }
    .team-tab {
        padding: 10px 12px;
        font-size: 13px;
    }
    .team-panel {
        padding: 4px 12px 16px;
    }
    .team-honors,
    .team-roster,
    .team-basics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .team-radar {
        max-width: 100%;
    }
    .team-best-layout {
        gap: 10px;
    }
    .team-best-side {
        flex: 0 0 82px;
        width: 82px;
    }
    .team-best-side-title {
        font-size: 13px;
    }
    .team-best-metric {
        padding: 8px 4px;
        font-size: 12px;
    }
}
