/* Retains the existing Art X; pill paint lives in focuschrist-pills.css. */
body.fc-site.fc-site.fc-site.fc-site.fc-site #imageModal > .fc-art-gallery-x {
    position: absolute;
    inset: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) auto auto;
    z-index: 1004;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    inline-size: 44px;
    min-inline-size: 44px;
    block-size: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,242,220,.45);
    border-radius: 50%;
    background: rgba(7,24,31,.86);
    color: var(--fc-cream,#fff2dc);
    cursor: pointer;
}
#imageModal > .fc-art-gallery-x::before,
#imageModal > .fc-art-gallery-x::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    inline-size: 16px;
    block-size: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}
#imageModal > .fc-art-gallery-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
body.fc-site.fc-site.fc-site.fc-site.fc-site #imageModal > .fc-art-gallery-x:is(:hover,:focus-visible) {
    background: #173946;
    border-color: #f0c36a;
}
#imageModal > .fc-art-gallery-x:focus-visible {
    outline: 3px solid rgba(240,195,106,.5);
    outline-offset: 2px;
}
@media (forced-colors: active) {
    body.fc-site.fc-site.fc-site.fc-site.fc-site #imageModal > .fc-art-gallery-x {
        background: ButtonFace !important;
        color: ButtonText !important;
        border-color: ButtonText !important;
        box-shadow: none !important;
    }
}
