
/* All 37 archived week drawings retain their original pixels; only the paper
   boundary fades into the card. A self-contained alpha mask also works offline. */
#mama-baby-mvp .mb-stage4-week-art img{--mb-week-soft-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221024%22%20height%3D%221024%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22sides%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22white%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.08%22%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%22.92%22%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ends%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22white%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.08%22%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%22.92%22%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cmask%20id%3D%22fade%22%3E%3Crect%20width%3D%221024%22%20height%3D%221024%22%20fill%3D%22url(%23ends)%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Crect%20width%3D%221024%22%20height%3D%221024%22%20fill%3D%22url(%23sides)%22%20mask%3D%22url(%23fade)%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:var(--mb-week-soft-mask);mask-image:var(--mb-week-soft-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
@media(min-width:601px){
 /* The label sits below the number inside the existing 44px button, so neither
    the row gap nor the position of the following row has to change. */
 #mama-baby-mvp :is(.mb-stage4-week,.mb-stage5-month)[aria-current]{position:relative;padding-top:0;padding-bottom:16px}
 #mama-baby-mvp :is(.mb-stage4-week,.mb-stage5-month)[aria-current]::after{content:"сейчас";position:absolute;bottom:2px;left:50%;transform:translateX(-50%);color:inherit;-webkit-text-fill-color:currentColor;font:400 12px/1.2 "Trebuchet MS",Arial,sans-serif;white-space:nowrap;pointer-events:none}
}
@media(min-width:1024px) and (max-height:740px){
 /* Fit the previously overflowing weekly footer below the unchanged rows and
    the 260px illustration; mobile layout and footer typography stay intact. */
 #mama-baby-mvp:has(.mb-stage4-weeks:not([hidden])){padding-bottom:0}
 #mama-baby-mvp .mb-stage4-week-choice{margin-bottom:4px}
 #mama-baby-mvp .mb-stage4-week-art figcaption{line-height:1.2}
 #mama-baby-mvp .mb-stage4-week-action{margin:0}
 #mama-baby-mvp .mb-stage4-week-action button{height:44px;min-height:44px;padding-top:6px;padding-bottom:6px}
 #mama-baby-mvp .mb-stage4-weeks>.mb-stage3-footer{margin-top:0}
}
