:root{--text:#2a2a3c;--text-dim:#8a8a9e;--text-on-dark:#f4f2ff;--text-dim-on-dark:#a9a4c4;--accent-from:#7d5cff;--accent-to:#5a32e6;--accent-ring:#6d45f0;--sheet:#fff;--sheet-row:#f5f4fb;--border:#eceaf5;--backdrop:#18142873;--wash-duration:.24s;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{overscroll-behavior:none;color:var(--text);background:#fff1f5;overflow:hidden}.app{width:100%;height:100dvh;padding-top:max(env(safe-area-inset-top), 10px);padding-bottom:max(env(safe-area-inset-bottom), 16px);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);flex-direction:column;display:flex;position:relative}.wash{z-index:-1;position:fixed;inset:0}.wash__layer{position:absolute;inset:0}.wash__layer--top{opacity:0;transition:opacity var(--wash-duration) ease}.wash__layer--top.is-shown{opacity:1}.header{flex:none;align-items:center;padding:8px 20px 0;display:flex}.header__spacer,.header__gear{flex:none;width:44px;height:44px}.header__center{flex-direction:column;flex:auto;align-items:center;gap:8px;display:flex}.header__title{letter-spacing:-.4px;color:var(--text);transition:color var(--wash-duration) ease;font-size:22px;font-weight:800}.header__badge{color:var(--accent-ring);background:#7d5cff1f;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700}.header__gear{cursor:pointer;color:var(--text-dim);transition:color var(--wash-duration) ease, opacity .12s ease;background:0 0;border:0;place-items:center;font-size:21px;line-height:1;display:grid}.header__gear:active{opacity:.5}.is-dark .header__title{color:var(--text-on-dark)}.is-dark .header__gear{color:var(--text-dim-on-dark)}.is-dark .header__badge{color:var(--text-on-dark);background:#ffffff24}.stage{touch-action:none;cursor:grab;flex:auto;min-height:200px;position:relative}.stage:active{cursor:grabbing}.stage canvas{display:block}.caption{flex-direction:column;flex:none;justify-content:center;align-items:center;gap:10px;height:62px;padding:0 24px;display:flex}.caption__text{color:var(--text-dim);white-space:nowrap;text-overflow:ellipsis;max-width:100%;transition:color var(--wash-duration) ease;font-size:15px;font-weight:600;overflow:hidden}.is-dark .caption__text{color:var(--text-dim-on-dark)}.dots{align-items:center;gap:8px;height:8px;display:flex}.dots__dot{background:var(--accent-ring);opacity:.35;border-radius:50%;width:8px;height:8px;animation:.84s ease-in-out infinite dot-pulse}.is-dark .dots__dot{background:#b9a7ff}.dots__dot:nth-child(2){animation-delay:.16s}.dots__dot:nth-child(3){animation-delay:.32s}@keyframes dot-pulse{0%,60%,to{opacity:.35;transform:scale(.85)}30%{opacity:1;transform:scale(1)}}.button-row{flex:none;align-items:center;gap:12px;padding:0 24px;display:flex}.random-button{cursor:pointer;color:#fff;letter-spacing:1.4px;background:linear-gradient(135deg, var(--accent-from), var(--accent-to));touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;border-radius:999px;flex:auto;justify-content:center;align-items:center;gap:12px;min-width:0;height:62px;font-size:17px;font-weight:800;transition:transform .12s cubic-bezier(.2,.9,.3,1.2),box-shadow .12s;display:flex;box-shadow:0 10px 18px #5a32e66b}.random-button:active{transform:scale(.96);box-shadow:0 6px 12px #5a32e657}.dice-glyph{background:#fff;border-radius:7px;grid-template-columns:1fr 1fr;gap:4px;width:22px;height:22px;padding:4px;display:grid}.dice-glyph span{background:var(--accent-to);border-radius:50%;width:4px;height:4px}.collection-button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#ffffffd1;border:0;border-radius:50%;flex:none;place-items:center;width:62px;height:62px;transition:transform .12s cubic-bezier(.2,.9,.3,1.2),box-shadow .12s;display:grid;box-shadow:0 6px 14px #2a2a3c24}.collection-button:active{transform:scale(.94);box-shadow:0 4px 10px #2a2a3c1f}.is-dark .collection-button{background:#ffffff29}.collection-button__grid{grid-template-columns:1fr 1fr;gap:4px;display:grid}.collection-button__grid span{background:var(--accent-ring);border-radius:2.5px;width:8px;height:8px}.is-dark .collection-button__grid span{background:#cabaff}.collection-grid{grid-template-columns:1fr 1fr;gap:12px;padding-bottom:4px;display:grid}.collection-card{background:var(--sheet-row);cursor:pointer;font:inherit;color:inherit;text-align:left;border:2px solid #0000;border-radius:18px;flex-direction:column;align-items:flex-start;gap:2px;padding:16px 14px;display:flex;position:relative}.collection-card.is-selected{border-color:var(--accent-ring);background:#7d5cff14}.collection-card:disabled{opacity:.45;cursor:default}.collection-card__icon{margin-bottom:6px;font-size:28px}.collection-card__label{font-size:16px;font-weight:700}.collection-card__description{color:var(--text-dim);font-size:12.5px;line-height:1.3}.collection-card__check{background:var(--accent-ring);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;font-weight:900;display:grid;position:absolute;top:12px;right:12px}.backdrop{z-index:100;background:var(--backdrop);opacity:0;border:0;padding:0;animation:.18s forwards fade-in;position:fixed;inset:0}@keyframes fade-in{to{opacity:1}}.sheet{z-index:101;background:var(--sheet);padding:10px 20px calc(max(env(safe-area-inset-bottom), 16px) + 8px);border-radius:28px 28px 0 0;max-width:520px;margin:0 auto;animation:.24s cubic-bezier(.2,.8,.2,1) forwards sheet-up;position:fixed;bottom:0;left:0;right:0;transform:translateY(100%)}@keyframes sheet-up{to{transform:translateY(0)}}.sheet__handle{background:#dedbe9;border-radius:999px;width:38px;height:5px;margin:0 auto 14px}.sheet__title-row{align-items:center;margin-bottom:12px;display:flex}.sheet__title{flex:1;font-size:19px;font-weight:800}.sheet__close{cursor:pointer;width:44px;height:44px;color:var(--text-dim);background:0 0;border:0;font-size:17px}.sheet__divider{background:var(--border);height:1px;margin:10px 0}.setting-row{width:100%;min-height:52px;font:inherit;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0 12px;display:flex}button.setting-row{cursor:pointer}.setting-row__icon{width:24px;font-size:17px}.setting-row__label{flex:1;font-size:16px;font-weight:600}.setting-row__chevron{color:var(--text-dim);font-size:22px}.switch{flex:none;width:50px;height:30px;position:relative}.switch input{opacity:0;cursor:pointer;z-index:1;margin:0;position:absolute;inset:0}.switch__track{background:#d8d6e4;border-radius:999px;transition:background .16s;position:absolute;inset:0}.switch__thumb{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .16s cubic-bezier(.2,.8,.2,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch input:checked~.switch__track{background:var(--accent-ring)}.switch input:checked~.switch__thumb{transform:translate(20px)}.switch input:focus-visible~.switch__track{outline:2px solid var(--accent-ring);outline-offset:2px}@media (width>=560px){.app{max-width:520px;margin:0 auto}}@media (prefers-reduced-motion:reduce){.dots__dot,.sheet,.backdrop{animation-duration:1ms}.random-button{transition-duration:1ms}}
