/* ════════════════════════════════════════════════════════════════
   animation-pad — overlay styles (OBS browser source, transparent bg)
   ════════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: transparent;
    overflow: hidden;
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    color: #fff;
}

.ap-overlay { position: fixed; inset: 0; pointer-events: none; }

/* Full-screen media (video / image) for the current effect. */
.ap-media { position: absolute; inset: 0; }
.ap-media video, .ap-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Centered pop for name-only (built-in) triggers. */
.ap-pop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-pop-item {
    font-size: 96px;
    font-weight: 900;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.4);
    animation: ap-pop 1.4s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}
@keyframes ap-pop {
    0% { transform: scale(0.3); opacity: 0; }
    25% { transform: scale(1.1); opacity: 1; }
    70% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.05); opacity: 0; }
}

/* One-time autoplay-unblock hint (only if the browser blocks audio). */
.ap-autoplay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 999999;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
}
.ap-autoplay .big { font-size: 3.5rem; }
.ap-autoplay .msg { font-size: 1.5rem; font-weight: 800; }
.ap-autoplay .sub { font-size: 1rem; color: #aaa; }
