:root{color-scheme:dark;font-family:Arial,system-ui,sans-serif;background:#06070b;color:#f5f6f8}*{box-sizing:border-box}body{margin:0;min-height:100svh}button,a,input{-webkit-tap-highlight-color:transparent}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}[hidden]{display:none!important}:focus-visible{outline:2px solid #00ffc2;outline-offset:4px}header{position:fixed;z-index:5;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:max(18px,env(safe-area-inset-top)) 28px 14px;pointer-events:none}header>*{pointer-events:auto}.wordmark{font-weight:800;font-size:23px;letter-spacing:-1px}.wordmark span{font-size:10px;letter-spacing:2px;color:#a5abb8}.pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #555964;border-radius:40px;background:#10121be8;color:#d8dce5;padding:12px 18px;font-size:13px;font-weight:700}.pill:disabled{opacity:.5;cursor:wait}.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;background:#00ffc2;color:#06100e;border:0;border-radius:40px;padding:17px 22px;min-height:56px;font-size:16px;font-weight:800}.primary:hover{background:#86ffe2}#viewport{position:fixed;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.launch{position:relative;z-index:3;min-height:100svh;width:100%;display:flex;flex-direction:column;justify-content:center;padding:110px clamp(24px,6vw,90px) 85px;background:linear-gradient(90deg,#06070bf5,#06070be6 43%,#06070b20 78%);pointer-events:none}.launch>*{pointer-events:auto;width:min(480px,100%)}.eyebrow{font-size:11px;letter-spacing:2px;color:#00ffc2;font-weight:800}h1{font-size:clamp(50px,6.5vw,96px);line-height:.98;letter-spacing:-.07em;margin:24px 0}em{font-style:normal;color:#397aff}#intro{font-size:17px;line-height:1.7;color:#aeb5c5}.actions{display:flex;flex-direction:column;gap:12px;max-width:360px;margin-top:16px}.sound-option{font-size:13px;color:#acb4c3;display:flex;align-items:center;gap:10px;margin-top:21px}.sound-option input{accent-color:#00ffc2;width:18px;height:18px}#status{font-size:12px;line-height:1.7;color:#848e9f;max-width:360px;min-height:38px}#load-error{font-size:13px;color:#ffbfbf}footer{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:0;right:0;z-index:3;text-align:center;color:#747e8e;font-size:11px;pointer-events:none}#toolbar{position:fixed;z-index:5;left:18px;right:18px;bottom:max(22px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:8px;flex-wrap:wrap}body.previewing .launch{display:none}body.previewing #footnote{display:none}body.xr-active header{display:none}body.xr-active .wordmark{display:none}@media(max-width:700px){header{padding-left:20px;padding-right:20px}.wordmark{font-size:20px}.launch{padding:104px 24px 64px;justify-content:flex-start;background:linear-gradient(#06070bed 55%,#06070b60)}h1{font-size:clamp(50px,14vw,74px)}.actions{max-width:none}.primary{font-size:15px}#toolbar .pill{font-size:12px;padding:11px 13px}.sound-option{margin-top:18px}footer{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
#direct-entry{position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;background:#06070b;padding:32px 24px;text-align:center}#direct-entry>div{width:min(390px,100%)}#direct-title{font-size:26px;line-height:1.4;letter-spacing:-1px;margin:22px 0 14px}#direct-status{font-size:15px;line-height:1.7;color:#adb5c5;margin:0 0 24px}#direct-entry button{justify-content:center;width:100%;margin-bottom:12px}.direct-back{display:block;padding:14px;color:#929dad;font-size:13px}body.direct-ar .launch,body.direct-ar header,body.direct-ar #footnote{display:none}
footer{pointer-events:auto}#camera-feed{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}#viewport canvas{position:absolute;inset:0}body.xr-active{overflow:hidden}
@media(min-width:1024px){body:not(.previewing) #viewport{overflow:hidden}body:not(.previewing) #viewport canvas{transform:translateX(20vw)}}
#xr-hint{position:fixed;z-index:6;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 48px);padding:18px 24px;border:1px solid #ffffff35;border-radius:18px;background:#080b12cc;color:#fff;text-align:center;font-size:16px;font-weight:700;line-height:1.6;pointer-events:none;box-shadow:0 8px 32px #0003}
body.xr-active #toolbar{display:grid;grid-template-columns:1fr 80px 1fr;align-items:center;gap:16px;bottom:max(20px,env(safe-area-inset-bottom));pointer-events:none}body.xr-active #toolbar>*{pointer-events:auto}body.xr-active #back{justify-self:start;font-size:12px;padding:12px 15px}#shutter-wrap{grid-column:2;text-align:center}#shutter{width:76px;height:76px;padding:5px;border:2px solid #fff;border-radius:50%;background:#ffffff20;box-shadow:0 3px 22px #0004;display:block;margin:auto}#shutter span{display:block;width:100%;height:100%;border-radius:50%;background:#fff;transition:transform .12s}#shutter:active span{transform:scale(.9)}#shutter:disabled{opacity:.4;cursor:default}.shutter-label{display:block;color:#fff;font-size:11px;font-weight:700;margin-top:8px;text-shadow:0 1px 4px #000}#photo-last{grid-column:3;justify-self:end;width:56px;height:68px;padding:0;border:2px solid #fff;border-radius:10px;overflow:hidden;background:#111}#photo-thumb{width:100%;height:100%;object-fit:cover}
#photo-error{position:fixed;z-index:20;bottom:150px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);border-radius:14px;background:#10121bf2;color:#fff;padding:14px 18px;font-size:13px;text-align:center;pointer-events:none}#photo-preview{position:fixed;inset:0;z-index:30;background:#06070bf7;display:flex;justify-content:center;overflow:auto;padding:max(20px,env(safe-area-inset-top)) 20px max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain}.photo-panel{width:min(760px,100%);height:100%;min-height:0;display:flex;flex-direction:column;gap:16px}.photo-heading{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.photo-heading h2{font-size:19px;margin:0;letter-spacing:-.5px}.photo-heading button{padding:10px 17px}.photo-frame{flex:1;min-height:100px;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:16px;background:#10121b;border:1px solid #292e3a}.photo-frame img{display:block;width:100%;height:100%;object-fit:contain}.photo-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-shrink:0}.photo-actions>*{min-height:50px;padding:12px 8px;justify-content:center;font-size:14px;font-weight:700;text-align:center}#photo-delete{color:#ffacb2;border-color:#643840}#photo-status{margin:0;min-height:20px;font-size:12px;color:#aeb5c5;text-align:center;line-height:1.5;flex-shrink:0}body.photo-open #toolbar,body.photo-open #xr-hint{visibility:hidden}@media(max-height:500px){#photo-preview{padding:12px 20px}.photo-panel{gap:8px}.photo-heading h2{font-size:16px}.photo-actions>*{min-height:42px}.photo-frame{min-height:60px}}
