.hold-demo{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#35465d;background:radial-gradient(ellipse at 95% 4%,#eaf1fa 0,transparent 42%),radial-gradient(ellipse at 0 72%,#faf0f4 0,transparent 38%),#fafaf9;border-radius:16px;overflow:hidden;min-height:610px;width:100%;max-width:390px;margin:auto;line-height:1.65}
.hold-demo *{box-sizing:border-box}
.hold-demo .hold-app{padding:22px 20px 24px}
.hold-demo header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hold-demo h3{font-size:20px;color:#35465d;margin:0;font-weight:650}
.hold-demo button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #c5d4e5;background:#ffffff9e;color:#416a9b;padding:8px 11px;border-radius:10px;font-size:12px;touch-action:manipulation}
.hold-demo button:disabled{opacity:.6;cursor:default}
.hold-demo button:active{transform:scale(.97)}
.hold-demo button:focus-visible,.hold-demo input:focus-visible{outline:2px solid #416a9b;outline-offset:3px}
.hold-demo .hold-sound{white-space:nowrap;font-size:11px}
.hold-demo .hold-prompt{text-align:center;margin:34px 0 0;min-height:76px}
.hold-demo .hold-prompt strong{font-size:19px;font-weight:500;color:#416a9b;display:block}
.hold-demo .hold-prompt p{font-size:12px;margin:7px 0 0;color:#596e88}
.hold-demo .hold-field{touch-action:none;margin:0 -4px;cursor:grab}
.hold-demo .hold-field:active{cursor:grabbing}
.hold-demo svg{display:block;width:100%;height:auto;overflow:visible}
.hold-demo .hold-route{stroke:#adc5e4;stroke-width:1.8;fill:none}
.hold-demo .hold-origin{stroke:#94b4d8;fill:#fafaf9;stroke-width:1.4}
.hold-demo .hold-process-body,.hold-demo .hold-target-body,.hold-demo .hold-origin,.hold-demo .hold-contact-wave,.hold-demo .hold-contact-spark{transform-origin:center;transform-box:fill-box}
.hold-demo .hold-process-body>circle{stroke:#91b8e0;fill:#fbfdff;stroke-width:1.6}
.hold-demo .hold-process-body>image{opacity:0}
.hold-demo .hold-process.is-hit .hold-process-body>circle{fill:#7ba8d9;stroke:#416a9b;stroke-width:2}
.hold-demo .hold-process.is-hit .hold-process-body>image{opacity:.8}
.hold-demo .hold-target-base{fill:#f5f7fa;stroke:#b9cfe8;stroke-width:1}
.hold-demo .hold-target-muted{opacity:.1}
.hold-demo .hold-target-color{fill:#749cd0}
.hold-demo .hold-target-paint{opacity:.82}
.hold-demo .hold-target-ring{fill:none;stroke:#c5d4e5;stroke-width:2}
.hold-demo .hold-progress-ring{fill:none;stroke:#416a9b;stroke-width:3.2;stroke-linecap:round;transform:rotate(-90deg);transform-origin:280px 115px}
.hold-demo .hold-contact-wave{stroke:#6196ca;fill:none;stroke-width:2;opacity:0;pointer-events:none}
.hold-demo .hold-contact-spark{fill:#5f8bbf;stroke:#fff;stroke-width:.7;opacity:0;pointer-events:none}
.hold-demo .hold-contact-spark.is-white{fill:#fff;stroke:#7299c7;stroke-width:.8}
.hold-demo .hold-cursor-halo{fill:#fff9;stroke:#9fbadc;stroke-width:1}
.hold-demo .hold-cursor-dot{fill:#e88484;stroke:white;stroke-width:1.5}
.hold-demo .hold-cursor.is-unknown .hold-cursor-dot{fill:#9fa9b5}
.hold-demo .hold-fill-label{font-size:11px;fill:#596e88;font-variant-numeric:tabular-nums}
.hold-demo .hold-slider-label{font-size:11px;color:#596e88;display:flex;align-items:center;gap:16px;margin:0 3px}
.hold-demo input{flex:1;min-width:0;accent-color:#6087b5;height:44px;cursor:ew-resize}
.hold-demo .hold-measure{display:flex;justify-content:space-between;color:#596e88;font-size:12px;margin:20px 3px 0;gap:12px}
.hold-demo .hold-progress-copy{font-weight:550;color:#416a9b;font-variant-numeric:tabular-nums;white-space:nowrap}
.hold-demo .hold-status{margin:10px 3px 17px;min-height:44px;font-size:12px;color:#596e88}
.hold-demo .hold-controls{display:flex;flex-wrap:wrap;gap:7px}
.hold-demo .hold-controls button{flex:1;white-space:nowrap}
.hold-demo .hold-result{margin:19px 3px 0;padding-top:16px;border-top:1px solid #cad8e8}
.hold-demo .hold-result strong{color:#416a9b;font-size:14px;font-weight:550}
.hold-demo .hold-result p{font-size:11px;margin:7px 0 0;color:#596e88}
.hold-demo[data-phase=holding] .hold-target-base{stroke:#7298c7;stroke-width:1.5}
.hold-demo[data-phase=returning] .hold-origin{stroke:#416a9b;stroke-width:2.4;fill:#e8f0fa}
.hold-demo[data-phase=finished] .hold-origin{stroke:#6086b6;fill:#dce9f6;stroke-width:2}
.hold-demo[data-phase=finished] .hold-target-ring{stroke:#a4b9d2}
.hold-demo[data-outcome=complete] .hold-target-ring{stroke:#416a9b;stroke-width:2.2}
.hold-demo[data-outcome=unknown] .hold-target-ring{stroke-dasharray:4 4}
.hold-demo::selection{background:#b9d0eb;color:#273d58}
@media(prefers-reduced-motion:reduce){.hold-demo .hold-contact-wave,.hold-demo .hold-contact-spark{display:none}.hold-demo button:active{transform:none}}
