:root{--bg:#dfe6ec;--bg-2:#eef2f5;--panel:#ffffffd1;--ink:#10151b;--muted:#5c6773;--accent:#0c555c;--accent-ink:#f4fbfb;--line:#10151b1a;--ok:#1b7a52;--err:#b42318;--danger:#9f2d2d;--metal:#8d97a3;--font-display:"Syne", "Avenir Next", sans-serif;--font-body:"Manrope", "Segoe UI", sans-serif;--shadow:0 20px 50px #10151b14;--radius:1rem;--touch:2.75rem;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{font-family:var(--font-body);color:var(--ink);background:radial-gradient(ellipse 90% 55% at 50% -18%, #0c555c2e 0%, transparent 58%), radial-gradient(ellipse 50% 40% at 100% 8%, #8d97a338 0%, transparent 55%), radial-gradient(ellipse 45% 35% at 0% 90%, #0c555c14 0%, transparent 50%), linear-gradient(168deg, var(--bg-2) 0%, var(--bg) 100%);-webkit-font-smoothing:antialiased;background-attachment:fixed;line-height:1.5}h1,h2,h3{text-wrap:balance;overflow:visible}a{color:var(--accent)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.shell{max-width:1100px;padding:1.25rem 1.1rem calc(2.5rem + var(--safe-bottom));margin:0 auto}.shell.narrow{max-width:420px}.landing{max-width:560px;min-height:100svh;padding:1.5rem 1.25rem calc(2rem + var(--safe-bottom));flex-direction:column;gap:1.75rem;margin:0 auto;display:flex;position:relative;overflow:hidden}.landing-narrow{justify-content:center;max-width:420px}.landing-atmosphere{pointer-events:none;background:radial-gradient(circle at 50% 30%,#0c555c33,#0000 62%),radial-gradient(circle at 80% 10%,#ffffff73,#0000 45%);height:55%;animation:12s ease-in-out infinite alternate atmosphere-drift;position:absolute;inset:-20% -30% auto}.landing-hero{z-index:1;padding-top:clamp(1.5rem,8vh,4rem);animation:.65s ease-out both rise;position:relative}.brand-mark{font-family:var(--font-display);letter-spacing:-.04em;color:var(--ink);margin:0;font-size:clamp(3.4rem,14vw,5.2rem);font-weight:800;line-height:.92}.brand-mark-sm{letter-spacing:-.03em;color:var(--accent);font-size:1.35rem;font-weight:700;line-height:1.1}.landing-tagline{color:var(--muted);letter-spacing:.02em;margin:.65rem 0 0;font-size:1.05rem;font-weight:500}.landing-main{z-index:1;gap:1.75rem;animation:.65s ease-out 80ms both rise;display:grid;position:relative}.landing-step{gap:.75rem;display:grid}.landing-step-title{font-family:var(--font-display);letter-spacing:.01em;margin:0;font-size:1.05rem;font-weight:600}.landing-step-hint{color:var(--muted);margin:0;font-size:.92rem;line-height:1.45}.landing-code-form,.landing-auth-form{gap:.75rem;display:grid}.landing-code-input{width:100%;min-height:var(--touch);border:1px solid var(--line);color:var(--ink);font-family:var(--font-display);letter-spacing:.18em;text-align:center;text-transform:uppercase;background:#ffffffeb;border-radius:.85rem;padding:.9rem 1rem;font-size:clamp(1.35rem,5vw,1.7rem);font-weight:700}.landing-cta{width:100%;min-height:var(--touch);font-size:1.05rem}.landing-error{margin:0}.landing-footer{z-index:1;text-align:center;margin-top:auto;padding-top:.5rem;font-size:.9rem;animation:.65s ease-out .16s both rise;position:relative}.landing-footer a{color:var(--muted);font-weight:600;text-decoration:none}.landing-footer a:hover{color:var(--accent)}.storefront{max-width:720px;padding:0 1.15rem calc(2.5rem + var(--safe-bottom));margin:0 auto;position:relative;overflow-x:clip}.storefront-glow{pointer-events:none;background:radial-gradient(70% 55% at 50% 20%,#0c555c47,#0000 68%),radial-gradient(45% 40% at 85% 0,#b4bec859,#0000 55%),linear-gradient(#10151b0f,#0000 70%);height:min(72vh,640px);animation:14s ease-in-out infinite alternate atmosphere-drift;position:absolute;inset:-8% -40% auto}.storefront-hero{z-index:1;flex-direction:column;justify-content:flex-end;min-height:min(100svh,820px);padding:clamp(2rem,8vh,4.5rem) 0 clamp(2.25rem,6vh,3.5rem);animation:.7s ease-out both rise;display:flex;position:relative}.storefront-hero .brand-mark{margin-bottom:.35rem}.storefront-pitch{font-family:var(--font-display);letter-spacing:-.03em;color:var(--ink);max-width:18ch;margin:0;font-size:clamp(1.85rem,6vw,2.65rem);font-weight:700;line-height:1.12}.storefront-pitch-sub{max-width:34rem;color:var(--muted);margin:.85rem 0 0;font-size:clamp(1.05rem,2.8vw,1.22rem);line-height:1.5}.storefront-headline{font-family:var(--font-display);letter-spacing:-.02em;color:var(--ink);margin:1.35rem 0 0;font-size:clamp(1.45rem,4.5vw,1.85rem);font-weight:600;line-height:1.2}.storefront-lede{max-width:28rem;color:var(--muted);margin:.65rem 0 0;font-size:1.05rem;line-height:1.45}.storefront-cta-row{flex-wrap:wrap;gap:.65rem;margin-top:1.35rem;display:flex}.storefront-buy,.storefront-enter{min-height:var(--touch);text-decoration:none}.storefront-buy{flex:14rem}.storefront-enter{flex:8rem}.storefront-gallery{grid-template-columns:1.25fr .8fr .95fr;align-items:end;gap:1rem;margin-top:clamp(1.75rem,5vh,2.75rem);animation:.8s ease-out .1s both rise;display:grid}.storefront-gallery-slot{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:.55rem;margin:0;padding:0;display:flex;position:relative}.storefront-gallery-stage{perspective:1600px;width:100%;transform-style:preserve-3d;position:relative}.storefront-gallery-slot.is-landscape .storefront-gallery-stage{aspect-ratio:86.334/54}.storefront-gallery-slot.is-portrait .storefront-gallery-stage{aspect-ratio:54/86.334}.storefront-gallery-anime{align-self:end}.storefront-gallery-slot.is-round{place-self:center;width:100%;max-width:9.5rem}.storefront-gallery-slot.is-round .storefront-gallery-stage{aspect-ratio:1}.storefront-gallery-card{width:100%;height:100%;transform-style:preserve-3d;border-radius:.85rem;transition:transform .85s cubic-bezier(.22,.61,.36,1);position:relative;transform:rotateY(0)}.storefront-gallery-card:not(.is-ready){transition:none}.storefront-gallery-slot.is-round .storefront-gallery-card{border-radius:50%}.storefront-gallery-slot:hover .storefront-gallery-card{transform:translateY(-6px)rotateY(0)}.storefront-gallery-slot.is-flipped .storefront-gallery-card,.storefront-gallery-card.is-flipped{transform:translateY(-6px)rotateY(180deg)}.storefront-gallery-slot.is-flipped:hover .storefront-gallery-card{transform:translateY(-9px)rotateY(180deg)}@media (hover:hover) and (pointer:fine){.storefront-gallery-slot:hover .storefront-gallery-card{transform:translateY(-6px)rotateY(180deg)}.storefront-gallery-slot.is-flipped:hover .storefront-gallery-card{transform:translateY(-9px)rotateY(180deg)}}.storefront-gallery-face{appearance:none;border-radius:inherit;cursor:pointer;color:inherit;backface-visibility:hidden;background:#050505;border:1px solid #10151b24;margin:0;padding:0;display:block;position:absolute;inset:0;overflow:hidden;box-shadow:0 12px 28px #0c101633,0 22px 48px #0c101624,inset 0 1px #ffffff14}.storefront-gallery-face.is-front{z-index:2;transform:rotateY(0)}.storefront-gallery-face.is-back{z-index:1;transform:rotateY(180deg)}.storefront-gallery-slot.is-round .storefront-gallery-face{border-radius:50%}.storefront-gallery-slot:hover .storefront-gallery-face{box-shadow:0 16px 34px #0c101642,0 28px 56px #0c10162e,inset 0 1px #ffffff1a}.storefront-gallery-photo{object-fit:cover;object-position:center;pointer-events:none;filter:contrast(1.06)brightness(1.02)saturate(.98);width:100%;height:100%;display:block}.storefront-gallery-anime .storefront-gallery-photo{object-fit:fill;object-position:center;width:100%;min-width:100%;height:100%;min-height:100%}.storefront-gallery-coin .storefront-gallery-photo{object-fit:cover;object-position:center;filter:contrast(1.04)brightness(1.04)saturate(1.02);transform:scale(1.12)}.storefront-gallery-fallback{background:radial-gradient(circle at 30% 25%,#ffffff47,#0000 45%),linear-gradient(160deg,#cfd5dc 0%,#9aa3ae 55%,#7d8792 100%);place-items:center;width:100%;height:100%;display:grid}.storefront-gallery-shape{background:#10151b2e;display:block;box-shadow:inset 0 0 0 1px #ffffff40}.storefront-gallery-thankYou .storefront-gallery-shape,.storefront-gallery-anime .storefront-gallery-shape{aspect-ratio:86.334/54;border-radius:.2rem;width:72%}.storefront-gallery-anime.is-portrait .storefront-gallery-shape{aspect-ratio:54/86.334}.storefront-gallery-coin .storefront-gallery-shape{aspect-ratio:1;border-radius:50%;width:68%}.storefront-gallery-title{min-height:1.15rem;color:var(--ink);letter-spacing:.04em;text-align:center;-webkit-user-select:none;user-select:none;justify-content:center;align-items:baseline;gap:.4rem;font-size:.78rem;font-weight:700;display:flex}.storefront-gallery-title-side{color:var(--muted);font-weight:600}.storefront-gallery-title-side:before{content:"·";color:var(--muted);margin-right:.4rem}@media (width>=720px){.storefront-gallery{grid-template-columns:1.3fr .85fr 1fr;gap:1.15rem}.storefront-gallery-slot.is-round{max-width:11rem}}.storefront-lineup{z-index:1;gap:2.25rem;padding:.5rem 0 2.5rem;display:grid;position:relative}.storefront-piece{gap:.55rem;animation:.65s ease-out both rise;display:grid}.storefront-piece-hook{letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0;font-size:.78rem;font-weight:700}.storefront-piece h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:clamp(1.55rem,4vw,1.9rem);font-weight:700;line-height:1.15}.storefront-piece p{color:var(--muted);max-width:36rem;margin:0;line-height:1.5}.storefront-piece .btn{justify-self:start;margin-top:.35rem}.storefront-vault{z-index:1;border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffc7;border-radius:1.15rem;gap:.85rem;padding:1.5rem 1.15rem 1.35rem;scroll-margin-top:1.25rem;animation:.7s ease-out .12s both rise;display:grid;position:relative}.storefront-vault-kicker{letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0;font-size:.75rem;font-weight:700}.storefront-vault h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:clamp(1.45rem,4vw,1.75rem);font-weight:700}.storefront-vault-copy{color:var(--muted);margin:0;line-height:1.45}.storefront-selected-chip{color:var(--muted);margin:.65rem 0 0;font-size:.9rem}.storefront-selected-chip strong{color:var(--ink);font-weight:700}.storefront-vault .landing-step-hint{margin-top:-.15rem}.storefront-whatnot-link{color:var(--accent);margin-top:.25rem;font-weight:700;text-decoration:none;display:inline-block}.storefront-whatnot-link:hover{text-decoration:underline}.storefront .landing-footer{margin-top:2rem}@media (width>=720px){.storefront-cta-row{max-width:28rem}}.product-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.product-switch-item{appearance:none;border:1px solid var(--line);min-height:4.25rem;color:var(--ink);font:inherit;text-align:center;cursor:pointer;background:#ffffffb8;border-radius:.9rem;align-content:center;gap:.2rem;padding:.7rem .55rem;transition:transform .18s,background .18s,border-color .18s,color .18s,box-shadow .18s;display:grid}.product-switch-item:hover{border-color:#0c555c59;transform:translateY(-1px)}.product-switch-item.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);box-shadow:0 12px 28px #0c555c47}.product-switch-name{font-family:var(--font-display);font-size:.92rem;font-weight:700;line-height:1.2}.product-switch-meta{opacity:.75;font-size:.72rem;font-weight:600}.product-switch-compact .product-switch-item{min-height:var(--touch);padding:.55rem .4rem}.product-switch-compact .product-switch-name{font-size:.88rem}.product-nav{display:none}.home-hero,.editor-top{animation:.7s ease-out both rise}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--accent);overflow-wrap:anywhere;margin:0 0 .4rem;font-size:.78rem;font-weight:700;line-height:1.35}.laser-note,.tool-intro{overflow-wrap:break-word;margin:.45rem 0 0;line-height:1.55;overflow:visible}.size-note{color:var(--muted);overflow-wrap:break-word;margin:.6rem 0 0;font-size:.85rem;line-height:1.55;transition:opacity .28s,transform .28s;overflow:visible}.size-note.is-faded{opacity:0;pointer-events:none;transform:translateY(-4px)}.home-hero h1,.editor-top h1,.admin-title{font-family:var(--font-display);margin:0;padding:.08em 0 .12em;font-size:clamp(1.7rem,5vw,2.4rem);font-weight:600;line-height:1.2;overflow:visible}.lede{color:var(--muted);max-width:36rem;margin:.75rem 0 0;line-height:1.5}.home-grid{display:none}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:1.15rem}.panel h2{font-family:var(--font-display);margin:0 0 .45rem;padding-bottom:.1em;font-size:1.35rem;font-weight:600;line-height:1.3;overflow:visible}.panel>p{color:var(--muted);margin:0 0 1rem}.btn{background:var(--accent);min-height:2.6rem;color:var(--accent-ink);font:inherit;cursor:pointer;border:none;border-radius:.75rem;justify-content:center;align-items:center;padding:.65rem 1.1rem;font-weight:700;text-decoration:none;transition:transform .18s,filter .18s,box-shadow .18s;display:inline-flex}.btn:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 10px 22px #0c555c33}.btn:disabled{opacity:.45;cursor:not-allowed;filter:none;box-shadow:none;transform:none}.btn-ghost{color:var(--ink);border:1px solid var(--line);box-shadow:none;background:#ffffff8c}.btn-ghost:hover{box-shadow:none;background:#ffffffd9}.btn-danger{background:var(--danger);color:#fff}label{gap:.4rem;margin-bottom:.85rem;font-size:.88rem;font-weight:600;display:grid}input,textarea,select{border:1px solid var(--line);width:100%;min-height:2.6rem;color:var(--ink);font:inherit;background:#fff;border-radius:.7rem;padding:.7rem .85rem}input[type=range]{background:0 0;min-height:0;padding:0}input[type=color]{height:2.4rem;padding:.2rem}input:focus,textarea:focus,select:focus,.landing-code-input:focus{outline:2px solid var(--accent);outline-offset:1px}.ok{color:var(--ok);margin:.75rem 0 0}.err{color:var(--err);margin:.75rem 0 0}.banner-err{margin-top:1rem}.muted{color:var(--muted);line-height:1.5}.admin-link{text-align:center;margin-top:2rem;font-size:.92rem}.admin-shell{gap:1.15rem;display:grid}.admin-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.85rem;animation:.55s ease-out both rise;display:flex}.admin-generate,.admin-codes{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:1.05rem}.admin-generate h2,.admin-codes h2{font-family:var(--font-display);margin:0 0 .75rem;font-size:1.2rem;font-weight:600}.empty-note{margin:.5rem 0 0}.editor-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex;overflow:visible}.editor-top>div{min-width:0;overflow:visible}.editor-actions{flex-wrap:wrap;gap:.5rem;display:flex}.side-tabs{gap:.4rem;margin-bottom:1rem;display:flex}.tab{border:1px solid var(--line);color:var(--muted);min-height:2.35rem;font:inherit;cursor:pointer;background:#ffffff8c;border-radius:999px;padding:.45rem 1rem}.tab.active{background:var(--accent);color:var(--accent-ink);border-color:#0000;font-weight:700}.editor-shell{flex-direction:column;min-height:calc(100svh - .5rem);padding-bottom:1rem;display:flex}.editor-layout{flex:1;gap:1rem;min-height:0;display:grid}.preview-dock{z-index:12;background:linear-gradient(180deg, var(--bg-2) 0%, var(--bg-2) 78%, transparent 100%);min-width:0;padding:.35rem 0 .65rem;position:sticky;top:.5rem}.preview-dock .side-tabs{margin-bottom:.65rem}.canvas-wrap{flex-direction:column;align-items:center;min-width:0;display:flex;overflow:visible}.canvas-wrap .card-stage-outer,.canvas-wrap .card-flip-scene{flex-shrink:0;margin-inline:auto}.canvas-wrap .card-stage-circular,.canvas-wrap .card-flip-circular{margin-inline:auto}.tools.panel{flex-direction:column;gap:.65rem;min-width:0;max-height:none;padding:.85rem;display:flex;overflow:hidden auto}.tool-tabs{flex-wrap:wrap;flex-shrink:0;gap:.35rem;display:flex}.tools-scroll{overscroll-behavior:contain;flex:auto;min-height:12rem;padding-top:.2rem;padding-right:.15rem;overflow:hidden auto}.tools-action{flex-wrap:wrap;flex-shrink:0;gap:.5rem;padding:.65rem .15rem .35rem;display:flex}.tools-action .btn{justify-self:start}.tools.has-selection .tools-scroll{display:none}.tools.has-selection .selection-shelf{border-top:1px solid var(--line);max-height:none;margin-top:.25rem;overflow:visible}.tools-body{gap:.75rem;display:grid}.tools-body h2{font-family:var(--font-display);margin:0 0 .15rem;padding:.06em 0 .16em;font-size:1.35rem;font-weight:600;line-height:1.35;overflow:visible}.tools-body .btn{justify-self:start}.selection-shelf{overscroll-behavior:contain;border-top:1px solid var(--line);flex-shrink:0;max-height:min(48vh,420px);margin-top:.15rem;padding-top:.75rem;animation:.25s ease-out both rise;overflow-y:auto}.selection-shelf-head{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.55rem;display:flex}.selection-shelf-head h3{font-family:var(--font-display);margin:0;padding-bottom:.08em;font-size:1.1rem;font-weight:600;line-height:1.3;overflow:visible}.tools-status{flex-shrink:0;margin:0}@media (width>=900px){.editor-top{flex-shrink:0}.editor-layout{grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr);align-items:stretch;gap:1.25rem;height:calc(100svh - 10.5rem);max-height:calc(100svh - 10.5rem)}.preview-dock{background:0 0;align-self:stretch;height:100%;position:relative;top:0;overflow:auto}.tools.panel{height:100%;max-height:100%;position:relative;top:auto}}@media (width<=899px){.editor-shell{min-height:100svh;padding-bottom:0}.editor-layout{flex-direction:column;flex:1;min-height:0;display:flex}.preview-dock{flex-shrink:0;margin:0 -.15rem;padding:.4rem .15rem .55rem;top:0;box-shadow:0 10px 24px #12161c0f}.preview-dock .canvas-wrap .card-stage-outer,.preview-dock .canvas-wrap .card-flip-scene,.preview-dock .canvas-wrap .card-stage-circular,.preview-dock .canvas-wrap .card-flip-circular{margin-inline:auto}.tools.panel{min-height:0;max-height:min(58svh,640px);margin:0 0 env(safe-area-inset-bottom,0);border-radius:1rem 1rem 0 0;flex:1;overflow:hidden auto}.tools-scroll{flex:auto;min-height:0;overflow:visible}.tools.has-selection .selection-shelf{max-height:none;overflow:visible}.selection-shelf{flex-shrink:0;max-height:none}.scale-control-label{flex:100%;min-width:0}.shape-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-height:none}.shape-pick{min-height:6.25rem;padding:.7rem .45rem .55rem}.shape-pick .shape-glyph{width:56px;min-width:56px;height:56px;min-height:56px}.shape-pick span{font-size:.75rem}}.card-stage-outer{border:1px solid var(--line);box-shadow:var(--shadow);background:#1a1a1a;border-radius:.75rem;flex-shrink:0;margin-inline:auto;overflow:hidden}.card-stage-circular{border-radius:50%;overflow:hidden}.card-flip-scene{perspective:1800px;perspective-origin:50% 42%;flex-shrink:0;margin:0 auto;position:relative;overflow:visible}.card-flip-circular{border-radius:50%;overflow:hidden}.card-flip-lift{transform-origin:50%;width:100%;height:100%;transition:transform .9s cubic-bezier(.33,1.05,.28,1)}.card-flip-scene.is-flipping .card-flip-lift{animation:.9s cubic-bezier(.33,1.05,.28,1) both flip-lift}.card-flip-rig{width:100%;height:100%;transform-style:preserve-3d;will-change:transform;transition:transform .9s cubic-bezier(.33,1.05,.28,1);position:relative}.card-flip-rig.show-back{transform:rotateY(180deg)}.card-flip-face{border:1px solid var(--line);backface-visibility:hidden;transform-style:preserve-3d;pointer-events:none;background:#1a1a1a;border-radius:.75rem;transition:box-shadow .45s;position:absolute;inset:0;overflow:hidden;box-shadow:0 18px 40px #10151b24,inset 0 2px #ffffff0f}.card-flip-face.is-round{clip-path:circle(50%);background:0 0;border-radius:50%;overflow:hidden;box-shadow:0 18px 40px #10151b29,0 0 0 1px #10151b14}.card-flip-circular:not(.is-flipping)[data-side=front] .card-flip-back,.card-flip-circular:not(.is-flipping)[data-side=back] .card-flip-front{visibility:hidden;opacity:0;pointer-events:none}.card-flip-scene.is-exporting{perspective:none}.card-flip-scene.is-exporting .card-flip-lift,.card-flip-scene.is-exporting .card-flip-rig,.card-flip-scene.is-exporting .card-flip-face{visibility:visible;opacity:1;transition:none!important;animation:none!important;transform:none!important}.card-flip-scene.is-exporting[data-side=front] .card-flip-back,.card-flip-scene.is-exporting[data-side=back] .card-flip-front{visibility:hidden!important;opacity:0!important;pointer-events:none!important}.card-flip-scene.is-exporting[data-side=front] .card-flip-front,.card-flip-scene.is-exporting[data-side=back] .card-flip-back{position:relative;visibility:visible!important;opacity:1!important}.card-flip-front{transform:rotateY(0)}.card-flip-back{transform:rotateY(180deg)}.card-flip-scene[data-side=front] .card-flip-front,.card-flip-scene[data-side=back] .card-flip-back{pointer-events:auto}.card-flip-scene.is-flipping .card-flip-face{box-shadow:0 32px 64px #10151b3d,0 0 0 1px #0c555c24}@keyframes flip-lift{0%,to{transform:translateY(0)scale(1)}45%{transform:translateY(-10px)scale(.97)}}@media (prefers-reduced-motion:reduce){.card-flip-rig,.card-flip-lift{transition-duration:.01ms}.card-flip-scene.is-flipping .card-flip-lift{animation:none}}.card-board{color:#f2f2f2;touch-action:none;-webkit-user-select:none;user-select:none;background:#0a0a0a;position:relative;overflow:hidden}.card-board-circular{clip-path:circle(50%);color:#1a1e24;background:radial-gradient(circle at 32% 28%,#f2f4f6 0%,#c8ced6 42%,#a8b0ba 78%,#8e97a2 100%);border-radius:50%;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff59}.card-el{cursor:grab;max-width:none;position:absolute}.card-el.selected{outline:2px solid var(--accent);outline-offset:2px;overflow:visible}.card-el.has-handles,.card-el.is-stretching{overflow:visible}.card-el.is-stretching .engrave-img{object-fit:fill}.resize-handle{border:2px solid var(--accent);z-index:3;touch-action:none;background:#fff;border-radius:2px;margin:0;padding:0;position:absolute;box-shadow:0 1px 4px #10151b40}.resize-nw,.resize-ne,.resize-sw,.resize-se{width:12px;height:12px}.resize-n,.resize-s{width:22px;height:8px;left:50%;transform:translate(-50%)}.resize-w,.resize-e{width:8px;height:22px;top:50%;transform:translateY(-50%)}.resize-nw{cursor:nwse-resize;top:-6px;left:-6px}.resize-ne{cursor:nesw-resize;top:-6px;right:-6px}.resize-sw{cursor:nesw-resize;bottom:-6px;left:-6px}.resize-se{cursor:nwse-resize;bottom:-6px;right:-6px}.resize-n{cursor:ns-resize;top:-5px}.resize-s{cursor:ns-resize;bottom:-5px}.resize-w{cursor:ew-resize;left:-5px}.resize-e{cursor:ew-resize;right:-5px}.stretch-control{border-top:1px dashed var(--line);gap:.55rem;margin-top:.35rem;padding-top:.65rem;display:grid}.stretch-control-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.82rem;font-weight:700}.card-el img,.engrave-img{object-fit:contain;pointer-events:none;filter:grayscale();width:100%;height:100%;display:block}.engrave-img.stretch{object-fit:fill}.engrave-img.invert{filter:grayscale()invert()}.engrave-img.shape-raster{object-fit:fill}.card-text{white-space:pre-wrap;word-break:break-word;width:100%;max-width:100%;line-height:1.2}.card-back-scaler{position:absolute;inset:0;overflow:hidden}.card-back{color:#fff;background:#0a0a0a;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:22px 36px;display:flex;position:relative;overflow:hidden}.back-corner{pointer-events:none;z-index:2;width:78px;height:78px;position:absolute}.back-corner:before,.back-corner:after{content:"";border-style:solid;border-color:#fff;position:absolute}.back-corner-tl{top:14px;left:16px}.back-corner-tl:before{border-width:6px 0 0 6px;inset:0}.back-corner-tl:after{border-width:3px 0 0 3px;width:42px;height:42px;top:14px;left:14px}.back-corner-tr{top:14px;right:16px}.back-corner-tr:before{border-width:6px 6px 0 0;inset:0}.back-corner-tr:after{border-width:3px 3px 0 0;width:42px;height:42px;top:14px;right:14px}.back-corner-bl{bottom:14px;left:16px}.back-corner-bl:before{border-width:0 0 6px 6px;inset:0}.back-corner-bl:after{border-width:0 0 3px 3px;width:42px;height:42px;bottom:14px;left:14px}.back-corner-br{bottom:14px;right:16px}.back-corner-br:before{border-width:0 6px 6px 0;inset:0}.back-corner-br:after{border-width:0 3px 3px 0;width:42px;height:42px;bottom:14px;right:14px}.back-headline{z-index:1;letter-spacing:.02em;color:#fff;text-align:center;white-space:nowrap;width:100%;max-width:940px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:48px;font-weight:700;line-height:1.1;position:relative}.back-qr{z-index:1;flex-shrink:0;place-items:center;display:grid;position:relative}.back-qr-frame{background:#0a0a0a;border:3px solid #fff;padding:8px}.qr-placeholder{text-align:center;color:#bbb;border:2px dashed #888;place-items:center;width:420px;height:420px;padding:1.25rem;font-family:Georgia,serif;font-size:20px;font-weight:700;line-height:1.35;display:grid}.back-thanks-banner{z-index:1;letter-spacing:.02em;color:#fff;text-align:center;white-space:nowrap;width:100%;max-width:940px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:700;line-height:1.15;position:relative}.gray-swatch{border:1px solid var(--line);border-radius:.35rem;width:100%;height:1.1rem;margin:-.35rem 0 .85rem}.shape-glyph{pointer-events:none;width:100%;height:100%;display:block;overflow:visible}.shape-missing{color:#888;place-items:center;width:100%;height:100%;display:grid}.shapes-block{margin-top:.25rem}.shape-cats{flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem;display:flex}.shape-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:.55rem;max-height:min(42vh,320px);padding-right:.15rem;display:grid;overflow:auto}.shape-pick{border:1px solid var(--line);min-height:5.75rem;color:var(--ink);cursor:pointer;font:inherit;background:#fff;border-radius:.65rem;flex-direction:column;justify-content:flex-start;align-items:center;gap:.4rem;padding:.6rem .4rem .5rem;transition:border-color .15s,background .15s;display:flex}.shape-pick:hover{background:#0e5a610d;border-color:#0e5a6159}.shape-pick .shape-glyph{box-sizing:border-box;background:#12161c;border-radius:.4rem;flex-shrink:0;width:48px;min-width:48px;height:48px;min-height:48px;padding:.35rem}.shape-pick span{color:var(--muted);text-align:center;flex-shrink:0;font-size:.72rem;line-height:1.25}.layer-controls{margin:.35rem 0 .85rem}.layer-label{color:var(--muted);margin:0 0 .45rem;font-size:.85rem;font-weight:600}.layer-grid{grid-template-columns:1fr 1fr;gap:.4rem;display:grid}.layer-grid .btn{padding:.5rem .55rem;font-size:.78rem}.layer-grid .btn:disabled{opacity:.35;cursor:not-allowed;filter:none;transform:none}.gen-form{gap:.75rem;margin-top:0;display:grid}.admin-generate .gen-form label{margin-bottom:0}.latest-code{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:.9rem;padding-top:.9rem;display:flex}.latest-code-value{font-family:var(--font-display);letter-spacing:.08em;font-size:1.35rem;font-weight:700}@media (width>=640px){.gen-form{grid-template-columns:100px 1fr auto;align-items:end}.gen-form .btn{margin-bottom:0}}.code-row-qty{grid-template-columns:minmax(0,auto) auto auto minmax(0,1fr);align-items:start}.code-id{letter-spacing:.04em;overflow-wrap:anywhere;font-family:ui-monospace,Cascadia Code,Segoe UI Mono,monospace}.qty-pill{color:var(--accent);white-space:nowrap;border-color:#d4a37366}.code-meta{overflow-wrap:anywhere;text-align:left;justify-self:stretch;min-width:0;line-height:1.35}.codes-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;margin-bottom:.75rem;display:flex}.codes-header h2{margin:0}.codes-count{margin:0;font-size:.9rem}.codes-search{gap:.65rem;margin-bottom:1rem;display:grid}@media (width>=640px){.codes-search{grid-template-columns:1fr auto;align-items:end}}.codes-search-label{margin:0}.codes-search-label input{width:100%}.eraser-modal{z-index:80;background:#12161c73;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.eraser-panel{border:1px solid var(--line);width:min(920px,100%);max-height:min(92vh,900px);box-shadow:var(--shadow);background:#fff;border-radius:1rem;padding:1.1rem 1.2rem 1.25rem;overflow:auto}.card-eraser-panel{flex-direction:column;width:min(1100px,100%);max-height:min(94vh,960px);display:flex}.card-eraser-stage{background:radial-gradient(circle at 30% 20%,#ffffff0f,#0000 45%),#12161c;flex:1;place-items:center;min-height:280px;max-height:none;padding:.75rem;display:grid;overflow:auto}.scale-control{flex-wrap:wrap;align-items:end;gap:.55rem .75rem;display:flex}.scale-control-label{flex:1;min-width:160px;margin-bottom:0}.scale-control-input{color:var(--muted);align-items:center;gap:.3rem;margin:0;font-size:.85rem;display:inline-flex}.scale-control-input input{text-align:right;width:4.2rem;margin:0;padding:.4rem .45rem}.eraser-zoom-field{color:var(--muted);align-items:center;gap:.25rem;margin:0;font-size:.85rem;display:inline-flex}.eraser-zoom-field input{text-align:right;width:3.6rem;margin:0;padding:.35rem .4rem}.card-eraser-viewport{border-radius:.35rem;position:relative;overflow:hidden;box-shadow:0 12px 40px #00000073}.card-eraser-board{position:relative}.card-eraser-dimmed{filter:grayscale()brightness(.42);opacity:.55;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.card-eraser-active{outline-offset:1px;outline:2px solid #f2f2f2d9;position:absolute;box-shadow:0 0 0 9999px #0a0a0a47}.card-eraser-canvas{cursor:none;touch-action:none;width:100%;height:100%;display:block}.eraser-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.eraser-head h2{font-family:var(--font-display);margin:0;font-weight:600}.eraser-toolbar{flex-wrap:wrap;align-items:end;gap:.75rem 1rem;margin-bottom:.5rem;display:flex}.eraser-brush-label{flex:1;min-width:180px;margin-bottom:0}.eraser-history{gap:.4rem;display:flex}.eraser-zoom{align-items:center;gap:.35rem;display:flex}.eraser-zoom .btn{min-width:2.2rem;padding:.45rem .65rem}.eraser-zoom-label{text-align:center;min-width:3.2rem;color:var(--muted);font-size:.85rem;font-weight:700}.eraser-stage{border:1px solid var(--line);background:linear-gradient(45deg,#d9dde3 25%,#0000 25%) 0 0/16px 16px,linear-gradient(-45deg,#d9dde3 25%,#0000 25%) 0 8px/16px 16px,linear-gradient(45deg,#0000 75%,#d9dde3 75%) 8px -8px/16px 16px,linear-gradient(-45deg,#0000 75%,#d9dde3 75%) -8px 0/16px 16px,#eef1f4;border-radius:.75rem;place-items:start center;min-height:240px;max-height:55vh;margin:.75rem 0 1rem;padding:.75rem;display:grid;position:relative;overflow:auto}.eraser-canvas-wrap{flex-shrink:0;position:relative}.eraser-canvas{cursor:none;touch-action:none;background:0 0;width:100%;height:100%;display:block}.eraser-stage.picking .eraser-canvas{cursor:crosshair}.eraser-cursor{z-index:90;pointer-events:none;background:#0e5a611f;border:1.5px solid #0e5a61;border-radius:50%;position:fixed;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffb3}.eraser-color-row{flex-wrap:wrap;align-items:center;gap:.65rem;margin:.35rem 0 .75rem;display:flex}.eraser-swatch{border:1px solid var(--line);background-image:linear-gradient(45deg, #d9dde3 25%, transparent 25%) 0 0 / 8px 8px, linear-gradient(-45deg, #d9dde3 25%, transparent 25%) 0 4px / 8px 8px;border-radius:.45rem;flex-shrink:0;width:2rem;height:2rem}.eraser-tol-label{flex:1;min-width:160px;margin:0}.eraser-hint{margin:0;font-size:.85rem}.url-warning{color:var(--muted);margin:.65rem 0 0;font-size:.88rem;line-height:1.4}.url-warning code{word-break:break-all;font-size:.82rem}.url-warning-active{color:#8a3b12;margin-top:.45rem;font-weight:600}.eraser-stage.picking{outline:2px dashed var(--accent);outline-offset:2px}.eraser-actions{gap:.5rem;display:flex}.qty-edit{flex-wrap:wrap;align-items:end;gap:.75rem;margin-top:.75rem;display:flex}.qty-edit label{min-width:120px;margin:0}.tools h2,.tools h3{font-family:var(--font-display);padding-bottom:.1em;font-weight:500;line-height:1.3;overflow:visible}.tools h3{margin:0 0 .6rem;font-size:1.15rem}.tool-row{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.tool-block{border-top:1px solid var(--line);margin-top:.5rem;padding-top:.75rem}.toggle-row{gap:1rem;margin-bottom:.85rem;display:flex}.check{align-items:center;gap:.4rem;margin:0;font-weight:600;display:flex}.check input{width:auto}.generator .latest-code{font-family:var(--font-display);letter-spacing:.08em;align-items:center;gap:.75rem;margin-top:1rem;font-size:1.8rem;display:flex}.code-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.code-list-item{grid-template-columns:1fr auto auto;align-items:stretch;gap:.5rem;display:grid}.code-copy-btn,.code-edit-btn{white-space:nowrap;align-self:center;text-decoration:none}.code-row{border:1px solid var(--line);color:inherit;border-radius:.65rem;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;padding:.75rem .85rem;text-decoration:none;transition:background .15s;display:grid}.code-row:hover{background:#0e5a610f}.pill{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.2rem .55rem;font-size:.75rem}.ok-pill{color:var(--ok);border-color:#8fbf9f73}.admin-preview .card-stage-outer,.admin-preview .card-flip-scene:not(.card-flip-circular){margin-inline:auto}.admin-preview .card-stage-circular{border-radius:50%;margin-inline:auto}.admin-edit-hint,.admin-edit-banner{color:var(--ink);background:#0e5a6112;border:1px solid #0e5a6138;border-radius:.65rem;margin:0 0 .85rem;padding:.7rem .9rem;font-size:.92rem;line-height:1.4}.admin-edit-banner{margin-top:-.35rem}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes atmosphere-drift{0%{transform:translate(0,0)scale(1)}to{transform:translateY(12px)scale(1.04)}}@media (width<=640px){.storefront-gallery{grid-template-columns:1fr .85fr;grid-template-areas:"thankYou thankYou""coin anime";align-items:end}.storefront-gallery-thankYou{grid-area:thankYou}.storefront-gallery-coin{grid-area:coin;align-self:end;max-width:7.5rem}.storefront-gallery-anime{grid-area:anime;justify-self:stretch;width:100%;max-height:none}.code-row,.code-row-qty{grid-template-columns:1fr auto;gap:.45rem .65rem}.code-row .code-meta,.code-row-qty .code-meta{grid-column:1/-1}.code-row-qty .pill{justify-self:end}.editor-actions{flex-direction:column;align-items:stretch;width:100%}.editor-actions .btn{flex:auto;justify-content:center;width:100%}.admin-top{flex-direction:column;align-items:stretch}.admin-top .editor-actions{width:100%}.qty-edit{flex-direction:column;align-items:stretch}.qty-edit .btn{width:100%}}
