/* Iframe Matrix — CSS Grid 6x6 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.iframe-matrix-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    width: 100vw;
    height: 100vh;
    gap: 2px;
    background: #111;
}

.iframe-slot {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.iframe-slot iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.iframe-slot-empty {
    background: #1a1a1a;
}

.iframe-slot-empty::after {
    content: attr(data-position);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9ca3af;
    font-family: monospace;
    font-size: 0.75rem;
}
