/* Teams index, team page, expected points: built on the shared card, tile, asset and heat pieces. */
.tm-logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.tm-sm { width: 22px; height: 22px; object-fit: contain; flex: none; }
.p-hero img.tm-big, .p-hero .tm-big { border-radius: 0; background: none; object-fit: contain; }
.tm-div + .tm-div { margin-top: 28px; }
.tm-div h2 { font-size: 15px; letter-spacing: .1em; margin-bottom: 12px; color: var(--text-3); }
.tm-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-grid > .card { margin-top: 0; }
.tm-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-width: 0; transition: border-color .15s ease; }
.tm-card:hover { border-color: var(--line-2); }
.tm-card .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-head.tm-wrap { flex-wrap: wrap; gap: 4px 12px; }
.tm-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.depth { display: grid; gap: 4px 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.depth h4 { margin: 0; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.depth .asset:last-child { border-bottom: 0; }
.depth .pc { min-width: 0; }
.depth .pc .meta { white-space: normal; }

.sched { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sched:last-child { border-bottom: 0; }
.sched.now { background: rgba(152, 224, 40, .07); box-shadow: inset 2px 0 0 var(--lime); margin: 0 -12px; padding: 9px 12px; border-radius: var(--r-sm); }
.sched .wk { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.sched .opp { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.sched .opp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched .opp:hover { color: var(--lime); }
.sched .res { font-variant-numeric: tabular-nums; font-size: 13px; text-align: right; }
.sched .defs { grid-column: 2 / -1; display: flex; gap: 4px; flex-wrap: wrap; }
.sched .defs .heat { min-width: 0; padding: 1px 6px; font-size: 11px; }

.xfp-calls > .card { margin-top: 0; }

/* player page: xFP beside the points it was scored against */
.chart .col .pair { flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.chart .col .pair i { max-width: 15px; }
.chart .col .pair i.x { background: transparent; border: 1px solid var(--chrome); }
.xv { font-family: var(--display); font-size: 32px; line-height: 1.1; font-weight: 700; }
.xfp-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--chrome); vertical-align: -1px; margin-right: 4px; }

@media (max-width: 1100px) {
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
}
@media (max-width: 640px) {
  .tm-grid, .depth { grid-template-columns: minmax(0, 1fr); }
  .tm-card { padding: 12px 14px; }
  .p-hero img.tm-big, .p-hero .tm-big { width: 64px; height: 64px; }
}
