/* ROMidgard V150 — Homepage intro artwork fit + softer blend
   Does not touch the V148 logo/fairy/diamond setup. */

@media (min-width: 801px) {
    /* Keep the existing artwork, but make it fit the full height of the intro
       so no pale strip is left above or below the artwork. */
    .portal-home-shell > .portal-home-intro::after {
        top: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        height: 100% !important;
        width: 510px !important;

        /* Override the older fixed 505x186 background size. */
        background-size: cover !important;
        background-position: center center !important;

        border-radius: 0 7px 7px 0 !important;
        box-shadow:
            inset 0 0 0 1px rgba(198, 151, 73, .24),
            inset 0 0 13px rgba(255, 250, 235, .09) !important;

        /* V150: roughly 15% narrower/softer transition than V149. */
        -webkit-mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,.10) 6%,
            rgba(0,0,0,.42) 13%,
            rgba(0,0,0,.78) 20%,
            #000 27%,
            #000 100%
        ) !important;
        mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,.10) 6%,
            rgba(0,0,0,.42) 13%,
            rgba(0,0,0,.78) 20%,
            #000 27%,
            #000 100%
        ) !important;

        -webkit-mask-repeat: no-repeat !important;
        mask-repeat: no-repeat !important;
        -webkit-mask-size: 100% 100% !important;
        mask-size: 100% 100% !important;
    }

    /* Slightly tighter parchment wash so more of the artwork remains visible. */
    .portal-home-shell > .portal-home-intro {
        background-image: linear-gradient(
            90deg,
            rgba(255,250,240,0) 0%,
            rgba(255,250,240,0) 49%,
            rgba(255,250,240,.14) 57%,
            rgba(255,250,240,.03) 67%,
            rgba(255,250,240,0) 75%
        ) !important;
    }
}

/* Mobile keeps the current stable artwork treatment unchanged. */
