.artifact-viewer{position:fixed;inset:0;z-index:12;display:flex;flex-direction:column;min-height:0;background:#090e15;color:#eee8dc;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
.artifact-viewer>header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:.7rem 1rem;gap:.5rem}.artifact-viewer>header p{margin:0;font-size:.72rem;letter-spacing:.08em;color:#b5bdc2}.artifact-viewer>header button{justify-self:start;min-height:44px;padding:.3rem .5rem}.artifact-title{text-align:center;padding:0 1.2rem}.artifact-title h1{font:clamp(1.5rem,5vw,2.3rem) Georgia,serif;margin:.25rem 0}.artifact-title p{font-size:.85rem;color:#aebbbd;max-width:30rem;margin:.35rem auto .4rem;line-height:1.45}.artifact-stage{position:relative;flex:1;min-height:120px;overflow:hidden}.artifact-stage>canvas,.artifact-flight,.artifact-flight-frame{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}.artifact-stage>canvas{touch-action:none;outline-offset:-4px}.artifact-stage [hidden]{display:none!important}.artifact-dock{flex:none;max-height:35dvh;overflow:auto;padding:.55rem max(1rem,env(safe-area-inset-right)) .65rem max(1rem,env(safe-area-inset-left));background:linear-gradient(transparent,#0b1017 20%)}.artifact-modes{display:flex;justify-content:center;gap:.4rem}.artifact-modes button{min-height:44px;border:1px solid #8d9b9e66;border-radius:24px;background:transparent;padding:.5rem 1.1rem;color:inherit}.artifact-modes button[aria-pressed=true]{background:#e9e1cd;color:#0b1017;border-color:#e9e1cd}.artifact-zoom{display:flex;align-items:center;gap:.8rem;font-size:.75rem;color:#b7c3c7;max-width:24rem;margin:.45rem auto 0}.artifact-zoom input{flex:1;min-width:0;height:32px;accent-color:#d6dfcf}.artifact-instruction{text-align:center;font-size:.72rem;color:#a4b4b8;margin:.2rem 0 .1rem;line-height:1.4}.artifact-options{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}.artifact-options button{min-height:44px;padding:.45rem 1rem;border:1px solid #99c5c277;border-radius:20px;background:#142127;color:#e1efde}.artifact-options button:disabled{opacity:.65}.memento-presentation{position:absolute;inset:0;width:100%;height:100%;border:0;background:#090e15}.home-manta-frame{width:150px;height:84px;border:0;pointer-events:none;background:transparent}
@media(max-height:560px){.artifact-viewer>header{padding:.2rem .7rem}.artifact-title h1{font-size:1.3rem}.artifact-title p{display:none}.artifact-dock{padding:.2rem .8rem;max-height:42dvh}.artifact-instruction{display:none}.artifact-zoom{margin:0 auto}.artifact-options{margin-top:.1rem}}
@media(prefers-reduced-motion:reduce){.artifact-viewer *{scroll-behavior:auto}}

/* The reward lives above the frozen flight; the moving manta is the native painter. */
.reward-page{position:fixed;inset:0;z-index:14;background:#090e15;min-height:0}.memento-scene{box-sizing:border-box;position:absolute;inset:0;display:flex;flex-direction:column;align-items:stretch;padding:calc(1.25rem + env(safe-area-inset-top)) max(1.25rem,env(safe-area-inset-right)) calc(.8rem + env(safe-area-inset-bottom)) max(1.25rem,env(safe-area-inset-left));overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#12212b 0%,#090e15 68%)}.memento-heading{text-align:center;z-index:4;pointer-events:none}.memento-eyebrow{font-size:.72rem;letter-spacing:.1em;color:#aebfc5;margin:0 0 .6rem}.memento-title{font:clamp(2rem,8vw,3.2rem) Georgia,serif;margin:.25rem 0 .7rem;color:#eee8dc}.memento-copy{font-size:.94rem;line-height:1.5;max-width:25rem;margin:0 auto;color:#b7c8ce;min-height:3em}.memento-stage{position:relative;flex:1;min-height:120px;overflow:visible}.memento-crystal{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.memento-manta{position:absolute;left:50%;top:50%;width:160px;height:106px;max-width:none;border:0;pointer-events:none;background:transparent;transform:translate(-50%,-50%);z-index:3}.memento-source{position:absolute;left:0;top:0;width:160px;height:106px;border:0;opacity:0;pointer-events:none;max-width:none}.memento-status{text-align:center;font-size:1rem;color:#cde6d9;min-height:1.5em;margin:.2rem 0 .65rem;z-index:4}.memento-continue{align-self:center;min-height:48px;min-width:190px;position:relative;z-index:4;color:#eee8dc;padding:.65rem 1rem;border:1px solid #879c9d66;border-radius:28px;background:#0d171d}.memento-continue:focus-visible{outline:2px solid #d9ebdb;outline-offset:4px}.memento-scene[data-memento-phase=kept] .memento-manta,.memento-scene[data-memento-phase=kept] .memento-source{width:210px;height:135px}.memento-scene[data-memento-phase=kept] .memento-status{color:#dfedcc}
@media(max-height:560px){.memento-scene{padding-top:calc(.5rem + env(safe-area-inset-top));padding-bottom:calc(.3rem + env(safe-area-inset-bottom))}.memento-eyebrow{margin-bottom:.15rem}.memento-title{font-size:1.7rem;margin:.1rem 0 .25rem}.memento-copy{font-size:.8rem;min-height:1.5em;max-width:32rem}.memento-stage{min-height:65px}.memento-manta,.memento-source{width:120px;height:80px}.memento-status{font-size:.85rem;margin:0}.memento-continue{min-height:44px;padding:.35rem .9rem}}
@media(prefers-reduced-motion:reduce){.memento-crystal{display:none}.memento-manta{transform:translate(-50%,-50%)!important}}

/* Home uses the same transparent native pixels as the first-light encounter. */
.home-manta-display{position:relative;display:block;width:150px;height:84px;pointer-events:none;background:transparent}.home-manta-canvas{display:block;width:100%;height:100%;background:transparent}.home-manta-source{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;pointer-events:none}
