/*
 * PRANATARA Relic number plaque optical alignment v001
 *
 * The literal Relic frame is carried by a 382:457 layer while its SVG uses
 * viewBox="11 5 355 440" with xMidYMid meet.  Its decorative lasso occupies
 * source x=24..101 / y=17..54, but the actual dark number well is the smaller
 * rect x=35..78 / y=25..42.  Earlier CSS centred the live C-ID against the
 * whole asymmetric lasso.  The percentages below include the SVG's horizontal
 * meet-letterbox and target the rendered well, while keeping the line box and
 * glyph explicitly upright.
 */

body[data-relic-number-alignment="inner-well-centered-v001"][data-relic-literal-frame="full-frame-v006"][data-relic-frame-boundary="source-canvas-v001"]
  .relic-literal-frame-layer
  > .relic-reference-number-plaque {
  top: 4.5454545455% !important;
  right: auto !important;
  bottom: auto !important;
  left: 8.2642194193% !important;
  width: 11.6914564493% !important;
  height: 3.8636363636% !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  rotate: 0deg !important;
  translate: none !important;
  scale: none !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  direction: ltr !important;
  text-align: center !important;
  text-indent: 0 !important;
  font-style: normal !important;
  font-synthesis: none !important;
  line-height: 1 !important;
}

body[data-relic-number-alignment="inner-well-centered-v001"][data-relic-literal-frame="full-frame-v006"][data-relic-frame-boundary="source-canvas-v001"]
  .relic-literal-frame-layer
  > .relic-reference-number-plaque
  > span {
  position: static !important;
  display: block !important;
  box-sizing: border-box !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  rotate: 0deg !important;
  translate: none !important;
  scale: none !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  direction: ltr !important;
  text-align: center !important;
  font-style: normal !important;
  font-synthesis: none !important;
  line-height: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  body[data-relic-number-alignment="inner-well-centered-v001"][data-relic-literal-frame="full-frame-v006"][data-relic-frame-boundary="source-canvas-v001"]
    .relic-reference-number-plaque,
  body[data-relic-number-alignment="inner-well-centered-v001"][data-relic-literal-frame="full-frame-v006"][data-relic-frame-boundary="source-canvas-v001"]
    .relic-reference-number-plaque
    > span {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  body[data-relic-number-alignment="inner-well-centered-v001"][data-relic-literal-frame="full-frame-v006"][data-relic-frame-boundary="source-canvas-v001"]
    .relic-reference-number-plaque {
    overflow: hidden !important;
  }
}
