.team-profile-scope{color:var(--sub);font-size:12px;margin:0 0 10px;text-align:right}.team-season-match.mr{grid-template-columns:minmax(110px,180px) 1fr 70px 1fr 32px;column-gap:12px}.team-match-context{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;color:var(--sub)}.team-match-context strong{color:var(--org);font-size:12px}.team-match-context span{white-space:normal}.team-season-match .sc{min-width:0;white-space:normal}.team-season-match .match-card-media svg{width:16px;height:16px}.team-palmares{margin-top:16px}.team-palmares-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.team-palmares-heading h3,.team-season-history h3{font-size:15px;margin:0}.team-palmares-heading>span{font-size:12px;color:var(--sub)}.team-title-card{display:flex;align-items:center;gap:18px;width:100%;box-sizing:border-box;padding:24px;margin-bottom:12px;border:1px solid var(--org);border-radius:16px;background:radial-gradient(ellipse at 0 0,#ff800020,transparent 65%),linear-gradient(125deg,#170d1a,#09091b 75%);color:var(--txt);font:inherit;text-align:left;cursor:pointer}.team-title-card:hover,.team-title-card:focus-visible{background:linear-gradient(125deg,#ff800028,#09091b);outline:1px solid var(--org);text-decoration:none}.team-title-card>span:not(.team-title-arrow){display:flex;flex-direction:column;gap:7px}.team-title-card strong{font-size:19px}.team-title-card small{font-size:13px;color:var(--sub)}.team-title-arrow{margin-left:auto;color:var(--org);font-size:28px}.team-season-history{margin-top:24px;border:1px solid var(--brd);border-radius:12px;padding:16px}.team-history-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--brd);font-size:12px}.team-history-row:last-child{border-bottom:0}.team-history-row span{color:var(--sub)}.t-tabs .t-tab svg{width:14px;height:14px;vertical-align:-2px;margin-right:4px}
@media(max-width:650px){.team-season-match.mr{grid-template-columns:1fr 54px 1fr 28px;gap:8px;padding:10px}.team-match-context{grid-column:1/-1;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-bottom:4px;font-size:10px}.team-match-context strong{font-size:10px}.team-season-match .th,.team-season-match .ta{font-size:11px;line-height:1.3}.team-season-match .sc{font-size:13px}.team-title-card{padding:20px 16px;gap:14px}.team-title-card strong{font-size:17px}.team-palmares-heading{align-items:flex-start;flex-direction:column;gap:5px}.team-history-row{flex-wrap:wrap;gap:6px}.team-profile-scope{font-size:11px}}
.tsbar.team-profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
/* Keep the new context column independent of the legacy four-column match grid. */
body .team-season-match.mr:has(>.th):has(>.ta){grid-template-columns:minmax(140px,180px) minmax(0,1fr) 70px minmax(0,1fr) 28px!important}
body .team-season-match.mr>.sc{grid-column:3}
body .team-season-match.mr>.th,body .team-season-match.mr>.ta{min-width:0;white-space:normal;text-overflow:clip;line-height:1.3}
@media(max-width:650px){body .team-season-match.mr:has(>.th):has(>.ta){grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) 24px!important;gap:6px}body .team-season-match.mr>.sc{grid-column:2}}
body .team-season-match.mr:has(>.th):has(>.ta)>.sc{grid-column:3}
@media(max-width:650px){body .team-season-match.mr:has(>.th):has(>.ta)>.sc{grid-column:2}body .team-season-match.mr>.th{grid-column:1}body .team-season-match.mr>.ta{grid-column:3}body .team-season-match.mr>.match-card-media,body .team-season-match.mr>span{grid-column:4}body .team-season-match.mr>.match-card-media{width:24px;height:28px;padding:0}}
/* Shared position headings: the same orange used by the team forms. */
.cromo-grp-hd{color:var(--org)}
.team-honours-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px;align-items:start}.team-honours-group{border:1px solid var(--org);border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 0 0,#ff800020,transparent 70%),linear-gradient(125deg,#170d1a,#09091b 75%)}.team-honours-header{display:flex;align-items:center;gap:14px;width:100%;padding:20px;color:var(--txt);font:inherit;text-align:left;background:none;border:0;cursor:pointer}.team-honours-header>strong{font-size:17px;line-height:1.3;flex:1;min-width:0}.team-honours-header>.champion-trophy{width:38px;height:42px}.team-honours-total{display:flex;flex-direction:column;align-items:center;font-weight:800;font-size:25px;color:var(--org);line-height:1.1}.team-honours-total small{font-size:10px;font-weight:500;margin-top:4px;color:var(--sub)}.team-honours-editions{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 20px}.team-honours-edition{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--brd);border-radius:7px;background:#ffffff05;color:var(--txt);font:inherit;font-size:13px;padding:9px 12px;cursor:pointer;min-width:120px}.team-honours-edition>span:last-child{color:var(--org);font-size:18px;line-height:1}.team-honours-header:hover{color:var(--org);background:#ff80000a}.team-honours-edition:hover{border-color:var(--org);color:var(--org);background:#ff800012}.team-honours-header:focus-visible,.team-honours-edition:focus-visible{outline:2px solid var(--org);outline-offset:-3px}

/* Compact seasons: text links, at most four per row. */
.team-honours-editions{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:7px 5px;max-width:320px;box-sizing:content-box}
.team-honours-edition{display:inline-block;min-width:0;border:0;border-radius:0;background:none;padding:0;white-space:nowrap;text-align:left;font-size:12px;line-height:1.6;color:var(--txt)}
.team-honours-edition>span:last-child{font:inherit;color:inherit;line-height:inherit}.team-honours-edition:not(:last-child)::after{content:',';color:var(--sub);margin-left:1px}
.team-honours-edition:hover{background:none;color:var(--org)}
body.capacitor .team-honours-edition{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--sub)}

.team-palmares-scope{font-size:11px;font-weight:400;color:var(--sub);margin-left:4px;white-space:nowrap}

.team-honours-header{cursor:default}.team-honours-header:hover{color:var(--txt);background:none}
