/* Number plates drawn by src/Plate.php, as on PrivatePlates.co.uk. */
@font-face{font-family:'UKNumberPlate';src:url('fonts/UKNumberPlate.woff2') format('woff2');
  font-weight:400;font-style:normal;font-display:swap}

/* The legacy plate box (plates.css) paints a gradient, border and shadow of its own, some of it
   !important, so the drawn plate replaces that paint rather than sitting inside it. */
.plate:has(>.nrp),.platearea .plate:has(>.nrp),.platearea .plate.medplate:has(>.nrp),
.homepageWrap .seemore .platearea .plate:has(>.nrp){
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0!important;min-height:0!important;line-height:0!important;text-shadow:none!important;
  overflow:visible!important}

/* Inherited text settings from the legacy box must not reach the drawn characters. */
.nrp{display:block;width:100%;height:auto;overflow:visible;
  font-family:'UKNumberPlate','Arial Narrow',system-ui,sans-serif;font-weight:400;font-style:normal;
  font-synthesis:none;letter-spacing:normal;word-spacing:normal;text-shadow:none;text-transform:none}
.nrp .plate-edge{stroke-width:2px}
.nrp.is-retail{border-radius:2.7%/12.6%;
  box-shadow:0 1px 2px rgba(20,20,20,.16),0 2px 7px rgba(20,20,20,.08)}
.nrp.is-retail .plate-edge{stroke-width:1.5px}

/* Card size: the legacy medplate box is up to 150px wide, as a PrivatePlates.co.uk card plate. */
.plate.medplate>.nrp,.plate.truehalf>.nrp{width:100%}

/* Inline plates in running copy and tiles have no width of their own, so they are sized by
   the text around them. */
.plate:not(.medplate):not(.truehalf)>.nrp{display:inline-block;vertical-align:middle;width:9em}
.plate.smallplate:not(.medplate):not(.truehalf)>.nrp{width:6.5em}
