/* CIPHER Forensics Game – WordPress Plugin Styles */

.cipher-game-wrapper {
    font-family: 'Space Mono', monospace;
    background: #030712;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.cipher-game-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #030712;
    color: #00ff88;
    font-size: 13px;
    letter-spacing: .1em;
    z-index: 10;
    transition: opacity .3s;
}

.cipher-game-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.cipher-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,255,136,.2);
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: cipher-spin .8s linear infinite;
}

@keyframes cipher-spin { to { transform: rotate(360deg); } }

/* Reset potential theme conflicts inside the game wrapper */
.cipher-game-wrapper *,
.cipher-game-wrapper *::before,
.cipher-game-wrapper *::after {
    box-sizing: border-box;
}

.cipher-game-wrapper a {
    text-decoration: none;
}

.cipher-game-mount {
    width: 100%;
    min-height: inherit;
}

/* iFrame mode */
.cipher-game-container iframe {
    display: block;
    width: 100%;
    border: none;
    border-radius: 4px;
}
