.info-container .team-board-title { font-size: 1rem; }
.info-container > .team-intro, .info-container > .team-selection { min-width: 0; }
.team-intro > img { display: block; width: 110px; height: 120px; object-fit: contain; margin: 16px auto; }
#team-warnings:empty { display: none; }
.team-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.team-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#team-view, #team-board { font: inherit; padding: 8px 14px; margin: 8px 0; color: var(--mp-text-primary-color); background: var(--mp-button-background-color); }
.team-details-table .team-value-column { width: 120px; }
.team-details-table .team-player-row td { padding: 12px 4px; }
.team-bonus { display: block; font-size: .65rem; margin-top: 5px; color: var(--mp-text-secondary-color); }
.team-empty { padding: 16px; color: var(--mp-text-secondary-color); }
.team-table .team-name a { color: var(--mp-text-primary-color); }
#team-status, #team-warnings { font-size: .85rem; color: var(--mp-text-secondary-color); }
.team-table { table-layout: fixed; background: var(--mp-field-background-color); border-radius: var(--border-radius-0); overflow: hidden; }
.team-table td, .team-table th { text-align: center; padding: 8px 3px; }
.team-table tbody td { border-top: 0; }
.team-table .team-player-row td, .team-table .table-skeleton-row td { border-top: 1px solid var(--mp-card-background-color); }
.team-table .team-rank { width: 56px; font-size: .8rem; }
.team-table .team-name { text-align: left; font-size: .85rem; line-height: 1.2; overflow-wrap: anywhere; }
.team-table .team-criteria { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; text-align: left; font-size: .8rem; line-height: 1.3; padding: 4px 10px 16px; }
.team-criteria .final-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.team-criteria .final-reasons li + li { margin-top: 0; }
.team-criteria .final-reasons li { display: flex; align-items: baseline; gap: 8px; }
.team-score { flex-shrink: 0; color: #7bd8a3; background: rgba(123,216,163,.15); padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.team-table .team-title { width: 60px; font-size: .8rem; }
.team-contender { background: rgba(123,216,163,.08); }
.team-table .table-skeleton-row { height: 54px; }
.team-table .team-total { width: 50px; font-weight: 700; }
@media (max-width: 600px) {
    .team-table { width: calc(100% + 2 * var(--padding-2)); margin-left: calc(-1 * var(--padding-2)); border-radius: 0; }
    .team-table td, .team-table th { padding: 6px 2px; }
    .team-table .team-rank { width: 38px; font-size: 11px; }
    .team-table .team-name { font-size: 14px; padding-left: 4px; }
    .team-table .team-criteria { font-size: 11px; padding: 4px 8px 14px; }
    .team-criteria .final-reasons { gap: 4px 8px; }
    .team-criteria .final-reasons li { gap: 4px; }
    .team-table .team-title { width: 52px; font-size: 11px; }
    .team-table .team-total { width: 40px; font-size: 12px; }
    .team-details-table .team-value-column { width: 70px; font-size: 11px; }
}
@media (min-width: 601px) {
    .team-intro { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 24px; align-items: center; }
    .team-intro > img { grid-row: 1 / 3; margin: 0; }
    .team-intro > h2, .team-intro > p { grid-column: 2; }
}
.team-table thead th[class] { font-size: .8rem; }
@media (max-width: 600px) {
    .team-table thead th[class] { font-size: 11px; }
}
.team-details-table .team-value-column { width: 140px; text-align: right; white-space: nowrap; }
.team-details-table .team-total { width: 60px; white-space: nowrap; }
@media (max-width: 600px) {
    .team-details-table .team-value-column { width: 105px; }
    .team-details-table .team-total { width: 45px; }
}
