/* The desktop image studio owns the complete right pane. Keep content spacing
   inside its shadow main; the public shell must not frame the canvas in grey. */
@media (min-width: 921px) {
    html body #creation-app[data-creation-page="image"] > .creation-workspace {
        --image-page-background: #fbfdfd;
        --image-page-wash-a: radial-gradient(ellipse 59% 86% at 14% 0%,#39d3de33,transparent 85%),radial-gradient(ellipse 57% 86% at 48% -10%,#32cb982e,transparent 85%),radial-gradient(ellipse 62% 94% at 94% 0%,#bb90f035,transparent 84%);
        --image-page-wash-b: radial-gradient(ellipse 65% 88% at 8% 0%,#58b9ff38,transparent 85%),radial-gradient(ellipse 62% 95% at 58% -10%,#dd8cff2b,transparent 85%),radial-gradient(ellipse 55% 93% at 100% 0%,#ffb45c32,transparent 84%);
        position: relative;
        isolation: isolate;
        background: var(--image-page-background) !important;
    }

    html[data-ui-theme="dark"] body #creation-app[data-creation-page="image"] > .creation-workspace,
    html body[data-ui-theme="dark"] #creation-app[data-creation-page="image"] > .creation-workspace {
        --image-page-background: #16181b;
        --image-page-wash-a: radial-gradient(ellipse 57% 80% at 10% -5%,#25bda43b,transparent 87%),radial-gradient(ellipse 45% 80% at 50% -20%,#3d81ef2b,transparent 87%),radial-gradient(ellipse 52% 85% at 96% -4%,#ed996b35,transparent 87%);
        --image-page-wash-b: radial-gradient(ellipse 54% 80% at 10% -5%,#338df03b,transparent 87%),radial-gradient(ellipse 50% 85% at 55% -20%,#63caa92b,transparent 87%),radial-gradient(ellipse 55% 85% at 96% -4%,#ef8da735,transparent 87%);
    }

    /* Reuse the V22 wash and crossfade across the topbar and studio together.
       Position within the grid's right pane so a docked sidebar needs no offsets. */
    html body #creation-app[data-creation-page="image"] > .creation-workspace::before,
    html body #creation-app[data-creation-page="image"] > .creation-workspace::after {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 612px;
        z-index: -1;
        pointer-events: none;
        -webkit-mask-image: linear-gradient(#000 0%,#000 22%,#000b 47%,#0004 73%,transparent 100%);
        mask-image: linear-gradient(#000 0%,#000 22%,#000b 47%,#0004 73%,transparent 100%);
    }
    html body #creation-app[data-creation-page="image"] > .creation-workspace::before {
        background: var(--image-page-wash-a);
        animation: image-page-wash-a 8s ease-in-out infinite;
    }
    html body #creation-app[data-creation-page="image"] > .creation-workspace::after {
        background: var(--image-page-wash-b);
        animation: image-page-wash-b 8s ease-in-out infinite;
    }

    html body #creation-app[data-creation-page="image"] > .creation-workspace > .creation-main {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    html body #creation-app[data-creation-page="image"] > .creation-workspace > [data-fuuvo-shared-topbar="1"] {
        background: transparent !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    html body #creation-app[data-creation-page="image"] .creation-main > .creation-history-shortcut {
        display: none !important;
    }
    html body #creation-app[data-creation-page="image"] #fuuvo-image-v4 {
        background: transparent !important;
    }
    html body #creation-app[data-creation-page="image"] #fuuvo-image-v4::part(ambient) {
        display: none;
    }

    @keyframes image-page-wash-a { 0%,100% { opacity: 1; } 50% { opacity: .18; } }
    @keyframes image-page-wash-b { 0%,100% { opacity: .12; } 50% { opacity: 1; } }
}

@media (min-width: 921px) and (prefers-reduced-motion: reduce) {
    html body #creation-app[data-creation-page="image"] > .creation-workspace::before { animation: none; opacity: .8; }
    html body #creation-app[data-creation-page="image"] > .creation-workspace::after { animation: none; opacity: .3; }
}
