/*
 * DiviniGen 4.3.3 — Dream main-page Leonardo triangle prototype
 * Scope: Dream entry hero only.
 * Preserves the shared universe/background, Dream form, routes, loading and results.
 */

.dg-dream-entry-v41 .dg-dream-prism-stage-live-v42 {
    width: clamp(250px, 27vw, 344px);
    height: clamp(218px, 23.5vw, 300px);
    margin: -8px auto 20px;
}

.dg-dream-entry-v41 .dg-dream-metal-surface-v42 {
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    clip-path: none;
    overflow: visible;
    filter:
        brightness(var(--dg-dream-metal-brightness))
        contrast(1.08)
        drop-shadow(0 0 24px rgba(190,216,228,.14))
        drop-shadow(0 18px 34px rgba(0,0,0,.46));
}

.dg-dream-entry-v41 .dg-dream-metal-surface-v42::before {
    inset: 10% 7% 8%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    border: 0;
    background:
        radial-gradient(circle at 50% 54%, rgba(236,246,249,.08), transparent 36%),
        linear-gradient(118deg, rgba(255,255,255,.07), transparent 17% 68%, rgba(203,218,226,.05));
    opacity: .58;
}

.dg-dream-entry-v41 .dg-dream-leonardo-triangle-v433 {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
    transform:
        translate3d(var(--dg-dream-metal-parallax-x), var(--dg-dream-metal-parallax-y), 0)
        scale(var(--dg-dream-metal-breath));
    transform-origin: 50% 54%;
    filter: brightness(.93) contrast(1.08) saturate(.88);
}

.dg-dream-entry-v41 .dg-dream-metal-sheen-v42 {
    inset: 11% 8% 7%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    border-radius: 0;
    opacity: calc(var(--dg-dream-metal-sheen-opacity) * .72);
}

/* Keep the existing fragment canvas as the living/spike layer, but quieter so the new art remains visible. */
.dg-dream-entry-v41 .dg-dream-prism-stage-live-v42 .dg-dream-entry-prism-canvas-v42 {
    inset: 1%;
    width: 98%;
    height: 98%;
    opacity: calc(var(--dg-dream-particle-opacity) * .62);
    filter: drop-shadow(0 0 18px rgba(201,221,232,.11));
}

/* The new Leonardo artwork already contains its own central symbol. */
.dg-dream-entry-v41 .dg-dream-centred-core-v423 {
    display: none !important;
}

@media (max-width: 767px) {
    .dg-dream-entry-v41 .dg-dream-prism-stage-live-v42 {
        width: 238px;
        height: 208px;
        margin: -14px auto 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dg-dream-entry-v41 .dg-dream-leonardo-triangle-v433 {
        transform: none !important;
    }
}
