
.tm-head { position: relative; overflow: hidden; isolation: isolate; margin: 0 0 22px; padding: 22px 20px 20px; background: var(--tc1); color: var(--tink); border-bottom: 6px solid var(--tc2); }
.tm-head .ped-k { margin: 0 0 6px; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; }
.tm-head h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 8vw, 3.3rem); line-height: 1.02; display: flex; align-items: center; gap: 12px; color: inherit; }
.tm-head h1 .chip { width: 0.62em; height: 0.62em; flex: none; box-shadow: 0 0 0 2px #ffffff; }
.tm-head .ped-mascot { margin: 6px 0 14px; font-family: var(--label); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.04em; }
.tm-head .ped-stats { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-head .ped-stats span { background: rgba(255, 255, 255, 0.94); color: #14171f; font-family: var(--label); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; padding: 5px 10px 4px; border-radius: 2px; }
.tm-next { display: grid; gap: 4px; margin: 0 0 28px; padding: 14px 18px; background: var(--panel); border-left: 6px solid var(--tc2); }
.tm-next .k { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--muted); margin: 0; }
.tm-next .m { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin: 0; }
.tm-next .m a, .tm-sched .opp a, .tm-stand a, .tm-facts a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
.tm-next .w { margin: 0; color: var(--muted); }
.tm-cols { display: grid; gap: 0 40px; }
@media (min-width: 900px) { .tm-cols { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.tm-sched { list-style: none; margin: 0; padding: 0; font-family: var(--label); font-size: 1.05rem; }
.tm-sched li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.tm-sched li:first-child { border-top: 1px solid var(--rule); }
.tm-sched .d { color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.tm-sched .opp { font-weight: 600; letter-spacing: 0.01em; min-width: 0; }
.tm-sched .opp .va { font-weight: 500; color: var(--muted); }
.tm-sched .r { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.tm-sched .r.l { color: var(--muted); font-weight: 600; }
.tm-sched .r.up { font-weight: 500; color: var(--muted); font-size: 0.92rem; }
.tm-sched .cov { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; } /* the badges run the whole row, under the date, so Preview, Halftime and Recap fit on one line in the narrow laptop column */
.tm-sched .cov a { text-decoration: none; }
.tm .pill.k-preview { background: #a9d7bc; border-color: #4a9e70; color: #004d24; }
.tm .pill.k-halftime { background: #f8dc88; border-color: #c99a1c; color: #4f3500; }
.tm .pill.k-postgame { background: #bdc4cd; border-color: #7a8697; color: #222b38; }
@media (prefers-color-scheme: dark) {
  .tm .pill.k-preview { background: #24573c; border-color: #4a9a6c; color: #b5f0cd; }
  .tm .pill.k-halftime { background: #574412; border-color: #9a7a24; color: #ffdd85; }
  .tm .pill.k-postgame { background: #333c4c; border-color: #66728a; color: #dde3ec; }
}
.tm-stand { width: 100%; border-collapse: collapse; font-family: var(--label); font-size: 1.02rem; }
.tm-stand th, .tm-stand td { padding: 7px 0; border-bottom: 1px solid var(--rule); text-align: right; font-variant-numeric: tabular-nums; }
.tm-stand thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.tm-stand th[scope="row"], .tm-stand thead th:first-child { text-align: left; font-weight: 600; }
.tm-stand th[scope="row"] .chip { margin-right: 8px; vertical-align: -1px; }
.tm-stand td { width: 4.2em; }
.tm-stand tr.me th, .tm-stand tr.me td { background: var(--panel); font-weight: 700; }
.tm-stand tr.me th { box-shadow: inset 4px 0 0 var(--tc1); padding-left: 10px; }
.tm-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
@media (min-width: 640px) { .tm-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tm-nums div { background: var(--panel); padding: 14px 12px 12px; display: grid; gap: 3px; border-top: 4px solid var(--tc1); }
.tm-nums .big { font-family: var(--label); font-weight: 700; font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tm-nums .lbl { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--muted); }
.tm-nums .rk { font-family: var(--label); font-weight: 600; font-size: 0.95rem; }
.tm-leaders { list-style: none; margin: 0; padding: 0; font-family: var(--label); font-size: 1.05rem; }
.tm-leaders li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.tm-leaders li:first-child { border-top: 1px solid var(--rule); }
.tm-leaders .c { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); padding-top: 3px; }
.tm-leaders b { font-weight: 700; }
.tm-leaders span span { color: var(--muted); }
.tm-cover { list-style: none; margin: 0; padding: 0; }
.tm-cover li { border-top: 1px solid var(--rule); padding: 12px 0; display: grid; gap: 4px; }
.tm-cover li:last-child { border-bottom: 1px solid var(--rule); }
.tm-cover .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-family: var(--label); font-size: 0.98rem; }
.tm-cover a.h { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; line-height: 1.25; }
.tm-cover a.h:hover { text-decoration: underline; text-underline-offset: 3px; }
.tm-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; padding: 16px 18px; background: var(--panel); border-top: 4px solid var(--tc1); }
.tm-facts dt { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--muted); padding-top: 4px; }
.tm-facts dd { margin: 0; font-size: 1.05rem; }
@media (max-width: 520px) { .tm-facts { grid-template-columns: 1fr; gap: 2px; } .tm-facts dd { margin-bottom: 10px; } }
.tm-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.88rem; }
.tm-more a { color: var(--turf); text-underline-offset: 3px; }
.tm .fine { margin-top: 10px; }
.teamlist a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.teamlist a:hover { text-decoration-color: currentColor; }
