/* Team sheets: a responsive football oval, built from readable HTML links. */
.mc-lineups-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 4px 20px; }
.mc-lineups-eyebrow { color: #697871; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mc-lineups-heading h2 { margin: 4px 0 0; color: #173e33; font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.035em; }
.mc-lineups-direction { display: flex; gap: 8px; align-items: center; color: #567267; font-size: 11px; font-weight: 600; }
.mc-lineups-direction > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #cbdcd3; font-size: 18px; }
.mc-lineups-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.mc-lineup-team { min-width: 0; padding: 0 14px 16px; background: #f0f5f0; border: 1px solid #dbe5dc; border-radius: 18px; overflow: hidden; }
.mc-lineup-team-header { display: flex; align-items: center; gap: 11px; min-height: 90px; margin: 0 -14px; padding: 16px; background: #fff; border-top: 4px solid var(--lineup-primary); }
.mc-lineup-team-header img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.mc-lineup-team-header h3 { margin: 3px 0 0; font-size: clamp(16px, 1.7vw, 21px); font-weight: 800; letter-spacing: -.025em; color: #172d24; }
.mc-lineup-side { font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #738078; }
.mc-lineup-source { margin-left: auto; border: 1px solid #e3e8e4; padding: 5px 8px; border-radius: 5px; color: #5b6c62; font-size: 9px; font-weight: 700; white-space: nowrap; }
.mc-lineup-note { font-size: 11px; color: #5b6c62; line-height: 1.5; margin: 13px 2px 8px; min-height: 17px; }
.mc-lineup-ground { position: relative; isolation: isolate; padding: 70px 15px 88px; color: #fff; }
.mc-lineup-markings { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 5px #143b2510); }
.mc-lineup-formation { display: grid; gap: 10px; }
.mc-lineup-line { min-width: 0; }
.mc-lineup-line h4 { margin: 0 0 5px; font-size: 8px; font-weight: 600; line-height: 1.2; letter-spacing: .17em; text-align: center; text-transform: uppercase; color: #c4d9cd; }
.mc-lineup-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; min-height: 89px; align-items: start; }
.mc-lineup-line:is(:first-child, :last-child) .mc-lineup-row { width: 78%; margin-inline: auto; }
.mc-lineup-player { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 3px 2px 4px; color: inherit; text-decoration: none; border-radius: 7px; transition: background .16s, transform .16s; }
a.mc-lineup-player:hover { color: inherit; background: #ffffff19; text-decoration: none; transform: translateY(-2px); }
a.mc-lineup-player:focus-visible { outline: 2px solid #f1d789; outline-offset: 2px; background: #ffffff19; }
.mc-lineup-guernsey { position: relative; display: grid; place-items: center; width: 39px; height: 37px; color: var(--lineup-contrast); background: var(--lineup-primary); clip-path: polygon(25% 0, 40% 7%, 60% 7%, 75% 0, 100% 18%, 83% 36%, 75% 29%, 75% 100%, 25% 100%, 25% 29%, 17% 36%, 0 18%); }
.mc-lineup-guernsey::before { content: ''; position: absolute; top: 6px; left: 24%; width: 52%; height: 2px; background: currentColor; opacity: .75; }
.mc-lineup-guernsey > span { padding-top: 9px; font-size: 16px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-lineup-name { max-width: 100%; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; overflow-wrap: normal; text-wrap: balance; }
.mc-lineup-ground .mc-lineup-name { border-radius: 4px; padding: 1px 3px; }
.mc-lineup-position { font-size: 8px; color: #c6ded0; letter-spacing: .07em; line-height: 1.3; }
.mc-lineup-vacant { grid-column: 1 / -1; align-self: center; text-align: center; color: #c6ded0; font-size: 10px; }
.mc-lineup-ground--empty { min-height: 450px; display: grid; place-items: center; }
.mc-lineup-awaiting { display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 220px; font-size: 12px; line-height: 1.5; color: #bfd5c8; }
.mc-lineup-awaiting strong { font-size: 17px; color: #fff; }
.mc-lineup-awaiting-icon { border: 1px solid #ffffff44; border-radius: 50%; width: 44px; height: 44px; font-size: 27px; }
.mc-lineup-bench { margin: 16px 0 0; border-top: 1px solid #d7e2d7; padding-top: 13px; }
.mc-lineup-bench h4 { margin: 0 0 9px; display: flex; gap: 7px; align-items: center; color: #54675b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.mc-lineup-bench h4 > span { display: grid; place-items: center; width: 17px; height: 17px; background: #dce8dc; border-radius: 50%; font-size: 9px; }
.mc-lineup-bench-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 6px; }
.mc-lineup-bench .mc-lineup-player { color: #203c2c; }
.mc-lineup-bench .mc-lineup-position { color: #61776a; }
.mc-lineup-bench a.mc-lineup-player:hover { background: #dfeadf; }
.mc-lineup-bench a.mc-lineup-player:focus-visible { outline-color: #246b55; }
@media (max-width: 1100px) and (min-width: 761px) {
    .mc-lineup-team-header { flex-wrap: wrap; gap: 8px; }
    .mc-lineup-source { font-size: 8px; }
    .mc-lineup-team { padding-left: 8px; padding-right: 8px; }
    .mc-lineup-team-header { margin-left: -8px; margin-right: -8px; }
    .mc-lineup-ground { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 760px) {
    .mc-lineups-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .mc-lineup-team { max-width: 540px; width: 100%; justify-self: center; }
    .mc-lineups-heading { gap: 10px; }
    .mc-lineups-direction { font-size: 10px; max-width: 100px; }
}
@media (max-width: 380px) {
    .mc-lineup-team { padding-left: 7px; padding-right: 7px; }
    .mc-lineup-team-header { margin-left: -7px; margin-right: -7px; padding: 12px 10px; gap: 7px; }
    .mc-lineup-source { padding: 4px; font-size: 8px; }
    .mc-lineup-name { font-size: 11px; }
    .mc-lineup-ground { padding-left: 5px; padding-right: 5px; }
}
@media (max-width: 480px) { .mc-lineup-ground .mc-lineup-name { font-size: 11px; padding-inline: 0; } }
@media (prefers-reduced-motion: reduce) { .mc-lineup-player { transition: none; } }
