/* Player identity / one integrated premium card, desktop-first.
   The social section is a real second row inside .profile-card, not a floating card. */
.player-profile-page .profile-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  overflow:hidden;
}
.player-profile-page .profile-content{
  flex:0 0 auto;
  width:100%;
  padding-bottom:47px;
}
/* The cosmetic shop appends this real link after the avatar in a fixed-height
   wrapper; reserve its space before drawing the footer divider. */
.player-profile-page .profile-avatar-wrap .shop-profile-link{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  display:inline-flex;
  margin:0;
  white-space:nowrap;
  line-height:16px;
}
.player-profile-page .player-social-region{
  position:relative;
  z-index:2;
  flex:none;
  margin:0 26px 17px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.095);
  min-width:0;
}
.player-profile-page .player-social-strip{
  display:grid;
  align-items:center;
  width:100%;
  min-height:79px;
  grid-template-columns:minmax(0,1fr) 260px;
  color:#eef9f1;
}
.player-profile-page .player-social-strip.has-club{
  grid-template-columns:minmax(0,1fr) 220px 265px;
}
.player-profile-page .player-social-strip[hidden],
.player-profile-page .player-social-strip [hidden]{
  display:none!important;
}
.player-social-reputation{
  min-width:0;
  padding:1px 27px 0 0;
}
.player-social-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.player-social-kicker,
.player-social-metric span,
.player-social-club span{
  font:750 10px/1.4 var(--font-mono,ui-monospace,monospace);
  color:#91b8a2;
  letter-spacing:.065em;
  text-transform:uppercase;
}
.player-social-score{
  font:800 22px/1 var(--font-sans,system-ui);
  letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;
  color:#00ff66;
}
.player-social-score[data-negative="true"]{color:#f17b86}
.player-social-scale{
  --rep-position:50%;
  position:relative;
  height:7px;
  margin:11px 0 5px;
  border-radius:99px;
  background:linear-gradient(90deg,#eb5263 0%,#d49c6f 24%,#9fa99f 50%,#74cd98 75%,#00ff66 100%);
}
.player-social-scale i{
  position:absolute;
  left:var(--rep-position);
  top:50%;
  width:4px;
  height:16px;
  border-radius:5px;
  background:#fff;
  box-shadow:0 0 0 2px #101d15,0 0 12px rgba(255,255,255,.18);
  transform:translate(-50%,-50%);
  transition:left .25s ease;
}
.player-social-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  min-width:0;
  height:74px;
  border-left:1px solid rgba(255,255,255,.085);
}
.player-social-metric{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  min-height:74px;
  padding:8px;
  text-align:center;
}
.player-social-metric+.player-social-metric{border-left:1px solid rgba(255,255,255,.08)}
.player-social-metric strong{
  font:800 23px/1 var(--font-sans,system-ui);
  color:#f3fff7;
  font-variant-numeric:tabular-nums;
}
.player-social-metric span{font-size:10px;letter-spacing:.035em;overflow-wrap:anywhere}
.player-social-club{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  min-height:74px;
  border-left:1px solid rgba(255,255,255,.085);
  padding:8px 0 8px 22px;
}
.player-social-club img{
  display:block;
  width:46px;
  height:46px;
  flex:none;
  object-fit:contain;
}
.player-social-club div{min-width:0}
.player-social-club span{display:block;margin-bottom:5px;font-size:10px;}
.player-social-club strong{
  display:block;
  font-size:15px;
  color:#f3fff6;
  font-weight:750;
  line-height:1.4;
  overflow-wrap:anywhere;
}
@media(max-width:1000px){
  .player-profile-page .player-social-strip.has-club{grid-template-columns:minmax(0,1fr) 205px 215px}
  .player-social-club{gap:9px;padding-left:14px}
  .player-social-club img{width:36px;height:36px}
  .player-social-reputation{padding-right:16px}
}
@media(max-width:760px){
  .player-profile-page .profile-content{padding-bottom:41px}
  .player-profile-page .player-social-region{margin:0 16px 16px;padding-top:13px}
  .player-profile-page .player-social-strip,
  .player-profile-page .player-social-strip.has-club{grid-template-columns:minmax(0,1fr) 170px}
  .player-social-club{
    grid-column:1/-1;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.085);
    padding:11px 4px 0;
    min-height:0;
    margin-top:12px;
  }
}
@media(max-width:500px){
  .player-profile-page .player-social-strip,
  .player-profile-page .player-social-strip.has-club{grid-template-columns:minmax(0,1fr)}
  .player-social-reputation{padding:0}
  .player-social-metrics{border-left:0;border-top:1px solid rgba(255,255,255,.085);height:auto;margin-top:12px}
  .player-social-metric{min-height:52px;flex-direction:row;gap:9px}
  .player-social-metric strong{font-size:20px}
  .player-social-club{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.player-social-scale i{transition:none}}

.favorite-team-card input[type=search]{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #264233;background:#07100b;color:#eef8ef}
.favorite-team-card .favorite-search-results{margin-top:7px;display:grid;gap:4px;max-height:240px;overflow:auto}
.favorite-team-card .favorite-search-results button{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #1b3727;background:#0c1810;color:#f4f7f1;border-radius:9px;padding:9px 11px;cursor:pointer}
.favorite-team-card .favorite-search-results button:hover,.favorite-team-card .favorite-search-results button:focus-visible{border-color:#00ff66}
.favorite-team-card .favorite-search-results img{height:30px;width:30px;object-fit:contain}
.favorite-team-card .favorite-selected{display:flex;align-items:center;gap:12px;min-height:38px;color:#edf9ef}
.favorite-team-card .favorite-selected img{height:40px;width:40px;object-fit:contain}
.favorite-team-card .favorite-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0}
.favorite-team-card .favorite-options label{display:flex;gap:9px;align-items:center;color:#b4c9b9}
.favorite-team-card .favorite-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.favorite-team-card .favorite-controls button{padding:10px 16px;border-radius:10px;background:#00ff66;color:#06140a;font-weight:750;border:1px solid #00ff66;cursor:pointer}
.favorite-team-card .favorite-controls button[data-favorite-clear]{color:#d8e6d8;background:#121b15;border-color:#304336}
.favorite-team-card [data-favorite-status]{min-height:1.4em;color:#a7c9af;font-size:12px}
.post-dislike[aria-pressed=true]{color:#f18691;border-color:#c74a5680;background:#c74a5614}
.match-review-panel{margin:16px 0;padding:19px 22px;background:#0b1911;border:1px solid #214936;border-radius:16px;color:#f5fbf7}
.match-review-panel h3{margin:5px 0;font-size:19px}
.match-review-panel p{margin:6px 0;color:#a9bbaf;font-size:13px}
.match-review-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 0}
.match-review-buttons button{border:1px solid #355240;border-radius:10px;background:#122119;color:#e4f1e8;padding:11px 18px;cursor:pointer}
.match-review-buttons button[aria-pressed=true]{border-color:#00ff66;color:#00ff66;background:#00ff6610}
.match-review-buttons button[data-vote="-1"][aria-pressed=true]{border-color:#eb697c;color:#ff8790;background:#eb697c13}
.match-review-buttons button:disabled{opacity:.55;cursor:not-allowed}

.player-social-scale{margin:14px 2px 10px}
