/*! © 2026 Noxx Labs. All rights reserved. Noxx™ and Noxx Labs™ are trademarks of Noxx Labs. Proprietary: no licence is granted to copy, modify, host or redistribute any part of this code. noxxreplays.co.uk · build 6.1.0-f984a20 · 3d818a9198 */

.tm-intro { color: var(--text2); max-width: 720px; margin-bottom: 1.1rem; }
.tm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.7rem; margin-bottom: 1.2rem; }
.tm-card { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius2); color: var(--text); text-decoration: none; }
.tm-card:hover { border-color: var(--accent); }
.tm-card small { color: var(--text3); }
.tm-tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; font-weight: 700; color: var(--bg); background: var(--accent); border-radius: 4px; padding: 0.05rem 0.35rem; width: fit-content; }
.tm-tag.big { font-size: 0.9rem; vertical-align: middle; }
.tm-empty, .tm-hint { color: var(--text3); font-size: 0.86rem; }
.tm-new, .tm-invite { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.tm-new input, .tm-invite input { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.7rem; color: var(--text); font: inherit; min-width: 0; }
.tm-new input { flex: 1 1 220px; } .tm-new .tm-tagin { flex: 0 1 130px; }
.tm-invite input { flex: 1 1 280px; font-family: var(--mono); font-size: 0.8rem; }
.tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin: 0.4rem 0 1.2rem; }
.tm-table { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius2); padding: 0.3rem 1rem; }
.tm-row { display: grid; grid-template-columns: minmax(180px, 2fr) 70px 70px 90px 90px 90px; gap: 0.6rem; align-items: center; padding: 0.5rem 0; border-top: 1px solid var(--border); font-size: 0.86rem; }
.tm-row > span:not(:first-child) { font-family: var(--mono); text-align: right; }
.tm-headrow { border-top: 0; font-family: var(--mono); font-size: 0.66rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; }
.tm-who { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tm-who img { width: 26px; height: 26px; border-radius: 50%; }
.tm-who a { color: var(--text); }
.tm-who small { color: var(--text3); font-size: 0.72rem; }
.tm-own { color: var(--accent) !important; }
.tm-row .up { color: var(--green); } .tm-row .down { color: var(--amber); }
.tm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.tm-games { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius2); padding: 0.3rem 1rem; }
.tm-game { display: grid; grid-template-columns: 28px 60px 1.2fr 1.5fr 80px; gap: 0.6rem; align-items: center; padding: 0.45rem 0; border-top: 1px solid var(--border); font-size: 0.84rem; }
.tm-game:first-child { border-top: 0; }
.tm-res { font-family: var(--mono); font-weight: 700; text-align: center; border-radius: 4px; }
.tm-res.w { color: var(--green); } .tm-res.l { color: var(--amber); }
.tm-g-who { color: var(--text2); } .tm-g-d { color: var(--text3); text-align: right; font-size: 0.76rem; }
.tm-check { display: flex; gap: 0.4rem; align-items: center; font-size: 0.84rem; color: var(--text2); margin: 0.4rem 0; }
.tm-danger { margin-top: 1.4rem; }
.nx-btn-sm.danger { color: var(--amber); }
@media (max-width: 720px) {
  .tm-stats { grid-template-columns: repeat(2, 1fr); }
  .tm-cols { grid-template-columns: 1fr; }
  .tm-row { grid-template-columns: 1fr 50px 50px 60px; }
  .tm-row > span:nth-child(5), .tm-row > span:nth-child(6):empty { display: none; }
  .tm-row > span:nth-child(6) { grid-column: 1 / -1; text-align: left; }
  .tm-game { grid-template-columns: 24px 50px 1fr 60px; }
  .tm-g-who { display: none; }
}
