/* t2896 MOCK: Fan r2 FAIL fixes — badge overlap + scoresheet contrast (TEMPORARY grammar with t2884) */

/* 2) Shirt badges: never cover a neighbouring name plate at phone widths.
   Sit the badge stack over the shirt body (not above the gap toward shirt 9),
   shrink and stack vertically, keep within the shirt's own box. */
.v6-tp .pl.has-evb .evb,
#home-squad .pl.has-evb .evb,
.v6-tp .bp.has-evb .evb,
#home-squad .bp.has-evb .evb{
  left:50%; top:2px; transform:translateX(-50%);
  flex-direction:column; align-items:center; gap:1px;
  max-width:100%;
}
.v6-tp .pl.has-evb .evb-s,
#home-squad .pl.has-evb .evb-s,
.v6-tp .bp.has-evb .evb-s,
#home-squad .bp.has-evb .evb-s{
  font-size:9px; line-height:11px; padding:1px 3px 1px 2px; border-radius:7px;
  max-width:100%;
}
.v6-tp .pl.has-evb .evb-s svg.ev,
#home-squad .pl.has-evb .evb-s svg.ev{width:10px;height:10px}
@media(max-width:430px){
  .v6-tp .pl.has-evb .evb,
  #home-squad .pl.has-evb .evb{
    top:0; left:50%; transform:translateX(-50%);
    /* keep badges inside the shirt column so they can't spill onto the neighbour */
    width:max-content; max-width:calc(100% - 2px);
  }
  .v6-tp .pl.has-evb,
  #home-squad .pl.has-evb,
  .v6-tp .bp.has-evb,
  #home-squad .bp.has-evb{overflow:hidden}
  /* name plate stays readable under the (now in-shirt) badges */
  .v6-tp .pl.has-evb .nm,
  #home-squad .pl.has-evb .nm,
  .v6-tp .pl.has-evb .pitch-name-full,
  #home-squad .pl.has-evb .pitch-name-full,
  .v6-tp .pl.has-evb .pitch-name-short,
  #home-squad .pl.has-evb .pitch-name-short{position:relative; z-index:4}
}

/* 3) Scoresheet: opaque dark panel in both themes; pin bright gold/sky text inside it (WCAG AA on dark). */
#brief .ev-strip{
  background:linear-gradient(135deg,#1a3328,#0e221a 60%,#132a22);
  color:#f7f0e2;
  border:1px solid color-mix(in srgb,#e0b03a 42%,transparent);
}
#brief .ev-strip .ev-ttl{color:#e0b03a}
#brief .ev-strip .ev-k{color:#f7f0e2}
#brief .ev-strip .ev-kicks .ev-k svg.ev,
#brief .ev-strip .ev-tries .ev-k svg.ev{color:#e0b03a}
#brief .ev-strip .ev-side.ev-h .ev-team b{color:#e0b03a}
#brief .ev-strip .ev-side.ev-a .ev-team b{color:#8fc3ea}
#brief .ev-strip .ev-team{color:#f7f0e2;opacity:1}
#brief .ev-strip .ev-chip{
  color:#f7f0e2;
  background:color-mix(in srgb,#ffffff 10%,transparent);
  border-color:color-mix(in srgb,#e0b03a 55%,transparent);
}
#brief .ev-strip .ev-chip.ev-a{border-color:color-mix(in srgb,#8fc3ea 65%,transparent)}
#brief .ev-strip .ev-chip svg.ev:not(.ev-yc):not(.ev-rc){color:#e0b03a}
#brief .ev-strip .ev-chip.ev-a svg.ev-try,
#brief .ev-strip .ev-chip.ev-a svg.ev-conv,
#brief .ev-strip .ev-chip.ev-a svg.ev-ptry,
#brief .ev-strip .ev-chip.ev-a svg.ev-pen,
#brief .ev-strip .ev-chip.ev-a svg.ev-drop,
#brief .ev-strip .ev-chip.ev-a svg.ev-kicks{color:#8fc3ea}
#brief .ev-strip .ev-none,#brief .ev-strip .ev-src,#brief .ev-strip .ev-miss{color:#f7f0e2;opacity:.85}
#brief .ev-strip .ev-chip:hover,#brief .ev-strip .ev-chip:focus-visible{background:color-mix(in srgb,#e0b03a 22%,transparent)}
