/* Performance's scrolling score bars, fitted to the existing player sheet. */
.lb-psheet .pl-q__pic > img{transform:none;object-fit:contain;object-position:50% 50%}
.lb-form-averages{margin:0 0 18px}
.lb-form-averages .pl-fig b{font-size:28px;font-variant-numeric:tabular-nums}
.lb-form-chart__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0}
.lb-form-chart__head h4{font-size:16px;font-weight:560;margin:0 0 4px}
.lb-form-chart__head small{font-size:12px;color:var(--fg-3)}
.lb-form-period{display:flex;width:100%;min-width:0;margin-bottom:18px}
.lb-form-period .seg__opt{flex:1;justify-content:center}
.lb-form-chart{display:grid;grid-template-columns:26px minmax(0,1fr);gap:6px;--plot:156px;--top:26px}
.lb-form-chart__axis{height:var(--plot);margin-top:var(--top);display:flex;flex-direction:column;justify-content:space-between;color:var(--fg-3);font-size:11px;font-variant-numeric:tabular-nums}
.lb-form-chart__axis span{transform:translateY(-50%)}
.lb-form-chart__axis span:last-child{transform:translateY(50%)}
.lb-form-chart__scroll{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:8px}
.lb-form-chart__track{position:relative;display:grid;grid-template-columns:repeat(var(--matches),44px);gap:8px;width:max-content;min-width:100%;padding-top:var(--top)}
.lb-form-chart__grid{position:absolute;pointer-events:none;top:var(--top);left:0;right:0;height:var(--plot)}
.lb-form-chart__grid > i{position:absolute;left:0;right:0;height:1px;background:var(--grid-line,rgba(0,0,0,.08));top:0}
.lb-form-chart__grid > i:nth-child(2){top:50%}
.lb-form-chart__grid > i:nth-child(3){top:100%}
.lb-form-chart__grid > b{position:absolute;z-index:2;left:0;right:0;border-top:1px dashed var(--fg-2);opacity:.6}
.lb-form-bar{display:grid;gap:6px;width:44px;min-width:44px;padding:0 2px 4px;border:0;border-radius:8px;background:none;color:var(--fg);font:inherit;text-align:center;cursor:pointer}
.lb-form-bar:hover,.lb-form-bar[aria-pressed="true"]{background:var(--pl-tile)}
.lb-form-bar:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.lb-form-bar__plot{display:block;position:relative;height:var(--plot);width:100%}
.lb-form-bar__plot > i{position:absolute;bottom:0;left:2px;right:2px;border-radius:8px 8px 5px 5px;background:var(--score-c,#d3dad5)}
.lb-form-bar.is-unrated .lb-form-bar__plot > i{background:#d3dad5}
.lb-form-bar__plot > b{position:absolute;left:0;right:0;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.lb-form-bar__acts{position:absolute;bottom:7px;left:0;right:0;display:grid;justify-content:center;gap:3px}
.lb-form-bar__acts > span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink)}
.lb-form-bar__acts .i{width:17px;height:17px}
.lb-form-bar__crest{display:flex;justify-content:center;align-items:center;gap:3px;height:22px}
.lb-form-bar__crest img{width:20px;height:20px;object-fit:contain}
.lb-form-bar__crest small{font-size:10px;color:var(--fg-3)}
.lb-form-bar__date{font-size:10px;white-space:nowrap}
.lb-form-bar__minutes{font-size:11px;color:var(--fg-3)}
.lb-form-chart__foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}
.lb-form-chart__foot > span{font-size:11px;color:var(--fg-3)}
.lb-form-chart__foot > span i{display:inline-block;width:16px;border-top:1px dashed var(--fg-2);margin-right:5px;vertical-align:middle}
.lb-form-chart__foot > div{display:flex;gap:4px}
.lb-form-chart__foot .btn-circle{width:44px;height:44px}
.lb-form-match{padding:14px;border-radius:16px;background:var(--pl-tile);margin-top:12px}
.lb-form-match__head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lb-form-match__head > div{display:grid;gap:5px;min-width:0}
.lb-form-match__head b{font-size:14px;font-weight:560}
.lb-form-match__head small{font-size:12px;line-height:1.5;color:var(--fg-3)}
.lb-form-match__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
.lb-form-match__stats dt{font-size:11px;color:var(--fg-3)}
.lb-form-match__stats dd{margin:5px 0 0;font-size:20px;font-variant-numeric:tabular-nums}
.lb-form-match .pl-note{font-size:12px;line-height:1.6}
@media(max-width:599px){
  .lb-psheet .pl-tabs{margin:-8px -8px 0;padding:8px}
  .lb-form-chart{--plot:136px}
  .lb-form-chart__foot > span{max-width:180px;line-height:1.5}
}


/* LB_FORM's shared Performance content inside DS.playerSheet (only on the production pages that load this adapter). */
.player-sheet .player-sheet__pic > img{transform:none;object-fit:contain;object-position:50% 50%}
.prism-player-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;--pl-tile:var(--tile-soft,#f3f6f4)}
.prism-player-form .pl-card{padding:24px 30px;min-width:0}
.prism-player-form .pl-card .card__head{margin-bottom:16px;align-items:flex-start}
.prism-player-form .pl-card .card__sub{margin-top:4px}
.prism-player-form .pl-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.prism-player-form .pl-fig{display:grid;gap:6px;min-width:0;padding:12px 10px;border-radius:12px;background:var(--pl-tile)}
.prism-player-form .pl-fig small{font-size:12px;color:var(--fg-3)}
.prism-player-form .pl-fig b{font-weight:500;line-height:1.1}
.prism-player-form .pl-note{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:var(--fg-3)}
.prism-player-form .pl-note .btn{margin-top:8px}
.prism-player-form .lb-form-chart__head{flex-wrap:wrap}
@media(max-width:599px){
  .prism-player-form{gap:8px}
  .prism-player-form .pl-card{padding:20px 16px}
  .prism-player-form .card__title{font-size:20px}
  .prism-player-form .pl-note{font-size:15px}
}
