/* ========================================================================
   8. LINEUPS LIST
   ======================================================================== */

.match-lineups{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  margin-top:14px;
}

.match-lineups-state{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0 12px;
  padding:14px 16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.07);
}

.match-lineups-state__title{
  margin:0;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:18px;
  line-height:1.15;
  font-weight:800;
}

.match-lineups-state__note{
  margin:4px 0 0;
  color:rgba(255,255,255,.52);
  font-size:12px;
  line-height:1.35;
  font-weight:600;
}

.match-lineups-state__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:30px;
  padding:0 10px;
  background:rgba(0,0,0,.28);
  color:rgba(255,255,255,.9);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.match-lineups-state--probable .match-lineups-state__badge{
  color:#ffd666;
}

.match-lineups-state--current .match-lineups-state__badge{
  color:#25bf68;
}

.match-lineups-state--final .match-lineups-state__badge{
  color:#ff4b3f;
}

.match-lineups__col{
  min-width:0;
}

.match-lineups__team-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  overflow:hidden;
  padding:10px 14px;
  background:rgba(255,255,255,.08);
  color:inherit;
}

.no-touch .match-lineups__team-head:hover{
  background:rgba(255,255,255,.10);
}

.match-lineups__team{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  max-width:100%;
}

.match-lineups__team-name{
  min-width:0;
  overflow:visible;
  text-overflow:unset;
  white-space:normal;
  overflow-wrap:anywhere;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:16px;
  line-height:1.15;
  font-weight:600;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.match-lineups__team-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
}

.match-lineups__team-logo img{
  display:block;
  width:44px;
  height:44px;
  object-fit:contain;
}

.match-lineups__formation{
  flex:0 0 auto;
  padding:7px 10px;
  white-space:nowrap;
  background:rgba(0,0,0,.25);
  color:rgba(255,255,255,.90);
  font-size:12px;
  line-height:1;
  font-weight:800;
}

.match-lineups__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:20px 5px 0;
  color:rgba(255,255,255,.90);
}

.match-lineups__meta-label{
  color:rgba(255,255,255,.45);
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.match-lineups__meta-value{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:16px;
  line-height:1.2;
  font-weight:600;
}

.match-lineups__title{
  margin:14px 2px 10px;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:14px;
  line-height:1.2;
  font-weight:700;
}

.match-lineups__list{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  min-width:0;
  margin-top:10px;
}

.match-lineups__player{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 55px;
  align-items:center;
  gap:12px;
  overflow:hidden;
  padding:2px;
  background:rgba(255,255,255,.08);
}

.match-lineups__player-main{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.no-touch .match-lineups__player:hover{
  background:rgba(255,255,255,.10);
}

.match-lineups__player-num{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:34px;
  margin-left:5px;
  background:rgba(0,0,0,.22);
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:14px;
  line-height:1;
  font-weight:800;
}

.match-lineups__player-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:16px;
  line-height:1.2;
  font-weight:600;
}

.match-lineups__confidence{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:18px;
  padding:0 6px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.58);
  font-size:9px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
}

.match-lineups__confidence--high{
  color:#25bf68;
}

.match-lineups__confidence--medium{
  color:#ffd666;
}

.match-lineups__confidence--low{
  color:#ff4b3f;
}

.match-lineups__player-photo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(0,0,0,.22);
}

.match-lineups__player-photo img{
  display:block;
  width:44px;
  height:44px;
  object-fit:cover;
}

.match-lineups__player-placeholder,
.match-lineups__player-photo-placeholder{
  width:18px;
  height:18px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}

.match-lineups__rating{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:28px;
  min-height:24px;
  padding:0 7px;
  border-radius:5px;
  background:#050707;
  color:var(--afw-rating-bg, #25d269);
  font-size:12px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 1px 4px rgba(0,0,0,.22);
}

.match-lineups-badges{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
}

.match-lineups-badges--list{
  max-width:50%;
  overflow:hidden;
}

.match-lineups-badges--pitch{
  position:absolute;
  top:-22px;
  left:50%;
  z-index:5;
  transform:translateX(-50%);
  gap:5px;
  flex-wrap:nowrap;
}

.match-lineups-badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:21px;
  padding:0 6px;
  border-radius:0;
  background:transparent;
  color:#111;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  box-shadow:none;
}

