a.pma-header {
  display: block;
  margin: 12px 0 8px;
  padding: 4px;
  background: #fff;
  text-align: center;
  text-decoration: none;
}
.pma-header .pma-art {
  position: relative;
  display: block;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
}
.pma-header .pma-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 155px;
  object-fit: contain;
}
.pma-header .pma-action {
  position: absolute;
  right: 17.5%;
  bottom: 4px;
  transform: translateX(50%);
  display: inline-flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 5px 18px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #2e3a72;
  background: linear-gradient(105deg, #086681, #2e3a72);
  color: #fff;
  font: bold 15px/22px Tahoma, Arial, sans-serif;
  white-space: nowrap;
  animation: aqari-pma-halo 2.4s ease-out infinite;
}
.pma-header .pma-action::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
@keyframes aqari-pma-halo {
  0%, 24% { box-shadow: 0 0 0 0 rgba(8, 102, 129, .42); }
  77%, 100% { box-shadow: 0 0 0 5px rgba(8, 102, 129, 0); }
}
a.pma-header:hover .pma-action,
a.pma-header:focus .pma-action {
  animation: none;
  background: #273461;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #086681;
}
a.pma-header:focus-visible {
  outline: 2px solid #086681;
  outline-offset: 2px;
}
@media (max-width: 699px) {
  body.pma-archive-page { padding-bottom: 90px; }
  .pma-header .pma-action {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    margin: -2px auto 3px;
    vertical-align: middle;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pma-header .pma-action { animation: none; }
}
