@font-face{font-family:Crimson TGH;font-style:normal;font-weight:400;src:url(/assets/fonts/crimson-text-400.woff2) format("woff2")}@font-face{font-family:Crimson TGH;font-style:normal;font-weight:700;src:url(/assets/fonts/crimson-text-700.woff2) format("woff2")}@font-face{font-family:Figtree TGH;font-style:normal;font-weight:700;src:url(/assets/fonts/figtree-700.woff2) format("woff2")}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:radial-gradient(circle at 18% 8%,rgba(28,59,67,.1),transparent 34%),linear-gradient(135deg,#fbf7ef,#eadfca 52%,#f8f1e4);color:#3b2a1e}body{touch-action:none;font-family:Crimson TGH,Georgia,serif}.scene-menu{box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;width:100%;height:100%;padding:16px 12px;overflow:auto}.scene-menu[hidden]{display:none}.menu-header{display:grid;justify-items:center;justify-self:center;width:100%;max-width:760px}.menu-logo{display:block;width:180px;max-width:calc(100vw - 48px);height:auto}.scene-hero[hidden],.scene-catalog[hidden]{display:none}.scene-hero{display:grid;align-content:start;justify-items:center;gap:10px;min-height:0}.scene-hero-title{display:grid;justify-items:center;margin:14px 0 16px;color:#244750;font-family:Crimson TGH,Georgia,serif;font-size:3.35rem;font-weight:400;letter-spacing:0;line-height:.88;text-align:center}.scene-hero-title .is-emphasis{color:#9a472f;font-style:italic;font-weight:400}.scene-hero-viewport{box-sizing:border-box;position:relative;width:331px;max-width:calc(100vw - 44px);aspect-ratio:1;overflow:hidden;border:1px solid #b8892d;border-radius:8px;background:linear-gradient(135deg,#21393729,#a87d391a),#f7efe1;box-shadow:0 0 0 1px #fff6d5d1 inset,0 0 0 1px #e6c76f,0 24px 54px #2d20132e;cursor:grab;touch-action:none}.scene-hero-viewport:active{cursor:grabbing}.scene-hero-track{display:flex;height:100%;transition:transform .7s ease-in-out;will-change:transform}.scene-hero-slide{display:grid;flex:0 0 100%;min-width:0;place-items:center}.scene-hero-image{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-select:none}.scene-hero-dots{display:flex;align-items:center;justify-content:center;gap:9px;min-height:22px}.scene-hero-dot{width:10px;height:10px;padding:0;border:1px solid rgba(56,73,65,.62);border-radius:999px;background:#fffaefc7;box-shadow:0 1px 2px #2d20131f;cursor:pointer}.scene-hero-dot.is-active{background:#294740}.scene-hero-dot:focus-visible,.scene-hero-begin:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:4px}.scene-hero-begin{width:286px;max-width:calc(100vw - 44px);padding:0;border:0;background:transparent;cursor:pointer}.scene-hero-begin:active{transform:translateY(1px)}.scene-hero-begin-image{display:block;width:100%;height:auto}.scene-hero-empty{margin:0;color:#5a4634;font-size:1.3rem;font-weight:700}.scene-catalog{display:grid;align-content:start;align-items:start;gap:18px}.scene-bundle-section{display:grid;align-content:start;align-items:start;gap:4px}.scene-bundle-title{margin:0 0 4px;color:#5f4527;font-family:Figtree TGH,Verdana,sans-serif;font-size:.82rem;font-weight:700;letter-spacing:0;line-height:1;text-transform:uppercase}.scene-bundle-scenes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-content:start;gap:12px}.scene-card{display:grid;grid-template-rows:auto;align-self:start;min-width:0;padding:7px;border:1px solid rgba(115,85,44,.34);border-radius:6px;background:#fffaefc2;color:#3b2a1e;font:inherit;text-align:left;box-shadow:0 12px 30px #2d201324;cursor:pointer}.scene-card:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:3px}.scene-card:hover{border-color:#1d343875}.scene-preview-frame{position:relative;display:block;min-width:0;aspect-ratio:1;overflow:hidden;border:1px solid #9d773e;border-radius:4px;background:#f7efe1}.scene-preview{display:block;width:100%;height:100%;object-fit:cover;background:transparent}.scene-progress-badge{position:absolute;inset-block-start:8px;inset-inline-end:8px;display:inline-grid;place-items:center;min-width:34px;height:22px;box-sizing:border-box;padding:0 7px;border:1px solid rgba(80,62,43,.16);border-radius:999px;background:#fff;color:#294740;font-family:Figtree TGH,Verdana,sans-serif;font-size:.68rem;font-weight:700;line-height:1;box-shadow:0 3px 8px #261b122e}.scene-progress-badge.is-complete{width:26px;min-width:26px;height:26px;padding:0;color:#16884a}.scene-progress-check{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}#game-container,#overview-container{width:100%;height:100%}#game-container{position:relative}.app-shell{box-sizing:border-box;position:relative;display:block;width:100%;height:100%;padding:0;overflow:hidden}.app-shell[hidden]{display:none}.game-viewport{position:relative;min-width:0;min-height:0;overflow:hidden;background:#f8f2e8;user-select:none;-webkit-user-select:none}.game-viewport{position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-radius:0}.scene-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;background:#fbf8f3;pointer-events:auto}.scene-loading[hidden]{display:none}.scene-loading-content{display:grid;justify-items:center;gap:18px;transform:translateY(-10px)}.scene-loading-spinner{box-sizing:border-box;inline-size:48px;block-size:48px;border:3px solid rgba(126,110,94,.22);border-block-start-color:#b07a2f;border-radius:50%;animation:scene-loading-spin .82s linear infinite}.scene-loading-message{margin:0;color:#3b2a1e;font-family:Crimson TGH,Georgia,serif;font-size:1.6rem;font-weight:700;line-height:1}.scene-loading-status{position:absolute;inset-block-end:26px;inset-inline:18px;margin:0;color:#59442e;font-family:Figtree TGH,Verdana,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:0;line-height:1;text-align:center}.scene-loading-status[hidden]{display:none}@keyframes scene-loading-spin{to{transform:rotate(360deg)}}.overview-panel{position:absolute;inset-block-start:14px;inset-inline-end:14px;z-index:3;inline-size:min(168px,calc(100vw - 28px),calc(100vh - 120px));block-size:min(168px,calc(100vw - 28px),calc(100vh - 120px));min-inline-size:132px;min-block-size:132px;overflow:hidden;border:1px solid rgba(255,255,255,.68);border-radius:8px;background:#faf6edbd;box-shadow:0 14px 28px #34241233}.overview-panel:after{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:"";border-radius:inherit;box-shadow:0 0 0 1px #7d5b301f inset}.overview-panel[hidden]{display:none}.overview-frame{width:100%;height:100%}.game-bottom-controls{box-sizing:border-box;position:absolute;inset-block-end:14px;inset-inline:14px;z-index:4;display:flex;align-items:center;justify-content:center;gap:8px;pointer-events:none}.game-hud{box-sizing:border-box;display:grid;grid-template-columns:minmax(48px,max-content) minmax(0,1fr) max-content;flex:1 1 auto;align-items:center;gap:12px;width:auto;min-width:0;min-height:54px;padding:6px 14px;border:1px solid rgba(255,255,255,.68);border-radius:999px;background:#faf6edc7;box-shadow:0 0 0 1px #7d5b301f inset,0 14px 28px #3424122e;pointer-events:auto}.progress-copy{min-width:48px;width:48px}.progress-percent{display:flex;align-items:baseline;height:32px;color:#3b2718;font-weight:700;line-height:1;text-shadow:0 1px 0 rgba(255,255,255,.55)}.progress-percent span:first-child{font-size:1.75rem}.progress-mark{margin-left:2px;font-size:.95rem}.progress-cells{margin:0;color:#59442e;font-size:.95rem;line-height:1.05;text-align:end;white-space:nowrap}.progress-rail{position:relative;height:18px;min-width:0;border-radius:999px}.progress-rail:before{position:absolute;top:4px;right:0;bottom:4px;left:0;content:"";border:2px solid rgba(151,118,70,.28);border-radius:999px;background:#fffcf5ad;box-shadow:0 1px 3px #3e2d1a29 inset,0 1px #ffffffb8}.progress-fill{position:absolute;inset-block:5px;inset-inline-start:0;inline-size:0%;max-inline-size:100%;border-radius:999px;background:linear-gradient(90deg,#9d7335,#d6b467);box-shadow:0 1px 3px #462b0e5c inset}.home-link-button,.overview-toggle,.share-artwork-button,.scene-options-button,.overview-close{z-index:4;display:inline-flex;align-items:center;justify-content:center;padding:0;height:54px;width:54px;border:0;border-radius:999px;background:linear-gradient(#fbf8ef,#efe4d1),#f6eddd;color:#704c1c;text-decoration:none;box-shadow:0 0 0 2px #ffffff94 inset,0 5px 14px #46311929;cursor:pointer}.home-link-button,.overview-toggle,.share-artwork-button,.overview-close{position:absolute}.home-link-button{inset-block-start:14px;inset-inline-start:14px;z-index:101}.overview-toggle,.share-artwork-button{inset-block-start:14px;inset-inline-end:14px}.scene-options-control{position:relative;flex:0 0 auto;pointer-events:auto}.scene-options-button{position:relative;color:#5f421b;font:700 1.28rem/1 Figtree TGH,Verdana,sans-serif;letter-spacing:1px}.overview-toggle[hidden],.share-artwork-button[hidden],.scene-options-button[hidden]{display:none}.overview-close{inset-block-start:6px;inset-inline-end:6px;height:28px;width:28px;background:linear-gradient(#fffaf1,#eee1ca),#f6eddd;box-shadow:0 0 0 1px #ffffff9e inset,0 3px 9px #46311929}.home-link-button:focus-visible,.overview-toggle:focus-visible,.share-artwork-button:focus-visible,.scene-options-button:focus-visible,.overview-close:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:3px}.home-link-button:active,.overview-toggle:active,.share-artwork-button:active,.scene-options-button:active,.overview-close:active{transform:translateY(1px)}.overview-button-icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.overview-close .overview-button-icon{width:18px;height:18px;stroke-width:2.3}.scene-options-menu{position:absolute;z-index:5;inset-block-end:calc(100% + 10px);inset-inline-end:0;box-sizing:border-box;min-inline-size:178px;padding:6px;border:1px solid rgba(255,255,255,.68);border-radius:8px;background:#faf6edf0;box-shadow:0 0 0 1px #7d5b301f inset,0 14px 28px #34241233}.scene-options-menu[hidden]{display:none}.scene-options-item{display:block;width:100%;min-height:42px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#3b2a1e;font:700 .95rem/1 Figtree TGH,Verdana,sans-serif;text-align:left;cursor:pointer}.scene-options-item:hover,.scene-options-item:focus-visible{background:#704c1c1a;outline:0}.completion-dialog{box-sizing:border-box;width:330px;max-width:calc(100vw - 48px);max-height:calc(100vh - 24px);padding:0;border:0;border-radius:24px;background:transparent;color:#3b2a1e}.completion-dialog::backdrop{background:#241c145c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.completion-card{box-sizing:border-box;position:relative;display:grid;justify-items:center;max-height:calc(100vh - 24px);padding:24px 22px 21px;overflow:auto;border:1px solid rgba(255,255,255,.74);border-radius:18px;background:#fcf9f1f7;box-shadow:0 0 0 1px #7e5b2d1c inset,0 26px 70px #271c1257;text-align:center}.completion-close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid rgba(112,76,28,.16);border-radius:999px;background:#fffcf5c2;color:#5c4126;cursor:pointer}.completion-close-button:hover{background:#f6eddceb}.completion-close-button:focus-visible,.completion-action:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:3px}.completion-close-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.completion-flourish{display:block;width:150px;max-width:100%;height:auto;margin-block-end:8px}.completion-title{margin:0;color:#3a281d;font-family:Crimson TGH,Georgia,serif;font-size:1.95rem;font-weight:700;letter-spacing:0;line-height:.98}.completion-subtitle{margin:9px 0 7px;color:#342b25;font-family:Figtree TGH,Verdana,sans-serif;font-size:.92rem;font-weight:700;line-height:1.22}.completion-divider{display:block;width:238px;max-width:100%;height:auto;margin:5px 0 9px}.completion-copy{max-width:248px;margin:0 0 17px;color:#5a4634;font-family:Figtree TGH,Verdana,sans-serif;font-size:.94rem;font-weight:700;line-height:1.32}.completion-actions{display:grid;gap:10px;width:100%}.completion-action{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:0 16px;border-radius:13px;font:700 1.28rem/1 Crimson TGH,Georgia,serif;letter-spacing:0;cursor:pointer}.completion-action-icon{flex:0 0 auto;width:24px;height:24px;margin-inline-end:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.completion-share-action{border:1px solid rgba(134,87,21,.3);background:linear-gradient(#d2a042,#a76e19),#b47a24;color:#fffaf1;box-shadow:0 1px #ffffff42 inset,0 10px 18px #51320e38}.completion-secondary-action{border:1px solid rgba(117,91,58,.2);background:#fffcf4b8;color:#5c4126;box-shadow:0 1px #ffffffc2 inset,0 8px 16px #3929181f}.completion-action:disabled{cursor:wait;opacity:.72}.reset-confirm-dialog,.set-progress-dialog{width:280px;max-width:calc(100vw - 36px);padding:0;border:0;border-radius:8px;background:transparent;color:#3b2a1e}.set-progress-dialog{width:340px}.reset-confirm-dialog::backdrop,.set-progress-dialog::backdrop{background:#2b1f1447}.reset-confirm-card,.set-progress-card{box-sizing:border-box;display:grid;gap:18px;padding:22px;border:1px solid rgba(255,255,255,.72);border-radius:8px;background:#faf6edf0;box-shadow:0 0 0 1px #7d5b301f inset,0 18px 42px #3424123d}.reset-confirm-title{margin:0;color:#2f241b;font-size:1.45rem;font-weight:700;line-height:1.1;text-align:center}.set-progress-heading{display:grid;gap:8px;justify-items:center}.set-progress-value{color:#5b4633;font:700 .95rem/1 Figtree TGH,Verdana,sans-serif}.set-progress-slider{width:100%;margin:0;accent-color:#704c1c;cursor:pointer}.set-progress-slider:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:5px}.reset-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reset-confirm-button{min-height:42px;border:1px solid rgba(112,76,28,.34);border-radius:6px;background:#fffaf1;color:#4d3826;font:700 1rem/1 Figtree TGH,Verdana,sans-serif;cursor:pointer}.reset-confirm-primary{background:#704c1c;color:#fffaf1}.reset-confirm-button:focus-visible{outline:3px solid rgba(23,67,75,.45);outline-offset:3px}.overview-canvas,.game-background-canvas,.game-canvas{display:block;width:100%;height:100%;user-select:none;-webkit-user-select:none}#game-container>.game-background-canvas,#game-container>.game-canvas{position:absolute;top:0;right:0;bottom:0;left:0}.game-background-canvas{z-index:0;pointer-events:none;transform-origin:0 0}#game-container>.game-canvas{z-index:1}.game-canvas{cursor:grab}.game-canvas:active{cursor:grabbing}
