.playerStatPreview {
  position: fixed;
  inset: auto;
  z-index: 1200;
  box-sizing: border-box;
  width: min(21rem, calc(100vw - 16px));
  max-height: min(24rem, calc(100vh - 16px));
  max-height: min(24rem, calc(100dvh - 16px));
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid var(--line, #c8d3dc);
  border-radius: .75rem;
  background: var(--panel, #fff);
  color: var(--ink, #172939);
  box-shadow: 0 .5rem 1.75rem rgba(11, 26, 42, .25);
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.35;
  text-align: start;
}
.pp-head, .pp-head > div { display: flex; }
.pp-head { align-items: flex-start; justify-content: space-between; gap: .6rem; }
.pp-head > div { flex-direction: column; }
.pp-head > div:first-child { min-width: 0; }
.pp-head > div:first-child strong { overflow-wrap: anywhere; font-size: 1.05rem; }
.pp-head small, .pp-section dt, .pp-section > span, .pp-note { color: var(--muted, #526575); }
.pp-head small { font-size: .75rem; }
.pp-grade { align-items: flex-end; flex-shrink: 0; }
.pp-grade strong, .pp-section dd { font-variant-numeric: tabular-nums; }
.pp-grade strong { font-size: 1.125rem; line-height: 1.15; }
.pp-section { margin-top: .65rem; border-top: 1px solid var(--line, #c8d3dc); padding-top: .55rem; }
.pp-section > p { margin: 0 0 .25rem; font-weight: 700; font-size: .8rem; }
.pp-section dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .45rem 1rem; margin: 0; }
.pp-attribute { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .25rem; }
.pp-attribute:not(.pp-letter) { padding-bottom: .32rem; }
.pp-section dt { overflow-wrap: anywhere; font-size: .75rem; }
.pp-section dd { margin: 0; font-weight: 720; font-size: .85rem; text-align: end; }
.pp-attribute meter { position: absolute; inset: auto 0 0; display: block; width: 100%; height: .22rem; border: 0; border-radius: .22rem; overflow: hidden; background: var(--line,#d7e0e6); appearance: none; }
.pp-attribute meter::-webkit-meter-bar { height: 100%; border: 0; border-radius: inherit; background: var(--line,#d7e0e6); }
.pp-attribute meter::-webkit-meter-optimum-value { border-radius: inherit; background: var(--pp-fill); }
.pp-attribute meter::-moz-meter-bar { border-radius: inherit; background: var(--pp-fill); }
.pp-elite { --pp-fill: #1ca45b; }
.pp-strong { --pp-fill: #529651; }
.pp-solid { --pp-fill: #a58c2d; }
.pp-fair { --pp-fill: #bc7345; }
.pp-low { --pp-fill: #aa4d47; }
.pp-section > span, .pp-note { display: block; font-size: .75rem; }
.pp-note { margin: .5rem 0 0; }
@media (pointer: coarse) {
  [data-action="open"][data-view="player"][data-id], [data-action="player"][data-id], [data-player-id] { -webkit-touch-callout: none; }
}
@media (forced-colors: active) {
  .playerStatPreview { border: 1px solid CanvasText; }
}
