:root{font-family:Arial,"Trebuchet MS",sans-serif;color:#573746;background:#fffdfc}*{box-sizing:border-box}html,body{margin:0;overflow:hidden}button{font:inherit;color:inherit}.app{position:relative;width:min(100%,1040px);height:720px;margin:auto;overflow:hidden;border:2px solid #573746;border-radius:24px;background:#fffdfc;box-shadow:7px 8px #a9ddf4}header{height:105px;padding:17px;text-align:center;background:#f7b8cd}h1{margin:0;font-size:clamp(23px,3.2vw,36px)}header p{margin:7px 0 0;font-weight:800}.scallops{height:18px;background:radial-gradient(circle at 14px 0,#f7b8cd 14px,transparent 15px) 0/28px 18px;animation:unfurl 1s both}.progress{display:flex;justify-content:center;gap:34px;height:58px;padding:6px}.progress span{display:grid;justify-items:center;font-size:22px;opacity:.5}.progress b{font-size:10px}.progress .current{opacity:1;color:#c65d82;animation:pulse 1.8s infinite}.progress .done{opacity:1;filter:hue-rotate(150deg)}.scene{position:relative;height:490px;margin:0 24px;border:2px solid #573746;border-radius:20px;background:#fff7fa;box-shadow:6px 7px #a9ddf4;overflow:hidden}.route{position:absolute;left:8%;right:7%;top:238px;height:24px;border:2px solid #573746;border-radius:99px;background:#a9ddf4;box-shadow:4px 4px #f7b8cd}.spark{position:absolute;right:3%;top:12%;color:#c65d82;animation:float 2.6s infinite}.keeps{position:absolute;left:6%;top:78px;width:300px;height:190px;transition:.65s}.envelope{position:absolute;left:5px;top:70px;width:185px;height:116px;border:2px solid #573746;border-radius:10px;background:#f7b8cd;box-shadow:5px 6px #a9ddf4;clip-path:polygon(0 0,50% 55%,100% 0,100% 100%,0 100%)}.gift{position:absolute;z-index:4;left:42px;top:20px;width:154px;height:98px;padding:14px;border:2px solid #573746;border-radius:10px;background:linear-gradient(145deg,#fff 0 72%,#fff0f5 72%);box-shadow:4px 4px #65b9dd;animation:float 2.8s infinite}.ebay{display:flex;font-size:30px;font-weight:900;letter-spacing:-3px;line-height:1}.ebay i{font-style:normal}.ebay i:nth-child(1){color:#e53238}.ebay i:nth-child(2){color:#0064d2}.ebay i:nth-child(3){color:#f5af02}.ebay i:nth-child(4){color:#86b817}.gift b{font-size:11px;letter-spacing:.12em}.gift strong{float:right;font-size:18px}.gift em{position:absolute;bottom:7px;left:14px;color:#c65d82;font-size:9px;font-style:normal;font-weight:900}.receipt,.email{position:absolute;z-index:1;top:45px;width:100px;height:120px;padding:10px;border:2px solid #573746;border-radius:8px;background:#fff;font-size:9px;font-weight:900;transition:.65s}.receipt{left:110px;transform:rotate(6deg)}.email{left:165px;background:#effaff;transform:rotate(9deg)}.receipt small,.email small{display:block;margin-top:12px;font-size:7px}.sleeve,.mask{display:none}.pull-zone{position:absolute;left:28%;top:225px;width:270px}.ribbon-handle,.alt{min-height:44px;border:2px solid #573746;border-radius:99px;background:#f7b8cd;font-weight:900;cursor:pointer}.ribbon-handle{width:190px;touch-action:none;animation:pulse 1s 2}.ribbon-handle span{display:inline-block;animation:nudge 1.4s infinite}.alt{display:block;margin:14px 0;padding:8px 15px;background:#fff}.meter{width:220px;height:9px;border:1px solid #573746;border-radius:99px;background:#fff;overflow:hidden}.meter i{display:block;width:0;height:100%;background:#65b9dd}.wheel-area,.repair-area,.guide-area{position:absolute;inset:12px;display:none;text-align:center}.wheel-area h2,.repair-area h2{margin:0 0 8px;font-size:17px}.rings{display:flex;justify-content:center;gap:18px;margin:14px auto}.ring{position:relative;display:grid;place-items:center;width:180px;height:180px;border:16px double #a9ddf4;border-radius:50%;background:#fff;box-shadow:5px 6px #f7b8cd}.ring.locked{border-color:#65b9dd}.ring h3{position:absolute;top:35px;margin:0;font-size:10px}.ring strong{font-size:17px}.ring div{position:absolute;bottom:28px;display:flex;gap:8px}.ring button{width:40px;height:40px;border:2px solid #573746;border-radius:50%;background:#f7b8cd;font-weight:900}.status{margin:8px auto;padding:8px 14px;width:max-content;max-width:90%;border-radius:99px;background:#fff;font-weight:800;font-size:12px}.patches,.gaps{display:flex;justify-content:center;gap:25px;margin:38px auto}.patch,.gap{min-width:145px;min-height:55px;border:2px solid #573746;border-radius:14px;font-weight:900}.patch{background:#f7b8cd;cursor:grab}.patch.selected{outline:4px solid #65b9dd}.patch.used{opacity:.25}.gap{border-style:dashed;background:#fff}.gap.fixed{border-style:solid;background:#a9ddf4}.guide-area{text-align:left}.guide-track{position:absolute;left:8%;right:38%;top:210px;height:30px;border:2px solid #573746;border-radius:99px;background:#a9ddf4}.token{position:absolute;z-index:4;left:0;top:-32px;width:90px;height:64px;border:2px solid #573746;border-radius:9px;background:#fff;box-shadow:3px 4px #f7b8cd;touch-action:none}.mini{font-size:20px;justify-content:center}.token small{font-weight:900}.guide-area>.alt{position:absolute;left:9%;top:275px}.phone{position:absolute;right:7%;top:15px;width:235px;height:390px;padding:38px 18px 18px;border:7px solid #573746;border-radius:34px;background:#fff;box-shadow:8px 9px #a9ddf4;animation:phoneUp .7s;text-align:left}.island{position:absolute;top:9px;left:50%;width:78px;height:17px;border-radius:99px;background:#573746;transform:translateX(-50%)}.phone-head{display:flex;align-items:center;gap:8px}.logo{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#a9ddf4;font-weight:900}.phone h3{margin:12px 0}.phone label{display:block;margin-top:10px;color:#c65d82;font-size:10px}.phone strong{display:block;padding:8px;border:1px solid #a9ddf4;border-radius:8px;font-size:12px}.phone>button{width:100%;margin-top:17px;padding:11px;border:2px solid #573746;border-radius:9px;background:#f7b8cd;font-weight:900}.outcomes{display:flex;gap:5px;margin-top:8px}.outcomes button{flex:1;min-height:43px;border:1px solid #573746;border-radius:8px;background:#a9ddf4;font-size:8px;font-weight:900}.phone p{font-size:10px;font-weight:800;text-align:center}.completion{position:absolute;inset:25px 12%;z-index:20;display:grid;place-items:center;align-content:center;border:3px solid #573746;border-radius:22px;background:#fffdfc;box-shadow:8px 9px #a9ddf4;text-align:center}.completion[hidden]{display:none}.bigbow{font-size:70px;animation:tie .7s}.completion button{padding:10px 20px;border:2px solid #573746;border-radius:99px;background:#f7b8cd;font-weight:900}footer{display:flex;justify-content:space-around;height:35px;padding:7px;background:#a9ddf4;border-top:2px solid #573746}.stage-2 .keeps{left:1%;top:240px;transform:scale(.7)}.stage-2 .wheel-area,.stage-3 .repair-area,.stage-4 .guide-area{display:block}.stage-2 .pull-zone,.stage-3 .pull-zone,.stage-4 .pull-zone{display:none}.stage-3 .keeps,.stage-4 .keeps{transform:scale(.55);left:-3%;top:285px}.stage-4 .route{opacity:0}.complete-pull .gift{left:115px;top:0}.complete-pull .receipt{left:75px}.complete-pull .email{left:180px}.complete-pull .sleeve{display:block;position:absolute;z-index:5;left:107px;top:-8px;width:169px;height:114px;border:3px solid #65b9dd;border-radius:12px}.complete-pull .mask{display:block;position:absolute;z-index:7;left:135px;top:70px;padding:5px 8px;background:#573746;color:#fff;font-size:8px}.complete-pull .envelope{opacity:.4}button:focus-visible{outline:4px solid #65b9dd;outline-offset:3px}@keyframes unfurl{from{clip-path:inset(0 100% 0 0)}}@keyframes float{50%{transform:translateY(-3px)}}@keyframes pulse{50%{transform:scale(1.04)}}@keyframes nudge{50%{transform:translateX(8px)}}@keyframes phoneUp{from{opacity:0;transform:translateY(70px) rotate(2deg)}}@keyframes tie{50%{transform:scale(1.12)}}
@media(max-width:700px){.app{height:980px;border-radius:18px;box-shadow:none}header{height:100px;padding:14px 10px}h1{font-size:22px}.progress{gap:20px}.scene{height:775px;margin:0 10px}.route{left:39px;right:auto;top:30px;bottom:25px;width:24px;height:auto}.keeps{left:10%;top:55px}.pull-zone{left:20%;top:285px}.rings{flex-direction:column;align-items:center;gap:8px;margin:4px}.ring{width:145px;height:145px;border-width:12px}.ring h3{top:26px}.ring div{bottom:20px}.stage-2 .keeps{left:52%;top:580px;transform:scale(.55)}.patches,.gaps{flex-direction:column;align-items:center;gap:8px;margin:12px}.patch,.gap{min-width:210px;min-height:47px}.stage-3 .keeps{left:55%;top:585px;transform:scale(.5)}.guide-track{left:36px;right:auto;top:40px;bottom:390px;width:30px;height:auto}.token{top:0;left:-32px}.guide-area>.alt{left:82px;top:115px}.phone{left:50%;right:auto;top:310px;width:235px;height:390px;transform:translateX(-50%)}.stage-4 .keeps{display:none}.completion{inset:70px 18px}.completion h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.logo{width:32px;height:32px;overflow:hidden;border:2px solid #65b9dd;background:#a9ddf4}.logo img{width:100%;height:100%;object-fit:cover}
