@font-face{font-family:Manrope;src:url('./manrope-cyrillic.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-052F}@font-face{font-family:Manrope;src:url('./manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
*{box-sizing:border-box}body{margin:0;min-height:100svh;color:#fff;font-family:Manrope,Arial,sans-serif;background:#1239a1;background:radial-gradient(ellipse at 50% 42%,#368dee 0%,#2056c1 42%,#112c81 100%);text-align:center}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ffdd70;outline-offset:6px}body:has(dialog[open]){overflow:hidden}.background{position:fixed;inset:0;pointer-events:none;overflow:hidden}.background span{position:absolute;color:#b9eaff;opacity:.25;font-size:35px;animation:drift 8s ease-in-out infinite alternate}.background span:nth-child(1){left:12%;top:25%}.background span:nth-child(2){right:13%;top:48%;animation-delay:-2s}.background span:nth-child(3){left:21%;bottom:14%;font-size:18px}.background span:nth-child(4){right:25%;top:15%;font-size:16px}.header{position:relative;max-width:1120px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:27px 32px;text-align:left}.brand{font-weight:850;letter-spacing:.03em;font-size:21px}.brand small{display:block;font-size:9px;letter-spacing:.3em;color:#b6d9ff;margin-top:3px}.mission{font-size:12px;color:#bedbff}.mission strong{color:#fff;margin-left:8px}.intro{position:relative;padding:12px 20px 0}.eyebrow{font-size:10px;letter-spacing:.24em;color:#b7e9ff;font-weight:800}h1{font-size:clamp(28px,5vw,44px);line-height:1.15;margin:12px 0 13px;letter-spacing:-.04em}#hint{color:#c6e3ff;margin:0;font-size:14px}.stage{position:relative;max-width:850px;height:375px;margin:0 auto;isolation:isolate}.halo{position:absolute;left:50%;top:50%;width:360px;height:240px;transform:translate(-50%,-35%);border-radius:50%;background:#4cbfff;filter:blur(60px);opacity:.45}.rays{position:absolute;inset:-30px 0;background:repeating-conic-gradient(from 0deg at 50% 56%,transparent 0deg 15deg,#bbecff09 15deg 26deg);mask-image:radial-gradient(ellipse,#000,transparent 70%);z-index:-1}.case{position:absolute;width:410px;height:375px;left:50%;top:0;transform:translateX(-50%);border:0;background:none;padding:0}.case img{position:absolute;width:100%;height:100%;object-fit:contain;inset:0;filter:drop-shadow(0 20px 22px #041f704d);transition:filter .2s}.case:not(:disabled):hover img{filter:drop-shadow(0 0 22px #9fffe275)}.case-closed{animation:bob 4s ease-in-out infinite}.case-open{opacity:0}.tap{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;font-weight:700;color:#d5f6ff;background:#102b7959;padding:8px 13px;border-radius:100px;backdrop-filter:blur(8px)}.flash{pointer-events:none;position:absolute;inset:-100px -10px;background:radial-gradient(circle,#fff 0%,#e2fffc 14%,#b3ffff90 30%,transparent 67%);opacity:0;z-index:8}.sparkles{position:absolute;inset:0;pointer-events:none;opacity:0}.sparkles span{position:absolute;font-size:30px;color:#ffe78f}.sparkles span:nth-child(1){left:20%;top:20%}.sparkles span:nth-child(2){right:22%;top:28%}.sparkles span:nth-child(3){left:30%;bottom:18%}.sparkles span:nth-child(4){right:30%;bottom:12%}.opening .case-closed{animation:shake .65s ease-in both,vanish .2s .65s forwards}.opening .case-open{animation:appear .4s .65s forwards}.opening .flash{animation:flash .9s .5s both}.opening .tap,.revealed .tap{display:none}.revealed .case{transition:opacity .6s,filter .6s;opacity:.16;filter:blur(2px)}.revealed .case-closed{opacity:0;animation:none}.revealed .case-open{opacity:1;animation:none}.revealed .sparkles{opacity:1;animation:drift 4s ease-in-out infinite alternate}
#unlock-form{position:relative;width:min(330px,calc(100% - 40px));margin:0 auto}#unlock-form label{display:block;font-size:11px;font-weight:750;margin-bottom:9px;color:#c8e5ff}#password{width:100%;height:58px;border:1px solid #b6e8ff69;border-radius:17px;background:#092b786e;color:#fff;text-align:center;font-weight:800;font-size:19px;letter-spacing:.12em;outline:0;box-shadow:inset 0 2px 5px #001c4d19,0 12px 30px #0e2a6526;transition:border-color .2s,box-shadow .2s}#password::placeholder{color:#b2cff6;font-size:14px;letter-spacing:0;font-weight:500}#password:focus{border-color:#b4fff0;box-shadow:0 0 0 4px #8cefe219}#feedback{font-size:12px;line-height:1.6;min-height:30px;color:#c7e4ff;margin:12px auto 0;max-width:350px;padding:0 12px}#feedback.error{color:#ffe29c}footer{font-size:10px;color:#a5c5f0;padding:24px 12px 22px;position:relative}.loot-zone{position:absolute;inset:0;z-index:3}.loot{position:absolute;left:50%;top:42%;width:220px;height:270px;background:linear-gradient(150deg,#fff,#e2f1ff);border:1px solid #fff;border-radius:25px;box-shadow:0 20px 60px #041b6238;color:#143c83;padding:18px;opacity:0;transform:translate(-50%,-40%) scale(.4);pointer-events:none;transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .5s,box-shadow .2s;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:space-between}.loot.active{opacity:1;transform:translate(-50%,-40%) scale(1.08);z-index:4}.loot.parked{opacity:1;pointer-events:auto;transform:translate(-50%,-40%) scale(.84)}.loot-fragment.parked{transform:translate(calc(-50% - 245px),-40%) rotate(-7deg) scale(.9)}.loot-qr.parked{transform:translate(calc(-50% + 245px),-40%) rotate(7deg) scale(.9)}.loot:not(:disabled):hover{box-shadow:0 22px 60px #04215c66}.loot-label{font-size:9px;letter-spacing:.12em;font-weight:850}.loot img{width:100%;height:185px;object-fit:contain;min-height:0}.loot-bottom{font-size:10px;font-weight:800;color:#3766b7;display:block}.qr-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:180px;border:1px dashed #93b5d3;border-radius:12px;font-size:70px;color:#87aac9;background:#edf5fb}.qr-pending strong{font-size:16px;color:#4f7399}.qr-pending small{font-size:10px;margin-top:5px}.note-icon{font-size:72px;color:#e0a335;line-height:1.2}.note-seal{font-size:22px;color:#ecb341}.loot-note{background:linear-gradient(140deg,#fff9e7,#fff0c2);border-color:#ffeab0}.loot-note strong{font-size:23px}.note-caption{font-size:11px;color:#866e44}.end-actions{position:relative;font-size:12px;color:#c2e1ff}.end-actions p{margin:5px 16px 15px}#replay{border:1px solid #b5ddff4d;background:#b2e3ff12;border-radius:100px;color:#e1f3ff;padding:10px 18px;font-size:11px;font-weight:700}dialog{border:1px solid #fff;border-radius:27px;padding:32px;max-width:460px;width:calc(100% - 32px);max-height:90svh;overflow:auto;color:#183c71;background:#f6faff;box-shadow:0 30px 100px #00124b66;text-align:center}dialog::backdrop{background:#051c60b3;backdrop-filter:blur(8px)}dialog h2{font-size:24px;margin:15px 0}dialog p{font-size:14px;line-height:1.7;color:#547191}dialog img{max-width:100%;max-height:44svh;object-fit:contain}.close{position:absolute;right:13px;top:11px;background:#e3edfa;border:0;border-radius:50%;width:32px;height:32px;color:#315681;font-size:22px}.action{display:block;background:#215bd0;color:#fff;border-radius:12px;padding:13px;text-decoration:none;font-size:13px;font-weight:750;margin-top:18px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes bob{50%{transform:translateY(-8px)}}@keyframes drift{to{transform:translateY(-14px) rotate(8deg)}}@keyframes shake{20%,60%{transform:rotate(-4deg)}40%,80%{transform:rotate(4deg)}100%{transform:scale(1.06)}}@keyframes vanish{to{opacity:0}}@keyframes appear{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes flash{0%,100%{opacity:0}35%{opacity:.95}}
@media(max-width:650px){.header{padding:23px 22px}.brand{font-size:18px}.intro{padding-top:18px}.stage{height:350px;overflow:clip}.case{width:365px;height:350px}.halo{width:260px}.loot{width:174px;height:225px;padding:15px;top:43%}.loot img{height:145px}.loot-fragment.parked{transform:translate(calc(-50% - 91px),-64%) rotate(-10deg) scale(.67)}.loot-qr.parked{transform:translate(calc(-50% + 91px),-64%) rotate(10deg) scale(.67)}.loot-note.parked{transform:translate(-50%,5%) scale(.7)}.qr-pending{height:140px}.loot.active{transform:translate(-50%,-40%) scale(1)}.loot-note strong{font-size:21px}.note-icon{font-size:54px}footer{padding-top:20px}.finished{height:350px}}
@media(max-height:760px) and (min-width:651px){.stage{height:330px}.case{height:330px;width:365px}.intro{padding-top:0}.header{padding-top:20px;padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.opening .case-closed{opacity:0}.opening .case-open{opacity:1}}


body{overflow-x:clip}.brand{color:inherit;text-decoration:none}

#qr{background:#fff;border-radius:8px;padding:8px;image-rendering:pixelated}#detail-image[src$='/qr']{background:#fff;padding:16px;width:328px;image-rendering:pixelated}
.fragment-orbit{position:relative;height:300px;max-height:40svh;perspective:900px;border-radius:20px;outline:0;cursor:grab;touch-action:none;user-select:none;background:radial-gradient(ellipse,#d6e9fc 0%,#edf5ff 45%,transparent 72%);overflow:hidden}.fragment-orbit:focus-visible{outline:3px solid #4385e4;outline-offset:3px}.fragment-orbit.dragging{cursor:grabbing}.fragment-model{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}.fragment-model img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;backface-visibility:hidden;pointer-events:none}.paper-front{transform:translateZ(1px);filter:drop-shadow(0 10px 12px #244b7a30)}.paper-back{transform:rotateY(180deg) translateZ(1px);filter:brightness(0) invert(90%) sepia(24%) saturate(390%) drop-shadow(0 10px 12px #244b7a30)}dialog .rotate-help{font-size:11px;line-height:1.6;margin:9px 0;color:#6b83a1}.rotate-controls{display:flex;justify-content:center;gap:8px}.rotate-controls button{border:1px solid #cbdcf2;border-radius:11px;background:#e6f0fc;color:#244f91;padding:9px 13px;font-size:12px;font-weight:700;min-height:40px}.rotate-controls button:first-child,.rotate-controls button:last-child{font-size:20px;min-width:44px}#fragment-viewer{margin-top:10px}

.fragment-model{inset:24px 30px}
