/* Social media links on player and squad pages, and their editor in the player dashboard. */
.nm-socials { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.nm-socials a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: .3rem .7rem;
    border: 1px solid var(--site-line, #ffffff2a); background: #0b1114b3; color: #e6ebeb;
    font: 500 .85rem/1.2 var(--nm-font-body, sans-serif); text-decoration: none; transition: border-color .15s, color .15s; }
.nm-socials a:hover, .nm-socials a:focus-visible { border-color: var(--site-yellow, #ffc000); color: #fff; }
.nm-socials i { font-size: 1rem; color: var(--site-yellow, #ffc000); }
.nm-socials bdi { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-socials--compact { margin-top: .35rem; gap: .3rem; }
.nm-socials--compact a { min-height: 2rem; min-width: 2rem; justify-content: center; padding: .25rem .45rem; }

.nm-roster-cell { display: grid; align-content: start; min-width: 0; }
.nm-roster-cell > .nm-socials { margin: .3rem 0 0; }

.nm-social-editor__rows { display: grid; gap: .5rem; margin: .8rem 0; }
.nm-social-editor__row { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
.nm-social-editor__remove { min-width: 2.5rem; min-height: 2.5rem; border: 1px solid var(--site-line, #ffffff2a); background: transparent; color: #e6ebeb; }
.nm-social-editor__remove:hover, .nm-social-editor__remove:focus-visible { border-color: #ff6b6b; color: #ff8a8a; }
.nm-social-editor__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
@media (max-width: 560px) {
    .nm-social-editor__row { grid-template-columns: minmax(0, 1fr) auto; }
    .nm-social-editor__row input { grid-column: 1 / -1; grid-row: 2; }
}
