.menu-keepsakes{position:absolute;left:4.6%;right:4.6%;bottom:3%;display:grid;grid-template-columns:minmax(230px,330px) minmax(175px,260px) minmax(130px,260px);column-gap:clamp(24px,4.5vw,80px);align-items:end;z-index:4;pointer-events:none}
.menu-keepsakes>#memory-entrances{position:static;max-width:330px;width:100%;pointer-events:auto;margin:0}
.menu-keepsakes #chest1-host{min-width:0}.menu-keepsakes .chest1-slot{margin-left:clamp(10px,1.5vw,28px);pointer-events:auto}
.memory-entrance-title>span{color:#a9d9ff}
.chest1-slot{position:relative;width:100%;aspect-ratio:1.6;isolation:isolate;align-self:end;margin-bottom:18px}
.chest1-button{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:none!important;box-shadow:none;border-radius:24px;touch-action:manipulation;cursor:default;overflow:visible}
.chest1-button:disabled{opacity:1!important;cursor:default}.chest1-available .chest1-button:not(:disabled){cursor:pointer}
.chest1-button:focus-visible{outline:2px solid #f4d18d;outline-offset:6px}
.chest1-canvas{position:relative;z-index:1;display:block;width:100%;height:100%;touch-action:pan-y}
.chest1-aura{position:absolute;inset:0 -14% -5%;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 62%,#fff5bd75 0,#f2bd5155 24%,#f7c65221 46%,transparent 69%);filter:blur(9px);transition:opacity .7s}
.chest1-available .chest1-button:hover .chest1-aura,.chest1-available .chest1-button:focus-visible .chest1-aura{opacity:1}
.chest1-slot[data-state=ready] .chest1-aura{opacity:.43}.chest1-slot[data-state=ceremony] .chest1-aura{opacity:.3}
.chest1-status{position:absolute;top:100%;left:-10%;right:-10%;text-align:center;color:#f4e4be;font:12px/1.4 Arial,sans-serif}
.chest1-presentation{position:fixed;inset:0;z-index:90;background:rgba(4,16,19,calc(var(--chest-reveal,0)*.64));touch-action:manipulation}
.chest1-presentation-stage{position:absolute;aspect-ratio:1.6;isolation:isolate}
.chest1-presentation .chest1-button{cursor:pointer}
.chest1-presentation .chest1-button:disabled{cursor:default}
.chest1-presentation .chest1-aura{opacity:calc(var(--chest-reveal,0)*.45)}
.chest1-keyboard-viewer{z-index:100!important}
.chest1-keyboard-viewer .red-viewer{width:min(1600px,96vw);max-height:94dvh;padding:clamp(12px,2vw,24px)}
.chest1-keyboard-viewer .red-large-frame{height:auto;max-height:84dvh}
.chest1-keyboard-viewer .red-large-frame img{width:100%;height:auto;max-height:84dvh;object-fit:contain}
.chest1-keyboard-viewer .red-viewer-foot,.chest1-keyboard-viewer .red-viewer-nav{display:none}
.chest-notification{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(26px,env(safe-area-inset-bottom));z-index:96;width:min(365px,calc(100vw - 32px));padding:24px 28px 22px;border:1px solid #d4b77abf;border-radius:22px;background:radial-gradient(ellipse at 95% 0,#967b3240,transparent 66%),linear-gradient(145deg,#214b3ef5,#102e2bf9 62%,#462036f9);box-shadow:0 20px 65px #0006,0 0 36px #f2d49118,inset 0 0 0 5px #ddc38c09;color:#fff0cf;isolation:isolate;animation:chestNoticeIn .8s ease both}
.chest-notification p{position:relative;font:19px/1.6 Georgia,serif;margin:0;min-height:64px;text-align:center}
.chest-notice-emoji{font-size:2em;line-height:1;vertical-align:middle;display:inline-block;margin-inline:.08em}
.chest-notice-close{position:absolute;right:8px;top:6px;border:0;background:transparent;color:#e4d3b4;font:18px/1 Arial;cursor:pointer;padding:5px;z-index:1}
.chest-notice-go{display:block;width:100%;border:1px solid #d9b46d80;background:linear-gradient(120deg,#f9e3ad,#d7b975);color:#16392e;border-radius:13px;font:600 16px/1.6 Arial,sans-serif;padding:11px 8px;margin-top:14px;box-shadow:0 7px 23px #0002;animation:chestNoticeIn .65s ease both;cursor:pointer}
.chest-notice-go:hover{box-shadow:0 0 23px #f8dfa038}.chest-notification button:focus-visible{outline:2px solid #fff0bd;outline-offset:4px}
.chest-notice-light{position:absolute;inset:9px;z-index:-1;pointer-events:none;border:1px solid #ead39814;border-radius:15px;background:radial-gradient(ellipse at 50% 0,#ebc76516,transparent 65%)}
@keyframes chestNoticeIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:760px){.menu-keepsakes{bottom:24px}}
@media(max-width:1050px){.menu-keepsakes{grid-template-columns:minmax(220px,300px) minmax(170px,230px) minmax(0,1fr);column-gap:24px}.menu-keepsakes .chest1-slot{margin-left:12px}}
@media(max-height:620px),(max-width:700px){#menu{display:block;height:100dvh;overflow-y:auto;padding-bottom:90px}.menu-keepsakes{position:relative;left:auto;right:auto;bottom:auto;margin:28px 24px 12px;grid-template-columns:minmax(0,300px) minmax(150px,230px);gap:32px;align-items:end}.menu-keepsakes>#memory-entrances{max-width:330px;margin:0}.menu-keepsakes .chest1-slot{margin-left:0}.chest-notification{right:16px;bottom:18px}}
@media(max-width:480px){.menu-keepsakes{grid-template-columns:minmax(0,1fr);gap:18px}.menu-keepsakes .chest1-slot{width:min(250px,72%);justify-self:center;margin-bottom:8px}.menu-keepsakes>#memory-entrances{max-width:100%}.chest-notification{padding:20px 23px}.chest-notification p{font-size:18px}}
@media(prefers-reduced-motion:reduce){.chest-notification,.chest-notice-go{animation:none}.chest1-aura{transition:opacity .25s}}
