/* =====================================================================
   Mix EnixServer - accente CS 1.6
   Se încarcă DUPĂ style.css: capturi de hărți ca fundal, cifre HUD
   portocalii, motiv de crosshair, istoricul rundelor ca un scoreboard,
   widgetul „Server live”.
   ===================================================================== */

:root {
  --hud: #ffb400;
  --hud-2: #ffd36a;
  --hud-dim: rgba(255, 180, 0, .55);
  --hud-soft: rgba(255, 180, 0, .12);
  --hud-glow: 0 0 14px rgba(255, 166, 0, .38), 0 0 2px rgba(255, 196, 64, .55);
}

/* ---------- cifre HUD ---------- */
.hud {
  color: var(--hud);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--hud-glow);
}

/* ---------- crosshair (titluri de secțiune / pagină) ---------- */
.sechead__title, .pagehead__title { display: flex; align-items: center; gap: 12px; }
.sechead__title::before, .pagehead__title::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background:
    linear-gradient(var(--hud), var(--hud)) 50% 0 / 2px 5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) 50% 100% / 2px 5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) 0 50% / 5px 2px no-repeat,
    linear-gradient(var(--hud), var(--hud)) 100% 50% / 5px 2px no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 170, 0, .55));
}
.pagehead__title::before { width: 22px; height: 22px; background-size: 2px 7px, 2px 7px, 7px 2px, 7px 2px; }

/* ---------- imagini de fundal (capturi de hărți) ---------- */
.mapbg {
  position: absolute; inset: 0; z-index: -2;
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 42%;
  pointer-events: none; user-select: none;
}

/* fundal discret (dust2 estompat) sub titlul paginilor fără hero propriu (clasament, meciuri, banuri);
   antetele cu hartă (acasă / meci / profil) au fundal opac și îl acoperă */
.main { position: relative; isolation: isolate; }
.main::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 360px; z-index: -1; pointer-events: none;
  background: url("maps/_default.webp") center 35% / cover no-repeat;
  opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}

