/* MMC V9.2J16B Account Side Menu Non-Member Completion
   Visual-only MMC red/white/black account sidebar polish. No links, routes or click handlers changed. Extends J16A to non-member rows such as Report a Bug and Become a Member. */

body.mmc-v92j16a-account-sidebar-polish {
    --mmc-menu-red: #9b0d05;
    --mmc-menu-red-2: #bf1b17;
    --mmc-menu-black: #111111;
    --mmc-menu-white: #ffffff;
    --mmc-menu-line: rgba(17,17,17,.10);
    --mmc-menu-soft: rgba(155,13,5,.08);
    --mmc-menu-shadow: 0 12px 28px rgba(17,17,17,.10);
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-root {
    background: #fff !important;
    border-right: 1px solid var(--mmc-menu-line) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 42px !important;
    margin: 4px 8px !important;
    padding: 10px 12px 10px 14px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(17,17,17,.12) !important;
    border-left: 4px solid rgba(155,13,5,.18) !important;
    background: linear-gradient(135deg, #ffffff 0%, #fffafa 100%) !important;
    color: var(--mmc-menu-black) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 3px 10px rgba(17,17,17,.035) !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
    overflow: visible !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:hover,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:focus,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:focus-within {
    background: var(--mmc-menu-soft) !important;
    border-left-color: var(--mmc-menu-red) !important;
    color: var(--mmc-menu-red) !important;
    transform: translateX(2px) !important;
    box-shadow: 0 10px 24px rgba(155,13,5,.08) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.Mui-selected,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.mmc-v92j16a-active,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.active,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.selected,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[aria-current="page"] {
    background: linear-gradient(135deg, var(--mmc-menu-red), #710800) !important;
    border-left-color: var(--mmc-menu-black) !important;
    color: var(--mmc-menu-white) !important;
    box-shadow: var(--mmc-menu-shadow) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.Mui-selected:hover,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.mmc-v92j16a-active:hover {
    background: linear-gradient(135deg, var(--mmc-menu-red-2), var(--mmc-menu-red)) !important;
    color: var(--mmc-menu-white) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row img,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row [class*="Icon"] {
    flex: 0 0 auto !important;
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    margin: 0 12px 0 0 !important;
    color: #7b7b7b !important;
    fill: currentColor !important;
    opacity: .96 !important;
    transition: color .18s ease, opacity .18s ease, transform .18s ease !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:hover svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:hover i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row:hover [class*="Icon"] {
    color: var(--mmc-menu-red) !important;
    opacity: 1 !important;
    transform: scale(1.04) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.Mui-selected svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.Mui-selected i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.Mui-selected [class*="Icon"],
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.mmc-v92j16a-active svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.mmc-v92j16a-active i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row.mmc-v92j16a-active [class*="Icon"] {
    color: #fff !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="free-widget"] {
    border: 1px solid rgba(155,13,5,.26) !important;
    border-left: 4px solid var(--mmc-menu-red) !important;
    background: linear-gradient(135deg, rgba(155,13,5,.08), #fff 62%) !important;
    color: var(--mmc-menu-red) !important;
    font-weight: 900 !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="free-widget"]:hover {
    background: linear-gradient(135deg, var(--mmc-menu-red), #710800) !important;
    color: #fff !important;
    border-color: var(--mmc-menu-red) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-new-badge,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row [data-mmc-v92j16a-new-badge="1"] {
    position: absolute !important;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 27px !important;
    height: 16px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: var(--mmc-menu-red) !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    box-shadow: 0 6px 16px rgba(155,13,5,.22) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-has-badge="1"] {
    padding-right: 42px !important;
}

@media (max-width: 900px) {
    body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row {
        min-height: 40px !important;
        margin: 4px 6px !important;
        padding: 9px 10px 9px 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }
}


/* MMC V9.2J16B — account sidebar completion for non-admin/non-member menu rows. */
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"],
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"] {
    border: 1px solid rgba(155,13,5,.20) !important;
    border-left: 4px solid var(--mmc-menu-red) !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff6f5 100%) !important;
    color: var(--mmc-menu-black) !important;
    font-weight: 850 !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"] {
    background: linear-gradient(135deg, rgba(155,13,5,.10), #fff 64%) !important;
    color: var(--mmc-menu-red) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"]:hover,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"]:hover {
    background: linear-gradient(135deg, var(--mmc-menu-red), #710800) !important;
    color: #fff !important;
    border-color: var(--mmc-menu-red) !important;
}

body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"]:hover svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"]:hover i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"]:hover [class*="Icon"],
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"]:hover svg,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"]:hover i,
body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"]:hover [class*="Icon"] {
    color: #fff !important;
}

@media (max-width: 900px) {
    body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="report-a-bug"],
    body.mmc-v92j16a-account-sidebar-polish .mmc-v92j16a-sidebar-row[data-mmc-v92j16a-menu="become-a-member"] {
        margin-top: 6px !important;
    }
}

/* ========================================================================
   MMC V9.2J17D — Account sidebar horizontal lock + floating bug cleanup
   Visual-only follow-up. Keeps the sidebar fixed in place horizontally and
   hides duplicate floating Report a Bug buttons outside the real sidebar.
   ======================================================================== */
body.mmc-v92j17d-account-sidebar-lock,
body.mmc-v92j17d-account-sidebar-lock #root,
body.mmc-v92j17d-account-sidebar-lock #app,
body.mmc-v92j17d-account-sidebar-lock .App {
    overflow-x: hidden !important;
}

body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-root {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-root *,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row {
    box-sizing: border-box !important;
}

body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row {
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row:hover,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row:focus,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row:focus-within,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row:hover,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row:focus,
body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row:focus-within {
    transform: none !important;
}

body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17d-account-floating-report-bug-hidden,
body.mmc-v92j17d-account-sidebar-lock [data-mmc-v92j17d-hidden-account-report-bug="1"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 900px) {
    body.mmc-v92j17d-account-sidebar-lock .mmc-v92j16a-sidebar-row,
    body.mmc-v92j17d-account-sidebar-lock .mmc-v92j17-image-processor-menu-row {
        max-width: calc(100% - 12px) !important;
    }
}

/* ========================================================================
   MMC V9.2J17E — Account floating bug cleanup + card preview safety
   Visual/helper-only follow-up. Removes the remaining bottom-right Report a
   Bug duplicate on /account pages and prevents Material UI card hover overlays
   from washing out card previews. Also supports MP4/WebM/MOV CardMedia previews
   by styling video elements injected by the helper script.
   ======================================================================== */
body.mmc-v92j17e-account-preview-safety .mmc-v92j17e-account-floating-report-bug-hidden,
body.mmc-v92j17e-account-preview-safety [data-mmc-v92j17e-hidden-account-report-bug="1"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:hover,
body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:focus,
body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:focus-visible {
    background-color: transparent !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-focusHighlight,
body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:hover .MuiCardActionArea-focusHighlight,
body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:focus .MuiCardActionArea-focusHighlight {
    opacity: 0 !important;
    background-color: transparent !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCardMedia-root,
body.mmc-v92j17e-account-preview-safety [data-mmc-v92j17e-card-preview="1"] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #fffafa !important;
    position: relative !important;
    overflow: hidden !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover .MuiCardMedia-root,
body.mmc-v92j17e-account-preview-safety .MuiCardActionArea-root:hover .MuiCardMedia-root,
body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover [data-mmc-v92j17e-card-preview="1"] {
    background-color: #fffafa !important;
    filter: none !important;
    opacity: 1 !important;
}

body.mmc-v92j17e-account-preview-safety .mmc-v92j17e-video-preview {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #fffafa !important;
    display: block !important;
    border: 0 !important;
    pointer-events: none !important;
}

body.mmc-v92j17e-account-preview-safety .mmc-v92j17e-preview-broken::after {
    content: "Preview unavailable";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: rgba(155,13,5,.76);
    background: linear-gradient(135deg, #fffafa 0%, #ffffff 100%);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}


/* ========================================================================
   MMC V9.2J17F — Account main action card hover restore
   Fixes the Add/New/Make-a-Request style cards on /account tool pages so
   mouse-over cannot wash the card to blank white. Scoped to /account only.
   ======================================================================== */
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer,
body.mmc-v92j17e-account-preview-safety div.newGallery {
    position: relative !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffafa 58%, #fff1ef 100%) !important;
    border: 1px solid rgba(155,13,5,.22) !important;
    border-left: 3px solid #9b0d05 !important;
    color: #a54141 !important;
    box-shadow: 0 14px 34px rgba(60, 0, 0, .08) !important;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease, transform .16s ease !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover div.workspaceButtonContainer,
body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover div.newGallery,
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer:hover,
body.mmc-v92j17e-account-preview-safety div.newGallery:hover,
body.mmc-v92j17e-account-preview-safety .NewProject:hover div.workspaceButtonContainer,
body.mmc-v92j17e-account-preview-safety .NewGalleryDiv:hover div.newGallery,
body.mmc-v92j17e-account-preview-safety label:hover div.newGallery,
body.mmc-v92j17e-account-preview-safety label:hover div.workspaceButtonContainer {
    background: linear-gradient(135deg, #b71c1c 0%, #8f0012 56%, #5d0009 100%) !important;
    border-color: #7f0000 !important;
    color: #ffffff !important;
    box-shadow: 0 18px 42px rgba(95, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
}

body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer *,
body.mmc-v92j17e-account-preview-safety div.newGallery *,
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer .addNewProjectIcon,
body.mmc-v92j17e-account-preview-safety div.newGallery .addNewProjectIcon,
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer .addNewProject,
body.mmc-v92j17e-account-preview-safety div.newGallery .addNewProject {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 2 !important;
    color: inherit !important;
    text-shadow: none !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover div.workspaceButtonContainer *,
body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover div.newGallery *,
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer:hover *,
body.mmc-v92j17e-account-preview-safety div.newGallery:hover *,
body.mmc-v92j17e-account-preview-safety .NewProject:hover div.workspaceButtonContainer *,
body.mmc-v92j17e-account-preview-safety .NewGalleryDiv:hover div.newGallery *,
body.mmc-v92j17e-account-preview-safety label:hover div.newGallery * {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer::before,
body.mmc-v92j17e-account-preview-safety div.workspaceButtonContainer::after,
body.mmc-v92j17e-account-preview-safety div.newGallery::before,
body.mmc-v92j17e-account-preview-safety div.newGallery::after {
    pointer-events: none !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover,
body.mmc-v92j17e-account-preview-safety .MuiPaper-root:hover {
    opacity: 1 !important;
}

body.mmc-v92j17e-account-preview-safety .MuiCard-root:hover .MuiCardContent-root,
body.mmc-v92j17e-account-preview-safety .MuiCard-root:focus-within .MuiCardContent-root {
    opacity: 1 !important;
}


/* ========================================================================
   MMC V9.2J17G — Account action card direct hover restore + cache bust
   The original app bundle also contains .newGallery/.workspaceButtonContainer
   hover CSS, so these overrides are intentionally broad and marked important.
   This restores the old red hover behavior for New Image / Make a Request /
   New Project / New Gallery style account cards.
   ======================================================================== */
body.mmc-v92j17g-account-action-card-fix .newGallery,
body.mmc-v92j17g-account-action-card-fix .workspaceButtonContainer,
body[data-mmc-account-path="1"] .newGallery,
body[data-mmc-account-path="1"] .workspaceButtonContainer {
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffafa 58%, #fff1ef 100%) !important;
    color: #a54141 !important;
    border: 2px solid rgba(165, 65, 65, .34) !important;
    box-shadow: 0 14px 32px rgba(60, 0, 0, .08) !important;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease, transform .16s ease !important;
}

body.mmc-v92j17g-account-action-card-fix .MuiCard-root:hover .newGallery,
body.mmc-v92j17g-account-action-card-fix .MuiCard-root:hover .workspaceButtonContainer,
body.mmc-v92j17g-account-action-card-fix label:hover .newGallery,
body.mmc-v92j17g-account-action-card-fix label:hover .workspaceButtonContainer,
body.mmc-v92j17g-account-action-card-fix .NewGalleryDiv:hover .newGallery,
body.mmc-v92j17g-account-action-card-fix .NewProject:hover .workspaceButtonContainer,
body.mmc-v92j17g-account-action-card-fix .newGallery:hover,
body.mmc-v92j17g-account-action-card-fix .workspaceButtonContainer:hover,
body[data-mmc-account-path="1"] .MuiCard-root:hover .newGallery,
body[data-mmc-account-path="1"] .MuiCard-root:hover .workspaceButtonContainer,
body[data-mmc-account-path="1"] label:hover .newGallery,
body[data-mmc-account-path="1"] label:hover .workspaceButtonContainer,
body[data-mmc-account-path="1"] .NewGalleryDiv:hover .newGallery,
body[data-mmc-account-path="1"] .NewProject:hover .workspaceButtonContainer,
body[data-mmc-account-path="1"] .newGallery:hover,
body[data-mmc-account-path="1"] .workspaceButtonContainer:hover {
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #b71c1c 0%, #8f0012 58%, #5d0009 100%) !important;
    color: #ffffff !important;
    border-color: #7f0000 !important;
    box-shadow: 0 18px 42px rgba(95, 0, 0, .23) !important;
    transform: translateY(-1px) !important;
    cursor: pointer !important;
}

body.mmc-v92j17g-account-action-card-fix .newGallery *,
body.mmc-v92j17g-account-action-card-fix .workspaceButtonContainer *,
body[data-mmc-account-path="1"] .newGallery *,
body[data-mmc-account-path="1"] .workspaceButtonContainer * {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 2 !important;
    color: inherit !important;
}

body.mmc-v92j17g-account-action-card-fix .MuiCard-root:hover .newGallery *,
body.mmc-v92j17g-account-action-card-fix .MuiCard-root:hover .workspaceButtonContainer *,
body.mmc-v92j17g-account-action-card-fix label:hover .newGallery *,
body.mmc-v92j17g-account-action-card-fix label:hover .workspaceButtonContainer *,
body.mmc-v92j17g-account-action-card-fix .NewGalleryDiv:hover .newGallery *,
body.mmc-v92j17g-account-action-card-fix .NewProject:hover .workspaceButtonContainer *,
body.mmc-v92j17g-account-action-card-fix .newGallery:hover *,
body.mmc-v92j17g-account-action-card-fix .workspaceButtonContainer:hover *,
body[data-mmc-account-path="1"] .MuiCard-root:hover .newGallery *,
body[data-mmc-account-path="1"] .MuiCard-root:hover .workspaceButtonContainer *,
body[data-mmc-account-path="1"] label:hover .newGallery *,
body[data-mmc-account-path="1"] label:hover .workspaceButtonContainer *,
body[data-mmc-account-path="1"] .NewGalleryDiv:hover .newGallery *,
body[data-mmc-account-path="1"] .NewProject:hover .workspaceButtonContainer *,
body[data-mmc-account-path="1"] .newGallery:hover *,
body[data-mmc-account-path="1"] .workspaceButtonContainer:hover * {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ========================================================================
   MMC V9.2J17P — Account media preview unblock
   Adds real <img> preview inside Material UI CardMedia when background-image
   is being covered or lost by hover/focus wrappers. Scoped to /account helper.
   ======================================================================== */
body.mmc-v92j17p-account-media-unblock .MuiCardMedia-root,
body.mmc-v92j17p-account-media-unblock [data-mmc-v92j17p-image-preview="1"] {
    min-height: 100px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #fffafa !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

body.mmc-v92j17p-account-media-unblock .mmc-v92j17p-image-preview {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    z-index: 1 !important;
    background: #fffafa !important;
}

body.mmc-v92j17p-account-media-unblock .MuiCardActionArea-root:hover .mmc-v92j17p-image-preview,
body.mmc-v92j17p-account-media-unblock .MuiCard-root:hover .mmc-v92j17p-image-preview {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}
