html,body,#root{min-height:100%;margin:0}.cashier-proto{--blue: #2597ed;--blue-deep: #1377c8;--blue-dark: #0f67b0;--blue-soft: #e7f3ff;--red: #d71947;--orange: #f09a1a;--green: #16a064;--ink: #172b4d;--muted: #66788a;--line: #d8e3ee;--panel: #ffffff;--bg: #edf4fb;--shadow: 0 22px 70px rgba(36, 83, 128, .18);min-height:100vh;color:var(--ink);background:linear-gradient(120deg,#ffffffc7,#edf4fb6b 42%,#d7ecffa3),linear-gradient(180deg,#f7fbff 0%,var(--bg) 100%);font-family:Microsoft YaHei,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.cashier-proto *{box-sizing:border-box}.cashier-proto button,.cashier-proto input{font:inherit}.cashier-proto .cashier-app{width:min(1180px,100%);min-height:100vh;margin:0 auto;padding:28px 20px;display:grid;grid-template-columns:minmax(360px,460px) minmax(280px,360px);gap:24px;align-items:start;justify-content:center}.cashier-proto .phone-shell{background:#fffffff0;border:1px solid rgba(216,227,238,.92);box-shadow:var(--shadow)}.cashier-proto .cashier-app-single{grid-template-columns:minmax(320px,460px)}.cashier-proto .phone-shell{width:min(460px,100%);border-radius:18px;padding:14px;position:relative}.cashier-proto .phone-shell:before{content:"";position:absolute;top:7px;left:50%;width:58px;height:4px;border-radius:999px;background:#172b4d29;transform:translate(-50%)}.cashier-proto .phone{min-height:690px;background:linear-gradient(180deg,#ffffff1f,#fff0 24%),linear-gradient(160deg,#4aa8f0 0%,var(--blue) 46%,var(--blue-dark) 100%);border:1px solid #93cdfb;border-radius:12px;padding:16px 18px 20px;overflow:hidden;position:relative;box-shadow:inset 0 1px #ffffff4d}.cashier-proto .topbar{height:46px;display:flex;align-items:center;justify-content:space-between;color:#fff;margin-bottom:10px;border:1px solid rgba(255,255,255,.72);border-radius:8px;padding:0 14px;font-size:15px;font-weight:700;background:#ffffff14;box-shadow:inset 0 1px #fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cashier-proto .status-chip{background:#fff3;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:5px 11px;font-size:12px;font-weight:800;white-space:nowrap}.cashier-proto .status-success{background:#fff;color:var(--green)}.cashier-proto .status-timeout,.cashier-proto .status-cancelled,.cashier-proto .status-closed,.cashier-proto .status-rejected{background:#fff;color:var(--red)}.cashier-proto .step{display:none;animation:cashierEnter .22s ease}.cashier-proto .step.active{display:block}@keyframes cashierEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.cashier-proto .hero-state{color:#fff;text-align:center;padding:48px 12px 28px}.cashier-proto .spinner{width:54px;height:54px;margin:0 auto 18px;border:5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:cashierSpin 1s linear infinite}@keyframes cashierSpin{to{transform:rotate(360deg)}}.cashier-proto .hero-state h2,.cashier-proto .result h2{margin:0 0 10px;font-size:24px;line-height:1.25}.cashier-proto .hero-state p,.cashier-proto .result p{margin:0;font-size:14px;line-height:1.7;color:#ffffffdb}.cashier-proto .timer-card{background:linear-gradient(180deg,#ffffff38,#ffffff1f);border:1px solid rgba(255,255,255,.38);border-radius:8px;padding:14px 12px;text-align:center;color:#fff;margin:8px 0 24px;box-shadow:inset 0 1px #ffffff29,0 14px 30px #1377c82e}.cashier-proto .timer-label{font-size:14px;opacity:.92;margin-bottom:4px}.cashier-proto .timer{font-family:Consolas,Courier New,monospace;font-size:34px;font-weight:900;letter-spacing:0}.cashier-proto .timer.warning{color:#ffe082}.cashier-proto .amount{text-align:center;color:var(--red);font-size:22px;font-weight:900;margin:10px 0 28px;text-shadow:0 1px 0 rgba(255,255,255,.08)}.cashier-proto .amount span{font-size:26px;letter-spacing:0}.cashier-proto .info-list{display:grid;gap:14px;margin:0 auto 38px;max-width:360px}.cashier-proto .info-row{display:grid;grid-template-columns:96px minmax(0,1fr) 64px;align-items:center;gap:8px;color:#fff;font-weight:800;font-size:15px;min-height:44px;padding:8px 10px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#0a518f29;box-shadow:inset 0 1px #ffffff1f}.cashier-proto .info-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashier-proto .copy-btn{height:28px;border:1px solid #bed8ef;border-radius:6px;background:#fff;color:var(--blue-deep);cursor:pointer;font-size:13px;font-weight:800;box-shadow:0 4px 10px #0b5c9f1f}.cashier-proto .copy-btn:disabled{opacity:.55;cursor:not-allowed}.cashier-proto .actions{display:grid;gap:10px;max-width:310px;margin:0 auto}.cashier-proto .primary,.cashier-proto .secondary,.cashier-proto .ghost{width:100%;min-width:0;min-height:44px;border-radius:7px;cursor:pointer;font-size:15px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,opacity .16s ease}.cashier-proto .primary{border:0;background:linear-gradient(180deg,#238ee4,var(--blue-deep));color:#fff;box-shadow:0 12px 22px #1377c847}.cashier-proto .secondary{border:1px solid var(--line);background:linear-gradient(180deg,#fff,#f7fbff);color:var(--blue-deep);box-shadow:0 8px 18px #1377c814}.cashier-proto .ghost{border:1px solid rgba(255,255,255,.86);background:#ffffff1f;color:#fff;box-shadow:inset 0 1px #ffffff1f}.cashier-proto .primary:hover:not(:disabled),.cashier-proto .secondary:hover:not(:disabled),.cashier-proto .ghost:hover:not(:disabled){transform:translateY(-1px)}.cashier-proto .primary:disabled,.cashier-proto .secondary:disabled,.cashier-proto .ghost:disabled{cursor:not-allowed;opacity:.58;transform:none}.cashier-proto .notice{margin:24px auto 0;max-width:386px;background:#fff;border-radius:8px;padding:16px;color:var(--orange);font-size:13px;line-height:1.6;font-weight:800;border:1px solid rgba(240,154,26,.18);box-shadow:0 12px 26px #125c971f}.cashier-proto .notice-title{text-align:center;margin-bottom:8px;font-size:16px}.cashier-proto .upload-panel{background:linear-gradient(180deg,#fff,#fbfdff);border-radius:8px;padding:20px;margin-top:10px;border:1px solid rgba(216,227,238,.92);box-shadow:0 16px 38px #125c9729}.cashier-proto .section-title{margin:0 0 10px;font-size:22px;line-height:1.3;text-align:center;color:var(--ink)}.cashier-proto .hint{margin:0 0 18px;color:var(--muted);text-align:center;line-height:1.7;font-size:14px}.cashier-proto .upload-box{border:1px dashed #81aed4;border-radius:8px;min-height:180px;display:grid;place-items:center;background:linear-gradient(180deg,#ffffffc7,#f7fbfff0),repeating-linear-gradient(45deg,rgba(37,151,237,.04) 0 8px,transparent 8px 16px);color:#2e719e;text-align:center;cursor:pointer;position:relative;overflow:hidden;padding:18px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.cashier-proto .upload-box:hover:not(.disabled){border-color:var(--blue);box-shadow:0 10px 24px #2597ed29;transform:translateY(-1px)}.cashier-proto .upload-box.disabled{opacity:.62;cursor:not-allowed}.cashier-proto .upload-box input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.cashier-proto .upload-box.disabled input{cursor:not-allowed}.cashier-proto .upload-icon{width:54px;height:54px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#eef8ff,#d8ecff);color:var(--blue-deep);font-size:32px;font-weight:900;box-shadow:inset 0 1px #fffc,0 10px 22px #1377c829}.cashier-proto .upload-empty small{display:block;margin-top:4px;color:var(--muted)}.cashier-proto .preview{display:none;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:center;text-align:left;width:100%}.cashier-proto .preview.active{display:grid}.cashier-proto .preview img{width:92px;height:92px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:#fff;box-shadow:0 8px 18px #172b4d1a}.cashier-proto .file-thumb{width:92px;height:92px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--line);background:linear-gradient(180deg,#fff,#edf6ff);color:var(--blue-deep);font-weight:900;box-shadow:0 8px 18px #172b4d1a}.cashier-proto .preview-name{color:var(--ink);font-weight:900;word-break:break-all;margin-bottom:6px}.cashier-proto .preview small{color:var(--muted)}.cashier-proto .optional-fields{display:grid;gap:10px;margin-top:14px}.cashier-proto .field{display:grid;gap:6px;color:#40566b;font-size:13px;font-weight:800}.cashier-proto .field input{width:100%;height:40px;border:1px solid var(--line);border-radius:7px;padding:0 11px;outline:none;font-size:14px;color:var(--ink);background:#fff}.cashier-proto .field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2597ed24}.cashier-proto .upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.cashier-proto .upload-actions .primary,.cashier-proto .upload-actions .secondary{min-height:46px}.cashier-proto .error{min-height:20px;margin-top:10px;color:var(--red);text-align:center;font-size:13px;line-height:1.5;font-weight:700}.cashier-proto .result{color:#fff;text-align:center;padding:48px 18px}.cashier-proto .result-icon{width:68px;height:68px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:36px;line-height:1;font-weight:900;box-shadow:0 18px 34px #0a518f38}.cashier-proto .result-icon.ok{color:var(--green)}.cashier-proto .result-icon.bad{color:var(--red)}.cashier-proto .review-waiting{width:min(100%,360px);margin:22px auto 0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:13px 14px;text-align:left;background:#ffffff2e;border:1px solid rgba(255,255,255,.34);border-radius:8px;box-shadow:inset 0 1px #ffffff24,0 12px 28px #0a518f24}.cashier-proto .review-spinner{width:34px;height:34px;border-radius:50%;border:4px solid rgba(255,255,255,.36);border-top-color:#fff;animation:cashierSpin .9s linear infinite}.cashier-proto .review-waiting strong{display:block;margin-bottom:3px;color:#fff;font-size:15px;line-height:1.35;font-weight:900}.cashier-proto .review-waiting small{display:block;color:#ffffffd1;font-size:12px;line-height:1.5}.cashier-proto .timeline{display:grid;gap:10px;margin-top:18px;text-align:left}.cashier-proto .timeline div{background:#ffffff29;border:1px solid rgba(255,255,255,.26);border-radius:8px;padding:10px 12px;color:#fff;font-size:14px;line-height:1.5;box-shadow:inset 0 1px #ffffff1a}.cashier-proto .result-actions{margin-top:22px}.cashier-proto .mini-order{position:absolute;left:18px;right:18px;bottom:16px;display:grid;gap:6px;padding-top:14px;color:#ffffffd1;font-size:12px;line-height:1.4;border-top:1px solid rgba(255,255,255,.18)}.cashier-proto .toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%) translateY(16px);opacity:0;background:#172b4df0;color:#fff;border-radius:999px;padding:10px 16px;pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:10;font-size:14px;max-width:min(90vw,520px);text-align:center}.cashier-proto .toast.show{opacity:1;transform:translate(-50%) translateY(0)}@media (prefers-reduced-motion: reduce){.cashier-proto *{animation:none!important;transition:none!important}}@media (max-width: 880px){.cashier-proto .cashier-app{grid-template-columns:1fr;justify-items:center}}@media (max-width: 480px){.cashier-proto .cashier-app{padding:0}.cashier-proto .phone-shell{border-radius:0;box-shadow:none;border:0;padding:0}.cashier-proto .phone{min-height:100vh;border-radius:0;border:0}.cashier-proto .upload-actions{grid-template-columns:1fr}.cashier-proto .info-row{grid-template-columns:92px minmax(0,1fr) 58px;font-size:14px}}
