.team-page { background: #061427; }
.header-back { justify-self: end; color: var(--cyan); font-size: 24px; text-decoration: none; }
.team-breadcrumbs { max-width: 1440px; margin: auto; padding: 22px 5vw 0; display: flex; justify-content: flex-start; gap: 9px; color: var(--steel); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.team-breadcrumbs a { padding: 0; color: var(--white); }
.team-breadcrumbs a::after { display: none; }

.team-hero { max-width: 1440px; min-height: 650px; margin: auto; padding: 68px 5vw 88px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; position: relative; overflow: hidden; }
.team-hero::before { content: ""; position: absolute; width: 520px; height: 310px; left: -80px; bottom: -110px; border: 1px solid rgba(33,212,253,.15); border-radius: 50%; transform: rotate(-13deg); box-shadow: 0 0 0 54px rgba(243,245,247,.015), 0 0 0 108px rgba(243,245,247,.01); }
.team-hero > * { position: relative; }
.team-hero__identity > strong { display: block; color: rgba(243,245,247,.05); font: 900 clamp(140px, 18vw, 270px)/.68 var(--display); letter-spacing: -.07em; }
.team-hero h1 { margin: -6px 0 0; font: 900 clamp(55px, 6.5vw, 100px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.04em; }
.team-hero h1 em { color: var(--red); font-style: normal; }
.team-hero__brief { padding: 32px; border: 1px solid rgba(33,212,253,.28); background: rgba(13,39,72,.88); box-shadow: 16px 16px 0 rgba(224,68,74,.08); }
.team-hero__brief > span { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.team-hero__brief h2 { margin: 18px 0 14px; font: 900 30px/1 var(--display); text-transform: uppercase; }
.team-hero__brief p { margin: 0 0 26px; color: #cad4df; font-size: 15px; line-height: 1.65; }

.team-status { padding: 96px 5vw 108px; background: var(--white); color: var(--navy); }
.team-section-heading { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 1fr 440px; gap: 50px; align-items: end; }
.team-section-heading h2 { margin: 0; font: 900 clamp(42px, 5vw, 74px)/.91 var(--display); text-transform: uppercase; letter-spacing: -.035em; }
.team-section-heading > p { margin: 0; color: #5a6b80; font-size: 13px; line-height: 1.65; }
.status-grid { max-width: 1440px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d7dee6; border: 1px solid #d7dee6; }
.status-grid article, .status-grid a { min-width: 0; min-height: 180px; padding: 25px; display: flex; flex-direction: column; background: white; color: var(--navy); text-decoration: none; }
.status-grid a:hover, .status-grid a:focus-visible { position: relative; background: #f2f6f9; box-shadow: inset 0 4px 0 var(--cyan); }
.status-grid b { color: var(--red); font: 900 12px var(--display); }
.status-grid h3 { margin: auto 0 14px; font: 900 30px var(--display); text-transform: uppercase; }
.status-grid span { padding-top: 11px; border-top: 1px solid #d7dee6; color: #6f7d8f; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.status-grid span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border: 1px solid var(--red); border-radius: 50%; }

.team-data-root { min-width: 0; }
.team-data-section, .team-tools { padding: 100px 5vw 110px; scroll-margin-top: 86px; }
.team-data-section--light { background: #f3f5f7; color: var(--navy); }
.team-data-section--dark, .team-tools { background: #061427; color: var(--white); }
.team-data-heading { width: 100%; max-width: 1440px; margin: 0 auto 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 42px; align-items: end; }
.team-data-heading > div { min-width: 0; }
.team-data-heading h2 { max-width: 940px; margin: 0; font: 900 clamp(42px, 5vw, 76px)/.9 var(--display); letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.team-data-heading h2 span { color: var(--red); }
.team-data-heading p:last-child { max-width: 780px; margin: 18px 0 0; color: #607187; font-size: 14px; line-height: 1.65; }
.team-data-section--dark .team-data-heading p:last-child, .team-tools .team-data-heading p:last-child { color: var(--steel); }
.team-data-heading label, .data-toolbar label { display: grid; gap: 8px; color: currentColor; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.team-data-heading select, .data-toolbar select, .data-toolbar input { min-width: 150px; min-height: 48px; padding: 0 14px; border: 1px solid #bac5d1; border-radius: 0; background: white; color: var(--navy); font: 800 13px var(--sans); }
.team-data-section--dark .data-toolbar select, .team-data-section--dark .data-toolbar input { border-color: var(--rule); background: var(--blue); color: var(--white); }
.season-record, .games-summary { max-width: 1440px; margin: 0 auto 1px; padding: 30px; display: flex; gap: 26px; align-items: end; background: var(--navy); color: var(--white); }
.season-record strong { color: var(--cyan); font: 900 clamp(54px, 7vw, 96px)/.75 var(--display); letter-spacing: -.04em; }
.season-record span, .games-summary span { padding-bottom: 3px; color: var(--steel); font-size: 13px; line-height: 1.5; }
.metric-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #cfd8e1; border: 1px solid #cfd8e1; }
.metric-card { min-width: 0; min-height: 215px; padding: 25px; display: flex; flex-direction: column; background: white; }
.metric-card small { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.metric-card strong { margin: auto 0 16px; font: 900 clamp(38px, 4vw, 60px)/.85 var(--display); letter-spacing: -.03em; }
.metric-card p { min-height: 46px; margin: 0; padding-top: 14px; border-top: 1px solid #dbe2e8; color: #607187; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.data-deep-link { max-width: 1440px; margin: 20px auto 0; padding: 18px 20px; display: block; border: 1px solid currentColor; color: var(--red); font: 900 11px var(--display); letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; }
.team-data-section--dark .data-deep-link { color: var(--cyan); }
.data-deep-link:hover, .data-deep-link:focus-visible { background: var(--red); border-color: var(--red); color: white; }
.data-count { display: grid; justify-items: end; color: var(--cyan); font: 900 80px/.75 var(--display); }
.data-count small { margin-top: 12px; color: var(--steel); font: 900 9px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.data-toolbar { max-width: 1440px; margin: 0 auto 16px; padding: 18px; display: flex; gap: 14px; background: var(--blue); border: 1px solid var(--rule); }
.data-toolbar label:first-child { flex: 1; }
.data-toolbar input { width: 100%; }
.roster-list, .games-list { max-width: 1440px; margin: auto; border-top: 1px solid var(--rule); }
.roster-row { min-width: 0; min-height: 104px; padding: 18px 20px; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 30px; align-items: center; border: 1px solid var(--rule); border-top: 0; background: var(--blue); }
.roster-row__identity { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.roster-row__identity > span { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--cyan); color: var(--cyan); font: 900 12px var(--display); }
.roster-row__identity strong { min-width: 0; font: 900 20px/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.roster-row__identity small { color: var(--steel); font-size: 9px; text-transform: uppercase; }
.roster-row__stats { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; color: var(--steel); font-size: 10px; line-height: 1.35; }
.roster-row__stats span { min-width: 0; padding-left: 12px; border-left: 1px solid var(--rule); overflow-wrap: anywhere; }
.roster-row__stats b { display: block; margin-bottom: 3px; color: var(--white); font: 900 18px var(--display); }
.data-more { max-width: 1440px; width: 100%; min-height: 52px; margin: 16px auto 0; display: block; border: 1px solid var(--cyan); background: transparent; color: var(--cyan); font: 900 10px var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.data-more:hover, .data-more:focus-visible { background: var(--cyan); color: var(--navy); }
.data-more--light { border-color: var(--navy); color: var(--navy); }
.data-more--light:hover, .data-more--light:focus-visible { background: var(--navy); color: var(--white); }
.data-empty { padding: 28px 20px; border: 1px solid var(--rule); color: var(--steel); }
.games-summary { justify-content: space-between; align-items: center; }
.games-summary strong { font: 900 24px var(--display); text-transform: uppercase; }
.game-row { min-width: 0; min-height: 82px; padding: 14px 18px; display: grid; grid-template-columns: 44px minmax(170px, 1fr) 100px 90px 75px; gap: 15px; align-items: center; border: 1px solid #d6dee6; border-top: 0; background: white; color: var(--navy); text-decoration: none; }
.game-row:hover, .game-row:focus-visible { position: relative; border-color: var(--cyan); box-shadow: inset 4px 0 0 var(--cyan); }
.game-row__result { width: 38px; height: 38px; display: grid; place-items: center; background: #e4e9ee; color: var(--navy); font: 900 15px var(--display); }
.game-row__result.win { background: #d7f6ee; color: #006c56; }
.game-row__result.loss { background: #ffe1e3; color: #a41923; }
.game-row__meta { min-width: 0; display: grid; gap: 4px; }
.game-row__meta b { font: 900 12px var(--display); text-transform: uppercase; }
.game-row__meta small { color: #65758a; font-size: 10px; }
.game-row__opponent { color: #65758a; font-size: 11px; }
.game-row__opponent b { color: var(--navy); font: 900 20px var(--display); }
.game-row__score { font: 900 26px var(--display); letter-spacing: -.03em; }
.game-row__action { color: var(--red); font-size: 9px; font-weight: 900; text-align: right; text-transform: uppercase; }
.team-tools { border-top: 1px solid var(--rule); }
.tool-grid { max-width: 1440px; margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tool-grid a { min-width: 0; min-height: 250px; padding: 24px; display: flex; flex-direction: column; background: var(--blue); color: var(--white); text-decoration: none; }
.tool-grid a:hover, .tool-grid a:focus-visible { background: #0c2443; box-shadow: inset 0 4px 0 var(--cyan); }
.tool-grid small { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.tool-grid strong { margin: auto 0 20px; font: 900 31px/.95 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.tool-grid span { padding-top: 14px; border-top: 1px solid var(--rule); color: var(--steel); font-size: 10px; line-height: 1.5; }

.team-lenses { padding: 100px 5vw 112px; background: var(--blue); }
.team-section-heading--light { color: var(--white); }
.team-section-heading--light > p { color: var(--steel); }
.lens-grid { max-width: 1440px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.lens-grid a { min-height: 320px; padding: 27px; display: flex; flex-direction: column; background: var(--navy); text-decoration: none; }
.lens-grid a:hover { background: #0b213f; }
.lens-grid span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.lens-grid strong { margin: auto 0 18px; font: 900 39px/.95 var(--display); text-transform: uppercase; }
.lens-grid p { min-height: 62px; margin: 0; color: var(--steel); font-size: 12px; line-height: 1.55; }
.lens-grid b { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--rule); color: var(--cyan); font: 900 10px var(--display); text-transform: uppercase; letter-spacing: .1em; }

.team-iq { padding: 110px 5vw; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: start; background: #061427; }
.team-iq > div:first-child { position: sticky; top: 120px; }
.team-iq h2 { margin: 0; font: 900 clamp(44px, 5vw, 74px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.035em; }
.team-iq h2 em { color: var(--red); font-style: normal; }
.team-iq > div:first-child > p:last-child { max-width: 620px; color: var(--steel); font-size: 15px; line-height: 1.7; }
.team-iq__questions { display: grid; gap: 12px; }
.team-iq__questions a { min-height: 180px; padding: 25px; display: grid; grid-template-columns: 1fr auto; gap: 15px; background: var(--blue); border: 1px solid var(--rule); text-decoration: none; }
.team-iq__questions a:hover { border-color: var(--cyan); }
.team-iq__questions small { grid-column: 1 / -1; color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.team-iq__questions strong { max-width: 580px; align-self: end; font: 900 25px/1.12 var(--display); text-transform: uppercase; }
.team-iq__questions span { align-self: end; color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.division-room { padding: 98px 5vw; background: var(--white); color: var(--navy); }
.division-room > div:first-child, .rival-grid, .team-data-error { max-width: 1440px; margin-left: auto; margin-right: auto; }
.division-room h2 { margin: 0; font: 900 clamp(45px, 6vw, 82px)/.9 var(--display); text-transform: uppercase; }
.division-room > div:first-child > p:last-child { color: #65758a; }
.rival-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rival-grid > p { grid-column: 1 / -1; color: #65758a; }
.rival-grid a { min-height: 190px; padding: 25px; display: flex; flex-direction: column; border: 1px solid #d5dde6; border-top: 4px solid var(--navy); text-decoration: none; }
.rival-grid a:hover { border-top-color: var(--red); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(8,26,51,.1); }
.rival-grid strong { color: var(--red); font: 900 45px/.9 var(--display); }
.rival-grid span { margin: auto 0 14px; font: 900 21px var(--display); text-transform: uppercase; }
.rival-grid b { padding-top: 12px; border-top: 1px solid #d5dde6; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.team-data-error { margin-top: 30px; padding: 22px; border-left: 4px solid var(--red); background: #eef1f5; }
.team-data-error a { display: inline-block; margin-left: 14px; }

.team-provenance { padding: 35px 5vw; display: grid; grid-template-columns: 190px minmax(300px, 1fr) auto; gap: 28px; align-items: center; background: var(--blue); border-top: 1px solid var(--rule); color: var(--steel); }
.team-provenance strong { color: var(--white); font: 900 16px var(--display); text-transform: uppercase; }
.team-provenance p { margin: 0; font-size: 11px; line-height: 1.6; }
.team-provenance a { color: var(--cyan); font-size: 10px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.team-provenance small { grid-column: 2 / -1; padding-top: 14px; border-top: 1px solid var(--rule); }

@media (max-width: 1050px) { .lens-grid { grid-template-columns: repeat(2, 1fr); } .status-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .team-hero, .team-section-heading, .team-iq, .team-data-heading { grid-template-columns: minmax(0, 1fr); } .team-iq > div:first-child { position: static; } .team-provenance { grid-template-columns: minmax(0, 1fr); } .team-provenance small { grid-column: 1; } .data-count { width: 100%; max-width: 100%; display: block; overflow: hidden; } .data-count > span, .data-count > small { width: 100%; max-width: 100%; display: block; } .roster-row { grid-template-columns: minmax(0, 1fr); } .game-row { grid-template-columns: 44px minmax(0, 1fr) 75px; } .game-row__opponent { grid-column: 2; } .game-row__score { grid-column: 3; grid-row: 1; } .game-row__action { grid-column: 3; grid-row: 2; } }
@media (max-width: 620px) { .team-hero, .team-status, .team-lenses, .team-iq, .division-room, .team-data-section, .team-tools { padding-left: 18px; padding-right: 18px; } .team-hero { min-height: 580px; } .team-hero h1 { font-size: clamp(47px, 15vw, 60px); overflow-wrap: anywhere; } .team-hero__identity > strong { font-size: 120px; } .team-hero__brief { padding: 24px; } .status-grid, .lens-grid, .rival-grid, .metric-grid, .tool-grid { grid-template-columns: 1fr; } .team-iq__questions a { grid-template-columns: 1fr; } .team-iq__questions span { align-self: auto; } .team-data-heading h2 { font-size: clamp(40px, 13vw, 58px); } .data-toolbar { flex-direction: column; } .roster-row__stats { grid-template-columns: 1fr; } .roster-row__stats span { padding: 8px 0 0; border-top: 1px solid var(--rule); border-left: 0; } .season-record { align-items: flex-start; flex-direction: column; } .game-row { padding: 14px 12px; grid-template-columns: 38px minmax(0, 1fr) 66px; gap: 10px; } .game-row__result { width: 34px; height: 34px; } .game-row__opponent b { font-size: 17px; } .game-row__score { font-size: 21px; } .game-row__action { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { .rival-grid a { transition: none; } }
