.customer-glass {
  --ink:#29232a;--muted:#675862;--accent:#be0183;--green:#247653;--red:#a82737;
  --ease:cubic-bezier(.22,1,.36,1);--spring:cubic-bezier(.34,1.56,.64,1);
  position:relative;isolation:isolate;min-height:100svh;display:flex;flex-direction:column;
  color:var(--ink);background:#f7f3f6;font:15px/1.7 IRANYekanX,IRANYekan,system-ui,sans-serif;
}
.customer-glass * {box-sizing:border-box}
.customer-glass :is(a,button,input) {font:inherit}
.customer-glass :is(a,button) {cursor:pointer;text-decoration:none}
.customer-glass button:disabled {cursor:default}
.customer-glass :is(a,button):focus-visible {outline:3px solid #a30071;outline-offset:3px}
.cg-scene {position:fixed;inset:-3%;z-index:-1;overflow:hidden;pointer-events:none;transition:transform .8s var(--ease)}
.cg-scene>div {position:absolute}
.cg-wall {inset:0;background:linear-gradient(160deg,#fcf7fa,#e9dbe5 49%,#c8afc0 75%,#876e80)}
.cg-light {width:62%;height:75%;top:-12%;border-radius:50%;filter:blur(24px);animation:cg-drift 14s ease-in-out infinite alternate}
.cg-light.a {left:-12%;background:radial-gradient(closest-side,#fff9f6e0,transparent)}
.cg-light.b {right:-12%;background:radial-gradient(closest-side,#eab3d9a3,transparent);animation-duration:18s;animation-direction:alternate-reverse}
.cg-shelf {top:0;width:17%;height:63%;background:linear-gradient(90deg,#927c8c,#c4afbe 40%,#a892a1);box-shadow:0 0 40px #4933412e}
.cg-shelf::before {content:"";position:absolute;inset:0 8%;background:repeating-linear-gradient(180deg,#f1e5eb 0 4px,#ab91a3 4px 10px,#e0ceda 10px 14px,#c8b3c2 14px 110px)}
.cg-shelf.left {left:0}.cg-shelf.right {right:0}
.cg-display {left:63%;top:25%;width:25%;height:30%;overflow:hidden;border:7px solid #63505e;border-radius:7px;background:#f7f0f5;box-shadow:0 16px 34px #57394b38;display:grid;place-items:center}
.customer-art,.customer-lottie,.customer-lottie svg {display:block;width:100%;height:100%}
.customer-art {position:relative;min-height:0}
.customer-art-fallback {position:absolute;inset:25%;width:50%;height:50%;object-fit:contain}
.cg-console {inset:63% 0 auto;height:5%;background:linear-gradient(#c5b0c0,#aa8fa2);box-shadow:0 6px 20px #50334732}
.cg-floor {inset:68% 0 0;background:linear-gradient(#b59bac,#d9c5d2)}
.cg-table {left:-12%;right:-12%;bottom:-8%;height:26%;border-radius:50%/45%;background:radial-gradient(ellipse at 50% 15%,#e7d7e1,#c5a9bb 55%,#94798d);box-shadow:0 -10px 40px #68455932}
.cg-plant {width:9%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 35%,#a4b6a9,#698478 60%,#526c61);filter:blur(1px)}
.cg-plant.left {left:3%;top:38%}.cg-plant.right {right:2%;top:45%;width:7%}
.cg-pot,.cg-vase {border-radius:30% 30% 40% 40%;background:linear-gradient(90deg,#d3c6ce,#f8f1f5 40%,#c1b0bd)}
.cg-pot.left {left:5%;top:46%;width:5%;height:7%}.cg-pot.right {right:3%;top:52%;width:4%;height:6%}
.cg-vase {left:4%;top:6%;width:6%;height:7%;border-radius:40%}
.cg-speaker {left:12%;top:54%;width:4%;height:8%;border-radius:30%;background:linear-gradient(90deg,#604c5a,#88737f 50%,#604c5a)}
.cg-veil {inset:0;backdrop-filter:blur(2px);background:radial-gradient(ellipse at 50% 43%,transparent 37%,#51354925 100%)}
.cg-veil::after {content:"";position:absolute;inset:0;opacity:.045;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.cg-header {position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px clamp(16px,4vw,60px);font-size:13px}
.cg-header a,.cg-header>div {display:inline-flex;align-items:center;gap:9px}
.cg-header a,.cg-header button {min-height:44px;color:#3b2935}
.cg-header button {display:grid;place-items:center;min-width:44px;border:1px solid #fffc;border-radius:50%;background:#fff8}
.cg-header img {width:30px;height:30px}.cg-header .cg-brand {font-weight:750}
.cg-header svg {width:16px;height:16px}
.cg-center {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px max(62px,7vh);gap:14px}
.cg-card {position:relative;width:min(420px,100%);padding:36px 32px 28px;border-radius:32px;background:linear-gradient(160deg,#ffffffc9,#fbf5fac2 55%,#f6ebf3b8);
  border:1px solid #ffffffe8;box-shadow:0 34px 85px -28px #5235486b,inset 0 1px 0 white,inset 0 -1px 0 #fff7;
  backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%);animation:cg-card-in .9s var(--ease) both}
.cg-view {text-align:center;position:relative}
.cg-view>:where(h1,p,form,.cg-rows,.cg-primary,.cg-alternate,.cg-ok,.cg-badge) {animation:cg-rise .65s var(--ease) backwards;animation-delay:.08s}
.cg-view h1 {margin:0 0 8px;font-size:26px;font-weight:750;line-height:1.55;animation-delay:.135s}
.cg-view .cg-sub {color:var(--muted);line-height:1.9;margin:0 auto;max-width:33ch;font-size:14px;animation-delay:.19s}
.cg-view form,.cg-rows {margin:24px 0 0;animation-delay:.245s}
.cg-badge,.cg-ok {position:relative;display:grid;place-items:center;margin:2px auto 24px;width:60px;height:60px;border:1px solid #fff;border-radius:50%;
  color:var(--accent);background:linear-gradient(#fffd,#ead4e4b0);box-shadow:0 8px 22px #76345e1c,inset 0 1px 0 #fff}
.cg-badge::before,.cg-badge::after {content:"";position:absolute;inset:-10px;border-radius:inherit;border:1px solid #aa769a40}
.cg-badge::after {opacity:0;border:2px solid transparent;border-top-color:var(--accent)}
.cg-badge[data-ring=true]::after {opacity:1;animation:cg-spin 1s linear infinite}
.cg-badge i {position:absolute;right:13px;top:13px;border-radius:50%;width:8px;height:8px;background:var(--accent);box-shadow:0 0 0 2px #fbf4f9,0 0 8px #be018354;transition:transform .3s var(--spring)}
.cg-badge[data-ring=true] i {transform:scale(0)}
.cg-back {position:absolute;inset-inline-start:-8px;top:-17px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff5;border:1px solid #d8c9d4;color:var(--muted)}
.cg-back:hover {background:#fff}.cg-back svg {width:18px}
.cg-chip {white-space:nowrap;padding:1px 6px;border:1px solid #dcced8;border-radius:7px;background:#fffa;color:var(--ink);font-variant-numeric:tabular-nums}
.cg-label {display:block;text-align:start;font-size:13px;font-weight:650;margin:0 3px 8px}
.cg-field {height:52px;padding:0 14px;display:flex;align-items:center;gap:10px;border:1px solid #c1adbb;border-radius:15px;background:linear-gradient(#ffffffc9,#ffffff78);color:#77626f;transition:border-color .25s,box-shadow .25s}
.cg-field:focus-within {border-color:var(--accent);box-shadow:0 0 0 3px #be018311,0 10px 22px -13px #be018378}
.cg-field[data-error=true] {border-color:var(--red);animation:cg-shake .45s}
.cg-field input {min-width:0;flex:1;outline:none;border:0;background:transparent;color:var(--ink);font-size:16px}
.cg-field input::placeholder {color:#86717e}.cg-field svg {width:18px;height:18px}
.cg-error {color:var(--red);font-size:13px;text-align:start;margin:8px 0}
.cg-primary {height:50px;width:100%;margin:20px 0 0;padding:8px 12px;display:flex;justify-content:center;align-items:center;gap:8px;border:1px solid #d6c2cf;border-radius:14px;background:#e6d7e1;color:#66525f;font-weight:650!important;transition:background .35s,box-shadow .35s,transform .15s}
.cg-primary[data-ready=true],.cg-primary[data-phase=sending],.cg-primary[data-phase=verifying] {background:var(--accent);color:white;border-color:#af0078;box-shadow:0 12px 26px -13px #a3007178}
.cg-primary[data-ready=true]:hover {background:#a30071}.cg-primary:active:enabled {transform:scale(.985)}
.cg-primary[data-phase=matched],.cg-primary[data-phase=merged] {background:var(--green);border-color:var(--green);color:#fff}
.cg-primary[data-phase=incorrect] {background:#f9dce0;color:var(--red);border-color:#cb8490}
.cg-primary span {display:inline-flex;align-items:center;gap:8px;animation:cg-label-in .35s var(--ease)}
.cg-primary svg {width:17px;height:17px}.cg-spinner {width:16px;height:16px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:cg-spin .7s linear infinite}
.cg-foot,.cg-resend {color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px;justify-content:center}
.cg-view .cg-foot {margin:18px 0 0;animation-delay:.3s}.cg-foot svg,.cg-resend svg {width:16px;height:16px}
.cg-resend button,.cg-alternate {min-height:44px;padding:6px;display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:#920969}
.cg-resend button:disabled {color:var(--muted)}.cg-resend svg {fill:none;stroke:#d3c1ce;stroke-width:2;transform:rotate(-90deg)}.cg-resend circle+circle {stroke:var(--accent);transition:stroke-dashoffset 1s linear}
.cg-stage {position:relative;height:180px;margin:0;direction:ltr;--stride:min(16.5%,56px);--box:min(14.75%,49px)}
.cg-stage>input {position:absolute;inset:0;z-index:3;width:100%;height:100%;opacity:0;cursor:text;font-size:16px}
.cg-code-art {position:absolute;inset:0;pointer-events:none}
.cg-box {--x:calc(var(--row-x) * var(--stride));--y:0px;--s:1;
  position:absolute;top:50%;left:calc(50% + var(--x));width:var(--box);height:60px;display:grid;place-items:center;
  transform:translate(-50%,calc(-50% + var(--y))) scale(var(--s));border:1px solid #b99eaf;border-radius:14px;
  background:linear-gradient(#fffd,#f9eff6a8);box-shadow:inset 0 1px 0 white,0 6px 14px #43253919;
  font-size:26px;font-variant-numeric:tabular-nums;transition:left .75s var(--ease) var(--lag),transform .75s var(--ease) var(--lag),background .45s,box-shadow .35s,opacity .45s}
.cg-box b {font-weight:650;animation:cg-pop .38s var(--spring)}
.cg-stage:focus-within [data-phase=idle] .cg-box[data-current=true] {border-color:var(--accent);box-shadow:0 0 0 3px #be018315,0 12px 20px -12px #be018391}
.cg-stage:focus-within [data-phase=idle] .cg-box[data-current=true]::after {content:"";width:2px;height:24px;border-radius:1px;background:var(--accent);animation:cg-blink 1s steps(1) infinite}
.cg-code-art:is([data-phase=verifying],[data-phase=matched]) .cg-box {--x:calc(var(--grid-x) * 62px);--y:calc(var(--grid-y) * 42px);--s:.8}
.cg-code-art[data-phase=verifying] .cg-box {animation:cg-breathe 1.1s ease-in-out infinite alternate}
.cg-code-art:is([data-phase=matched],[data-phase=merged]) .cg-box {background:linear-gradient(#e4faeb,#a8d8bd);color:#18523a;border-color:#75b58c;box-shadow:0 0 18px #24765345}
.cg-code-art[data-phase=merged] .cg-box {--x:0px;--y:0px;--s:.45;opacity:0}
.cg-code-art[data-phase=incorrect] {animation:cg-shake .5s}.cg-code-art[data-phase=incorrect] .cg-box {border-color:#c25b69;background:#ffe8eb;color:var(--red)}
.cg-rays,.cg-rays i,.cg-rays b {position:absolute;left:50%;top:50%}
.cg-rays {opacity:0;transition:opacity .3s}.cg-code-art[data-phase=matched] .cg-rays {opacity:1}
.cg-rays i {height:2px;width:0;transform-origin:0 50%;background:linear-gradient(90deg,#4aa977,#a0dcb300);transition:width .55s var(--ease) .1s}
.cg-code-art[data-phase=matched] .cg-rays i {width:48px}
.cg-rays b {width:11px;height:11px;margin:-5.5px;border-radius:100%;background:#f5fff8;box-shadow:0 0 0 4px #4dac7040,0 0 17px 5px #45ae7399}
.cg-tile {position:absolute;left:50%;top:50%;width:124px;height:124px;display:grid;place-items:center;border:1px solid #fff;border-radius:32px;background:#ffffff5c;
  opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(-10deg);transition:transform .8s var(--spring) .12s,opacity .35s .12s}
.cg-tile span,.cg-ok {color:white;background:linear-gradient(160deg,#459b73,#247653);box-shadow:inset 0 1px 0 #fff9,0 12px 32px -9px #24765388}
.cg-tile span {width:84px;height:84px;border-radius:23px;display:grid;place-items:center}
.cg-tile svg,.cg-ok svg {width:38px;height:38px;stroke-width:2.8}.cg-tile path {stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .5s var(--ease) .55s}
.cg-code-art[data-phase=merged] .cg-tile {opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}
.cg-code-art[data-phase=merged] path {stroke-dashoffset:0}
.cg-stage + .cg-primary {margin-top:0}
.cg-ok {width:76px;height:76px;margin-bottom:26px}
.cg-ok::before,.cg-ok::after {content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px solid #328e60a6;animation:cg-ripple 2.4s var(--ease) infinite}
.cg-ok::after {animation-delay:1.2s}
.cg-rows {display:grid;gap:8px;text-align:start}
.cg-rows>div {display:flex;gap:12px;align-items:center;padding:11px 14px;border:1px solid #ddcfd9;border-radius:15px;background:#fff7}
.cg-rows span {flex:1;font-size:13px;color:var(--muted)}.cg-rows strong {display:block;color:var(--ink)}.cg-rows svg:last-child {color:var(--green);width:17px}
.cg-alternate {margin-top:8px;font-size:13px!important}
.cg-test,.cg-toast {background:#fffe;border:1px solid #e5cbdc;border-radius:24px;display:flex;align-items:center;gap:10px;padding:8px 15px;color:#7d135c;font-size:13px;box-shadow:0 8px 22px #5432481c}
.cg-test {margin:0;animation:cg-rise .5s var(--ease)}.cg-test bdi {letter-spacing:.15em}
.cg-toast {position:fixed;inset-block-start:16px;left:50%;z-index:4;max-width:94vw;width:max-content;pointer-events:none;opacity:0;transform:translate(-50%,-85px);transition:opacity .2s,transform .5s var(--spring)}
.cg-toast[data-show=true] {opacity:1;transform:translate(-50%,0)}.cg-toast svg {width:16px;color:var(--green)}
@keyframes cg-drift {to{transform:translate(6%,4%) scale(1.08)}}
@keyframes cg-card-in {from{opacity:0;translate:0 24px;scale:.96;filter:blur(8px)}}
@keyframes cg-rise {from{opacity:0;translate:0 10px;filter:blur(4px)}}
@keyframes cg-label-in {from{opacity:0;transform:translateY(6px)}}
@keyframes cg-pop {from{opacity:0;transform:scale(.3) translateY(8px);filter:blur(6px)}}
@keyframes cg-breathe {to{border-color:#cc8cb9;box-shadow:0 0 18px #be018329}}
@keyframes cg-shake {15%,55%{translate:-8px 0}35%,75%{translate:8px 0}90%{translate:-3px 0}}
@keyframes cg-spin {to{transform:rotate(1turn)}}@keyframes cg-blink {50%{opacity:0}}
@keyframes cg-ripple {from{transform:scale(1);opacity:.8}to{transform:scale(1.8);opacity:0}}
@media(max-width:440px){
  .cg-card {padding:30px 20px 22px;border-radius:28px}.cg-center {padding:16px 12px 36px}
  .cg-header {padding:10px 14px}.cg-header>div {gap:6px}.cg-brand {font-size:12px}.cg-header img {width:25px;height:25px}
  .cg-stage {height:166px}.cg-box {height:53px;font-size:23px;border-radius:12px}.cg-display {left:70%;width:26%}
}
.customer-glass[data-still=true] *,.customer-glass[data-still=true] *::before,.customer-glass[data-still=true] *::after {animation:none!important;transition:none!important}
.customer-glass[data-still=true] .cg-scene {transform:none!important}
@media(prefers-reduced-motion:reduce){.customer-glass *,.customer-glass *::before,.customer-glass *::after {animation:none!important;transition:none!important}}
