.posbadge {
  display: inline-block;
  min-width: 34px;
  padding: 2px 8px;
  border-left: 3px solid var(--pc);
  border-radius: 4px;
  background: color-mix(in srgb, var(--pc) 12%, var(--panel));
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.pos-gk { --pc: var(--pos-gk); }
.pos-df { --pc: var(--pos-df); }
.pos-os { --pc: var(--pos-os); }
.pos-fv { --pc: var(--pos-fv); }

.pinfo-cell { display: flex; align-items: center; gap: 10px; }
.pthumb {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c, #B9C8D6) 45%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--c, #B9C8D6) 16%, var(--panel));
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.pthumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.pthumb-fb { display: none; }
.pthumb.noimg .pthumb-img { display: none; }
.pthumb.noimg .pthumb-fb { display: block; }

.pname-wrap { min-width: 0; }
.pname {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--link);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prow:hover .pname { text-decoration: underline; }
.pteam {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-cell {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: -4px;
  margin-right: 6px;
}
.year-cell {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.prow .team-cell,
.prow .year-cell,
.prow .posbadge,
.prow .raritypill { cursor: pointer; }
.prow .team-cell:hover .team-name,
.prow .year-cell:hover { text-decoration: underline; }
.prow .posbadge:hover,
.prow .raritypill:hover { filter: brightness(1.1); }

.raritypill {
  display: inline-block;
  width: fit-content;
  padding: 2px 9px;
  border: 1px solid color-mix(in srgb, var(--c) 50%, var(--line));
  border-radius: 7px;
  background: color-mix(in srgb, var(--c) 12%, var(--panel));
  color: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.raritypill.rarity-mythic {
  background: var(--r-mythic);
  color: #FFFFFF;
  border-color: var(--r-mythic);
}
.raritypill.rarity-super {
  background: linear-gradient(135deg, var(--r-super), var(--r-super-2));
  color: var(--r-super-ink);
  border-color: transparent;
}

.ptable .num {
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.t0 { color: var(--t0); }
.t1 { color: var(--t1); }
.t2 { color: var(--t2); }
.t3 { color: var(--t3); }
.t4 { color: var(--t4); }

.ovr-cell { text-align: right; }
.ovr {
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
