/* Gaussian-Splat-Viewer */
.gu-splat-block { margin: 2rem 0; }

.gu-splat-controls {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: var(--gu-text-mid);
    margin-bottom: 1.5rem;
}

.gu-splat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gu-splat-viewer-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--gu-bg-alt);
    overflow: hidden;
    border: 1px solid var(--gu-border);
}

.gu-splat-viewer-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.gu-splat-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    background-color: var(--gu-bg-alt);
    transition: background-color 0.2s;
}

.gu-splat-placeholder:hover { background-color: #e8ecef; }

.gu-splat-placeholder .gu-splat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--gu-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.gu-splat-placeholder:hover .gu-splat-icon { transform: scale(1.06); }

.gu-splat-placeholder .gu-splat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gu-petrol);
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gu-splat-placeholder span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gu-text-mid);
}

.gu-splat-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--gu-bg-alt);
}

.gu-splat-loading.active { display: flex; }

.gu-splat-loader {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--gu-border);
    border-top-color: var(--gu-orange);
    border-radius: 50%;
    animation: gu-splat-spin 0.8s linear infinite;
}

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

@media (max-width: 700px) {
    .gu-splat-grid { grid-template-columns: 1fr; }
}