@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(fonts/nunito-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(fonts/nunito-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;--bg: #000000;--accent: #6675F7;--accent-dim: #5461DC;--accent-ink: #FFFFFF;--surface: #101012;--surface-2: #1A1A1D;--sheet: #0B0B0C;--line: rgba(255, 255, 255, .1);--line-strong: rgba(255, 255, 255, .18);--text: #F5F5F7;--muted: #8E8E95;--faint: #5F5F66;--danger: #FF5A52;--fw-head: 600;--fw-body: 400;--r-xl: 28px;--r-lg: 22px;--r-md: 16px;--r-sm: 12px;--sat: max(env(safe-area-inset-top, 0px), calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)));--sab: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px));--bar-h: 64px;--ease: cubic-bezier(.22, .9, .24, 1);--font: "Nunito", ui-rounded, "SF Pro Rounded", "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif}*,*:before,*:after{box-sizing:border-box}html{background:var(--bg);-webkit-text-size-adjust:100%;overscroll-behavior-y:none}html.is-locked,html.is-locked body{overflow:hidden}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--text);font:var(--fw-body) 16px/1.4 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overscroll-behavior-y:none}button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;touch-action:manipulation;text-align:inherit}button:disabled{cursor:default}img{display:block;-webkit-user-drag:none}h2,p{margin:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[hidden]{display:none!important}.i{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 20px;border-radius:var(--r-md);font-weight:var(--fw-head);font-size:16px;text-decoration:none;white-space:nowrap;transition:transform .12s ease,opacity .16s ease,background-color .16s ease}.btn .i{width:20px;height:20px;stroke-width:2.2}.btn:active:not(:disabled){transform:scale(.98);opacity:.85}.btn--primary{background:var(--accent);color:var(--accent-ink)}.btn--dim{background:var(--accent-dim);color:var(--accent-ink);width:100%}.btn--soft{background:var(--surface-2);color:var(--accent);height:44px}.btn--danger{background:var(--surface-2);color:var(--danger);height:44px}.btn--outline{border:1px solid rgba(102,117,247,.45);color:var(--accent);width:100%}.btn--xl{width:100%;height:54px;border-radius:var(--r-lg);font-size:17px}.btn:disabled{opacity:.32}.btn--outline:disabled{opacity:.5}.btn-text{color:var(--accent);font-weight:var(--fw-head);font-size:16px;padding:8px 2px;transition:opacity .16s}.btn-text:active:not(:disabled){opacity:.6}.btn-text:disabled{opacity:.35}.loader{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:var(--bg);transition:opacity .45s ease,visibility 0s linear .45s}.loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.loader__center{display:flex;flex-direction:column;align-items:center;gap:26px;margin-top:-6vh}.loader__logo{width:168px;height:168px;opacity:0;transition:opacity .3s ease}.loader__logo.is-ready{opacity:1}.loader__logo svg,.loader__logo img{width:100%;height:100%}.loader__bar{width:132px;height:3px;border-radius:3px;background:#ffffff1a;overflow:hidden}.loader__fill{display:block;width:100%;height:100%;border-radius:3px;background:var(--accent);transform:scaleX(0);transform-origin:left center}.loader__open{width:236px;height:52px;border-radius:var(--r-md);font-size:17px}.loader__error{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:280px;text-align:center}.loader__msg{color:var(--muted);font-size:15px}#app[aria-hidden=true]{visibility:hidden}.page{width:100%;max-width:520px;margin:0 auto;padding:calc(var(--sat) + 14px) 16px calc(var(--bar-h) + var(--sab) + 44px)}.topbar{display:flex;align-items:center;justify-content:space-between;height:36px;margin-bottom:6px;padding:0 6px 0 4px}.topbar__count{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}.frame{border:1px solid var(--line-strong);border-radius:var(--r-xl);padding:10px}.rows{display:flex;flex-direction:column}.row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.row+.row{margin-top:8px}.frame .btn--dim{margin-top:10px;height:46px}.cell{position:relative}.tile{position:relative;width:100%;aspect-ratio:1;border-radius:20px;background:var(--surface);display:grid;place-items:center;overflow:hidden;color:var(--faint);transition:transform .12s ease}.tile:active{transform:scale(.97)}.tile__plus{width:28px;height:28px;stroke-width:1.7}.tile:after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:3;pointer-events:none;border:1px solid transparent;transition:border-color .18s ease}.tile.is-selected:after{border-color:#6675f780}.cell__x{position:absolute;top:0;right:0;z-index:4;width:44px;height:44px;display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .16s ease}.cell.is-removable .cell__x{opacity:1;pointer-events:auto}.cell__xdot{width:24px;height:24px;border-radius:50%;background:#000000b8;color:#fff;display:grid;place-items:center}.cell__xdot .i{width:12px;height:12px;stroke-width:2.6}.art,.art__pat{position:absolute;inset:0}.art__pat i{position:absolute;aspect-ratio:1;transform:translate(-50%,-50%);background:var(--pc);-webkit-mask:var(--mask) center / contain no-repeat;mask:var(--mask) center / contain no-repeat}.art__model{position:absolute;inset:14%;width:72%;height:72%;object-fit:contain;opacity:0;transition:opacity .25s ease}.art__model.is-ready{opacity:1}.cellhead{margin:20px 4px 12px}.cellhead__title{font-size:19px;font-weight:var(--fw-head);line-height:1.2}.cellhead__hint{margin-top:3px;color:var(--muted);font-size:14px;transition:color .18s}.cellhead__hint.is-done{color:var(--accent)}.pickers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.picker{aspect-ratio:3 / 1;border-radius:18px;background:var(--surface);display:flex;align-items:center;gap:10px;padding:0 14px;min-width:0;transition:transform .12s ease,opacity .16s ease}.picker:active:not(:disabled){transform:scale(.98)}.picker:disabled{opacity:.38}.picker__title{flex:1;font-weight:var(--fw-head);font-size:17px}.picker__chev{width:16px;height:16px;color:var(--faint);stroke-width:2.2}.picker__thumb{flex:none;width:36px;height:36px;border-radius:10px;background:var(--surface-2);overflow:hidden}.picker__thumb img{width:100%;height:100%;object-fit:contain}.picker__txt{display:flex;flex-direction:column;min-width:0;line-height:1.2}.picker__cap{color:var(--muted);font-size:12px}.picker__val{font-weight:var(--fw-head);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page>.btn--xl{margin-top:14px}.reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .26s var(--ease),opacity .2s ease}.reveal.is-open{grid-template-rows:1fr;opacity:1}.reveal__in{overflow:hidden;min-height:0}.reveal__in .btn{margin-top:10px}.hint{margin-top:8px;color:var(--muted);font-size:13px;text-align:center}.tabbar{position:fixed;left:50%;bottom:calc(var(--sab) + 14px);transform:translate(-50%);z-index:20;width:min(300px,calc(100% - 40px));height:var(--bar-h);padding:6px;gap:4px;display:flex;border-radius:999px;background:#111113;border:1px solid var(--line)}.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:999px;color:var(--muted);font-size:12px;transition:background-color .18s,color .18s}.tab .i{width:24px;height:24px}.tab.is-active{color:var(--accent);background:var(--surface-2);font-weight:var(--fw-head)}.tab:disabled{opacity:.38}.overlay{position:fixed;inset:0;z-index:50;background:#000000a8;opacity:0;pointer-events:none;transition:opacity .24s ease}.overlay.is-open{opacity:1;pointer-events:auto}.overlay--dialog{z-index:59}.sheet{position:fixed;z-index:51;left:0;right:0;bottom:0;top:calc(var(--sat) + 44px);width:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;background:var(--sheet);border-radius:28px 28px 0 0;transform:translateY(102%);visibility:hidden;transition:transform .3s var(--ease),visibility 0s linear .3s}.sheet.is-open{transform:none;visibility:visible;transition-delay:0s}.sheet__top{touch-action:none;flex:none}.sheet__grab{width:38px;height:5px;border-radius:3px;background:var(--line-strong);margin:8px auto 0}.sheet__head{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;padding:8px 14px 6px}.sheet__title{text-align:center;font-size:18px;font-weight:var(--fw-head)}.sheet__close{width:32px;height:32px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.sheet__close .i{width:16px;height:16px;stroke-width:2.4}.search{flex:none;display:flex;align-items:center;gap:8px;margin:4px 16px 12px;padding:0 12px;height:42px;border-radius:14px;background:var(--surface-2);color:var(--muted)}.search .i{width:19px;height:19px}.search__input{flex:1;min-width:0;height:100%;background:transparent;border:0;outline:0;color:var(--text);font:var(--fw-body) 16px var(--font);-webkit-user-select:text;user-select:text;-webkit-appearance:none;appearance:none}.search__input::placeholder{color:var(--muted)}.search__input::-webkit-search-cancel-button{-webkit-appearance:none}.sheet__rule{flex:none;height:1px;background:var(--line)}.sheet__list{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(var(--sab) + 16px)}.sheet__status{display:flex;flex-direction:column;align-items:center;gap:14px;padding:48px 24px;color:var(--muted);text-align:center;font-size:15px}.item{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 16px;transition:background-color .12s}.item:active{background:var(--surface)}.item:after{content:"";position:absolute;left:74px;right:0;bottom:0;height:1px;background:var(--line)}.item__thumb{flex:none;width:44px;height:44px;border-radius:var(--r-sm);background:var(--surface);overflow:hidden}.item__thumb img{width:100%;height:100%;object-fit:contain}.item__name{flex:1;min-width:0;font-size:16px;font-weight:var(--fw-head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item__meta{flex:none;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}.item__check{width:20px;height:20px;color:var(--accent);stroke-width:2.4}.item.is-selected .item__name{color:var(--accent)}.dialog{position:fixed;z-index:60;left:50%;top:50%;width:min(320px,calc(100% - 48px));padding:22px 16px 16px;border-radius:26px;background:#141416;text-align:center;opacity:0;visibility:hidden;transform:translate(-50%,-50%) scale(.96);transition:opacity .2s ease,transform .22s var(--ease),visibility 0s linear .22s}.dialog.is-open{opacity:1;visibility:visible;transform:translate(-50%,-50%);transition-delay:0s}.dialog__title{font-size:18px;font-weight:var(--fw-head)}.dialog__text{margin-top:6px;color:var(--muted);font-size:15px}.dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.dialog__actions .btn{padding:0 12px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
