.sunday-chest-page{--chest-gold:#f5d18f;--chest-tone:#a67dd2;margin:0;color:#fff2d6;background:#0b0d1a;background:linear-gradient(#0b0b1c55,#09091988),var(--chest-decor,none) center top/cover fixed;font:18px/1.5 var(--anodos-page-font,Georgia,serif)}
.sunday-chest-page *{box-sizing:border-box}.sunday-chest-page a{color:inherit;text-decoration:none}.sunday-chest-page button{font:inherit;cursor:pointer}.sunday-chest-page button:disabled{cursor:default;filter:saturate(.2);opacity:.65}
.sunday-chest-page header{display:flex;justify-content:space-between;align-items:center;gap:16px;width:min(1050px,calc(100% - 32px));margin:18px auto}
.sunday-chest-page header a{min-height:44px;padding:8px 16px;border:1px solid var(--chest-gold);border-radius:12px;background:#10101e88;text-align:center}.sunday-chest-page #chest-back{font:30px/1 Georgia;padding:4px 16px}
.sunday-chest-page main{width:min(1050px,calc(100% - 32px));margin:0 auto 35px;text-align:center}.sunday-chest-page h1{font:400 clamp(30px,4.5vw,52px)/1.15 var(--anodos-page-font,Georgia,serif);margin:28px 0 8px;color:var(--chest-gold);text-wrap:balance;text-shadow:0 2px 5px #000}
.sunday-chest-page .chest-intro{margin:8px 0 16px;font-size:20px}.sunday-chest-page #chest-stage{height:210px;display:grid;place-items:center}.sunday-chest-page #chest-illustration{width:215px;height:205px;object-fit:contain;filter:drop-shadow(0 10px 14px #0007);transition:transform .4s}.sunday-chest-page .is-opening #chest-illustration{transform:translateY(-5px) rotate(-3deg)}
.sunday-chest-page #chest-open,.sunday-chest-page #chest-login{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:10px auto;padding:11px 24px;border:1px solid #ffe7aa;border-radius:13px;background:linear-gradient(#ffe7ae,#dfa75c);box-shadow:0 3px 0 #78502b;color:#382134;font:400 22px/1.2 var(--anodos-page-font,Georgia,serif)}
.sunday-chest-page #chest-message{min-height:1.5em;margin:10px 0;font-size:19px;text-wrap:balance}.sunday-chest-page #chest-next{font-size:16px;margin:12px 0 26px}.sunday-chest-page details{width:min(650px,100%);margin:20px auto 24px;padding:12px 18px;border:1px solid #f1dca044;border-radius:13px;background:#12122285;text-align:center}.sunday-chest-page summary{cursor:pointer;color:var(--chest-gold)}.sunday-chest-page details p{margin:10px 0 2px;text-wrap:balance;font-size:16px}
.sunday-gift-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.sunday-card{min-width:0;margin:0;text-align:center;color:inherit}.sunday-art{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}.sunday-art img{display:block;width:100%;height:auto;aspect-ratio:12/17;object-fit:contain;filter:drop-shadow(0 4px 10px #0005)}.sunday-card h3{font:400 21px/1.2 var(--anodos-page-font,Georgia,serif);color:inherit;margin:10px 0;min-height:2.4em;display:grid;place-items:center;text-wrap:balance}.sunday-card.is-mystery h3{color:#c8bed2}.sunday-card progress{display:block;width:100%;height:6px;accent-color:var(--reward-colour);margin:8px auto;border:0;border-radius:8px;overflow:hidden}.sunday-card progress::-webkit-progress-bar{background:#12121e}.sunday-card progress::-webkit-progress-value{background:var(--reward-colour)}.sunday-xp{margin:6px 0 12px;font-size:17px}.sunday-card.just-discovered .sunday-art{animation:sunday-found 2.6s ease-out 1}
.sunday-art-dialog{border:1px solid #dab6ed;border-radius:16px;background:#121223;color:#fff;max-width:min(92vw,600px);max-height:94dvh;padding:14px}.sunday-art-dialog::backdrop{background:#090914d9}.sunday-art-dialog button{display:block;margin-left:auto;min-height:44px;border:1px solid #d2a8e5;border-radius:9px;background:#31213f;color:#fff;padding:8px 16px;font:inherit}.sunday-art-dialog img{display:block;margin:12px auto 0;max-width:100%;max-height:77dvh;object-fit:contain}
.sunday-collection-section{grid-column:1/-1;width:100%;margin:28px 0 14px;padding:0;background:transparent;border:0;color:inherit}.sunday-collection-section>h2{text-align:center;font:400 27px/1.25 var(--anodos-page-font,Georgia,serif);margin:12px auto 18px;color:inherit;text-wrap:balance}.sunday-collection-section .sunday-card h3{font-size:19px}.sunday-collection-section .sunday-gift-grid{width:min(940px,100%);margin:auto}.sunday-collection-section .sunday-art{max-width:240px;margin:auto}
@keyframes sunday-found{0%{filter:drop-shadow(0 0 25px var(--reward-colour));transform:scale(.96)}30%{filter:drop-shadow(0 0 16px var(--reward-colour));transform:scale(1.025)}100%{filter:none;transform:none}}
@media(max-width:800px){.sunday-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.sunday-chest-page main{width:min(650px,calc(100% - 30px))}.sunday-chest-page h1{margin-top:22px}.sunday-collection-section .sunday-gift-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sunday-collection-section .sunday-card h3{font-size:17px}}
@media(max-width:600px){.sunday-chest-page header{width:calc(100% - 28px);gap:10px;margin-top:12px}.sunday-chest-page header a{font-size:15px;padding:8px 12px}.sunday-chest-page .chest-intro{font-size:18px}.sunday-chest-page #chest-stage{height:180px}.sunday-chest-page #chest-illustration{width:190px;height:180px}.sunday-chest-page #chest-open{font-size:20px}.sunday-chest-page #chest-message{font-size:17px}.sunday-card h3{font-size:19px}.sunday-collection-section .sunday-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.sunday-collection-section .sunday-card h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.sunday-card.just-discovered .sunday-art{animation:none}.sunday-chest-page #chest-illustration{transition:none}}
.sunday-chest-page [hidden],.sunday-collection-section[hidden]{display:none!important}
/* Keep Kids card labels and progress below the artwork at every small width. */
@media(max-width:800px){body[data-xp-theme="kids"] #collection .xp-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;align-items:stretch;gap:0;height:auto!important}body[data-xp-theme="kids"] #collection .xp-card>*{grid-column:auto!important;grid-row:auto!important;width:100%;max-width:100%;min-width:0}body[data-xp-theme="kids"] #collection .xp-card .art{flex:none;height:clamp(120px,20svh,165px)!important}body[data-xp-theme="kids"] #collection .xp-card .art img{height:100%;width:100%;object-fit:contain}body[data-xp-theme="kids"] #collection .xp-card .xp-line{display:flex!important;flex-direction:column;gap:3px;text-align:center}body[data-xp-theme="kids"] #collection .xp-card progress{margin:9px auto 5px}body[data-xp-theme="kids"] #collection .xp-card .assign{margin-top:8px}body[data-xp-theme="kids"] #collection .mystery-card .art,body[data-xp-theme="kids"] #collection .mystery-card .art img{background:transparent!important}}
