.rp-tag-stage{display:table;position:relative;max-width:100%;line-height:0}
.rp-tag-stage img{display:block;height:auto;max-width:100%;margin:0}
#rp-tag-editor .rp-tag-stage{touch-action:none;cursor:crosshair;user-select:none}
.rp-tag-rect{position:absolute;box-sizing:border-box;background:transparent;border:2px solid white;box-shadow:0 0 0 1px #423b31;padding:0;border-radius:4px}
.rp-tag-rect{pointer-events:none}

.rp-tagged li.rp-selected,.rp-tag-row[data-selected=true]{background:#faf1d9;color:#292419}
.rp-tag-row{padding:8px;margin-block:6px}
.rp-tagged figcaption li{margin:.4em 0}

.rp-tagged button.rp-face{position:absolute;opacity:0!important;cursor:pointer;margin:0;padding:0;min-width:0;min-height:0}
.rp-tagged .rp-face-label{position:absolute;z-index:2;max-width:45%;padding:.4em .6em;background:#163452;color:white;line-height:1.35;border-radius:4px}
.rp-face-label a{color:white;text-decoration:underline}
.rp-tagged .rp-face-label[hidden]{display:none}

@media (prefers-reduced-motion: no-preference) {
    .rp-tagged .rp-face-label:not([hidden]) {
        animation: rp-face-label-appear 320ms ease-out;
    }
}
@keyframes rp-face-label-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}
