@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap";:root{font-family:DM Sans,sans-serif;color:#eaf1ff;background:#08111f;font-synthesis:none;--bg:#08111f;--panel:#101d30;--line:#23344d;--muted:#91a4bf;--cyan:#55d6c2;--yellow:#ffd166}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 22% 4%,#193353 0,#08111f 38%),var(--bg);min-width:320px}button,input{font:inherit}button{cursor:pointer;border:0}.shell{max-width:1320px;margin:auto;padding:20px 28px 36px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px}.brand{font-family:Space Grotesk;font-weight:700;font-size:23px;letter-spacing:-.03em}.brand span{color:var(--cyan)}nav{display:flex;gap:28px;color:var(--muted);font-size:14px}nav a{color:inherit;text-decoration:none}.nav-shop{border:1px solid #496078;border-radius:99px;padding:8px 15px;color:#cbd7e8}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;margin-bottom:65px}.eyebrow{color:var(--cyan);text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700}.hero h1{font:600 clamp(40px,6vw,76px)/.98 "Space Grotesk";letter-spacing:-.07em;margin:16px 0 22px;max-width:670px}.hero h1 em{color:var(--yellow);font-style:normal}.hero p{font-size:17px;line-height:1.7;color:var(--muted);max-width:530px}.actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}.primary,.secondary{padding:13px 19px;border-radius:10px;font-weight:700}.primary{background:var(--cyan);color:#07151d}.secondary{background:#16263d;color:#eaf1ff;border:1px solid #2c4563}.cube-stage{height:390px;border:1px solid #28405c;border-radius:24px;background:linear-gradient(145deg,#112844,#091522);position:relative;overflow:hidden}.cube-stage:after{content:"DRAG TO EXPLORE";position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#66809e;font-size:10px;letter-spacing:.15em}.cube-canvas{width:100%;height:100%}.section-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 18px}.section-head h2{font:600 28px Space Grotesk;margin:0}.section-head p{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:#101d30c7;border:1px solid var(--line);border-radius:15px;padding:22px;min-height:150px}.card .number{color:var(--yellow);font:700 28px Space Grotesk}.card h3{margin:15px 0 7px}.card p{color:var(--muted);line-height:1.55;margin:0;font-size:14px}.workbench{margin-top:68px;background:#0c1929;border:1px solid var(--line);border-radius:20px;padding:25px}.workbench-grid{display:grid;grid-template-columns:1fr 360px;gap:24px}.workbench h2{font:600 28px Space Grotesk;margin:0 0 8px}.workbench-intro{color:var(--muted);margin-top:0}.upload{border:1px dashed #52708e;border-radius:15px;padding:20px;margin-top:22px;background:#0d2034}.upload-title{font-weight:700}.upload small{display:block;color:var(--muted);margin:8px 0 16px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.photo-cell{background:#16273c;border-radius:9px;padding:10px;color:#9fb1c7;font-size:12px;min-height:54px}.photo-cell input{width:100%;font-size:11px}.steps{border-left:1px solid var(--line);padding-left:24px}.steps h3{margin-top:0}.step{padding:14px;border-radius:10px;color:var(--muted);margin-bottom:8px}.step.active{background:#153347;color:#f2ffff;border-left:3px solid var(--cyan)}.step strong{display:block;color:inherit;margin-bottom:4px}.solution{margin-top:16px;background:#07121f;border-radius:9px;padding:14px;color:var(--yellow);font-family:monospace;line-height:1.7}.footer{color:#698099;font-size:13px;margin-top:58px;border-top:1px solid var(--line);padding-top:18px}@media (max-width:800px){.shell{padding:16px 16px 28px}.topbar{margin-bottom:32px}nav{gap:12px}.nav-hide{display:none}.hero{grid-template-columns:1fr;gap:25px;margin-bottom:44px}.hero h1{font-size:48px}.cube-stage{height:300px}.cards,.workbench-grid{grid-template-columns:1fr}.steps{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.section-head{display:block}.section-head p{margin-top:8px}.workbench{padding:18px;margin-top:48px}}.actions a{text-decoration:none;display:inline-block}.topbar nav{align-items:center;flex-wrap:wrap;justify-content:flex-end}.topbar{gap:14px}.cube-stage:after{content:attr(data-hint);pointer-events:none}.cube-canvas canvas{display:block;width:100%;height:100%}.solve-stage{height:280px}.face-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.face-tabs button{padding:10px 3px;min-height:44px}.face-tabs [aria-pressed=true]{background:var(--cyan);color:#07151d}.file-button{display:inline-flex;position:relative;cursor:pointer}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;cursor:pointer}.file-button:focus-within{outline:2px solid var(--cyan);outline-offset:3px}#face-guide,#photo-editor p,.color-controls p{color:var(--muted);line-height:1.55}#photo-editor{margin-top:20px}.photo-frame{width:fit-content;max-width:100%;position:relative}.photo-frame canvas{display:block;max-width:100%;max-height:530px;object-fit:contain;cursor:crosshair}.photo-frame span{position:absolute;translate:-50% -50%;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--cyan);color:#08111f;font-weight:700;cursor:grab;touch-action:none;box-shadow:0 0 0 2px #08111f88;-webkit-user-select:none;user-select:none}.scan-result{display:grid;grid-template-columns:144px minmax(0,1fr);align-items:center;gap:18px}.sticker-editor,.net-face{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.sticker-editor button,.palette button{color:#07151d;background:var(--swatch);border-radius:7px;min-height:44px;font-weight:700}.sticker-editor button[aria-pressed=true]{outline:2px solid #fff;outline-offset:-3px}.sticker-editor button[data-empty=true]{color:#cbd7e8}.palette{display:grid;grid-template-columns:repeat(6,minmax(32px,1fr));gap:5px}.palette button{padding:2px}.scan-message,#reconstruct-status,#status{line-height:1.5;color:#bdcde0}.scan-message:empty,#reconstruct-status:empty{display:none}.solution span{display:inline-block;padding:1px 4px}.solution [aria-current=step]{background:var(--yellow);color:#08111f;border-radius:4px}.cube-net{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.net-face span{border-radius:3px;font-size:10px;text-align:center;color:#08111f}.cube-net[hidden]{display:none}button:disabled{opacity:.45;cursor:default}@media (max-width:1000px) and (min-width:801px){.scan-result{grid-template-columns:1fr}.sticker-editor{max-width:150px}}@media (max-width:480px){.topbar{align-items:flex-start}.topbar nav{gap:6px 12px;font-size:12px}.nav-shop{padding:3px 8px}.face-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.scan-result{grid-template-columns:1fr;gap:4px}.sticker-editor{max-width:180px}.scan-inputs{gap:9px}.scan-inputs label{padding:11px 12px}.solve-stage{height:245px}}.color-face-tabs{grid-template-columns:repeat(6,minmax(64px,1fr));gap:8px}.color-face-tab{display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 5px;background:#15263c;color:#a7bad0;border:1px solid transparent;border-radius:11px}.color-face-tab:hover{border-color:#55708e}.color-face-tab.active{border-color:var(--cyan);color:#f2ffff;background:#17334a}.color-face-tab.complete strong{color:var(--cyan)}.face-thumb{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:62px;height:62px;padding:3px;border-radius:7px;background:#25364a;opacity:.48}.color-face-tab.complete .face-thumb{opacity:1}.face-thumb i{display:grid;place-items:center;border-radius:1px;background:#40536a;color:#08111f;font-size:10px;font-style:normal;font-weight:700}.color-face-tab strong{font-size:13px}#scan-dialog{max-width:min(420px,calc(100vw - 32px));border:1px solid #45617e;border-radius:14px;background:#102137;color:#eaf1ff;padding:24px;box-shadow:0 18px 70px #000b}#scan-dialog::backdrop{background:#020814aa}.scan-result{margin-top:16px}@media (max-width:600px){.color-face-tabs{grid-template-columns:repeat(3,minmax(64px,1fr))}.face-thumb{width:56px;height:56px}}#action-dialog,#photo-dialog,#manual-dialog,#scan-dialog{width:min(460px,calc(100vw - 28px));max-width:none;border:1px solid #2b4563;border-radius:18px;background:#101d30;color:#eaf1ff;padding:0;box-shadow:0 24px 80px #000b;overflow:hidden}#action-dialog::backdrop,#photo-dialog::backdrop,#manual-dialog::backdrop,#scan-dialog::backdrop{background:#020814b8}.dialog-form,#action-dialog form,#photo-dialog form,#manual-dialog form,#scan-dialog form{padding:24px}.dialog-form h3,#action-dialog h3,#photo-dialog h3,#manual-dialog h3,#scan-dialog h3{margin:0 0 8px;font:600 24px Space Grotesk;color:#f3f7ff}.dialog-form p,#action-dialog p,#photo-dialog p,#manual-dialog p,#scan-dialog p{color:var(--muted);line-height:1.55;margin:8px 0 16px}.dialog-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.dialog-actions button{padding:11px 16px;border-radius:10px}.dialog-close{border:0;background:transparent;color:var(--muted);padding:10px 0;margin-top:8px}.dialog-close:hover{color:#fff}.file-input{display:none}#manual-dialog .sticker-editor{max-width:300px;margin:18px auto 16px;gap:5px}#manual-dialog .sticker-editor button{min-height:62px;border:1px solid #34506d;color:#08111f;font-weight:700}#manual-dialog .sticker-editor button:disabled{opacity:1;cursor:default;outline:2px solid #fff;outline-offset:-3px}#manual-dialog .palette{max-width:360px;margin:auto;gap:6px}#manual-dialog .palette button{min-height:42px;border:1px solid #27415d}#manual-dialog .actions{margin-top:16px}#photo-dialog .photo-frame{max-height:55vh;overflow:auto;background:#091522;border-radius:10px}#photo-dialog .photo-frame canvas{max-height:55vh;max-width:100%;width:auto;height:auto}@media (max-width:480px){#action-dialog form,#photo-dialog form,#manual-dialog form,#scan-dialog form{padding:18px}#manual-dialog .sticker-editor{max-width:270px}#manual-dialog .sticker-editor button{min-height:56px}.dialog-actions button{flex:1}}.scan-message.is-error{color:#ff9aa2}.lang-switch{padding:7px 13px;border-radius:99px;background:transparent;border:1px solid #496078;color:#cbd7e8;font-size:13px;line-height:1.2}.lang-switch:hover{border-color:var(--cyan);color:#f2ffff}#photo-dialog .photo-result{margin-top:14px;border-top:1px solid #24384f;padding-top:14px}#photo-dialog .photo-result[hidden]{display:none}#photo-dialog .sticker-editor{max-width:280px;margin:0 auto;gap:5px}#photo-dialog .sticker-editor button{min-height:56px;border:1px solid #34506d}#photo-actions[hidden]{display:none}#photo-dialog{max-height:calc(100vh - 16px)}#photo-dialog form{max-height:calc(100vh - 16px);overflow-y:auto;overscroll-behavior:contain}#photo-dialog .photo-frame{max-height:none;overflow:visible;width:fit-content;margin:0 auto}#photo-dialog .photo-frame canvas{max-height:none;max-width:none;width:auto;height:auto}#photo-prompt[hidden]{display:none}.cube-canvas canvas{cursor:grab;touch-action:none}.cube-canvas canvas:active{cursor:grabbing}