.match-lineups-badges--pitch .match-lineups-badge{
  width:24px;
  min-width:24px;
  padding:0;
}

.match-lineups-badges--list .match-lineups-badge{
  min-width:28px;
  height:24px;
  padding:0 7px;
  border-radius:5px;
  background:#050707;
  box-shadow:0 1px 4px rgba(0,0,0,.22);
}

.match-lineups-badge__icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:12px;
  height:12px;
  flex:0 0 12px;
  line-height:1;
}

.match-lineups-badge__minute{
  position:relative;
  top:-.45em;
  margin-left:2px;
  font-size:10px;
  line-height:1;
  font-weight:900;
}

.match-lineups-badges--pitch .match-lineups-badge__minute{
  position:absolute;
  top:-7px;
  right:-9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:15px;
  height:13px;
  padding:0;
  border-radius:999px;
  background:transparent;
  color:#050707;
  font-size:10px;
  line-height:1;
  box-shadow:none;
}

.match-lineups-badges--list .match-lineups-badge__minute{
  color:#fff;
}

.match-lineups-badge--yellow,
.match-lineups-badge--red,
.match-lineups-badge--second-yellow{
  background:transparent;
  color:#111;
}

.match-lineups-badge--yellow .match-lineups-badge__icon,
.match-lineups-badge--red .match-lineups-badge__icon{
  width:12px;
  height:13px;
  border-radius:3px;
}

.match-lineups-badge--yellow .match-lineups-badge__icon{
  background:#ffd64d;
}

.match-lineups-badge--red .match-lineups-badge__icon{
  background:#e63b3b;
}

.match-lineups-badge--goal,
.match-lineups-badge--penalty,
.match-lineups-badge--assist{
  background:transparent;
  color:#111;
}

.match-lineups-badges--list .match-lineups-badge--goal,
.match-lineups-badges--list .match-lineups-badge--assist{
  color:#fff;
}

.match-lineups-badge--second-yellow .match-lineups-badge__icon::before,
.match-lineups-badge--second-yellow .match-lineups-badge__icon::after{
  content:"";
  position:absolute;
  width:10px;
  height:13px;
  border-radius:3px;
}

.match-lineups-badge--second-yellow .match-lineups-badge__icon::before{
  left:0;
  top:1px;
  background:#ffd64d;
}

.match-lineups-badge--second-yellow .match-lineups-badge__icon::after{
  right:0;
  bottom:1px;
  background:#e63b3b;
}

.match-lineups-badge--own-goal,
.match-lineups-badge--missed-penalty{
  background:transparent;
  color:#ef4545;
}

.match-lineups-badge--in{
  background:transparent;
  color:#111;
}

.match-lineups-badge--out{
  background:transparent;
  color:#111;
}

.match-lineups-badge--in .match-lineups-badge__icon::before,
.match-lineups-badge--out .match-lineups-badge__icon::before{
  content:"";
  width:0;
  height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
}

.match-lineups-badge--in .match-lineups-badge__icon::before{
  border-left:12px solid #25bf68;
}

.match-lineups-badge--out .match-lineups-badge__icon::before{
  border-right:12px solid #d4383d;
}

.match-lineups-badge--penalty .match-lineups-badge__icon::before,
.match-lineups-badge--missed-penalty .match-lineups-badge__icon::before{
  content:"";
  width:12px;
  height:8px;
  border:2px solid currentColor;
  border-bottom:0;
}

.match-lineups-badge--penalty{
  color:#009c5a;
}

.match-lineups-badge--missed-penalty{
  color:#ef4545;
}

.match-lineups-badge--penalty .match-lineups-badge__icon::after{
  content:"";
  position:absolute;
  bottom:1px;
  width:3px;
  height:3px;
  border-radius:999px;
  background:#009c5a;
}

