/* v 260602.0055 UTC */

.artifact-hotspot {
    position: fixed;
    left: 6vw;
    bottom: 7vh;
    z-index: 20;

    width: clamp(58px, 7vw, 110px);
    aspect-ratio: 1.45;

    background-image: url('/assets/images/artifacts/web/artifact-001.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    cursor: pointer;
    opacity: 0.82;

    transform: rotate(-8deg);
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));

    transition:
        opacity 180ms ease,
        scale 180ms ease;
}

.artifact-hotspot:hover {
    opacity: 1;
    scale: 1.05;
}

.artifact-hotspot[hidden] {
    display: none;
}

.artifact-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: grid;
    place-items: center;

    padding: 32px;

    background: rgba(0, 0, 0, 0.78);
}

.artifact-lightbox[hidden] {
    display: none;
}

.artifact-lightbox__close {
    position: fixed;
    top: 18px;
    right: 22px;

    border: 0;
    background: transparent;

    color: #fff;
    font-size: 42px;
    line-height: 1;

    cursor: pointer;
}

.artifact-lightbox__figure {
    margin: 0;
    max-width: min(92vw, 1000px);
}

.artifact-lightbox__image {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.artifact-lightbox__caption {
    margin-top: 14px;

    color: #fff;
    font-family: system-ui, sans-serif;
    text-align: center;
}

.artifact-lightbox__caption strong,
.artifact-lightbox__caption span {
    display: block;
}

/* Discovery message */

.artifact-discovery-message {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 120;

    max-width: min(90vw, 420px);
    padding: 12px 18px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;

    background: rgba(2, 8, 23, 0.86);
    color: #fff;

    font-family: system-ui, sans-serif;
    font-size: 0.95rem;
    text-align: center;

    transform: translateX(-50%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);

    pointer-events: none;
}