#epos-screen{--duration:4s;position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#70226f 0%,#35113f 46%,#100e20 100%);color:#fff;opacity:1;transition:opacity .8s ease}
#epos-screen.epos-dark{background:radial-gradient(ellipse at 50% 35%,#24202f,#090910 75%)}
#epos-screen.epos-hide{opacity:0;pointer-events:none}
.epos-drops{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:linear-gradient(115deg,#00bce522,#e6008d22,#ffe00022,#00bce522);background-size:300% 300%;animation:ink-bg 10s ease infinite}
@keyframes ink-bg{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
.drop{position:absolute;top:-100px;width:24px;height:34px;border-radius:55% 55% 58% 58%;opacity:0;filter:drop-shadow(0 8px 8px #0005);animation:ink-fall var(--fall,4s) linear infinite;transform:rotate(45deg)}
.drop:before{content:"";position:absolute;width:24px;height:24px;left:0;top:10px;border-radius:50%;background:inherit}
.drop:after{content:"";position:absolute;left:8px;top:2px;width:8px;height:18px;border-radius:100% 0 100% 0;background:inherit;transform:rotate(-10deg)}
.drop.cyan{background:#00c9ef}.drop.magenta{background:#f00091}.drop.yellow{background:#ffdf00}.drop.black{background:#282432}
.d1{left:5%;--fall:5.4s;animation-delay:-2s}.d2{left:15%;--fall:6.2s;animation-delay:-4s}.d3{left:27%;--fall:5.8s;animation-delay:-1s}.d4{left:39%;--fall:6.5s;animation-delay:-3s}.d5{left:51%;--fall:5.2s;animation-delay:-4.5s}.d6{left:63%;--fall:6.1s;animation-delay:-2.8s}.d7{left:75%;--fall:5.7s;animation-delay:-1.7s}.d8{left:88%;--fall:6.4s;animation-delay:-3.6s}.d9{left:10%;--fall:7s;animation-delay:-5s}.d10{left:34%;--fall:6.8s;animation-delay:-5.5s}.d11{left:70%;--fall:7.2s;animation-delay:-4s}.d12{left:94%;--fall:5.9s;animation-delay:-2.2s}
@keyframes ink-fall{0%{top:-80px;opacity:0;transform:translateX(0) rotate(45deg) scale(.7)}12%{opacity:.8}82%{opacity:.75}100%{top:110%;opacity:0;transform:translateX(35px) rotate(45deg) scale(1.1)}}
.epos-stage{position:relative;z-index:2;width:min(94vw,650px);display:flex;justify-content:center;align-items:center}
.epos-machine{position:relative;width:min(82vw,450px);height:285px;filter:drop-shadow(0 25px 28px #0008)}
.machine-top{position:absolute;z-index:2;left:5%;top:25px;width:90%;height:82px;border-radius:20px 20px 9px 9px;background:linear-gradient(145deg,#fff,#d9d6e0 52%,#9893a1);border:1px solid #ffffffa8;box-shadow:inset 0 3px 8px #fff,0 8px 14px #0005}
.scanner-glass{position:absolute;left:8%;top:13px;width:68%;height:52px;border-radius:8px;background:linear-gradient(130deg,#fdfcff,#c5c0cf 60%,#f6f4fa);box-shadow:inset 0 0 0 2px #fff}
.machine-controls{position:absolute;right:5%;top:17px;width:43px;height:43px;border-radius:9px;background:linear-gradient(145deg,#393441,#14111b);display:flex;align-items:center;justify-content:center;gap:4px;box-shadow:inset 0 1px 3px #fff5}
.machine-controls b,.machine-controls i,.machine-controls em{width:6px;height:6px;border-radius:50%;background:#00d8a0;box-shadow:0 0 8px currentColor}.machine-controls i{background:#00c8ff}.machine-controls em{background:#ffd32a}
.machine-body{position:absolute;z-index:3;top:93px;left:0;width:100%;height:160px;border-radius:13px 13px 27px 27px;background:linear-gradient(145deg,#fff 0%,#e0dde5 45%,#aaa5b2 100%);border:1px solid #ffffffb0;box-shadow:inset 0 3px 8px #fff,0 16px 25px #0005}
.machine-brand{position:absolute;top:25px;left:8%;font:700 15px Georgia,serif;letter-spacing:2px;color:#842078}.machine-brand span{display:block;font:8px Arial,sans-serif;letter-spacing:2px;color:#817b89;margin-top:3px}
.machine-screen{position:absolute;right:8%;top:22px;width:66px;height:27px;border-radius:5px;background:#211d29;border:2px solid #817b89;display:flex;align-items:center;justify-content:center;gap:5px}.machine-screen i{width:4px;height:4px;border-radius:50%;background:#00d4a0;box-shadow:0 0 5px currentColor}.machine-screen i:nth-child(2){background:#00c8ef}.machine-screen i:nth-child(3){background:#f00091}
.machine-seam{position:absolute;top:70px;left:7%;width:86%;height:1px;background:#9994a1}
.machine-slot{position:absolute;bottom:24px;left:13%;width:74%;height:12px;border-radius:8px;background:linear-gradient(#17131d,#4d4654);box-shadow:inset 0 2px 5px #000,0 1px 0 #fff}
.machine-foot{position:absolute;z-index:2;bottom:12px;left:12%;width:76%;height:16px;border-radius:0 0 10px 10px;background:linear-gradient(#9994a1,#e5e2e9,#aaa5b2)}
.output-paper{position:absolute;z-index:4;top:82px;left:22%;width:56%;height:0;overflow:hidden;background:linear-gradient(90deg,#eee,#fff 12%,#fff 88%,#e8e4ed);border:1px solid #ddd9e2;box-shadow:0 6px 20px #0007;animation:paper-out var(--duration) cubic-bezier(.2,.7,.25,1) forwards}
.output-paper img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:contain;clip-path:inset(100% 0 0 0);animation:logo-print var(--duration) ease-out forwards;animation-delay:calc(var(--duration)*.16)}
.paper-print-head{position:absolute;z-index:2;top:0;left:0;width:100%;height:5px;background:linear-gradient(90deg,#00c9ef,#f00091,#ffdf00,#282432);box-shadow:0 0 12px #fff;animation:head-scan var(--duration) linear forwards}
@keyframes paper-out{0%{height:0;top:82px}75%,100%{height:180px;top:-98px}}
@keyframes logo-print{0%{clip-path:inset(100% 0 0 0);filter:saturate(2.5)}100%{clip-path:inset(0);filter:saturate(1.2)}}
@keyframes head-scan{0%{top:0;opacity:1}100%{top:100%;opacity:0}}
.epos-cmyk{z-index:3;display:flex;gap:9px;margin:0 0 12px}.epos-cmyk span{width:27px;height:7px;border-radius:5px;font-size:0;box-shadow:0 0 12px currentColor}.epos-cmyk span:nth-child(1){background:#00c9ef;color:#00c9ef}.epos-cmyk span:nth-child(2){background:#f00091;color:#f00091}.epos-cmyk span:nth-child(3){background:#ffdf00;color:#ffdf00}.epos-cmyk span:nth-child(4){background:#282432;color:#282432}
.epos-copy{z-index:3;text-align:center;opacity:0;transform:translateY(12px);animation:copy-in .7s ease forwards;animation-delay:calc(var(--duration)*.72)}.epos-copy h1{font:700 clamp(18px,4.5vw,29px)/1.25 Georgia,serif;color:#fff;text-shadow:0 2px 12px #17031c;letter-spacing:1.2px;margin:0 0 6px}.epos-copy p{font:500 14px/1.5 Arial,sans-serif;color:#f8eafa;margin:0}
@keyframes copy-in{to{opacity:1;transform:translateY(0)}}
.epos-loading{z-index:3;width:min(72vw,270px);height:3px;border-radius:5px;background:#ffffff45;overflow:hidden;margin-top:20px}.epos-loading i{display:block;width:0;height:100%;background:linear-gradient(90deg,#00c9ef,#f00091,#ffdf00,#fff);animation:loadbar var(--duration) linear forwards}@keyframes loadbar{to{width:100%}}
@media(max-width:480px){.epos-machine{height:260px}.machine-top{top:22px}.machine-body{top:90px;height:145px}.output-paper{top:79px}}
@media(prefers-reduced-motion:reduce){#epos-screen *,#epos-screen{animation-duration:.1s!important;transition-duration:.1s!important}}
