body.scene-body{overscroll-behavior:none;background:#0b0d2b;height:100%;margin:0;overflow:hidden}html:has(body.scene-body){overscroll-behavior:none;background:#0b0d2b;height:100%;margin:0;overflow:hidden}.scene-root{color:#fff;font-family:Montserrat,Segoe UI,system-ui,sans-serif;position:fixed;inset:0}.scene-backdrop{transform-origin:0 0;will-change:transform;pointer-events:none;-webkit-user-select:none;user-select:none;max-width:none;position:absolute;top:0;left:0}.scene-root .scene-haze{pointer-events:none}.scene-root>.scene-backdrop,.scene-root>canvas{opacity:0;transition:opacity .6s}.scene-root.has-backdrop>.scene-backdrop,.scene-root.is-ready>.scene-backdrop,.scene-root.is-ready>canvas{opacity:1}.scene-root.is-ready>.scene-status{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s linear .3s}@media (prefers-reduced-motion:reduce){.scene-root>.scene-backdrop,.scene-root>canvas{transition:none}}.scene-shade,.scene-flash{opacity:0;pointer-events:none;position:absolute;inset:0}.scene-flash{background:#dee6ff}.scene-root canvas{touch-action:none;cursor:grab;width:100%;height:100%;position:absolute;inset:0}.scene-root canvas:active{cursor:grabbing}.scene-top,.scene-bottom{padding:12px max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));pointer-events:none;align-items:center;gap:10px;display:flex;position:absolute;left:0;right:0}.scene-top{padding-top:max(12px, env(safe-area-inset-top));top:0}.scene-bottom{padding-bottom:max(14px, env(safe-area-inset-bottom));justify-content:center;bottom:0}.scene-top>*,.scene-bottom>*{pointer-events:auto}.scene-title{text-shadow:0 1px 3px #05051eb3;flex-direction:column;min-width:0;margin:0 auto 0 0;display:flex}.scene-title h1{color:#fff;margin:0;font-size:clamp(18px,2.2vw,24px);line-height:1.15}.scene-title p{color:#d9dcff;margin:2px 0 0;font-size:13px}.scene-pill{-webkit-backdrop-filter:blur(10px);color:#fff;min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:#14163c8c;border:1.5px solid #ffffff59;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex}.scene-pill:hover{background:#282c64b3}.scene-pill:focus-visible{outline-offset:2px;outline:3px solid #ffd166}.scene-pill svg{flex-shrink:0;width:20px;height:20px}.scene-pill.primary{color:#3b2400;background:linear-gradient(#ffd766,#f5a623);border-color:#ffc94d}.scene-clock{font-variant-numeric:tabular-nums;cursor:default}.scene-status{max-width:calc(100% - 32px);position:absolute;left:50%;transform:translate(-50%)}.scene-status,.scene-toast{text-align:center;background:#14163cbf;border-radius:999px;margin:0;padding:10px 18px;font-size:15px;font-weight:600}.scene-status{top:45%}.scene-float{left:0;right:0;bottom:calc(80px + env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;align-items:center;gap:10px;padding:0 12px;display:flex;position:absolute}.scene-float>*{pointer-events:auto}.scene-toast-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-width:100%;display:flex}.scene-toast-action{min-height:40px}.scene-sheet{color:#1d2a3a;background:#fffdf8;border:0;border-radius:22px;max-width:min(720px,100% - 24px);max-height:min(80vh,640px);padding:20px;font-family:Montserrat,Segoe UI,system-ui,sans-serif}.scene-sheet::backdrop{background:#05051e8c}.scene-sheet h2{color:#0a5f9a;margin:0 0 4px;font-size:22px}.scene-sheet>p{color:#4c5d70;margin:0 0 16px}.scene-shelf{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;display:grid}.scene-shelf a{color:#1d2a3a;gap:8px;font-size:14px;font-weight:700;text-decoration:none;display:grid}.scene-shelf img{aspect-ratio:1;background:#fff;border-radius:14px;width:100%;box-shadow:0 6px 18px -10px #0a285080}.scene-shelf a:hover img{transform:translateY(-3px)}.scene-sheet .scene-close{float:right;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #d7e3ee;border-radius:999px;padding:0 14px;font-weight:700}@media (width<=560px){.scene-title p,.scene-pill .label-long{display:none}.scene-pill{padding:0 14px}}body.scene-body.rig-body{height:auto;overflow:auto}html:has(body.rig-body){height:auto;overflow:auto}.rig-sheet{max-width:1100px;margin:0 auto;padding:24px 16px 48px;position:static}.rig-sheet h1{color:#fff;margin:0 0 6px}.rig-sheet>p{color:#d9dcff;margin:0 0 20px}.rig-card{margin-bottom:24px}.rig-card h2{color:#fff;margin:0 0 8px;font-size:18px}.rig-card small{color:#aab0e6;font-weight:500}.rig-seeds{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.rig-card .rig-seeds canvas{background:#1c1f4a;width:96px;margin:0}.rig-card canvas{background:#fff;border-radius:12px;width:320px;max-width:calc(50% - 6px);height:auto;margin-right:12px}body.scene-body:before,body.scene-body:after{display:none}body.scene-body.rig-body{background:#14163a}.scene-welcome{z-index:5;background:#05051e6b;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.scene-welcome[hidden]{display:none}.scene-welcome-card{color:#1d2a3a;background:#fffdf8;border-radius:22px;width:min(440px,100%);padding:22px 22px 18px;box-shadow:0 24px 60px -24px #000000b3}.scene-welcome-card h2{color:#0a5f9a;margin:0 0 6px;font-size:22px;line-height:1.2}.scene-welcome-card p{color:#4c5d70;margin:0;font-size:15px;line-height:1.5}.scene-welcome-steps{counter-reset:welcome;gap:8px;margin:14px 0;padding:0;font-size:15px;line-height:1.4;list-style:none;display:grid}.scene-welcome-steps li{counter-increment:welcome;grid-template-columns:26px 1fr;align-items:start;gap:10px;display:grid}.scene-welcome-steps li:before{content:counter(welcome);color:#3b2400;background:#ffd166;border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;font-weight:800;display:grid}.scene-welcome-card .scene-welcome-note{font-size:14px}.scene-welcome-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.scene-welcome-actions .scene-pill:not(.primary){color:#1d2a3a;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-color:#d7e3ee}.scene-share-label{white-space:nowrap}.scene-share-art{flex-shrink:0;place-items:center;display:inline-grid}.scene-share.has-creature{padding-left:6px}.scene-share.has-creature .scene-share-art,.scene-share-sheet .scene-share-art:not(:empty),.scene-invite-art{background:radial-gradient(circle at 50% 30%,#343b8a,#15173d 72%);border-radius:50%;box-shadow:0 0 0 2px #ffd166}.scene-share.has-creature .scene-share-art{width:32px;height:32px}.scene-root .scene-share-art canvas,.scene-root .scene-invite-art canvas{width:var(--thumb,26px);height:var(--thumb,26px);cursor:inherit;touch-action:auto;position:static}.scene-share-sheet{width:min(460px,100% - 24px)}.scene-share-head{align-items:center;gap:12px;margin-bottom:6px;display:flex}.scene-share-head h2{margin:0}.scene-share-sheet .scene-share-art:not(:empty){--thumb:44px;width:52px;height:52px}.scene-invite{--invite-from:0 16px;color:#1d2a3a;background:#fffdf8;border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;width:min(420px,100%);padding:14px 46px 14px 14px;animation:.5s cubic-bezier(.2,.9,.3,1.2) both scene-invite-in;display:grid;position:relative;box-shadow:0 0 0 2px #ffd166,0 22px 50px -20px #000c}.scene-invite[hidden]{display:none}.scene-invite-art{--thumb:60px;place-items:center;width:76px;height:76px;display:grid;box-shadow:0 0 0 3px #ffd166}.scene-invite h2{color:#0a5f9a;margin:0;font-size:17px;line-height:1.25}.scene-invite p{color:#4c5d70;margin:4px 0 12px;font-size:14px;line-height:1.4}.scene-invite .scene-pill{min-height:42px;padding:0 16px}.scene-invite-close{color:#6b7b8c;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;display:grid;position:absolute;top:6px;right:6px}.scene-invite-close:hover{color:#1d2a3a;background:#f1ede3}.scene-invite-close:focus-visible{outline-offset:1px;outline:3px solid #0a5f9a}.scene-invite-close svg{width:18px;height:18px}@keyframes scene-invite-in{0%{opacity:0;translate:var(--invite-from);scale:.96}}@media (width>=900px),(orientation:landscape) and (height<=520px){.scene-invite{--invite-from:24px 0;top:calc(max(12px, env(safe-area-inset-top)) + 68px);right:max(16px, env(safe-area-inset-right));width:400px;position:fixed}}@media (prefers-reduced-motion:reduce){.scene-invite{animation:none}}@media (width<=400px){.scene-bottom{padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right));gap:8px}.scene-bottom:has([data-scene-find]:not([hidden])) [data-scene-add] svg{display:none}.scene-invite{gap:12px;padding:12px 42px 12px 12px}.scene-invite-art{--thumb:52px;width:64px;height:64px}.scene-invite h2{font-size:16px}}@media (width<=350px){.scene-bottom:has([data-scene-find]:not([hidden])) .scene-share-label{display:none}.scene-bottom:has([data-scene-find]:not([hidden])) .scene-share{padding:0 6px}}