/* ---------- hero (acasă): harta jucată acum pe server ---------- */
.hero--map { isolation: isolate; background: var(--bg); }
.hero__bg { opacity: .72; filter: blur(3px) saturate(1.1); transform: scale(1.05); }
.hero--map::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 19, .93) 0%, rgba(10, 13, 19, .72) 38%, rgba(10, 13, 19, .42) 70%, rgba(10, 13, 19, .6) 100%),
    linear-gradient(180deg, rgba(10, 13, 19, .45) 0%, rgba(10, 13, 19, 0) 30%, rgba(10, 13, 19, .35) 70%, var(--bg) 100%),
    radial-gradient(700px 360px at 20% 0%, rgba(255, 120, 20, .14), transparent 70%);
}
.hero--map::after { /* grilă fină, ca în designul de bază */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero--map .hero__in {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". srv" "main srv" "counters srv" ". srv";
  align-items: end; gap: 0 48px; padding-top: 52px; padding-bottom: 52px;
}
.hero--map .counters { margin-top: 34px; }
.hero--map .hero__main { grid-area: main; align-self: end; }
.hero--map .counters { grid-area: counters; }
.hero--map .srv { grid-area: srv; align-self: center; }
.hero--map.hero--nosrv .hero__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "main" "counters"; }
.hero--map .hero__title { text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero--map .hero__kicker { background: rgba(10, 13, 19, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* contoare = bandă HUD */
.counters--hud {
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: rgba(10, 13, 19, .62); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.counters--hud .counter {
  position: relative; padding: 18px 20px; gap: 8px;
  background: none; border: 0; border-radius: 0;
}
.counters--hud .counter + .counter { border-left: 1px solid rgba(255, 255, 255, .07); }
.counters--hud .counter__val { font-size: 38px; font-weight: 700; letter-spacing: .01em; }
.counters--hud .counter__label { font-size: 11px; color: var(--text-2); opacity: .8; }

/* ---------- widget „Server live” ---------- */
.srv {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: rgba(13, 17, 24, .9); border: 1px solid var(--border-2); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.srv [hidden] { display: none !important; }
.srv__banner {
  position: relative; isolation: isolate; height: 148px; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.srv__bg { opacity: .9; transition: opacity .3s; }
.srv__banner::before { /* întunecă sus (status) și jos (nume hartă) + colțul dreapta-jos (arma din captură) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 13, 19, .55) 0%, rgba(10, 13, 19, .05) 38%, rgba(13, 17, 24, .55) 70%, rgba(13, 17, 24, 1) 100%),
    radial-gradient(60% 80% at 100% 100%, rgba(13, 17, 24, .85), transparent 70%);
}
.srv.is-offline .srv__bg { filter: grayscale(1) brightness(.6); }
.srv__top { display: flex; align-items: center; gap: 8px; }
.srv__status {
  display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px;
  border-radius: 999px; background: rgba(5, 7, 10, .72);
  font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
.is-online .srv__status { color: #7ee2a8; }
.is-offline .srv__status { color: #ff8f99; }
.srv__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 3px rgba(39, 196, 107, .2); animation: pulse 2s infinite; }
.is-offline .srv__dot { background: var(--loss); box-shadow: 0 0 0 3px rgba(255, 71, 87, .2); animation: none; }
.srv__tag {
  height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px;
  background: var(--hud-soft); border: 1px solid rgba(255, 180, 0, .35); color: var(--hud);
  font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
}
.srv__ping { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(5, 7, 10, .72); color: var(--text-2); font: 600 12px/1.2 var(--mono); }
.srv__ping:empty { display: none; }
.srv__label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.srv__mapwrap .srv__label { color: rgba(232, 237, 245, .7); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.srv__map {
  display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 32px/1 var(--font-display); color: #fff; letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .85);
}
.srv__body { display: flex; flex-direction: column; gap: 12px; padding: 6px 16px 16px; }
.srv__name {
  font: 600 14px/1.35 var(--font); letter-spacing: 0; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.srv__count { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.srv__digits { font: 700 44px/1 var(--font-display); white-space: nowrap; }
.srv__slash { margin: 0 3px; color: var(--hud-dim); font-weight: 500; text-shadow: none; }
.srv__max { color: var(--hud-dim); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.srv__count .srv__label { text-align: right; }
.is-offline .srv__digits .hud, .is-offline .srv__slash, .is-offline .srv__max { color: var(--dim); text-shadow: none; }
.srv__bar { height: 4px; margin-top: -4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.srv__bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff7a00, var(--hud)); box-shadow: 0 0 10px rgba(255, 170, 0, .6); transition: width .5s; }
.srv__list {
  list-style: none; margin: 0; padding: 4px 0; max-height: 232px; overflow-y: auto;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--border); border-radius: 10px;
  scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
}
.srv__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) 34px 62px; gap: 8px; align-items: center;
  padding: 5px 12px; font-size: 13px;
}
.srv__list li:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.srv__pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 600; }
.srv__pname.is-empty { color: var(--dim); font-weight: 500; font-style: italic; }
.srv__pscore { text-align: right; color: var(--hud); font: 700 14px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.srv__ptime { text-align: right; color: var(--muted); font: 500 12px/1 var(--mono); }
.srv__empty { padding: 12px; border: 1px dashed var(--border-2); border-radius: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.srv__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.srv__ip {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 42px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px;
  color: var(--text-2); font: 500 14px/1 var(--mono); cursor: pointer;
}
.srv__ip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv__ip svg { flex-shrink: 0; color: var(--muted); }
.srv__ip:hover { color: #fff; border-color: var(--muted); }

/* ---------- carduri de meci cu captura hărții ---------- */
.mrow--map {
  position: relative; isolation: isolate; overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; padding-left: 16px;
}
.mrow--map .maptile { display: none; }
.mrow__bg {
  right: auto; width: 68%; z-index: -2; opacity: .5; object-position: center 40%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .75) 35%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .75) 35%, transparent 100%);
  transition: opacity .2s, transform .35s;
}
.mrow--map::before { /* contrast pentru text peste imagine */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 13, 19, .5) 0%, rgba(10, 13, 19, .15) 45%, transparent 70%);
}
.mrow--map:hover .mrow__bg { opacity: .72; transform: scale(1.03); }
.mrow--map .mrow__map { font: 700 18px/1.15 var(--font-display); letter-spacing: .03em; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.mrow--map .mrow__meta { color: var(--text-2); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.section > .mlist .mrow--map { grid-template-columns: minmax(0, 1fr) auto 170px 54px; min-height: 68px; }

/* scoruri HUD: câștigătorul în portocaliu HUD, învinsul estompat */
.mrow__score { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.mrow__score .sc.is-win { color: var(--hud); text-shadow: var(--hud-glow); }
.mrow__score .sc:not(.is-win) { color: var(--text-2); }

/* tile-uri cu captura hărții (profil, tabele) */
.maptile { width: 64px; height: 36px; border-radius: 7px; }
.maptile--sm { width: 40px; height: 24px; border-radius: 5px; font-size: 11px; }
.maptile--lg { width: 132px; height: 74px; border-radius: 10px; font-size: 26px; }
.maptile--img {
  background-size: cover; background-position: center 40%; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 8px rgba(0, 0, 0, .35);
}

/* ---------- antet meci: captura hărții ---------- */
.match-hero--map { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-2); padding: 26px 0 30px; }
.match-hero__bg { opacity: .55; filter: blur(2px) saturate(1.05); transform: scale(1.04); }
.match-hero--map::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(77, 163, 255, .2), transparent 32%, transparent 68%, rgba(255, 77, 109, .2)),
    linear-gradient(180deg, rgba(10, 13, 19, .55) 0%, rgba(10, 13, 19, .62) 55%, var(--bg) 100%);
}
.match-hero--map .maptile--lg { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 30px rgba(0, 0, 0, .55); }
.match-hero--map .match-hero__map { font-size: 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.match-hero--map .mteam__name { text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.match-hero--map .mteam__score { font-variant-numeric: tabular-nums; color: rgba(232, 237, 245, .55); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.match-hero--map .mteam.is-win .mteam__score { color: var(--hud); text-shadow: 0 0 34px rgba(255, 160, 0, .45), 0 0 3px rgba(255, 200, 80, .6); }
.match-hero--map .match-hero__res { background: rgba(10, 13, 19, .75); }
.match-hero--map .match-info > div { background: rgba(10, 13, 19, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.team__score { color: var(--hud); text-shadow: var(--hud-glow); font-variant-numeric: tabular-nums; }

/* ---------- istoricul rundelor ca scoreboard-ul din 1.6 ---------- */
/* fiecare rundă = o coloană cu două benzi: sus Echipa A, jos Echipa B */
.hist {
  padding: 14px 16px 16px; border-radius: 10px;
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 180, 0, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.hist__label { color: var(--hud-dim); }
.hist__block--ot .hist__label { color: var(--hud); }
.hist__halfscores { font-variant-numeric: tabular-nums; font-weight: 700; }
.hist__rounds { gap: 8px; }
.hist__rounds::before { /* etichetele benzilor: A (sus) / B (jos) */
  content: "A\A B"; white-space: pre; align-self: center;
  font: 700 12px/24px var(--font-display); letter-spacing: .04em;
  background: linear-gradient(180deg, var(--team-a) 50%, var(--team-b) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hist__half { gap: 2px; }
.hist .rd {
  position: relative; width: 24px; height: 48px; border-radius: 3px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  font: 600 10px/1 var(--font); color: var(--dim);
}
.hist .rd::before { content: ""; position: absolute; left: 3px; right: 3px; height: 13px; border-radius: 2px; }
.hist .rd--A::before { top: 3px; background: linear-gradient(180deg, #6db8ff, #2f7fd6); box-shadow: 0 0 8px rgba(77, 163, 255, .45); }
.hist .rd--B::before { bottom: 3px; background: linear-gradient(180deg, #ff6a85, #d23453); box-shadow: 0 0 8px rgba(255, 77, 109, .45); }
.hist .rd:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.hist__ht { width: 2px; height: 48px; padding: 0; font-size: 0; background: rgba(255, 180, 0, .4); border-radius: 2px; box-shadow: 0 0 6px rgba(255, 170, 0, .4); }

/* ---------- profil: harta cea mai jucată ca fundal ---------- */
.profile-hero--map { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-2); }
.profile-hero__bg { opacity: .75; filter: blur(3px) saturate(1.1); transform: scale(1.05); }
.profile-hero--map::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 300px at 80% 0%, color-mix(in srgb, var(--g2) 24%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(10, 13, 19, .88) 0%, rgba(10, 13, 19, .5) 50%, rgba(10, 13, 19, .62) 100%),
    linear-gradient(180deg, rgba(10, 13, 19, .1) 0%, rgba(10, 13, 19, .3) 60%, var(--bg) 100%);
}
.profile-hero--map .profile-id__name { text-shadow: 0 3px 20px rgba(0, 0, 0, .6); }
.profile-hero--map .rankcard { background: rgba(13, 17, 24, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rankcard__pts strong { color: var(--hud); text-shadow: var(--hud-glow); font-family: var(--font-display); font-size: 17px; font-variant-numeric: tabular-nums; }

/* statistici: primele patru (meciuri, win%, K/D, HS) ca cifre HUD */
.stat__value { font-variant-numeric: tabular-nums; }
.statgrid .stat:nth-child(-n+4) .stat__value { color: var(--hud); text-shadow: var(--hud-glow); }
.statgrid .stat:nth-child(-n+4) { border-color: rgba(255, 180, 0, .16); background: linear-gradient(180deg, rgba(255, 180, 0, .05), transparent 60%), var(--surface); }
.maplist__wr { color: var(--hud); text-shadow: var(--hud-glow); font-variant-numeric: tabular-nums; }

/* ---------- clasament / top 10: punctele în HUD ---------- */
.table--board td.strong, .table--compact td.strong {
  color: var(--hud); text-shadow: var(--hud-glow);
  font: 700 17px/1 var(--font-display); letter-spacing: .02em;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero--map .hero__in { grid-template-columns: minmax(0, 1fr) minmax(320px, 370px); gap: 26px 32px; }
  .counters--hud .counter { padding: 16px; }
  .counters--hud .counter__val { font-size: 32px; }
}

@media (max-width: 960px) {
  .hero--map .hero__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "main" "srv" "counters"; gap: 26px; padding-top: 36px; padding-bottom: 36px; }
  .hero--map .counters { margin-top: 0; }
  .hero--map .srv { align-self: stretch; }
  .section > .mlist .mrow--map { grid-template-columns: minmax(0, 1fr) auto 130px; }
}

@media (max-width: 760px) {
  .counters--hud { grid-template-columns: 1fr 1fr; }
  .counters--hud .counter:nth-child(3) { border-left: 0; }
  .counters--hud .counter:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .section > .mlist .mrow--map { grid-template-columns: minmax(0, 1fr) auto; }
  .mrow__bg { width: 85%; }
  .hist { padding: 12px 10px 14px; }
  .hist__rounds::before { display: none; }
  .hist .rd { width: 17px; height: 40px; font-size: 8px; }
  .hist .rd::before { height: 11px; left: 2px; right: 2px; }
  .match-hero--map .maptile--lg { display: none; }
}

@media (max-width: 480px) {
  .counters--hud .counter { padding: 14px; }
  .counters--hud .counter__val { font-size: 28px; }
  .srv__banner { height: 128px; }
  .srv__map { font-size: 28px; }
  .srv__digits { font-size: 38px; }
  .srv__actions { grid-template-columns: minmax(0, 1fr); }
  .srv__join { width: 100%; }
  .mrow--map { padding-left: 12px; }
  .mrow--map .mrow__map { font-size: 16px; }
  .sechead__title, .pagehead__title { gap: 10px; }
  .hist .rd { width: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mrow__bg, .srv__bar span, .srv__bg { transition: none; }
  .srv__dot { animation: none; }
}

/* ---------- numele echipelor (v2.1): nume lungi tăiate cu "…" ---------- */
.mrow__teams {
  display: flex; align-items: baseline; gap: 6px; min-width: 0; margin-top: 1px;
  font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.mrow__team { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mrow__vs { flex-shrink: 0; color: var(--muted); font-weight: 500; text-transform: lowercase; }
.mrow__res { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.match-hero__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.mteam { min-width: 0; }
.mteam__name { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.mteam__score { flex-shrink: 0; }
.match-hero__res { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-hero__mid { min-width: 0; max-width: 280px; }

.legend { flex-wrap: wrap; gap: 6px 16px; min-width: 0; }
.legend__item { min-width: 0; max-width: 100%; }
.legend__item .rd { flex-shrink: 0; }
.legend__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hist__rounds--named::before { display: none; }
.hist__lanes {
  display: flex; flex-direction: column; align-self: center; flex-shrink: 0; max-width: 84px;
  font: 700 12px/24px var(--font-display); letter-spacing: .04em;
}
.hist__lanes > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.team__title { min-width: 0; }
.team__title h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team__bar, .team__title .tag, .team__score { flex-shrink: 0; }

.maplink__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.maplink__vs { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 600; color: var(--muted); }

@media (max-width: 760px) {
  .match-hero__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .mteam { align-items: stretch; text-align: center; }
  .match-hero__mid { max-width: 150px; }
  .hist__lanes { display: none; }
}

@media (max-width: 480px) {
  .maplink__vs { max-width: 96px; }
}
/* ---------- v3: mai multe servere ---------- */
/* acasă: titlu + contoare pe toată lățimea, dedesubt câte un widget pe server */
.hero--map.hero--multi .hero__in {
  grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
  grid-template-areas: "main" "counters" "srvs";
}
.srvgrid {
  grid-area: srvs; display: grid; gap: 20px; margin-top: 30px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.srvgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero--multi .srvgrid .srv { grid-area: auto; align-self: stretch; }
.srv__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.srv__name--fixed { flex-shrink: 0; max-width: 100%; color: #fff; font: 700 19px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.srv__host { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }

/* meciuri.php: filtrul Server + Hartă */
.filter--multi { flex-wrap: wrap; justify-content: flex-end; }
.filter--multi select { min-width: 170px; }

/* profil: ultimul server */
.profile-id__srv { color: var(--text-2); font-weight: 600; }

@media (max-width: 960px) {
  .srvgrid { margin-top: 0; }
}
@media (max-width: 760px) {
  .srvgrid--2 { grid-template-columns: minmax(0, 1fr); }
  .filter--multi { justify-content: flex-start; row-gap: 8px; }
  .filter--multi .filter__label { flex: 0 0 52px; }
  .filter--multi select { flex: 1 1 calc(100% - 62px); min-width: 0; }
}