/* NexStrike Statistik (nexstrike-stats.html) – same look as the leaderboards, NexStrike orange */

.nss-embed { max-width: 1040px; margin: 0 auto; }
.nss-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.nss-head h2 { margin: 0; font: 600 2rem/1 Teko, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.nss-head h2 span { color: #f0a04b; }
.nss-head h2 .fa-crosshairs { color: #f0a04b; font-size: 1.4rem; }
.nss-totals { display: flex; gap: 1.2rem; color: #94a3b8; font-size: .9rem; }
.nss-totals b { color: #e2e8f0; }

.nss-card { margin-bottom: 1.2rem; padding: 1.2rem 1.3rem; border-radius: 16px; background: rgba(15, 23, 42, .88); border: 1px solid rgba(148, 163, 184, .22); box-shadow: 0 18px 40px rgba(2, 6, 23, .35); }
.nss-card h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.nss-card h2 .fa-trophy { color: #fbbf24; }
.nss-card h3 { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.nss-muted { margin: 0; color: #94a3b8; font-size: .9rem; line-height: 1.5; }
.nss-muted a { color: #f0a04b; }

/* profile */
.nss-prof-head, .nss-empty { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nss-prof-head > div, .nss-empty > div { flex: 1; min-width: 200px; }
.nss-prof-head h2 small { color: #94a3b8; font-weight: 600; font-size: .85rem; }
.nss-empty .nss-btn { margin-top: .7rem; }
.nss-av-big { width: 64px; height: 64px; border-radius: 50%; flex: none; border: 2px solid rgba(240, 160, 75, .6); object-fit: cover; }
.nss-av-big.is-empty, .nss-av.is-empty { display: inline-flex; align-items: center; justify-content: center; background: #5865f2; color: #fff; font-size: 1.6rem; }
.nss-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 10px; background: linear-gradient(135deg, #f0a04b, #d9622b); color: #1a0e04; font-weight: 800; text-decoration: none; }
.nss-btn:hover { filter: brightness(1.08); }
.nss-btn.is-discord { background: #5865f2; color: #fff; }
.nss-btn.is-ghost { background: rgba(255, 255, 255, .07); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, .3); }

.nss-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 1.1rem 0; }
.nss-tile { padding: .75rem .85rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .16); }
.nss-tile small { display: block; color: #94a3b8; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nss-tile b { display: block; margin: .15rem 0; font-size: 1.55rem; font-weight: 800; color: #fff; }
.nss-tile span { color: #94a3b8; font-size: .78rem; }

.nss-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.2rem; }
.nss-weapons, .nss-matches { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.nss-weapons li { display: grid; grid-template-columns: 7.5rem 1fr 3rem; align-items: center; gap: .6rem; font-size: .88rem; }
.nss-weapons i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #d9622b, #f0a04b); }
.nss-weapons b { text-align: right; }
.nss-matches li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto auto; align-items: center; gap: .6rem; padding: .45rem .6rem; border-radius: 8px; background: rgba(255, 255, 255, .04); border-left: 3px solid #64748b; font-size: .86rem; }
.nss-matches li.is-win { border-left-color: #4ade80; }
.nss-matches li.is-loss { border-left-color: #f87171; }
.nss-matches li.is-win b { color: #4ade80; }
.nss-matches li.is-loss b { color: #f87171; }
.nss-matches span { color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nss-matches .nss-kd { font-weight: 700; color: #e2e8f0; }
.nss-matches small { color: #64748b; }

/* leaderboard */
.nss-card-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.nss-tabs { display: flex; gap: .35rem; flex-wrap: wrap; }
.nss-tab { padding: .4rem .8rem; border: 1px solid rgba(148, 163, 184, .35); border-radius: 999px; background: rgba(15, 23, 42, .6); color: #cbd5e1; font: 700 .82rem Inter, sans-serif; cursor: pointer; }
.nss-tab:hover { border-color: #f0a04b; }
.nss-tab.is-on { background: #f0a04b; border-color: #f0a04b; color: #1a0e04; }
.nss-table-wrap { overflow-x: auto; margin-top: .6rem; }
.nss-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nss-table th { padding: .5rem .6rem; text-align: left; color: #94a3b8; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(148, 163, 184, .2); }
.nss-table td { padding: .5rem .6rem; border-bottom: 1px solid rgba(148, 163, 184, .1); white-space: nowrap; }
.nss-table tr.is-me td { background: rgba(240, 160, 75, .1); }
.nss-rank { width: 2.5rem; font-weight: 800; color: #94a3b8; }
.nss-rank.r1 { color: #fbbf24; } .nss-rank.r2 { color: #cbd5e1; } .nss-rank.r3 { color: #d9884b; }
.nss-player { display: inline-flex; align-items: center; gap: .55rem; padding: 0; border: 0; background: none; color: #e2e8f0; font: 700 .92rem Inter, sans-serif; text-decoration: none; cursor: pointer; }
.nss-link { padding: 0; border: 0; background: none; color: #f0a04b; font: inherit; text-decoration: underline; cursor: pointer; }
.nss-btn { border: 0; font: 800 .92rem Inter, sans-serif; cursor: pointer; }
.nss-player:hover span { color: #f0a04b; }
.nss-av { width: 28px; height: 28px; border-radius: 50%; flex: none; font-size: .9rem; }
.nss-val { font-weight: 800; color: #fff; }

@media (max-width: 760px) {
  .nss-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nss-split { grid-template-columns: 1fr; }
  .nss-matches li { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
  .nss-matches small { display: none; }
  .nss-table th:nth-child(n+5), .nss-table td:nth-child(n+5) { display: none; }
}
