/* DiviniGen 4.2.1 — Unified Metallic Dream Threshold */
.dg-dream-v40 {
    --dg-dream-silver: #e6e7e8;
    --dg-dream-steel: #8f969d;
    --dg-dream-ink: #050607;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 8%, rgba(156, 169, 181, 0.15), transparent 30%),
        radial-gradient(circle at 16% 66%, rgba(93, 107, 120, 0.08), transparent 28%),
        linear-gradient(160deg, #101317 0%, #07090b 44%, #030405 100%) !important;
}

.dg-dream-v40::before {
    background:
        linear-gradient(115deg, transparent 20%, rgba(255,255,255,.025) 49%, transparent 72%),
        repeating-linear-gradient(90deg, transparent 0 109px, rgba(255,255,255,.012) 110px) !important;
    opacity: .65;
}

.dg-dream-field-v40 {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .72;
}

.dg-dream-v40 > :not(.dg-dream-field-v40) {
    position: relative;
    z-index: 2;
}

.dg-dream-prism-stage-v40 {
    position: relative;
    display: grid;
    place-items: center;
    margin-inline: auto;
    width: 260px;
    height: 230px;
    filter: drop-shadow(0 28px 34px rgba(0,0,0,.62));
}

.dg-dream-prism-stage-v40::before,
.dg-dream-prism-stage-v40::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dg-dream-prism-stage-v40::before {
    width: 90%;
    height: 30%;
    bottom: 3%;
    background: radial-gradient(ellipse, rgba(184,202,216,.18), transparent 66%);
    filter: blur(15px);
}

.dg-dream-prism-stage-v40::after {
    inset: 4%;
    border: 1px solid rgba(190,205,218,.11);
    box-shadow: inset 0 0 58px rgba(197,213,226,.06), 0 0 34px rgba(175,196,214,.06);
}

.dg-dream-prism-v40 {
    position: relative;
    z-index: 2;
    width: 188px;
    aspect-ratio: 1.12 / 1;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background:
        linear-gradient(112deg, transparent 0 44%, rgba(255,255,255,.72) 49%, transparent 54%),
        linear-gradient(145deg, #12161a 8%, #737b82 35%, #080a0c 57%, #afb5ba 79%, #1a1e22 100%);
    border: 0;
    animation: dgDreamPrismBreathe 4.8s ease-in-out infinite;
}

.dg-dream-prism-v40::before {
    content: "";
    position: absolute;
    inset: 7px;
    clip-path: inherit;
    background:
        linear-gradient(115deg, rgba(255,255,255,.7), transparent 10% 58%, rgba(255,255,255,.22)),
        linear-gradient(152deg, #22282d 0%, #080a0c 48%, #4d555d 100%);
}

.dg-dream-prism-v40::after {
    content: "";
    position: absolute;
    inset: 18px 20px 16px;
    clip-path: inherit;
    background:
        repeating-linear-gradient(112deg, rgba(255,255,255,.055) 0 1px, transparent 1px 8px),
        radial-gradient(circle at 50% 60%, rgba(242,245,246,.22), transparent 28%),
        linear-gradient(145deg, #080a0c, #343a40 50%, #090b0d);
    box-shadow: inset 0 0 28px rgba(255,255,255,.08);
}

.dg-dream-prism-edge-v40,
.dg-dream-prism-inner-v40,
.dg-dream-prism-core-v40 {
    position: absolute;
    z-index: 3;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.dg-dream-prism-edge-v40 {
    width: 104px;
    height: 92px;
    top: 48px;
    background: linear-gradient(140deg, #e8ebed, #30363b 47%, #b8bec3 76%, #161a1e);
}

.dg-dream-prism-inner-v40 {
    width: 82px;
    height: 71px;
    top: 58px;
    background: linear-gradient(150deg, #0a0d10, #4c555c 52%, #080a0c);
}

.dg-dream-prism-core-v40 {
    width: 31px;
    height: 28px;
    top: 78px;
    background: linear-gradient(145deg, #fff, #606b74 48%, #eef1f2);
    filter: drop-shadow(0 0 10px rgba(226,238,247,.8));
    animation: dgDreamCorePulse 2.8s ease-in-out infinite;
}

.dg-dream-prism-stage-entry-v40 {
    margin: -16px 0 12px;
    transform-origin: 50% 65%;
}

.dg-dream-prism-stage-entry-v40 .dg-dream-prism-v40 {
    transform: scale(.88);
}

.dg-dream-prism-stage-loading-v40 {
    width: min(340px, 86vw);
    height: 275px;
    margin: 12px auto 0;
}

.dg-dream-prism-stage-loading-v40 .dg-dream-prism-v40 {
    animation: dgDreamLoadingPrism 5.2s ease-in-out both;
}

.dg-dream-prism-particles-v40 {
    position: absolute;
    inset: -20%;
    z-index: 4;
    width: 140%;
    height: 140%;
    pointer-events: none;
}

.dg-dream-prism-stage-result-v40 {
    width: 142px;
    height: 126px;
    margin: -12px auto 8px;
}

.dg-dream-prism-stage-result-v40::after { inset: 0; }
.dg-dream-prism-stage-result-v40 .dg-dream-prism-v40 {
    animation-name: dgDreamPrismBreatheSmall;
}

.dg-dream-v40 .divinigen-dream-copy,
.dg-dream-v40 .divinigen-dream-card,
.dg-dream-v40 .divinigen-dream-loading-inner,
.dg-dream-v40 .divinigen-dream-result-inner {
    position: relative;
    z-index: 2;
}

.dg-dream-v40 .divinigen-dream-card,
.dg-dream-v40 .divinigen-dream-loading-inner,
.dg-dream-v40 .divinigen-dream-meta-card,
.dg-dream-v40 .divinigen-dream-audio-box,
.dg-dream-v40 .divinigen-dream-section,
.dg-dream-v40 .divinigen-dream-disclaimer {
    background:
        linear-gradient(145deg, rgba(29,34,39,.88), rgba(6,8,10,.94)),
        rgba(8,10,12,.9) !important;
    border-color: rgba(191,205,216,.14) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.04), 0 22px 70px rgba(0,0,0,.32);
}

.dg-dream-v40 .divinigen-dream-point,
.dg-dream-v40 .divinigen-dream-field input,
.dg-dream-v40 .divinigen-dream-field textarea,
.dg-dream-v40 .divinigen-dream-field select {
    background: rgba(2,4,5,.62);
    border-color: rgba(184,198,209,.14);
}

.dg-dream-v40 .divinigen-dream-submit,
.dg-dream-v40 .divinigen-dream-btn {
    background: linear-gradient(155deg, rgba(48,55,61,.9), rgba(8,10,12,.96));
    border-color: rgba(204,214,221,.2);
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 16px 38px rgba(0,0,0,.34);
}

.dg-dream-v40 .divinigen-dream-section {
    overflow: hidden;
}

.dg-dream-v40 .divinigen-dream-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 25%, rgba(255,255,255,.03) 48%, transparent 70%);
    transform: translateX(-100%);
    animation: dgDreamSectionSheen 9s ease-in-out infinite;
}

.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-meta-bar,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-actions,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-print-note,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-audio-box,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-section,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-bottom-actions,
.dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-disclaimer {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}

.dg-dream-v40[data-dg-dream-scene="result"] .dg-dream-revealed-v40 {
    opacity: 1;
    transform: none;
}

@keyframes dgDreamPrismBreathe {
    0%, 100% { filter: brightness(.83); transform: scale(.98); }
    50% { filter: brightness(1.14); transform: scale(1.015); }
}

@keyframes dgDreamCorePulse {
    0%, 100% { opacity: .72; filter: drop-shadow(0 0 7px rgba(226,238,247,.48)); }
    50% { opacity: 1; filter: drop-shadow(0 0 16px rgba(235,245,251,.95)); }
}

@keyframes dgDreamPrismBreatheSmall {
    0%, 100% { filter: brightness(.83); transform: scale(.55); }
    50% { filter: brightness(1.14); transform: scale(.59); }
}

@keyframes dgDreamLoadingPrism {
    0%, 16% { opacity: 1; filter: brightness(.86); transform: scale(.92); }
    48% { opacity: .13; filter: brightness(1.35) blur(1px); transform: scale(1.06); }
    72% { opacity: .18; filter: brightness(1.1); transform: scale(.9); }
    94%, 100% { opacity: 1; filter: brightness(1.12); transform: scale(1); }
}

@keyframes dgDreamSectionSheen {
    0%, 72% { transform: translateX(-110%); }
    88%, 100% { transform: translateX(110%); }
}

@media (max-width: 1100px) {
    .dg-dream-prism-stage-entry-v40 { margin-inline: auto; }
    .dg-dream-v40 .divinigen-dream-copy { text-align: center; }
    .dg-dream-v40 .divinigen-dream-text { margin-inline: auto; }
}

@media (max-width: 767px) {
    .dg-dream-prism-stage-entry-v40 { width: 210px; height: 188px; margin-top: -26px; }
    .dg-dream-prism-stage-entry-v40 .dg-dream-prism-v40 { transform: scale(.72); }
    .dg-dream-prism-stage-loading-v40 { height: 225px; }
    .dg-dream-prism-stage-loading-v40 .dg-dream-prism-v40 { width: 154px; }
    .dg-dream-prism-stage-result-v40 { width: 126px; height: 112px; }
    .dg-dream-v40 .divinigen-dream-loading-inner { overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
    .dg-dream-v40 *,
    .dg-dream-v40 *::before,
    .dg-dream-v40 *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-meta-bar,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-actions,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-print-note,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-audio-box,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-section,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-bottom-actions,
    .dg-dream-v40[data-dg-dream-scene="result"] .divinigen-dream-disclaimer {
        opacity: 1;
        transform: none;
    }
}

/* Homepage-matched metallic surface and scroll choreography */
.dg-dream-entry-v41 {
    min-height: 135svh;
    --dg-dream-prism-shift: 0px;
    --dg-dream-prism-scale: 1;
    --dg-dream-prism-opacity: 1;
    --dg-dream-metal-opacity: 1;
    --dg-dream-metal-brightness: .92;
    --dg-dream-metal-breath: 1;
    --dg-dream-metal-parallax-x: 0px;
    --dg-dream-metal-parallax-y: 0px;
    --dg-dream-metal-sheen-opacity: .2;
    --dg-dream-metal-sheen-x: -54%;
    --dg-dream-particle-opacity: .34;
    --dg-dream-title-shift: 0px;
    --dg-dream-title-opacity: 1;
    --dg-dream-interface-shift: 0px;
    --dg-dream-interface-scale: 1;
}

.dg-dream-prism-stage-live-v42 {
    width: clamp(286px, 31vw, 390px);
    height: clamp(246px, 27vw, 338px);
    transform:
        translate3d(0, var(--dg-dream-prism-shift), 0)
        scale(var(--dg-dream-prism-scale));
    transform-origin: 50% 54%;
    opacity: var(--dg-dream-prism-opacity);
    will-change: transform, opacity;
    perspective: 900px;
}

.dg-dream-prism-stage-live-v42::before {
    opacity: calc(var(--dg-dream-metal-opacity) * .9);
}

.dg-dream-metal-surface-v42 {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 76%;
    height: 76%;
    transform: translate(-50%, -47%);
    clip-path: polygon(50% 1%, 99% 98%, 1% 98%);
    opacity: var(--dg-dream-metal-opacity);
    filter:
        brightness(var(--dg-dream-metal-brightness))
        contrast(1.09)
        drop-shadow(0 0 26px rgba(190,216,228,.16));
    transition: opacity 80ms linear;
    will-change: opacity, filter;
}

.dg-dream-metal-surface-v42::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    clip-path: inherit;
    border: 1px solid rgba(223,232,237,.46);
    background:
        linear-gradient(118deg, rgba(255,255,255,.14), transparent 13% 67%, rgba(203,218,226,.1)),
        radial-gradient(circle at 48% 56%, transparent 38%, rgba(0,0,0,.28) 100%);
    pointer-events: none;
}

.dg-dream-metal-texture-v42 {
    position: absolute;
    z-index: 1;
    inset: -13%;
    width: 126%;
    height: 126%;
    object-fit: cover;
    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% 52%;
    will-change: transform;
}

.dg-dream-metal-sheen-v42 {
    position: absolute;
    z-index: 4;
    inset: 7%;
    opacity: var(--dg-dream-metal-sheen-opacity);
    background: linear-gradient(
        112deg,
        transparent 26%,
        rgba(231,241,245,.02) 39%,
        rgba(247,250,251,.25) 49%,
        rgba(193,215,225,.04) 57%,
        transparent 70%
    );
    mix-blend-mode: screen;
    transform: translate3d(var(--dg-dream-metal-sheen-x), 0, 0) rotate(-6deg);
    filter: blur(1.2px);
    pointer-events: none;
    will-change: transform, opacity;
}

.dg-dream-prism-stage-live-v42 .dg-dream-entry-prism-canvas-v42 {
    inset: -4%;
    z-index: 5;
    width: 108%;
    height: 108%;
    opacity: var(--dg-dream-particle-opacity);
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 22px rgba(201,221,232,.14));
    transition: opacity 80ms linear;
}

.dg-dream-prism-stage-live-v42 .dg-dream-prism-v40 {
    opacity: 0;
}

.dg-dream-entry-presence-v41 > .divinigen-dream-kicker,
.dg-dream-entry-presence-v41 > .divinigen-dream-title,
.dg-dream-entry-presence-v41 > .divinigen-dream-text {
    transform: translate3d(0, var(--dg-dream-title-shift), 0);
    opacity: var(--dg-dream-title-opacity);
    will-change: transform, opacity;
}

.dg-dream-interface-v41 {
    transform:
        translate3d(0, var(--dg-dream-interface-shift), 0)
        scale(var(--dg-dream-interface-scale));
    transform-origin: 50% 0;
    will-change: transform;
}

@media (max-width: 767px) {
    .dg-dream-entry-v41 { min-height: 125svh; }
    .dg-dream-prism-stage-live-v42 { width: 278px; height: 240px; }
    .dg-dream-metal-surface-v42 { width: 78%; height: 78%; }
}

@media (prefers-reduced-motion: reduce) {
    .dg-dream-entry-v41 {
        --dg-dream-prism-shift: 0px !important;
        --dg-dream-prism-scale: 1 !important;
        --dg-dream-prism-opacity: 1 !important;
        --dg-dream-metal-opacity: 1 !important;
        --dg-dream-particle-opacity: .34 !important;
        --dg-dream-title-shift: 0px !important;
        --dg-dream-title-opacity: 1 !important;
        --dg-dream-interface-shift: 0px !important;
        --dg-dream-interface-scale: 1 !important;
    }
}

@media print {
    .dg-dream-field-v40,
    .dg-dream-prism-particles-v40 { display: none !important; }
}

/* Conversational Dream entry */
.dg-dream-entry-v41 {
    min-height: 100svh;
    padding-top: 118px;
}

.dg-dream-entry-inner-v41 {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    margin: 0 auto;
}

.dg-dream-entry-presence-v41 {
    text-align: center;
}

.dg-dream-entry-presence-v41 .divinigen-dream-title,
.dg-dream-entry-presence-v41 .divinigen-dream-text {
    margin-inline: auto;
}

.dg-dream-entry-presence-v41 .divinigen-dream-title {
    margin-top: 19px;
    margin-bottom: 15px;
}

.dg-dream-entry-presence-v41 .divinigen-dream-text {
    max-width: 720px;
    margin-bottom: 32px;
}

.dg-dream-prism-stage-live-v41 {
    width: 330px;
    height: 276px;
    margin: -34px auto 4px;
}

.dg-dream-entry-prism-canvas-v41 {
    position: absolute;
    inset: -12%;
    z-index: 5;
    width: 124%;
    height: 124%;
    pointer-events: none;
}

.dg-dream-prism-stage-live-v41.is-canvas-ready .dg-dream-prism-v40 {
    opacity: 0;
}

.dg-dream-interface-v41 {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(198,211,220,.14);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 0%, rgba(213,227,235,.06), transparent 34%),
        linear-gradient(145deg, rgba(27,32,37,.88), rgba(6,8,10,.96));
    box-shadow: inset 0 1px rgba(255,255,255,.045), 0 30px 90px rgba(0,0,0,.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dg-dream-interface-v41::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 22%, rgba(255,255,255,.025) 49%, transparent 74%);
}

.dg-dream-presence-v41 {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
}

.dg-dream-presence-v41 > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dg-dream-presence-v41 strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
}

.dg-dream-presence-v41 div span {
    color: rgba(231,235,237,.52);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dg-dream-presence-signal-v41 {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #edf5f7;
    box-shadow: 0 0 18px rgba(218,234,239,.68);
}

.dg-dream-presence-signal-v41::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(218,234,239,.28);
    border-radius: 50%;
    animation: dgDreamSignalV41 2.8s ease-out infinite;
}

.dg-dream-greeting-v41 {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 23px 0 22px;
    color: rgba(247,246,242,.88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.55;
}

.dg-dream-composer-form-v41 {
    position: relative;
    z-index: 2;
    margin: 0;
}

.dg-dream-composer-v41 {
    overflow: hidden;
    border: 1px solid rgba(211,222,228,.15);
    border-radius: 22px;
    background: rgba(0,0,0,.34);
    box-shadow: inset 0 1px rgba(255,255,255,.03);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.dg-dream-composer-v41:focus-within {
    border-color: rgba(218,231,237,.36);
    background: rgba(0,0,0,.44);
    box-shadow: 0 0 0 4px rgba(192,211,220,.045), inset 0 1px rgba(255,255,255,.05);
}

.dg-dream-composer-v41 textarea {
    display: block;
    width: 100%;
    min-height: 170px;
    resize: vertical;
    padding: 24px 24px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8f8f6;
    font: inherit;
    font-size: 17px;
    line-height: 1.65;
}

.dg-dream-composer-v41 textarea::placeholder {
    color: rgba(247,246,242,.34);
}

.dg-dream-composer-actions-v41 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
}

.dg-dream-voice-v41,
.dg-dream-submit-v41 {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    letter-spacing: .045em;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.dg-dream-voice-v41 {
    padding: 0 16px;
    color: rgba(238,241,242,.7);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.025);
}

.dg-dream-voice-v41 svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.dg-dream-voice-v41:hover {
    color: #fff;
    border-color: rgba(255,255,255,.2);
}

.dg-dream-voice-v41.is-listening {
    color: #fff;
    background: rgba(214,229,235,.12);
    animation: dgDreamListeningV41 1.35s ease-in-out infinite;
}

.dg-dream-submit-v41 {
    padding: 0 21px;
    color: #090a0b;
    border: 1px solid rgba(255,255,255,.82);
    background: #f2f1ed;
}

.dg-dream-submit-v41:hover {
    transform: translateY(-1px);
    background: #fff;
}

.dg-dream-privacy-v41 {
    margin: 15px 3px 0;
    color: rgba(236,239,240,.5);
    font-size: 12px;
    letter-spacing: .035em;
}

.dg-dream-privacy-v41 span {
    margin-right: 7px;
    color: rgba(223,235,240,.75);
}

@keyframes dgDreamSignalV41 {
    0% { opacity: .72; transform: scale(.55); }
    70%, 100% { opacity: 0; transform: scale(1.25); }
}

@keyframes dgDreamListeningV41 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(216,233,240,.08); }
    50% { box-shadow: 0 0 0 7px rgba(216,233,240,.04); }
}

@media (max-width: 767px) {
    .dg-dream-entry-v41 { padding-top: 104px; }
    .dg-dream-prism-stage-live-v41 { width: 260px; height: 220px; margin-top: -28px; }
    .dg-dream-entry-presence-v41 .divinigen-dream-title { font-size: clamp(39px, 12vw, 55px); }
    .dg-dream-entry-presence-v41 .divinigen-dream-text { font-size: 17px; }
    .dg-dream-interface-v41 { padding: 22px 17px; border-radius: 24px; }
    .dg-dream-greeting-v41 { font-size: 18px; }
    .dg-dream-composer-v41 textarea { min-height: 155px; padding: 20px 18px 10px; font-size: 16px; }
    .dg-dream-composer-actions-v41 { flex-direction: column; }
    .dg-dream-voice-v41,
    .dg-dream-submit-v41 { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .dg-dream-presence-signal-v41::after,
    .dg-dream-voice-v41.is-listening { animation: none !important; }
}

/* Keep enough natural scroll range for the v4.2 threshold choreography. */
.dg-dream-v40.dg-dream-entry-v41 { min-height: 135svh; }

@media (max-width: 767px) {
    .dg-dream-v40.dg-dream-entry-v41 { min-height: 125svh; }
}

/* Homepage-like breathing room and a calmer metallic surface. */
.dg-dream-entry-v41 .dg-dream-prism-stage-live-v42 {
    margin: 0 auto 18px;
}

.dg-dream-entry-v41 .dg-dream-metal-texture-v42 {
    filter: brightness(.86) contrast(1.14) saturate(.82);
}

/* The approved Reading loader with only its central identity changed. */
.dg-dream-loader-core-v421 {
    width: 27%;
    height: auto;
    aspect-ratio: 1.12 / 1;
    border: 0;
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    overflow: hidden;
    background: #080a0c;
    box-shadow: 0 15px 28px rgba(0,0,0,.5), 0 0 22px rgba(205,221,229,.08);
}

.dg-dream-loader-core-v421 img {
    inset: -18%;
    width: 136%;
    height: 136%;
    object-fit: cover;
    filter: brightness(.84) contrast(1.16) saturate(.8);
}

.dg-dream-loader-core-v421::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    clip-path: inherit;
    background: linear-gradient(118deg, rgba(255,255,255,.16), transparent 17% 67%, rgba(204,220,228,.1));
    box-shadow: inset 0 0 0 1px rgba(225,235,240,.42), inset 0 -18px 25px rgba(0,0,0,.3);
    pointer-events: none;
}

/* Calm reconstructed identity on the Dream result page. */
.dg-dream-result-triangle-stage-v421 {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 100px;
    margin: 0 auto 18px;
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.58));
}

.dg-dream-result-triangle-v421 {
    position: relative;
    width: 86px;
    aspect-ratio: 1.12 / 1;
    overflow: hidden;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    animation: dgDreamPrismBreathe 5.2s ease-in-out infinite;
}

.dg-dream-result-triangle-v421 img {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    filter: brightness(.86) contrast(1.14) saturate(.82);
}

.dg-dream-result-triangle-v421 span {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(118deg, rgba(255,255,255,.14), transparent 18% 68%, rgba(200,217,226,.09));
    box-shadow: inset 0 0 0 1px rgba(224,234,239,.4), inset 0 -15px 24px rgba(0,0,0,.3);
}

@media (max-width: 767px) {
    .dg-dream-entry-v41 .dg-dream-prism-stage-live-v42 { margin: -8px auto 14px; }
    .dg-dream-loader-core-v421 { width: 25%; }
    .dg-dream-result-triangle-stage-v421 { width: 98px; height: 88px; margin-bottom: 15px; }
    .dg-dream-result-triangle-v421 { width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    .dg-dream-v40.dg-dream-entry-v41 { --dg-dream-particle-opacity: .16 !important; }
    .dg-dream-result-triangle-v421 { animation: none !important; }
}