.match-lineups-badge--missed-penalty .match-lineups-badge__icon::after{
  content:"×";
  position:absolute;
  bottom:-2px;
  color:#ef4545;
  font-size:12px;
  line-height:1;
}

.match-lineups-badges--list .match-lineups-badge{
  background:#050707;
}

.match-lineups-badges--list .match-lineups-badge--yellow,
.match-lineups-badges--list .match-lineups-badge--red,
.match-lineups-badges--list .match-lineups-badge--second-yellow,
.match-lineups-badges--list .match-lineups-badge--in,
.match-lineups-badges--list .match-lineups-badge--out{
  color:#fff;
}

.match-lineups-badges--list .match-lineups-badge--own-goal,
.match-lineups-badges--list .match-lineups-badge--missed-penalty{
  color:#ff5050;
}

.match-lineups-badges--list .match-lineups-badge--penalty{
  color:#14b86e;
}

.match-lineups-key{
  margin:18px 0 0;
  padding:22px;
  background:rgba(255,255,255,.10);
}

.match-lineups-key__title{
  margin:0 0 18px;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}

.match-lineups-key__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 240px));
  gap:16px 54px;
}

.match-lineups-key__item{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  color:rgba(255,255,255,.88);
  font-size:16px;
  line-height:1.2;
  font-weight:500;
}

.match-lineups-key__icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  flex:0 0 24px;
  color:#fff;
  font-size:16px;
  line-height:1;
  font-weight:900;
}

.match-lineups-key__icon--own{
  color:#ef4545;
}

.match-lineups-key__icon--assist{
  color:#fff;
  font-size:14px;
}

.match-lineups-key__icon--yellow,
.match-lineups-key__icon--red{
  width:22px;
  height:22px;
  border-radius:3px;
}

.match-lineups-key__icon--yellow{
  background:#ffd64d;
}

.match-lineups-key__icon--red{
  background:#ef4545;
}

.match-lineups-key__icon--second-yellow::before,
.match-lineups-key__icon--second-yellow::after{
  content:"";
  position:absolute;
  width:17px;
  height:22px;
  border-radius:3px;
}

.match-lineups-key__icon--second-yellow::before{
  left:2px;
  top:2px;
  background:#ffd64d;
}

.match-lineups-key__icon--second-yellow::after{
  right:2px;
  bottom:2px;
  background:#ef4545;
}

.match-lineups-key__icon--injury::before,
.match-lineups-key__icon--injury::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:22px;
  height:7px;
  border-radius:2px;
  background:#df303b;
  transform:translate(-50%, -50%);
}

.match-lineups-key__icon--injury::after{
  width:7px;
  height:22px;
}

.match-lineups-key__icon--sub-on::before,
.match-lineups-key__icon--sub-off::before{
  content:"";
  width:0;
  height:0;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
}

.match-lineups-key__icon--sub-on::before{
  border-left:22px solid #2fa63a;
}

.match-lineups-key__icon--sub-off::before{
  border-right:22px solid #c93a3f;
}

.match-lineups-key__icon--penalty::before,
.match-lineups-key__icon--missed::before{
  content:"";
  width:22px;
  height:14px;
  border:3px solid currentColor;
  border-bottom:0;
}

.match-lineups-key__icon--penalty{
  color:#009c5a;
}

.match-lineups-key__icon--missed{
  color:#ef4545;
}

.match-lineups-key__icon--penalty::after{
  content:"";
  position:absolute;
  bottom:4px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#009c5a;
}

.match-lineups-key__icon--missed::after{
  content:"×";
  position:absolute;
  bottom:0;
  color:#ef4545;
  font-size:16px;
  line-height:1;
}

.match-lineups-key__icon--suspension{
  border:2px solid #d1444d;
  border-radius:50%;
}

.match-lineups-key__icon--suspension::after{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  top:50%;
  height:2px;
  background:#d1444d;
  transform:rotate(45deg);
}

