/* Fixed decoration never participates in document layout or receives input. */
.mgcr-seasonal-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none!important;z-index:5;contain:strict;user-select:none}
.mgcr-seasonal-canvas[hidden]{display:none!important}
/* The legacy latest-list ID rule forces unread links white, even on a white card. */
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) #mgcr-latest-chapters .mgcr-latest-card__chapters a:link:not(.is-read),
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) #mgcr-latest-chapters .mgcr-latest-card__chapters a:link:not(.is-read)>span{color:var(--mgcr-text,#303038)!important}
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) .mgcr-modern-header__brand,
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) .mgcr-modern-header__brand>span{color:var(--mgcr-text,#303038)!important}
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) .mgcr-latest-chapters__head>span{background:#f2e8d9;color:#70421f}
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) .mgcr-latest-chapter-scheduled{color:#805417;filter:none}
html body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn) .chapter-release-date i.mgcr-scheduled-list-date{color:#805417!important}
body.mgcr-winter:not(.mgcr-halloween){--mgcr-season-accent:#a9dbef;--mgcr-season-edge:#82aabe75}
body.mgcr-autumn:not(.mgcr-halloween):not(.mgcr-winter){--mgcr-season-accent:#e4aa6a;--mgcr-season-edge:#b97a475e}
body:is(.mgcr-winter,.mgcr-autumn):not(.mgcr-halloween) :is(.mgcr-modern-header,.mgcr-latest-chapters__heading,.mgcr-modern-footer){border-color:var(--mgcr-season-edge)!important}
body:is(.mgcr-winter-frames,.mgcr-autumn-frames):not(.mgcr-halloween) :is(.mgcr-latest-card,.mgcr-library-card,.mgcr-leaderboard-widget,.mgcr-leaderboard-board,.mgcr-live-chat,.mgcr-modern-archive__results,.mgcr-modern-manga__aside){border-color:var(--mgcr-season-edge)!important;box-shadow:0 5px 18px #00000018!important;background-image:radial-gradient(ellipse at 90% 0,#cdeeff0b,transparent 65%)}
body.mgcr-winter-frames:not(.mgcr-halloween) :is(.mgcr-leaderboard-widget,.mgcr-leaderboard-board,.mgcr-live-chat,.mgcr-modern-manga__aside){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 64'%3E%3Cg stroke='%23bfe9ff' opacity='.5' fill='none' stroke-linecap='round'%3E%3Cpath d='M70 6v42M51 16l38 22M51 38l38-22M63 12l7 7 7-7M63 42l7-7 7 7M55 22l9 1-2-9M85 32l-9-1 2 9'/%3E%3C/g%3E%3C/svg%3E");background-position:top right;background-size:80px 54px;background-repeat:no-repeat}
body.mgcr-autumn-frames:not(.mgcr-halloween):not(.mgcr-winter) :is(.mgcr-leaderboard-widget,.mgcr-leaderboard-board,.mgcr-live-chat,.mgcr-modern-manga__aside){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70'%3E%3Cpath d='M84 4C52 0 36 19 51 36C71 47 90 25 84 4Z' fill='%23c67c3f' opacity='.45'/%3E%3Cpath d='M84 4L44 44M64 22l-6-13M64 22l17-2' stroke='%23edbd76' fill='none' opacity='.7'/%3E%3C/svg%3E");background-position:top right;background-size:80px 56px;background-repeat:no-repeat}
body.mgcr-color-light:is(.mgcr-winter,.mgcr-autumn):not(.mgcr-halloween){--mgcr-season-edge:#8d9ba866}
@media(prefers-reduced-motion:reduce),(update:slow){.mgcr-seasonal-canvas{display:none!important}}
@media print{.mgcr-seasonal-canvas{display:none!important}}

html body.mgcr-winter-frames:not(.mgcr-halloween) #mgcr-latest-chapters{--mgcr-latest-card-accent:#b3ddec!important;--mgcr-latest-card-glow:#8dcce026!important}
html body.mgcr-autumn-frames:not(.mgcr-halloween):not(.mgcr-winter) #mgcr-latest-chapters{--mgcr-latest-card-accent:#e4aa6a!important;--mgcr-latest-card-glow:#d3893426!important}
html body.mgcr-winter-frames:not(.mgcr-halloween) :is(.mgcr-latest-card,.mgcr-library-card){border-color:#82aabe75!important;box-shadow:0 5px 18px #00000018!important}
html body.mgcr-autumn-frames:not(.mgcr-halloween):not(.mgcr-winter) :is(.mgcr-latest-card,.mgcr-library-card){border-color:#b97a4790!important;box-shadow:0 5px 18px #00000018!important}
