:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:dark;background:#081735;color:#eff5ff}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 10% 12%,#16446c70,transparent 45%),radial-gradient(ellipse at 95% 25%,#732a7c40,transparent 52%),#081735}.shell{width:min(100%,1040px);padding:24px 20px;margin:auto}header{text-align:center}.brand img{width:230px;max-width:80%;height:auto}.eyebrow{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#b8d5fa;font-weight:700}h1{font-size:clamp(2rem,4.2vw,3rem);line-height:1.13;margin:9px 0}h1 span{background:linear-gradient(100deg,#67ddff,#ed9fe6);background-clip:text;color:transparent}p{line-height:1.5;margin:8px 0 13px}header>p:not(.eyebrow){color:#c5d7ee}.top-actions,.end,.row{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}a{color:#b4edff;text-decoration:none}a:hover{text-decoration:underline}.top-actions a,.end a{padding:10px 12px}.demo-note{margin:20px auto 16px;text-align:center;padding:11px;border:1px solid #9ed5fb2b;background:#0d213d80;border-radius:12px;color:#c9dcf5;font-size:.82rem}.switch{display:none}.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.device{min-width:0;background:linear-gradient(145deg,#173b5b67,#09152dd9 60%,#291b454e);border:1px solid #b6e0ff35;box-shadow:0 12px 40px #0005,inset 0 1px 0 #ffffff17;border-radius:25px;padding:20px;backdrop-filter:blur(10px)}.device-top{text-align:center}.device-top img{width:180px;max-width:80%;height:auto}.device-top p{font-size:.8rem;color:#c5d7ee;margin:4px 0 18px}.shop,.line{display:flex;align-items:center;justify-content:space-between;gap:8px}.shop{padding:10px 12px;margin-bottom:16px;border:1px solid #c5e9ff35;background:#08162b65;border-radius:13px;font-size:.85rem}.shop span,.chip{font-size:.75rem;color:#a7f2ce}.modules{display:grid;gap:15px}.module{--glow:linear-gradient(90deg,#ff007f,#a855f7,#00f2fe,#2563eb,#ff007f);position:relative;display:flex;align-items:center;justify-content:flex-start;gap:13px;text-align:left;background:linear-gradient(145deg,#15283fe8,#0f172add);border:1px solid #8adfff80;box-shadow:0 0 15px #60d9ff25,inset 0 1px 0 #ffffff20;border-radius:16px;padding:13px 15px;min-height:72px;width:100%;isolation:isolate}.module:after{content:"";position:absolute;inset:-1px;padding:2px;border-radius:inherit;background:var(--glow);background-size:300% 300%;animation:beam 4s ease infinite;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.module:nth-child(2n):after{animation-delay:-1s}.main-module{min-height:91px}.module strong,.module small{display:block}.module small{color:#cadbf1;font-size:.72rem;font-weight:400;margin-top:5px}.glyph{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:13px;background:linear-gradient(145deg,#dcf6ff26,#ffffff08,#b4d7ff17);border:1px solid #e0f6ff45;box-shadow:inset 0 1px 1px #ffffff35,inset 0 -2px 3px #8cd8ff12,0 4px 10px #0003}.glyph svg{width:26px;height:26px;fill:none;stroke:#e3f2ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.panel,.card{padding:16px;border-radius:17px;border:1px solid #b6e0ff35;background:#081a35bf;margin-top:12px}.card{background:linear-gradient(135deg,#123b64,#211c46);border-color:#a1dbff69}.panel h2,.card h2{font-size:1.12rem;margin:0 0 8px;line-height:1.3}.panel p,.card p{font-size:.85rem}.balance{font-size:1.35rem;color:#b2f3e7;white-space:nowrap}.stamps{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.stamps span{aspect-ratio:1;border:1px dashed #b6dbff66;border-radius:50%;display:grid;place-items:center;color:#a3b8d6;font-size:1rem}.stamps span.filled{background:#75e3d8;color:#06312d;border:1px solid #9df9e7}button{min-height:44px;background:linear-gradient(130deg,#227bac,#28699f);border:1px solid #82d9ff88;color:white;font:inherit;font-weight:650;font-size:.85rem;border-radius:12px;padding:10px 13px;cursor:pointer}button.secondary{background:#12243f;border-color:#7896bc77}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #9df5ff;outline-offset:3px}.panel>button,.card>button,#scan-input>button{width:100%;margin-top:8px}.panel .back{margin-top:0;margin-bottom:15px}.muted{color:#b2c7df}.code-preview{display:grid;gap:5px;padding:17px;background:#081323;border:1px dashed #7198bd;border-radius:12px;text-align:center;margin:10px 0}.code-preview small{font-size:.72rem;color:#b2c7df}.ticket{display:block;font:700 1rem ui-monospace,monospace;overflow-wrap:anywhere;letter-spacing:.04em;margin:12px 0}.confirmation{margin-top:15px;padding:12px;background:#173d3c;border:1px solid #75d7b470;border-radius:13px}.confirmation .row{justify-content:stretch;gap:7px}.confirmation .row button{flex:1}.status{color:#a7f2ce;font-size:.85rem;min-height:1em}.status.error{color:#ffb6b6}.history{list-style:none;padding:0;margin:10px 0}.history li{border-top:1px solid #ffffff25;padding:10px 0;font-size:.84rem}.history small{display:block;color:#abc0d8;margin-top:3px}label{display:block;font-size:.83rem;margin:12px 0 6px}input,select{width:100%;padding:11px;border:1px solid #87b2d96b;border-radius:12px;background:#0a1a31;color:inherit;font:inherit;min-height:44px}.end{margin:24px 0}footer{text-align:center;font-size:.78rem;color:#b4c6df} [hidden]{display:none!important}@keyframes beam{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}@media(max-width:720px){.shell{padding:18px 13px}.switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 12px}.switch button[aria-pressed=false]{background:#102039;border-color:#466187}.pair{display:block}.pair[data-view=merchant] .client,.pair[data-view=client] .merchant{display:none}.device{padding:15px;border-radius:20px;max-width:440px;margin:auto}.module{min-height:70px}.main-module{min-height:84px}.device-top img{width:155px}.end{gap:7px}.brand img{width:180px}.demo-note{margin:15px 0 12px}}@media(prefers-reduced-motion:reduce){.module:after{animation:none}}