
.slot-demo-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.slot-demo-modal-container {
    position: relative;
    width: 92vw;
    height: 92vh;
    display: flex;
    flex-direction: column;
}

.slot-demo-modal-iframe-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #0a0f1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.slot-demo-modal-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.slot-demo-modal-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.35);
    font-family: var(--font-mono);
    pointer-events: none;
}

.slot-demo-modal-close {
    position: absolute;
    top: env(safe-area-inset-top, 8px);
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-family: var(--font-sans);
    transition: background var(--transition);
    z-index: 10;
}

.slot-demo-modal-close:hover { background: rgba(255,255,255,0.22); }

body.modal-open { overflow: hidden; }

@media (max-width: 767px) {
    .slot-demo-modal-overlay {
        padding: 0;
        background: #000;
    }
    .slot-demo-modal-container {
        width: 100vw;
        width: 100dvw;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
    }
    .slot-demo-modal-iframe-wrap {
        border-radius: 0;
        border: none;
    }
    .slot-demo-modal-close {
        top: calc(env(safe-area-inset-top, 0px) + 8px);
        right: 8px;
    }
}
