/* Gensokyo Origins Chapter 3: scene artwork and Breaker Style revelation. */
.go3-scene {
    aspect-ratio: 16 / 9;
    background: #08080a;
}

.go3-scene .auth-chara-intro-scene-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.go3-scene img[data-scene-src] {
    background: linear-gradient(135deg, #17131d, #08080a);
    color: var(--muted);
}

.go3-boss {
    background: #08080a;
}

.go3-revelation-trigger {
    cursor: pointer;
}

.go3-revelation-trigger:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.go3-revelation-trigger[aria-disabled="true"] {
    cursor: default;
}

.go3-revelation-screen {
    position: relative;
    margin: 1.5rem 0;
    transform-origin: center;
}

.go3-revelation-screen[hidden] {
    display: none;
}

.go3-revelation-screen.is-revealing {
    animation: go3-style-reveal 180ms ease-out;
}

.go3-revelation-screen video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.go3-status:empty {
    display: none;
}

@keyframes go3-style-reveal {
    from {
        transform: scaleY(0.03);
    }
    to {
        transform: scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .go3-revelation-screen.is-revealing {
        animation: none;
    }
}

/* Hold a black end screen over the video until the next revelation. */
.go3-revelation-replay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: "Edo SZ", Georgia, serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    cursor: pointer;
}

.go3-revelation-replay[hidden] {
    display: none;
}

.go3-revelation-replay:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -8px;
}

.go3-revelation-replay:disabled {
    cursor: wait;
}
