/* Free agent board, availability grid and scrim matchmaking. Arena tokens with fallbacks for the player area. */
.nm-agent-roles { flex-wrap: wrap; margin-bottom: 1.2rem; }
.nm-agents { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.nm-agent { display: grid; grid-template-columns: 3rem minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 1rem; align-items: center;
    padding: .9rem 1rem; background: #0b1114cc; border: 1px solid var(--site-line, #ffffff1c); font: 500 .9rem/1.4 var(--nm-font-body); color: #d6dcdc; }
.nm-agent__rank { font: 600 1.6rem/1 var(--site-display, sans-serif); color: var(--site-muted, #a1acac); }
.nm-agent__who h3 { margin: 0 0 .15rem; font: 600 1.1rem/1.3 var(--nm-font-body); }
.nm-agent__who p { margin: 0; color: #c9d0d1; }
.nm-agent__who small, .nm-agent__score small { display: block; color: var(--site-muted, #a1acac); }
.nm-agent__about { margin-top: .35rem !important; color: var(--site-muted, #a1acac) !important; font-size: .85rem; }
.nm-agent__score strong { display: block; font: 600 1.9rem/1 var(--site-display, sans-serif); color: var(--site-yellow, #ffc000); }
.nm-agent__score > span { color: var(--site-muted, #a1acac); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.nm-agent__score b { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
    .nm-agent { grid-template-columns: 2.4rem minmax(0, 1fr); }
    .nm-agent__score, .nm-agent__invite { grid-column: 2; }
}

.nm-avail { display: grid; grid-template-columns: minmax(5.5rem, auto) repeat(3, minmax(0, 1fr)); gap: 3px; margin: .6rem 0 1rem; font-size: .85rem; }
.nm-avail__head { color: #9aa5a6; font-size: .72rem; text-align: center; padding: .2rem; }
.nm-avail__day { color: #d6dcdc; align-self: center; }
.nm-avail label, .nm-avail__cell { display: grid; place-items: center; min-height: 38px; border: 1px solid #ffffff1c; background: #0b1114cc; cursor: pointer; color: #9aa5a6; }
.nm-avail input { position: absolute; opacity: 0; pointer-events: none; }
.nm-avail label:has(input:checked) { background: #ffc00026; border-color: #ffc000; color: #fff; }
.nm-avail label:focus-within { outline: 2px solid #ffc000; outline-offset: 1px; }
.nm-avail__cell { cursor: default; font-weight: 600; }
.nm-avail__cell.is-ready { background: #2ea05a33; border-color: #2ea05a; color: #fff; }
.nm-avail__cell[data-count="0"] { color: #ffffff33; }

.nm-match-suggestions { display: grid; gap: .5rem; }
.nm-match-suggestions article { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .6rem .8rem; border: 1px solid #ffffff1c; background: #ffffff05; }
.nm-match-suggestions small { color: #9aa5a6; display: block; }
.nm-level { display: inline-block; padding: 0 .4rem; border: 1px solid #2ea05a; color: #7ee2a8; font-size: .72rem; margin-inline-start: .4rem; }

/* Site search */
.nm-search--big { max-width: 640px; margin-bottom: 1rem; }
.nm-search--big input { font-size: 1.05rem; min-height: 48px; }
.nm-search-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem 1.4rem; }
.nm-search-results h2 { font-size: 1.3rem !important; margin-bottom: .4rem !important; }
.nm-search-results ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.nm-search-results a { display: flex; align-items: center; gap: .7rem; padding: .45rem .6rem; background: #0b1114cc; border: 1px solid var(--site-line, #ffffff1c); color: #d6dcdc; text-decoration: none; }
.nm-search-results a:hover { border-color: #ffc00099; }
.nm-search-results a > span:last-child { display: grid; min-width: 0; }
.nm-search-results strong { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-search-results small { color: var(--site-muted, #a1acac); font-size: .78rem; }
.nm-search-results img { width: 36px; height: 36px; object-fit: contain; }
.nm-search-avatar { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; background: #ffc0001a; color: #ffc000; font-weight: 700; font-size: .8rem; }
.sk-search i { font-size: .95rem; }
