

/* Teams page - complete dashboard composition */
html body .template-wrap.page-team > .summary {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 18px !important;
}

html body .template-wrap.page-team .team-last5 {
    grid-column: 1 / span 5 !important;
}

html body .template-wrap.page-team .team-leaders-feature {
    grid-column: 6 / -1 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list {
    grid-column: 1 / -1 !important;
}

html body .template-wrap.page-team .team-players {
    grid-column: 1 / span 6 !important;
}

html body .template-wrap.page-team .team-standings {
    grid-column: 7 / -1 !important;
}

html body .template-wrap.page-team .team-last5,
html body .template-wrap.page-team .team-leaders-feature,
html body .template-wrap.page-team .team-leaders.team-leaders-list,
html body .template-wrap.page-team .team-players,
html body .template-wrap.page-team .team-standings {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow: hidden !important;
    background:
        linear-gradient(145deg, rgba(8, 36, 62, .92), rgba(4, 17, 32, .98)),
        radial-gradient(circle at 16% 16%, rgba(53, 180, 255, .12), transparent 34%) !important;
    border: 1px solid rgba(78, 174, 246, .28) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-last5 > h4,
html body .template-wrap.page-team .team-leaders-feature > h4,
html body .template-wrap.page-team .team-leaders.team-leaders-list::before,
html body .template-wrap.page-team .team-players > h4,
html body .template-wrap.page-team .team-standings > h4 {
    display: block !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 0 !important;
}

html body .template-wrap.page-team .team-last5 .table-wrap,
html body .template-wrap.page-team .team-last5 table.tableClass,
html body .template-wrap.page-team .team-last5 table.tableClass tbody {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

html body .template-wrap.page-team .team-last5 table.tableClass thead {
    display: none !important;
}

html body .template-wrap.page-team .team-last5 table.tableClass tbody tr {
    min-height: 49px !important;
    margin: 0 0 8px !important;
    padding: 7px 11px !important;
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 104px !important;
    align-items: center !important;
    gap: 11px !important;
    background: linear-gradient(180deg, rgba(13, 48, 80, .70), rgba(7, 27, 49, .88)) !important;
    border: 1px solid rgba(86, 172, 236, .18) !important;
    border-radius: 7px !important;
}

html body .template-wrap.page-team .team-last5 table.tableClass tbody td,
html body .template-wrap.page-team .team-last5 table.tableClass tbody td[style] {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: rgba(241, 248, 255, .94) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-last5 .matchTime {
    width: auto !important;
    color: rgba(209, 226, 240, .86) !important;
}

html body .template-wrap.page-team .team-last5 .matchOpponent {
    gap: 10px !important;
    text-overflow: ellipsis !important;
}

html body .template-wrap.page-team .team-last5 .matchOpponent img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    margin: 0 !important;
    padding: 4px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .82) !important;
    border-radius: 999px !important;
    object-fit: contain !important;
}

html body .template-wrap.page-team .team-last5 .matchResult {
    width: auto !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    color: #ffffff !important;
    font-variant-numeric: tabular-nums !important;
}

html body .template-wrap.page-team .team-last5 .matchResult .W,
html body .template-wrap.page-team .team-last5 .matchResult .L {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    font-size: 10px !important;
}

html body .template-wrap.page-team .team-leaders-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body .template-wrap.page-team .team-leader-feature-card {
    min-height: 122px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: linear-gradient(180deg, rgba(13, 49, 82, .76), rgba(6, 24, 43, .90)) !important;
    border: 1px solid rgba(80, 170, 239, .24) !important;
    border-radius: 7px !important;
}

html body .template-wrap.page-team .team-leader-feature-title {
    margin-bottom: 12px !important;
    color: #34b7ff !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team .team-leader-feature-body {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
}

html body .template-wrap.page-team .team-leader-feature-photo {
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .84) !important;
    border-radius: 999px !important;
}

html body .template-wrap.page-team .team-leader-feature-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

html body .template-wrap.page-team .team-leader-feature-info {
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-leader-feature-name {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: rgba(235, 246, 255, .94) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-leader-feature-value {
    margin-top: 4px !important;
    color: #ffffff !important;
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team .team-page-cta {
    height: 34px !important;
    margin-top: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #d8f2ff !important;
    background: linear-gradient(180deg, rgba(21, 70, 113, .68), rgba(9, 38, 67, .82)) !important;
    border: 1px solid rgba(54, 171, 244, .35) !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-page-cta::after {
    content: ">" !important;
    margin-left: 12px !important;
    color: #35b9ff !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list::before {
    content: "" !important;
    display: none !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail {
    min-height: 220px !important;
    padding: 16px !important;
    display: block !important;
    background: linear-gradient(180deg, rgba(10, 42, 72, .78), rgba(5, 22, 39, .92)) !important;
    border: 1px solid rgba(83, 174, 242, .26) !important;
    border-radius: 7px !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail > h4 {
    margin: 0 0 13px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .table-wrap,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:not(:first-child),
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody tr:first-child {
    min-height: 27px !important;
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr) 58px !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(118, 182, 228, .12) !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass td,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass td[style] {
    display: block !important;
    height: auto !important;
    padding: 6px 0 !important;
    overflow: hidden !important;
    color: rgba(236, 246, 255, .92) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-index {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    color: rgba(211, 229, 242, .82) !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-person {
    display: block !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-person > a:first-child {
    display: none !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-person > a:last-child {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #8fcfff !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-value {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-players .table-wrap,
html body .template-wrap.page-team .team-standings .table-wrap {
    overflow-x: visible !important;
}

html body .template-wrap.page-team .team-players table.tableClass th,
html body .template-wrap.page-team .team-players table.tableClass td,
html body .template-wrap.page-team .team-standings table.tableClass th,
html body .template-wrap.page-team .team-standings table.tableClass td {
    height: 34px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
}

@media (max-width: 1180px) {
    html body .template-wrap.page-team .team-last5,
    html body .template-wrap.page-team .team-leaders-feature,
    html body .template-wrap.page-team .team-leaders.team-leaders-list,
    html body .template-wrap.page-team .team-players,
    html body .template-wrap.page-team .team-standings {
        grid-column: 1 / -1 !important;
    }

    html body .template-wrap.page-team .team-leaders.team-leaders-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body .template-wrap.page-team > .summary,
    html body .template-wrap.page-team .team-leaders-feature-grid,
    html body .template-wrap.page-team .team-leaders.team-leaders-list {
        grid-template-columns: 1fr !important;
    }

    html body .template-wrap.page-team .team-players .table-wrap,
    html body .template-wrap.page-team .team-standings .table-wrap {
        overflow-x: auto !important;
    }
}

/* Teams page - leaders list stretch fix */
html body .template-wrap.page-team .team-leaders.team-leaders-list {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(245px, 1fr)) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 14px !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    float: none !important;
    clear: none !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .table-wrap,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:not(:first-child),
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody tr:first-child {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 28px minmax(0, 1fr) 72px !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-person,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-person > a:last-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail .ld-value {
    width: 72px !important;
    max-width: 72px !important;
    min-width: 72px !important;
}

@media (max-width: 1180px) {
    html body .template-wrap.page-team .team-leaders.team-leaders-list {
        grid-template-columns: repeat(2, minmax(245px, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body .template-wrap.page-team .team-leaders.team-leaders-list {
        grid-template-columns: 1fr !important;
    }
}

/* Teams page - leaders list first row normalization */
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody tr:first-child {
    min-height: 27px !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) 72px !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(118, 182, 228, .12) !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tbody tr:first-child td {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 6px 0 !important;
    overflow: hidden !important;
    color: rgba(236, 246, 255, .92) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td.ld-index {
    display: block !important;
    color: rgba(211, 229, 242, .82) !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td.ld-person {
    display: block !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td.ld-person > a:first-child {
    display: none !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td.ld-person > a:last-child {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #8fcfff !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail table.tableClass tr:first-child td.ld-value {
    display: block !important;
    width: 72px !important;
    max-width: 72px !important;
    min-width: 72px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

/* Teams page - equal height for Last 5 and top Team Leaders */
html body .template-wrap.page-team > .summary {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 18px !important;
}

html body .template-wrap.page-team .team-last5 {
    grid-column: 1 / span 5 !important;
    height: 100% !important;
    min-height: 332px !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .template-wrap.page-team .team-leaders-feature {
    grid-column: 6 / -1 !important;
    height: 100% !important;
    min-height: 332px !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .template-wrap.page-team .team-last5 .table-wrap,
html body .template-wrap.page-team .team-leaders-feature .team-leaders-feature-grid {
    flex: 1 1 auto !important;
}

html body .template-wrap.page-team .team-leaders-feature .team-page-cta,
html body .template-wrap.page-team .team-last5 .team-page-cta {
    margin-top: auto !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list {
    grid-column: 1 / -1 !important;
}

html body .template-wrap.page-team .team-players {
    grid-column: 1 / span 6 !important;
}

html body .template-wrap.page-team .team-standings {
    grid-column: 7 / -1 !important;
}

@media (max-width: 1180px) {
    html body .template-wrap.page-team .team-last5,
    html body .template-wrap.page-team .team-leaders-feature,
    html body .template-wrap.page-team .team-leaders.team-leaders-list,
    html body .template-wrap.page-team .team-players,
    html body .template-wrap.page-team .team-standings {
        grid-column: 1 / -1 !important;
    }
}

/* Teams page - Player List and Standings final polish */
html body .template-wrap.page-team .team-players {
    grid-column: 1 / span 7 !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-standings {
    grid-column: 8 / -1 !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-players,
html body .template-wrap.page-team .team-standings {
    min-height: 310px !important;
    padding: 20px !important;
    background:
        linear-gradient(145deg, rgba(8, 36, 62, .92), rgba(4, 17, 32, .98)),
        radial-gradient(circle at 18% 18%, rgba(53, 180, 255, .10), transparent 34%) !important;
    border: 1px solid rgba(78, 174, 246, .28) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-players .table-wrap,
html body .template-wrap.page-team .team-standings .table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    background: rgba(3, 15, 28, .34) !important;
    border: 1px solid rgba(85, 164, 222, .14) !important;
}

html body .template-wrap.page-team .team-players table.tableClass,
html body .template-wrap.page-team .team-standings table.tableClass {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
}

html body .template-wrap.page-team .team-players table.tableClass thead th,
html body .template-wrap.page-team .team-standings table.tableClass thead th {
    height: 34px !important;
    padding: 8px 9px !important;
    overflow: hidden !important;
    color: #9bd8ff !important;
    background: rgba(2, 14, 26, .86) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(91, 177, 238, .18) !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-players table.tableClass tbody td,
html body .template-wrap.page-team .team-players table.tableClass tbody td[style],
html body .template-wrap.page-team .team-standings table.tableClass tbody td,
html body .template-wrap.page-team .team-standings table.tableClass tbody td[style] {
    height: 34px !important;
    padding: 6px 9px !important;
    overflow: hidden !important;
    color: rgba(239, 248, 255, .94) !important;
    background: rgba(8, 31, 54, .42) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(118, 182, 228, .11) !important;
    font-size: 11px !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-players table.tableClass tbody tr:nth-child(even) td,
html body .template-wrap.page-team .team-standings table.tableClass tbody tr:nth-child(even) td {
    background: rgba(10, 39, 66, .50) !important;
}

html body .template-wrap.page-team .team-players table.tableClass tbody tr:hover td,
html body .template-wrap.page-team .team-standings table.tableClass tbody tr:hover td {
    background: rgba(37, 148, 221, .18) !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 28% !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 13% !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 7% !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 10% !important;
    color: #ffffff !important;
    text-align: right !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team .team-players table.team-players-table td:first-child a {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #8fcfff !important;
    font-weight: 820 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th:first-child,
html body .template-wrap.page-team .team-standings table.team-standings-table td:first-child {
    width: 48px !important;
    text-align: center !important;
    color: rgba(216, 235, 249, .88) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-logo,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo {
    width: 44px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo img,
html body .template-wrap.page-team .team-standings table.team-standings-table .team-logo img {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    margin: 0 !important;
    padding: 3px !important;
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .82) !important;
    border-radius: 999px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name {
    width: auto !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #ffffff !important;
    font-weight: 880 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_played,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_played,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_standingPoints,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_standingPoints,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_won,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_won,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_lost,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_lost {
    width: 45px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tr.standings-team td {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(15, 105, 178, .75), rgba(11, 56, 94, .70)) !important;
    border-top: 1px solid rgba(76, 190, 255, .42) !important;
    border-bottom: 1px solid rgba(76, 190, 255, .42) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tr.standings-team td:first-child {
    border-radius: 7px 0 0 7px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tr.standings-team td:last-child {
    border-radius: 0 7px 7px 0 !important;
}

html body .template-wrap.page-team .team-players .team-page-cta,
html body .template-wrap.page-team .team-standings .team-page-cta {
    margin-top: 14px !important;
}

@media (max-width: 1180px) {
    html body .template-wrap.page-team .team-players,
    html body .template-wrap.page-team .team-standings {
        grid-column: 1 / -1 !important;
    }
}

/* Teams page - final Player List alignment and elegant selected Standings row */
html body .template-wrap.page-team .team-players table.team-players-table {
    table-layout: fixed !important;
}

html body .template-wrap.page-team .team-players table.team-players-table thead th,
html body .template-wrap.page-team .team-players table.team-players-table thead th[style] {
    overflow: visible !important;
    font-size: 9.5px !important;
    letter-spacing: .02em !important;
    text-overflow: clip !important;
}

html body .template-wrap.page-team .team-players table.team-players-table thead th .fooicon {
    display: none !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 36% !important;
    max-width: 36% !important;
    padding-left: 10px !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 7.4% !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 12.2% !important;
    padding-left: 4px !important;
    padding-right: 8px !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name {
    height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:after {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1.05 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team {
    outline: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background:
        linear-gradient(90deg, rgba(46, 158, 232, .60) 0%, rgba(22, 112, 184, .56) 34%, rgba(15, 70, 118, .48) 100%) !important;
    border-top: 1px solid rgba(111, 211, 255, .44) !important;
    border-bottom: 1px solid rgba(111, 211, 255, .44) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-left: 1px solid rgba(111, 211, 255, .44) !important;
    border-radius: 7px 0 0 7px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-right: 1px solid rgba(111, 211, 255, .44) !important;
    border-radius: 0 7px 7px 0 !important;
}

/* Teams page - final spacing pass for Player List minutes and Standings rows */
html body .template-wrap.page-team .team-players table.team-players-table {
    width: 100% !important;
    table-layout: fixed !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 30% !important;
    max-width: 30% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 13% !important;
    max-width: 13% !important;
    overflow: visible !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 7.2% !important;
    max-width: 7.2% !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 13.8% !important;
    max-width: 13.8% !important;
    padding-right: 9px !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-standings .table-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table thead th {
    height: 36px !important;
    padding-top: 11px !important;
    padding-bottom: 7px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th:first-child,
html body .template-wrap.page-team .team-standings table.team-standings-table td:first-child {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-logo,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-name {
    padding-top: 12px !important;
    text-align: left !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name {
    height: 39px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name *,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:after,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:after {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:after,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:after {
    content: none !important;
    display: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a {
    min-height: 39px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    line-height: 1.05 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td[style] {
    border-bottom: 1px solid rgba(118, 182, 228, .12) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background: rgba(36, 135, 207, .54) !important;
    border-top: 1px solid rgba(126, 219, 255, .48) !important;
    border-bottom: 1px solid rgba(126, 219, 255, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .04) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-left: 1px solid rgba(126, 219, 255, .48) !important;
    border-radius: 6px 0 0 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-right: 1px solid rgba(126, 219, 255, .48) !important;
    border-radius: 0 6px 6px 0 !important;
}

/* Teams page - Player List column balance and Standings row lines */
html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 22% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 14% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 8% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 12% !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th,
html body .template-wrap.page-team .team-standings table.team-standings-table td,
html body .template-wrap.page-team .team-standings table.team-standings-table th[style],
html body .template-wrap.page-team .team-standings table.team-standings-table td[style] {
    background-clip: padding-box !important;
    border-bottom: 1px solid rgba(118, 182, 228, .14) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo,
html body .template-wrap.page-team .team-standings table.team-standings-table th.team-logo {
    background: rgba(8, 31, 54, .42) !important;
    border-bottom: 1px solid rgba(118, 182, 228, .14) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) td.team-logo {
    background: rgba(10, 39, 66, .50) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover td.team-logo {
    background: rgba(37, 148, 221, .18) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tr.standings-team td.team-logo {
    background: linear-gradient(90deg, rgba(15, 105, 178, .75), rgba(11, 56, 94, .70)) !important;
    border-bottom: 1px solid rgba(76, 190, 255, .42) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo a,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo img {
    background-color: #ffffff !important;
}

/* Teams page - Player List tighter player column and continuous Standings rows */
html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 20% !important;
    min-width: 0 !important;
    max-width: 20% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 13% !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 8.5% !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 16% !important;
    min-width: 0 !important;
}

html body .template-wrap.page-team .team-players table.team-players-table thead th {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr {
    background: rgba(8, 31, 54, .42) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) {
    background: rgba(10, 39, 66, .50) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover {
    background: rgba(37, 148, 221, .18) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team {
    background: linear-gradient(90deg, rgba(15, 105, 178, .75), rgba(11, 56, 94, .70)) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-logo {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(118, 182, 228, .14) !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td {
    border-bottom-color: rgba(76, 190, 255, .42) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo a {
    width: 31px !important;
    height: 31px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border-radius: 999px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo img {
    width: 27px !important;
    height: 27px !important;
    margin: 0 !important;
    background: #ffffff !important;
}

/* Teams page - compact Player List stats and cleaner Standings lanes */
html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 22% !important;
    max-width: 22% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 10% !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 8% !important;
    padding-right: 6px !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 20% !important;
    padding-left: 6px !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-logo,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 5px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr {
    box-shadow: inset 0 -1px 0 rgba(118, 182, 228, .14) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team {
    outline: 1px solid rgba(76, 190, 255, .44) !important;
    outline-offset: -1px !important;
    box-shadow: inset 0 -1px 0 rgba(76, 190, 255, .40) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td {
    background: transparent !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo a {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo img {
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
    padding: 3px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .84) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

/* Teams page - equal bottom tables and readable Standings header */
html body .template-wrap.page-team .team-players {
    grid-column: 1 / span 6 !important;
}

html body .template-wrap.page-team .team-standings {
    grid-column: 7 / -1 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table thead th,
html body .template-wrap.page-team .team-standings table.team-standings-table thead th[style] {
    height: 34px !important;
    padding: 8px 6px !important;
    overflow: visible !important;
    background: rgba(2, 14, 26, .92) !important;
    color: #a8dcff !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table thead th .fooicon {
    display: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th:first-child,
html body .template-wrap.page-team .team-standings table.team-standings-table td:first-child {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    padding-left: 8px !important;
    padding-right: 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-logo,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding-left: 0 !important;
    padding-right: 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name {
    width: auto !important;
    min-width: 0 !important;
    padding-left: 4px !important;
    padding-right: 10px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_played,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_played,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_standingPoints,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_standingPoints,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_won,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_won,
html body .template-wrap.page-team .team-standings table.team-standings-table th.STANDINGS_lost,
html body .template-wrap.page-team .team-standings table.team-standings-table td.STANDINGS_lost {
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td.team-logo {
    background: rgba(8, 31, 54, .42) !important;
    background-clip: border-box !important;
    border-bottom: 1px solid rgba(118, 182, 228, .14) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:nth-child(even) td.team-logo {
    background: rgba(10, 39, 66, .50) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover td.team-logo {
    background: rgba(37, 148, 221, .18) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background: linear-gradient(90deg, rgba(15, 105, 178, .75), rgba(11, 56, 94, .70)) !important;
    border-top: 1px solid rgba(76, 190, 255, .42) !important;
    border-bottom: 1px solid rgba(76, 190, 255, .42) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a {
    display: block !important;
    overflow: visible !important;
    max-width: none !important;
    color: #ffffff !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-logo img {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0 !important;
    padding: 3px !important;
}

@media (max-width: 1180px) {
    html body .template-wrap.page-team .team-players,
    html body .template-wrap.page-team .team-standings {
        grid-column: 1 / -1 !important;
    }
}

/* Teams page - final override for Player List and Standings bottom tables */
html body .template-wrap.page-team .team-players table.team-players-table {
    table-layout: fixed !important;
}

html body .template-wrap.page-team .team-players table.team-players-table thead th,
html body .template-wrap.page-team .team-players table.team-players-table thead th[style] {
    overflow: visible !important;
    font-size: 9.5px !important;
    letter-spacing: .02em !important;
    text-overflow: clip !important;
}

html body .template-wrap.page-team .team-players table.team-players-table thead th .fooicon {
    display: none !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 36% !important;
    max-width: 36% !important;
    padding-left: 10px !important;
    text-align: left !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 7.4% !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 12.2% !important;
    padding-left: 4px !important;
    padding-right: 8px !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name {
    height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:after {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1.05 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team {
    outline: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background: linear-gradient(90deg, rgba(46, 158, 232, .60) 0%, rgba(22, 112, 184, .56) 34%, rgba(15, 70, 118, .48) 100%) !important;
    border-top: 1px solid rgba(111, 211, 255, .44) !important;
    border-bottom: 1px solid rgba(111, 211, 255, .44) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-left: 1px solid rgba(111, 211, 255, .44) !important;
    border-radius: 7px 0 0 7px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-right: 1px solid rgba(111, 211, 255, .44) !important;
    border-radius: 0 7px 7px 0 !important;
}

/* Teams page - absolute final override for Player minutes and Standings alignment */
html body .template-wrap.page-team .team-players table.team-players-table {
    width: 100% !important;
    table-layout: fixed !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:first-child,
html body .template-wrap.page-team .team-players table.team-players-table td:first-child {
    width: 30% !important;
    max-width: 30% !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(2),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(2) {
    width: 13% !important;
    max-width: 13% !important;
    overflow: visible !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(3),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(4),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(5),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(6),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(7),
html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(8),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(8) {
    width: 7.2% !important;
    max-width: 7.2% !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
}

html body .template-wrap.page-team .team-players table.team-players-table th:nth-child(9),
html body .template-wrap.page-team .team-players table.team-players-table td:nth-child(9) {
    width: 13.8% !important;
    max-width: 13.8% !important;
    padding-right: 9px !important;
    text-align: right !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table thead th {
    height: 36px !important;
    padding-top: 11px !important;
    padding-bottom: 7px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th:first-child,
html body .template-wrap.page-team .team-standings table.team-standings-table td:first-child {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table th.team-name {
    padding-top: 12px !important;
    text-align: left !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name *,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:after,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:after {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name:after,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a:after {
    content: none !important;
    display: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table td.team-name a {
    min-height: 39px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    line-height: 1.05 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td[style] {
    border-bottom: 1px solid rgba(118, 182, 228, .12) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background: rgba(36, 135, 207, .54) !important;
    border-top: 1px solid rgba(126, 219, 255, .48) !important;
    border-bottom: 1px solid rgba(126, 219, 255, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .04) !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-left: 1px solid rgba(126, 219, 255, .48) !important;
    border-radius: 6px 0 0 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-right: 1px solid rgba(126, 219, 255, .48) !important;
    border-radius: 0 6px 6px 0 !important;
}

/* Teams page - remove stray underline inside Standings team names */
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name span,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name .team-name-full,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name .team-name-code {
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name:before,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name:after,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:before,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name a:after,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name span:before,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody td.team-name span:after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-name {
    border-top: 1px solid rgba(126, 219, 255, .48) !important;
    border-bottom: 1px solid rgba(126, 219, 255, .48) !important;
}

/* Teams page - active Standings row without internal line */
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td.team-logo {
    background: rgba(36, 135, 207, .64) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-left: 0 !important;
    border-radius: 6px 0 0 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-right: 0 !important;
    border-radius: 0 6px 6px 0 !important;
}

/* Teams page - remove dark bottom separator lines in Standings */
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr:hover,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td[style],
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td.team-name,
html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr td.team-logo {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:first-child {
    border-radius: 6px 0 0 6px !important;
}

html body .template-wrap.page-team .team-standings table.team-standings-table tbody tr.standings-team td:last-child {
    border-radius: 0 6px 6px 0 !important;
}

/* Match Summary - breathing room and modern section titles */
html body .match-page .selection-scroll.matchnavigation,
html body .selection-scroll.matchnavigation {
    margin-bottom: clamp(30px, 2.6vw, 42px) !important;
}

html body .match-page .summary {
    gap: clamp(30px, 2.6vw, 42px) !important;
    margin-top: clamp(28px, 2.4vw, 40px) !important;
    margin-bottom: 42px !important;
    padding: clamp(24px, 2.2vw, 34px) !important;
    overflow: visible !important;
}

html body .match-page #BLOCK_SUMMARY_BOXSCORE,
html body .match-page #BLOCK_SUMMARY_COMPARE,
html body .match-page #BLOCK_SUMMARY_LEADERS {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html body .match-page #BLOCK_SUMMARY_BOXSCORE {
    gap: clamp(22px, 2vw, 32px) !important;
}

html body .match-page #BLOCK_SUMMARY_LEADERS {
    gap: clamp(18px, 1.8vw, 28px) !important;
    padding-top: 0 !important;
}

html body .match-page #BLOCK_SUMMARY_COMPARE {
    padding: clamp(22px, 2vw, 30px) !important;
}

html body .match-page #BLOCK_SUMMARY_BOXSCORE::before,
html body .match-page #BLOCK_SUMMARY_LEADERS::before,
html body .match-page #BLOCK_SUMMARY_COMPARE > h4::before {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 18px !important;
    color: #ffffff !important;
    border: 1px solid rgba(78, 197, 255, .24) !important;
    border-left: 4px solid rgba(79, 208, 255, .92) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(90deg, rgba(34, 151, 219, .44), rgba(9, 35, 62, .86) 48%, rgba(5, 18, 32, .34)),
        radial-gradient(circle at 18% 0%, rgba(91, 213, 255, .22), transparent 42%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    font-size: 13px !important;
    font-weight: 920 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

html body .match-page #BLOCK_SUMMARY_BOXSCORE::before {
    content: "Box Score" !important;
    grid-column: 1 / -1 !important;
}

html body .match-page #BLOCK_SUMMARY_LEADERS::before {
    content: "Leaders" !important;
    grid-column: 1 / -1 !important;
}

html body .match-page #BLOCK_SUMMARY_COMPARE > h4 {
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
}

html body .match-page #BLOCK_SUMMARY_COMPARE > h4::before {
    content: "Team Comparison" !important;
    flex: 0 0 100% !important;
    box-sizing: border-box !important;
}

html body .match-page .summary-boxscore-detail,
html body .match-page .summary-leaders-detail {
    margin-top: 0 !important;
}

html body .match-page .summary-boxscore-detail > a h4,
html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail h4 {
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    background:
        linear-gradient(90deg, rgba(21, 116, 180, .58), rgba(5, 20, 36, .84)) !important;
    border-bottom: 1px solid rgba(79, 208, 255, .22) !important;
}

html body .match-page #BLOCK_SUMMARY_COMPARE .summary-compare-detail + .summary-compare-detail,
html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail,
html body .match-page #BLOCK_SUMMARY_BOXSCORE .summary-boxscore-detail {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 760px) {
    html body .match-page .summary {
        gap: 22px !important;
        margin-top: 24px !important;
        padding: 18px !important;
    }

    html body .match-page #BLOCK_SUMMARY_BOXSCORE,
    html body .match-page #BLOCK_SUMMARY_LEADERS {
        gap: 18px !important;
    }
}

/* Match Summary - calmer titles and more air between columns */
html body .match-page #BLOCK_SUMMARY_BOXSCORE::before,
html body .match-page #BLOCK_SUMMARY_LEADERS::before,
html body .match-page #BLOCK_SUMMARY_COMPARE > h4::before {
    content: none !important;
    display: none !important;
}

html body .match-page .summary {
    gap: clamp(28px, 2.4vw, 38px) !important;
}

html body .match-page #BLOCK_SUMMARY_BOXSCORE {
    column-gap: clamp(32px, 3vw, 48px) !important;
    row-gap: 24px !important;
}

html body .match-page #BLOCK_SUMMARY_LEADERS {
    column-gap: clamp(22px, 2vw, 30px) !important;
    row-gap: 24px !important;
}

html body .match-page .summary-boxscore-detail > a h4,
html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail h4 {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    border: 1px solid rgba(126, 199, 255, .18) !important;
    border-top: 4px solid rgba(79, 208, 255, .86) !important;
    border-radius: 8px 8px 0 0 !important;
    background: linear-gradient(180deg, rgba(7, 25, 43, .96), rgba(4, 15, 27, .98)) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 920 !important;
    letter-spacing: .16em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail h4 {
    justify-content: flex-start !important;
    letter-spacing: .04em !important;
}

html body .match-page .summary-boxscore-detail > a h4::before,
html body .match-page .summary-boxscore-detail > a h4::after,
html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail h4::before,
html body .match-page #BLOCK_SUMMARY_LEADERS .summary-leaders-detail h4::after {
    content: none !important;
    display: none !important;
}

/* Team Summary - professional section title bars */
html body .template-wrap.page-team .team-last5 > h4,
html body .template-wrap.page-team .team-leaders-feature > h4,
html body .template-wrap.page-team .team-players > h4,
html body .template-wrap.page-team .team-standings > h4,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail > h4 {
    min-height: 46px !important;
    margin: 0 0 16px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(180deg, rgba(7, 25, 43, .97), rgba(4, 15, 27, .99)) !important;
    border: 1px solid rgba(126, 199, 255, .18) !important;
    border-top: 4px solid rgba(79, 208, 255, .88) !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 920 !important;
    letter-spacing: .10em !important;
    line-height: 1.12 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail > h4 {
    min-height: 42px !important;
    margin-bottom: 12px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    letter-spacing: .055em !important;
}

html body .template-wrap.page-team .team-last5 > h4::before,
html body .template-wrap.page-team .team-last5 > h4::after,
html body .template-wrap.page-team .team-leaders-feature > h4::before,
html body .template-wrap.page-team .team-leaders-feature > h4::after,
html body .template-wrap.page-team .team-players > h4::before,
html body .template-wrap.page-team .team-players > h4::after,
html body .template-wrap.page-team .team-standings > h4::before,
html body .template-wrap.page-team .team-standings > h4::after,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail > h4::before,
html body .template-wrap.page-team .team-leaders.team-leaders-list .team-leaders-detail > h4::after {
    content: none !important;
    display: none !important;
}

/* Team Summary - breathing room below tabs and compact leader feature cards */
html body .template-wrap.page-team > .selection-scroll {
    margin-bottom: 28px !important;
}

html body .template-wrap.page-team #teamnavigation.generic-list-menu {
    margin-bottom: 0 !important;
}

html body .template-wrap.page-team .team-leaders-feature .team-leaders-feature-grid {
    flex: 0 0 auto !important;
    gap: 10px !important;
    align-content: start !important;
}

html body .template-wrap.page-team .team-leader-feature-card {
    min-height: 108px !important;
    padding: 12px !important;
}

html body .template-wrap.page-team .team-leader-feature-title {
    margin-bottom: 9px !important;
}

html body .template-wrap.page-team .team-leader-feature-body {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 10px !important;
}

html body .template-wrap.page-team .team-leader-feature-photo {
    width: 48px !important;
    height: 48px !important;
}

html body .template-wrap.page-team .team-leader-feature-value {
    font-size: 24px !important;
}

html body .template-wrap.page-team .team-leaders-feature .team-stats-cta.team-page-cta,
html body .template-wrap.page-team .team-leaders-feature .team-page-cta {
    flex: 0 0 auto !important;
    margin-top: 18px !important;
}

/* Team page - compact premium team header */
html body .template-wrap.page-team {
    margin-top: 10px !important;
    padding-top: 16px !important;
    row-gap: 18px !important;
}

html body .template-wrap.page-team .team-header.fake-table {
    grid-column: 1 / -1 !important;
    min-height: 132px !important;
    margin: 0 !important;
    padding: 16px 24px !important;
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 22px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 12% 42%, rgba(55, 190, 255, .18), transparent 32%),
        linear-gradient(135deg, rgba(9, 42, 72, .94), rgba(4, 17, 31, .98) 62%) !important;
    border: 1px solid rgba(78, 181, 255, .30) !important;
    border-top: 4px solid rgba(79, 208, 255, .90) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-header.fake-table::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .045), transparent 36%, rgba(79, 208, 255, .035)),
        linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 42%) !important;
    opacity: .72 !important;
}

html body .template-wrap.page-team .team-header .logo.team-detail {
    position: relative !important;
    z-index: 2 !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(circle at 50% 36%, #ffffff, #f5f9ff 62%, #dbe8f5) !important;
    border: 1px solid rgba(120, 207, 255, .62) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .82) !important;
}

html body .template-wrap.page-team .team-header .logo.team-detail a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .template-wrap.page-team .team-header .logo.team-detail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 74px !important;
    max-height: 74px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .18)) !important;
}

html body .template-wrap.page-team .team-header .team-name.fake-cell {
    position: relative !important;
    z-index: 2 !important;
    min-width: 0 !important;
    min-height: 70px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-title,
html body .template-wrap.page-team .team-header .team-name.fake-cell a,
html body .template-wrap.page-team .team-header .team-name.fake-cell span {
    max-width: 100% !important;
    overflow: hidden !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(28px, 3vw, 44px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team {
        margin-top: 8px !important;
        padding-top: 12px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table {
        min-height: 118px !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
        text-align: left !important;
        justify-items: stretch !important;
    }

    html body .template-wrap.page-team .team-header .logo.team-detail {
        width: 78px !important;
        height: 78px !important;
        padding: 9px !important;
    }

    html body .template-wrap.page-team .team-header .logo.team-detail img {
        max-width: 58px !important;
        max-height: 58px !important;
    }

    html body .template-wrap.page-team .team-title,
    html body .template-wrap.page-team .team-header .team-name.fake-cell a,
    html body .template-wrap.page-team .team-header .team-name.fake-cell span {
        font-size: clamp(22px, 7vw, 32px) !important;
    }
}

/* Team page - slim club identity bar */
html body .template-wrap.page-team .team-header.fake-table {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 82px !important;
    max-height: 82px !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    display: grid !important;
    grid-template-columns: 60px minmax(0, max-content) !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 14px !important;
    overflow: hidden !important;
    background:
        linear-gradient(90deg, rgba(7, 32, 56, .98), rgba(5, 20, 36, .96) 54%, rgba(7, 38, 65, .82)) !important;
    border: 1px solid rgba(91, 187, 255, .28) !important;
    border-top: 3px solid rgba(79, 208, 255, .88) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .team-header.fake-table::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(79, 208, 255, .10), transparent 34%, rgba(255, 255, 255, .035)) !important;
    opacity: .75 !important;
}

html body .template-wrap.page-team .team-header .logo.team-detail {
    position: relative !important;
    z-index: 2 !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    margin: 0 !important;
    padding: 7px !important;
    background: radial-gradient(circle at 50% 38%, #ffffff, #f6faff 62%, #dbe9f6) !important;
    border: 1px solid rgba(135, 214, 255, .64) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .82) !important;
}

html body .template-wrap.page-team .team-header .logo.team-detail img {
    max-width: 44px !important;
    max-height: 44px !important;
}

html body .template-wrap.page-team .team-header .team-name.fake-cell {
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}

html body .template-wrap.page-team .team-title,
html body .template-wrap.page-team .team-header .team-name.fake-cell a,
html body .template-wrap.page-team .team-header .team-name.fake-cell span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(24px, 2.3vw, 34px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team .team-header.fake-table {
        min-height: 74px !important;
        max-height: 74px !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 9px 12px !important;
    }

    html body .template-wrap.page-team .team-header .logo.team-detail {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        padding: 6px !important;
    }

    html body .template-wrap.page-team .team-header .logo.team-detail img {
        max-width: 38px !important;
        max-height: 38px !important;
    }

    html body .template-wrap.page-team .team-header .team-name.fake-cell {
        min-height: 50px !important;
        height: 50px !important;
    }

    html body .template-wrap.page-team .team-title,
    html body .template-wrap.page-team .team-header .team-name.fake-cell a,
    html body .template-wrap.page-team .team-header .team-name.fake-cell span {
        font-size: clamp(20px, 6vw, 28px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Team page - force visible club name in slim header */
html body .template-wrap.page-team .team-header.fake-table {
    margin-bottom: 20px !important;
    grid-template-columns: 60px minmax(180px, 1fr) !important;
}

html body .template-wrap.page-team .team-header .team-name.fake-cell {
    grid-column: 2 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    transform: none !important;
    clip: auto !important;
    text-indent: 0 !important;
}

html body .template-wrap.page-team .team-header .team-name.fake-cell .team-title,
html body .template-wrap.page-team .team-header .team-name.fake-cell h1.team-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: auto !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: transparent !important;
    font-size: clamp(24px, 2.25vw, 34px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-align: left !important;
    text-indent: 0 !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team .team-header.fake-table {
        margin-bottom: 16px !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
    }

    html body .template-wrap.page-team .team-header .team-name.fake-cell .team-title,
    html body .template-wrap.page-team .team-header .team-name.fake-cell h1.team-title {
        font-size: clamp(20px, 6vw, 28px) !important;
    }
}

/* Team page - logo left and full club name visible */
html body .template-wrap.page-team .team-header.fake-table {
    min-height: 78px !important;
    max-height: none !important;
    margin: 0 0 24px !important;
    padding: 9px 16px 9px 8px !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: stretch !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
    justify-self: start !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 6px !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
    max-width: 40px !important;
    max-height: 40px !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell {
    grid-column: 2 !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    z-index: 5 !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
    all: unset !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: inherit !important;
    font-size: clamp(23px, 2.05vw, 32px) !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    letter-spacing: .01em !important;
    text-align: left !important;
    text-shadow: 0 8px 18px rgba(0, 0, 0, .30) !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team .team-header.fake-table {
        min-height: 70px !important;
        margin-bottom: 18px !important;
        padding: 8px 12px 8px 7px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
        max-width: 35px !important;
        max-height: 35px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
        font-size: clamp(19px, 5.5vw, 27px) !important;
        line-height: 1.08 !important;
    }
}

/* Team page - keep logo and club name on one elegant line */
html body .template-wrap.page-team .team-header.fake-table {
    min-height: 72px !important;
    padding: 8px 16px 8px 8px !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 10px !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    padding: 6px !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
    max-width: 38px !important;
    max-height: 38px !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell {
    min-height: 50px !important;
    height: 50px !important;
    overflow: hidden !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
    overflow: hidden !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(20px, 1.75vw, 28px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .015em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team .team-header.fake-table {
        min-height: 64px !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        gap: 9px !important;
        padding: 7px 10px 7px 7px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 5px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
        max-width: 34px !important;
        max-height: 34px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell {
        min-height: 44px !important;
        height: 44px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
        font-size: clamp(17px, 5vw, 24px) !important;
        white-space: nowrap !important;
    }
}

/* Team page - locked single-line club header */
html body .template-wrap.page-team .team-header.fake-table {
    position: relative !important;
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    z-index: 6 !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    margin: 0 !important;
    padding: 6px !important;
    transform: translateY(-50%) !important;
}

html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell {
    position: absolute !important;
    left: 78px !important;
    right: 18px !important;
    top: 50% !important;
    z-index: 6 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
    all: unset !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: inherit !important;
    font-size: clamp(22px, 1.9vw, 30px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .012em !important;
    text-align: left !important;
    text-shadow: 0 8px 18px rgba(0, 0, 0, .30) !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    html body .template-wrap.page-team .team-header.fake-table {
        height: 66px !important;
        min-height: 66px !important;
        max-height: 66px !important;
        margin-bottom: 18px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail {
        left: 10px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 5px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .logo.team-detail img {
        max-width: 34px !important;
        max-height: 34px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell {
        left: 64px !important;
        right: 12px !important;
    }

    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > h1.team-title,
    html body .template-wrap.page-team .team-header.fake-table > .team-name.fake-cell > .team-title {
        font-size: clamp(18px, 5vw, 24px) !important;
    }
}

/* Team Roster - page title and premium roster table */
html body .template-wrap.page-team .team-page-title,
html body .template-wrap.page-team > .team-page-title,
html body .template-wrap.page-team > h1.team-page-title,
html body .template-wrap.page-team > h2.team-page-title,
html body .template-wrap.page-team > h3.team-page-title {
    grid-column: 1 / -1 !important;
    min-height: 48px !important;
    margin: 0 0 18px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(180deg, rgba(7, 25, 43, .97), rgba(4, 15, 27, .99)) !important;
    border: 1px solid rgba(126, 199, 255, .18) !important;
    border-top: 4px solid rgba(79, 208, 255, .88) !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 920 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team .team-page-title::before,
html body .template-wrap.page-team .team-page-title::after {
    content: none !important;
    display: none !important;
}

html body .template-wrap.page-team .table-wrap:has(table.roster-table) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow: visible !important;
    background:
        linear-gradient(145deg, rgba(8, 36, 62, .92), rgba(4, 17, 32, .98)),
        radial-gradient(circle at 18% 10%, rgba(53, 180, 255, .11), transparent 34%) !important;
    border: 1px solid rgba(78, 174, 246, .28) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team table.roster-table,
html body .template-wrap.page-team table.tableClass.roster-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    background: rgba(3, 17, 31, .72) !important;
    border: 1px solid rgba(84, 178, 246, .22) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team table.roster-table thead tr,
html body .template-wrap.page-team table.roster-table tr.footable-header {
    background: linear-gradient(180deg, rgba(4, 17, 31, .98), rgba(3, 13, 25, .98)) !important;
}

html body .template-wrap.page-team table.roster-table thead th,
html body .template-wrap.page-team table.roster-table thead th[style] {
    height: 46px !important;
    padding: 0 12px !important;
    vertical-align: middle !important;
    color: #bfe8ff !important;
    -webkit-text-fill-color: #bfe8ff !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(96, 174, 236, .20) !important;
    font-size: 10px !important;
    font-weight: 920 !important;
    letter-spacing: .06em !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_playerName {
    text-align: left !important;
}

html body .template-wrap.page-team table.roster-table tbody tr {
    background: rgba(8, 31, 55, .70) !important;
    transition: background .18s ease, color .18s ease !important;
}

html body .template-wrap.page-team table.roster-table tbody tr:nth-child(even) {
    background: rgba(12, 42, 70, .72) !important;
}

html body .template-wrap.page-team table.roster-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(22, 100, 162, .64), rgba(9, 37, 64, .86)) !important;
}

html body .template-wrap.page-team table.roster-table tbody td,
html body .template-wrap.page-team table.roster-table tbody td[style] {
    height: 58px !important;
    padding: 8px 12px !important;
    vertical-align: middle !important;
    color: rgba(243, 249, 255, .94) !important;
    -webkit-text-fill-color: rgba(243, 249, 255, .94) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(114, 182, 232, .13) !important;
    font-size: 12px !important;
    font-weight: 780 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_shirtNumber,
html body .template-wrap.page-team table.roster-table td:first-child {
    width: 92px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_playerName,
html body .template-wrap.page-team table.roster-table td.text-cell {
    width: 34% !important;
    text-align: left !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_dob,
html body .template-wrap.page-team table.roster-table td:nth-child(3) {
    width: 132px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_age,
html body .template-wrap.page-team table.roster-table td:nth-child(4) {
    width: 70px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_nationality,
html body .template-wrap.page-team table.roster-table td:nth-child(5),
html body .template-wrap.page-team table.roster-table th.ROSTER_height,
html body .template-wrap.page-team table.roster-table td:nth-child(6),
html body .template-wrap.page-team table.roster-table th.ROSTER_position,
html body .template-wrap.page-team table.roster-table td:nth-child(7) {
    width: 90px !important;
}

html body .template-wrap.page-team table.roster-table td:first-child {
    color: #7fd4ff !important;
    -webkit-text-fill-color: #7fd4ff !important;
    font-size: 13px !important;
    font-weight: 920 !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell,
html body .template-wrap.page-team table.roster-table td.text-cell[style] {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell .playerphoto,
html body .template-wrap.page-team table.roster-table td.text-cell span.playerphoto {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .82) !important;
    border-radius: 999px !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell .playerphoto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell a:last-child {
    display: inline-block !important;
    max-width: calc(100% - 56px) !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team table.roster-table .fooicon {
    display: none !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr,
html body .template-wrap.page-team table.roster-table tfoot td {
    height: 46px !important;
    padding: 10px 12px !important;
    color: #39bdff !important;
    -webkit-text-fill-color: #39bdff !important;
    background: linear-gradient(90deg, rgba(18, 94, 153, .36), rgba(5, 24, 43, .88)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(79, 208, 255, .32) !important;
    font-size: 12px !important;
    font-weight: 920 !important;
    text-transform: uppercase !important;
}

@media (max-width: 900px) {
    html body .template-wrap.page-team .table-wrap:has(table.roster-table) {
        padding: 14px !important;
        overflow-x: auto !important;
    }

    html body .template-wrap.page-team table.roster-table,
    html body .template-wrap.page-team table.tableClass.roster-table {
        min-width: 760px !important;
    }
}

/* Team Roster - premium player list v2 */
html body .template-wrap.page-team .team-page-title,
html body .template-wrap.page-team h4.team-page-title {
    min-height: 62px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background:
        radial-gradient(circle at 14% 30%, rgba(55, 184, 255, .14), transparent 34%),
        linear-gradient(180deg, rgba(7, 31, 55, .98), rgba(5, 19, 35, .98)) !important;
    border: 1px solid rgba(94, 188, 255, .24) !important;
    border-bottom: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team .team-page-title::before,
html body .template-wrap.page-team h4.team-page-title::before {
    content: "\f0c0" !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #37c1ff !important;
    -webkit-text-fill-color: #37c1ff !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team .team-page-title::after,
html body .template-wrap.page-team h4.team-page-title::after {
    content: "" !important;
    height: 1px !important;
    flex: 1 1 auto !important;
    display: block !important;
    margin-left: 10px !important;
    background: linear-gradient(90deg, rgba(55, 193, 255, .32), transparent) !important;
}

html body .template-wrap.page-team .table-wrap:has(table.roster-table) {
    margin: 0 0 26px !important;
    padding: 0 18px 18px !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 16% 6%, rgba(55, 184, 255, .12), transparent 34%),
        linear-gradient(180deg, rgba(7, 31, 55, .96), rgba(5, 19, 35, .98)) !important;
    border: 1px solid rgba(94, 188, 255, .24) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team table.roster-table,
html body .template-wrap.page-team table.tableClass.roster-table {
    width: 100% !important;
    table-layout: fixed !important;
    overflow: hidden !important;
    background: rgba(1, 14, 27, .82) !important;
    border: 1px solid rgba(74, 161, 229, .23) !important;
    border-radius: 8px !important;
}

html body .template-wrap.page-team table.roster-table thead th,
html body .template-wrap.page-team table.roster-table thead th[style] {
    height: 54px !important;
    padding: 0 14px !important;
    color: #25b9ff !important;
    -webkit-text-fill-color: #25b9ff !important;
    background: linear-gradient(180deg, rgba(3, 18, 34, .98), rgba(2, 11, 22, .98)) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(83, 164, 229, .22) !important;
    font-size: 10px !important;
    font-weight: 920 !important;
    letter-spacing: .04em !important;
    line-height: 1.08 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

html body .template-wrap.page-team table.roster-table thead th::before {
    margin-right: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #37c1ff !important;
    -webkit-text-fill-color: #37c1ff !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber::before {
    content: "#" !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_playerName::before {
    content: "\f007" !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_dob::before {
    content: "\f073" !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_age::before {
    content: "\f0c0" !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_nationality::before {
    content: "\f0ac" !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_height::before {
    content: "\f545" !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_position::before {
    content: "\f140" !important;
}

html body .template-wrap.page-team table.roster-table tbody tr {
    background: rgba(7, 31, 55, .76) !important;
}

html body .template-wrap.page-team table.roster-table tbody tr:nth-child(even) {
    background: rgba(10, 41, 70, .74) !important;
}

html body .template-wrap.page-team table.roster-table tbody tr:hover {
    background:
        linear-gradient(90deg, rgba(16, 90, 149, .58), rgba(7, 31, 55, .88)) !important;
}

html body .template-wrap.page-team table.roster-table tbody td,
html body .template-wrap.page-team table.roster-table tbody td[style] {
    position: relative !important;
    height: 55px !important;
    padding: 7px 14px !important;
    color: rgba(245, 250, 255, .96) !important;
    -webkit-text-fill-color: rgba(245, 250, 255, .96) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(101, 175, 231, .13) !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    line-height: 1.1 !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_shirtNumber,
html body .template-wrap.page-team table.roster-table td:first-child {
    width: 110px !important;
    text-align: center !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_playerName,
html body .template-wrap.page-team table.roster-table td.text-cell {
    width: 27% !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_dob,
html body .template-wrap.page-team table.roster-table td:nth-child(3) {
    width: 160px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_age,
html body .template-wrap.page-team table.roster-table td:nth-child(4) {
    width: 92px !important;
    text-align: center !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_nationality,
html body .template-wrap.page-team table.roster-table td:nth-child(5) {
    width: 150px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_height,
html body .template-wrap.page-team table.roster-table td:nth-child(6) {
    width: 130px !important;
}

html body .template-wrap.page-team table.roster-table th.ROSTER_position,
html body .template-wrap.page-team table.roster-table td:nth-child(7) {
    width: 118px !important;
    text-align: center !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: -1 !important;
    width: 38px !important;
    height: 30px !important;
    transform: translate(-50%, -50%) !important;
    background: linear-gradient(180deg, rgba(17, 67, 111, .92), rgba(6, 28, 51, .96)) !important;
    border: 1px solid rgba(74, 184, 255, .44) !important;
    border-radius: 8px !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell,
html body .template-wrap.page-team table.roster-table td.text-cell[style] {
    overflow: hidden !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell > a:first-child {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    margin-right: 14px !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell .playerphoto,
html body .template-wrap.page-team table.roster-table td.text-cell span.playerphoto {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .86) !important;
    border-radius: 999px !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell .playerphoto img {
    object-fit: cover !important;
    object-position: center top !important;
}

html body .template-wrap.page-team table.roster-table td.text-cell > a:last-child {
    max-width: calc(100% - 60px) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(5) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 880 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(6)[data-sort-value="10000"] {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(6)[data-sort-value="10000"]::after {
    content: "-" !important;
    color: rgba(230, 240, 250, .92) !important;
    -webkit-text-fill-color: rgba(230, 240, 250, .92) !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(6):not([data-sort-value="10000"]):not(:empty)::after {
    content: " cm" !important;
    color: rgba(218, 232, 246, .88) !important;
    -webkit-text-fill-color: rgba(218, 232, 246, .88) !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7) {
    z-index: 1 !important;
    color: #7fd4ff !important;
    -webkit-text-fill-color: #7fd4ff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7)::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: -1 !important;
    width: 31px !important;
    height: 28px !important;
    transform: translate(-50%, -50%) !important;
    background: linear-gradient(180deg, rgba(37, 125, 202, .48), rgba(34, 52, 122, .72)) !important;
    border: 1px solid rgba(88, 171, 255, .38) !important;
    border-radius: 8px !important;
}

html body .template-wrap.page-team table.roster-table tfoot {
    margin-top: 18px !important;
    padding: 16px 20px !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) minmax(180px, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    background:
        linear-gradient(90deg, rgba(17, 74, 121, .68), rgba(9, 38, 67, .88)) !important;
    border: 1px solid rgba(82, 180, 255, .26) !important;
    border-radius: 10px !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr {
    display: contents !important;
}

html body .template-wrap.page-team table.roster-table tfoot td,
html body .template-wrap.page-team table.roster-table tfoot td[style] {
    height: auto !important;
    min-height: 46px !important;
    padding: 0 !important;
    display: none !important;
    align-items: center !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr.rosterAverage td {
    display: flex !important;
    gap: 12px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr.rosterAverage td::before {
    content: "\f0c0" !important;
    color: #35bdff !important;
    -webkit-text-fill-color: #35bdff !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(4),
html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(6) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-left: 64px !important;
    position: relative !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(4)::before,
html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(6)::before {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
    color: #35bdff !important;
    -webkit-text-fill-color: #35bdff !important;
    background: rgba(25, 126, 204, .22) !important;
    border-radius: 999px !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(4)::before {
    content: "\f0c0" !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(4)::after {
    content: "Average Age" !important;
    margin-top: 4px !important;
    color: rgba(214, 229, 244, .76) !important;
    -webkit-text-fill-color: rgba(214, 229, 244, .76) !important;
    font-size: 12px !important;
    font-weight: 760 !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(6)::before {
    content: "\f545" !important;
}

html body .template-wrap.page-team table.roster-table tfoot tr:not(.rosterAverage) td:nth-child(6)::after {
    content: "Average Height" !important;
    margin-top: 4px !important;
    color: rgba(214, 229, 244, .76) !important;
    -webkit-text-fill-color: rgba(214, 229, 244, .76) !important;
    font-size: 12px !important;
    font-weight: 760 !important;
}

html body .template-wrap.page-team table.roster-table .fooicon {
    display: none !important;
}

@media (max-width: 980px) {
    html body .template-wrap.page-team .table-wrap:has(table.roster-table) {
        overflow-x: auto !important;
        padding: 0 12px 14px !important;
    }

    html body .template-wrap.page-team table.roster-table,
    html body .template-wrap.page-team table.tableClass.roster-table {
        min-width: 900px !important;
    }

    html body .template-wrap.page-team table.roster-table tfoot {
        min-width: 900px !important;
    }
}

/* Team Roster - final column labels, badges and averages polish */
html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber {
    font-size: 0 !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber::before {
    content: "#" !important;
    margin-right: 9px !important;
    color: #37c1ff !important;
    -webkit-text-fill-color: #37c1ff !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber::after {
    content: "NUMBER" !important;
    color: #25b9ff !important;
    -webkit-text-fill-color: #25b9ff !important;
    font-size: 10px !important;
    font-weight: 920 !important;
    letter-spacing: .04em !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_height::before {
    content: "\2195" !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_position::before {
    content: "\25ce" !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child {
    z-index: 1 !important;
    isolation: isolate !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child::before {
    z-index: -1 !important;
    width: 40px !important;
    height: 30px !important;
    background: linear-gradient(180deg, rgba(18, 70, 116, .94), rgba(5, 25, 48, .96)) !important;
    border: 1px solid rgba(72, 185, 255, .55) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05) !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7) {
    z-index: 1 !important;
    isolation: isolate !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7)::before {
    z-index: -1 !important;
    width: 34px !important;
    height: 28px !important;
    background: linear-gradient(180deg, rgba(37, 125, 202, .50), rgba(42, 43, 120, .76)) !important;
    border: 1px solid rgba(104, 178, 255, .42) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

html body .template-wrap.page-team table.roster-table tfoot {
    display: none !important;
}

html body .template-wrap.page-team .roster-averages-panel {
    width: 100% !important;
    min-height: 72px !important;
    margin: 18px 0 0 !important;
    padding: 14px 20px !important;
    display: grid !important;
    grid-template-columns: minmax(230px, 1.25fr) minmax(210px, 1fr) minmax(210px, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    background:
        radial-gradient(circle at 10% 35%, rgba(55, 184, 255, .16), transparent 34%),
        linear-gradient(90deg, rgba(14, 67, 111, .72), rgba(8, 35, 63, .92)) !important;
    border: 1px solid rgba(86, 184, 255, .30) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

html body .template-wrap.page-team .roster-averages-title,
html body .template-wrap.page-team .roster-average-item {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
}

html body .template-wrap.page-team .roster-averages-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team .roster-average-icon {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #35bdff !important;
    -webkit-text-fill-color: #35bdff !important;
    background: rgba(25, 126, 204, .22) !important;
    border: 1px solid rgba(93, 186, 255, .22) !important;
    border-radius: 999px !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

html body .template-wrap.page-team .roster-average-main {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

html body .template-wrap.page-team .roster-average-value {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team .roster-average-label {
    margin-top: 5px !important;
    color: rgba(216, 232, 246, .76) !important;
    -webkit-text-fill-color: rgba(216, 232, 246, .76) !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
}

@media (max-width: 900px) {
    html body .template-wrap.page-team .roster-averages-panel {
        min-width: 760px !important;
        grid-template-columns: minmax(200px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) !important;
    }
}

/* Team Roster - stable cell badges */
html body .template-wrap.page-team table.roster-table tbody td:first-child {
    background-image: linear-gradient(180deg, rgba(18, 70, 116, .94), rgba(5, 25, 48, .96)) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 40px 30px !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child::before {
    content: none !important;
    display: none !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7) {
    background-image: linear-gradient(180deg, rgba(37, 125, 202, .50), rgba(42, 43, 120, .76)) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 34px 28px !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(7)::before {
    content: none !important;
    display: none !important;
}

/* Team Roster - real badges for Number and Position */
html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber,
html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber[style] {
    padding: 0 8px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber::before,
html body .template-wrap.page-team table.roster-table thead th.ROSTER_shirtNumber::after {
    content: none !important;
    display: none !important;
}

html body .template-wrap.page-team table.roster-table .roster-number-head {
    width: 100% !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: #25b9ff !important;
    -webkit-text-fill-color: #25b9ff !important;
    font-size: 10px !important;
    font-weight: 920 !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

html body .template-wrap.page-team table.roster-table .roster-number-head-icon {
    color: #37c1ff !important;
    -webkit-text-fill-color: #37c1ff !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:first-child,
html body .template-wrap.page-team table.roster-table tbody td:first-child[style],
html body .template-wrap.page-team table.roster-table tbody td:nth-child(7),
html body .template-wrap.page-team table.roster-table tbody td:nth-child(7)[style] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center !important;
    background-image: none !important;
}

html body .template-wrap.page-team table.roster-table .roster-number-badge {
    width: 40px !important;
    min-width: 40px !important;
    height: 30px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(180deg, rgba(18, 70, 116, .96), rgba(5, 25, 48, .98)) !important;
    border: 1px solid rgba(72, 185, 255, .58) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05) !important;
    font-size: 13px !important;
    font-weight: 920 !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team table.roster-table .roster-position-badge {
    width: 34px !important;
    min-width: 34px !important;
    height: 28px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7fd4ff !important;
    -webkit-text-fill-color: #7fd4ff !important;
    background: linear-gradient(180deg, rgba(37, 125, 202, .54), rgba(42, 43, 120, .80)) !important;
    border: 1px solid rgba(104, 178, 255, .46) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team table.roster-table .roster-position-f {
    color: #ddbfff !important;
    -webkit-text-fill-color: #ddbfff !important;
    background: linear-gradient(180deg, rgba(118, 66, 164, .58), rgba(50, 35, 95, .82)) !important;
    border-color: rgba(177, 120, 255, .44) !important;
}

html body .template-wrap.page-team table.roster-table .roster-position-c {
    color: #8ff4ec !important;
    -webkit-text-fill-color: #8ff4ec !important;
    background: linear-gradient(180deg, rgba(18, 128, 132, .54), rgba(21, 72, 86, .84)) !important;
    border-color: rgba(104, 235, 225, .42) !important;
}

/* Team Roster - round nationality flags */
html body .template-wrap.page-team table.roster-table .roster-flag {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    background: rgba(255, 255, 255, .98) !important;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 1px rgba(58, 174, 255, .18) !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team table.roster-table .roster-flag-code {
    margin-left: 10px !important;
    color: rgba(244, 250, 255, .96) !important;
    -webkit-text-fill-color: rgba(244, 250, 255, .96) !important;
    font-size: 13px !important;
    font-weight: 880 !important;
    line-height: 1 !important;
}

html body .template-wrap.page-team table.roster-table tbody td:nth-child(5) {
    white-space: nowrap !important;
}
