.ps-overlay,.ps-badge,.ps-mobile{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f4f5;box-sizing:border-box}
.ps-overlay *,.ps-badge *,.ps-mobile *{box-sizing:border-box}
.ps-overlay[hidden],.ps-badge[hidden],.ps-overlay [hidden],.ps-mobile [hidden]{display:none!important}
.ps-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;background:#09090bdc;padding:16px;overflow-y:auto}
.ps-dialog{width:min(100%,470px);max-height:calc(100dvh - 32px);overflow:auto;background:#18181b;border:1px solid #3f3f46;border-radius:22px;padding:24px;box-shadow:0 24px 80px #0008}
.ps-dialog h2,.ps-mobile h1{font-size:23px;line-height:1.3;font-weight:750;margin:0 0 10px}
.ps-subtitle,.ps-store{font-size:14px;line-height:1.5;margin:5px 0;color:#d4d4d8}
.ps-store{color:#fbbf24;font-weight:650}
.ps-status{font-size:14px;line-height:1.5;background:#27272a;padding:12px 14px;border-radius:12px;overflow-wrap:anywhere;color:#e4e4e7;margin:16px 0}
.ps-status.ps-error,.ps-mobile .ps-error{color:#fda4af;background:#4c051944}
.ps-help{color:#a1a1aa;font-size:13px;line-height:1.6;margin:12px 0}
.ps-qr{padding:12px;background:#fff;color:#18181b;width:264px;min-height:264px;margin:16px auto;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.ps-qr img,.ps-qr canvas{display:block;max-width:100%}
.ps-pair-link,.ps-input{width:100%;background:#09090b;border:1px solid #52525b;color:#e4e4e7;border-radius:10px;padding:11px;font-size:13px;direction:ltr}
.ps-pair-link{margin-bottom:10px}
.ps-private{font-size:12px}
.ps-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;background:#f59e0b;color:#18181b;border:1px solid transparent;border-radius:11px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.3;text-align:center}
.ps-button:hover{background:#fbbf24}
.ps-button:focus-visible,.ps-badge-details:focus-visible,.ps-input:focus-visible,.ps-pair-link:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}
.ps-button:disabled{opacity:.45;cursor:not-allowed}
.ps-secondary{background:#27272a;color:#e4e4e7;border-color:#52525b}
.ps-secondary:hover{background:#3f3f46}
.ps-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px}
.ps-last{font-size:13px;color:#d4d4d8;word-break:break-all;line-height:1.6}
.ps-badge{position:fixed;z-index:11990;inset-inline-end:20px;bottom:20px;display:flex;align-items:center;gap:12px;background:#18181b;border:1px solid #3f6250;border-radius:15px;padding:10px 12px;box-shadow:0 4px 24px #0006;max-width:min(540px,calc(100vw - 24px))}
.ps-badge-details{appearance:none;background:transparent;border:0;color:#a7f3d0;text-align:start;font:inherit;font-size:13px;cursor:pointer;min-width:0}
.ps-badge-details strong,.ps-badge-details span{display:block}
.ps-badge-details span{color:#d4d4d8;font-size:12px;margin-top:3px}
.ps-has-error{border-color:#fb7185}
.ps-has-error .ps-badge-details{color:#fda4af}
.ps-mobile{margin:0;min-height:100dvh;background:#09090b;padding:20px 16px max(24px,env(safe-area-inset-bottom));color-scheme:dark}
.ps-mobile-shell{max-width:580px;margin:0 auto}
.ps-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}
.ps-brand{font-weight:800;letter-spacing:.05em;color:#fbbf24}
.ps-mobile-card{background:#18181b;border:1px solid #3f3f46;border-radius:22px;padding:22px}
.ps-mobile h1{margin-bottom:12px}
.ps-mobile-label{color:#a1a1aa;font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 7px}
.ps-mobile-target{font-size:18px;line-height:1.45;font-weight:700;margin:0 0 4px}
.ps-mobile .ps-store{margin-bottom:14px}
.ps-camera-wrap{position:relative;margin-top:16px;border:1px solid #52525b;border-radius:14px;overflow:hidden;background:#09090b}
.ps-camera-wrap video{display:block;width:100%;max-height:50dvh;object-fit:contain}
.ps-camera-wrap::after{content:"";position:absolute;inset:25% 12%;border:2px solid #fbbf2480;border-radius:10px;pointer-events:none}
.ps-mobile-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.ps-mobile-controls .ps-button{width:100%}
.ps-mobile .ps-status{margin-bottom:14px}
.ps-mobile-photo{position:relative;overflow:hidden}
.ps-mobile-photo input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ps-mobile-photo:focus-within{outline:3px solid #fbbf24;outline-offset:3px}
.ps-mobile-photo:has(input:disabled){opacity:.45;cursor:not-allowed}
.ps-manual{border-top:1px solid #3f3f46;margin-top:22px;padding-top:18px}
.ps-manual label{display:block;font-size:13px;color:#d4d4d8;margin-bottom:8px}
.ps-manual-row{display:flex;gap:8px}
.ps-manual .ps-input{font-size:16px;min-width:0;flex:1}
.ps-zoom{display:flex;gap:12px;align-items:center;font-size:13px;color:#d4d4d8;margin-top:12px}
.ps-zoom input{flex:1;min-width:0;accent-color:#f59e0b}
.ps-wide{width:100%}
.ps-mobile-footer{text-align:center;font-size:12px;color:#71717a;line-height:1.7;margin:18px 0}
@media(max-width:420px){.ps-dialog{padding:18px}.ps-mobile-card{padding:18px}.ps-badge{bottom:12px;inset-inline-end:12px;gap:8px}.ps-badge .ps-button{font-size:12px;padding:9px}.ps-mobile-controls{grid-template-columns:1fr}.ps-manual-row{flex-wrap:wrap}.ps-manual .ps-button{width:100%}}
