:root{color-scheme:dark;background:#19160f;color:#e8e2d3;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}*{box-sizing:border-box}body{margin:0;min-width:280px;height:100svh;overflow:hidden}#photo-stage,#photograph,#touchpoints{position:fixed;inset:0;width:100%;height:100%}#photo-stage{opacity:0;transition:opacity 1.2s}body.ready #photo-stage{opacity:1}#photograph{display:block;touch-action:none}#touchpoints{pointer-events:none}.bell-hit{position:fixed;display:block;pointer-events:auto;min-width:44px;min-height:44px;border:0;border-radius:35%;background:transparent;padding:0;cursor:grab;touch-action:none;transform:translate(-50%,-50%);-webkit-tap-highlight-color:transparent}.bell-hit.dragging{cursor:grabbing}.bell-hit:focus{outline:0}.bell-hit:focus-visible span{position:absolute;left:calc(50% - 3px);bottom:-12px;width:6px;height:6px;border-radius:50%;background:#f1e7cf;box-shadow:0 0 14px #f1e7cf55}header{position:fixed;top:max(24px,env(safe-area-inset-top));left:6vw;right:6vw;display:flex;justify-content:space-between;align-items:center;gap:24px;z-index:5;text-shadow:0 1px 12px #0008}a,button{font:inherit;font-size:12px;min-height:44px;display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;background:none;border:0;padding:10px 0;cursor:pointer}.return{font-size:11px}.return svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.1}a:hover,footer button:hover{color:#fff9ea}a:focus-visible,footer button:focus-visible,#retry:focus-visible{outline:1px solid #dac9a4;outline-offset:5px}.invitation{position:fixed;left:8vw;top:43%;max-width:36vw;pointer-events:none;z-index:2;transition:opacity 1s;opacity:0;transform:translateY(5px)}body.ready .invitation{opacity:1;transform:none;transition:opacity 1s .45s,transform 1s .45s}.invitation h1{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:clamp(42px,4.7vw,70px);font-weight:400;letter-spacing:-.045em;line-height:1.05;margin:0 0 24px;color:#ede5d4}.invitation p{font-size:11px;line-height:1.8;margin:0;color:#d4c8b0}body.playing .invitation{opacity:0;transition:opacity 1s}footer{position:fixed;left:6vw;right:6vw;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:5;text-shadow:0 1px 12px #0008}footer button{font-size:11px;color:#d8ceba}#sound{margin-left:auto}.notice{position:fixed;bottom:86px;left:24px;right:24px;font-size:11px;text-align:center;line-height:1.8;z-index:6}#failure{position:fixed;left:8vw;top:43vh;max-width:300px;font-size:13px;line-height:1.8;z-index:8}#failure p{margin:0 0 12px}#retry{text-decoration:underline;text-underline-offset:5px}.unavailable .invitation{display:none}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}[hidden]{display:none!important}@media(max-aspect-ratio:5/4){.invitation{top:auto;bottom:13svh;max-width:80vw;left:7vw}.invitation h1{font-size:clamp(40px,7vw,58px);margin-bottom:18px}}@media(max-width:600px){header{left:24px;right:24px;top:max(16px,env(safe-area-inset-top))}.invitation{left:28px;bottom:13svh}.invitation h1{font-size:44px;margin-bottom:16px}.invitation p{font-size:10px}footer{left:24px;right:24px}}@media(max-height:600px) and (min-aspect-ratio:5/4){.invitation{top:38%}.invitation h1{font-size:38px;margin-bottom:14px}}@media(prefers-reduced-motion:reduce){#photo-stage,.invitation,body.ready .invitation,body.playing .invitation{transition:none;transform:none}}@media(forced-colors:active){a,button{background:Canvas;color:CanvasText}.bell-hit:focus-visible{outline:2px solid Highlight}}

/* Dense fine grain belongs to the scene, beneath all text and controls. */
#photo-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:url("paper-grain.svg") repeat;background-size:180px 180px;filter:contrast(2.5);mix-blend-mode:soft-light;opacity:.48}
