@charset "UTF-8";
:root{--ink:#214945;--mint:#bfe6d3;--mint-dark:#558d77;--paper:#fff9e9;--coral:#f1856f;--gold:#f3c966;--muted:#6c8680;--line:#d9e6d7;--sky:#c9e6e6;--lavender:#9584ba;font-family:"Avenir Next",ui-rounded,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f4f5e9;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline:3px solid #c78649;outline-offset:4px}button,button svg{-webkit-tap-highlight-color:transparent}button svg{pointer-events:none}[hidden]{display:none!important}h1,h2,p{margin:0}svg{display:block}button{touch-action:manipulation}::selection{background:var(--mint)}
.clinic>.site-home-link{position:static!important;inset:auto!important;transform:none!important;z-index:auto!important;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0 0 14px;padding:8px 12px;border:1px solid #d6dfd2;border-radius:14px;background:#fffbef;color:var(--ink);font-size:12px;font-weight:700;text-decoration:none;box-shadow:none}
.clinic{width:min(1270px,100%);margin:0 auto;padding:30px 42px 17px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:16px}.brand-mark{display:grid;place-items:center;width:57px;height:57px;font-size:36px;color:var(--paper);background:var(--ink);border-radius:19px;transform:rotate(-6deg)}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--muted);margin-bottom:4px}h1{font-family:ui-rounded,"Hiragino Maru Gothic ProN","PingFang SC",sans-serif;font-size:28px;letter-spacing:.02em;font-weight:850}.brand-dot{color:var(--coral);padding-left:3px}.top-actions{display:flex;gap:10px;align-items:center}.coin-counter{display:flex;align-items:center;gap:8px;border:1.5px solid #e4d4a4;background:#fff5d5;padding:10px 17px;border-radius:25px;min-width:120px}.coin-counter>span{display:grid;place-items:center;border:2px solid #c69834;color:#b3852b;background:var(--gold);width:25px;height:25px;border-radius:50%;font-size:16px}.coin-counter strong{font-size:22px;font-variant-numeric:tabular-nums;line-height:1}.coin-counter small{font-size:11px;color:#97773b}.round-button{background:transparent;width:42px;height:42px;border:1.5px solid #d6dfd2;border-radius:50%;font-size:21px}.round-button svg{width:20px;margin:auto}.round-button:hover{background:#e8eede}.clinic-status{display:flex;align-items:center;gap:12px;margin:23px 0 18px;font-size:12px;font-weight:600}.open-sign{display:flex;align-items:center;gap:7px;margin-right:auto}.open-sign i{width:7px;height:7px;border-radius:50%;background:var(--mint-dark)}.status-divider{color:#b5c6b9}
.play-area{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(365px,1fr);gap:26px;align-items:start}.consultation{border-radius:22px;background:var(--paper);border:1.5px solid #d3dfcf;padding:22px 24px 18px;overflow:hidden}.patient-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.small-label{font-size:10px;letter-spacing:.04em;color:var(--muted);font-weight:600}.patient-heading h2{font-size:22px;margin-top:3px}.case-label{font-size:11px;font-weight:600;border:1px solid #dccbb7;border-radius:18px;padding:7px 12px;background:#fff3df;color:#92724f}.case-label.return{background:#ede8f4;color:#76608e;border-color:#d9cce5}.speech{margin-top:16px;background:white;border:1px solid #dfe4d5;padding:13px 17px;border-radius:12px;position:relative;font-size:14px;line-height:1.5;min-height:49px;z-index:2}.speech:after{content:"";position:absolute;width:12px;height:12px;bottom:-7px;left:49%;transform:rotate(45deg);background:#fff;border-right:1px solid #dfe4d5;border-bottom:1px solid #dfe4d5}.stage{position:relative;margin-top:13px;aspect-ratio:620/425;border-radius:14px;overflow:hidden;isolation:isolate}.scene,.targets{position:absolute;inset:0}.scene svg{width:100%;height:100%}.doctor-badge{position:absolute;left:3%;bottom:4%;display:flex;align-items:center;gap:6px;pointer-events:none;padding:7px 9px;border:1px solid #c8dacb;background:#fffbefed;border-radius:11px;max-width:45%}.doctor-face{font-size:28px}.doctor-badge b{display:block;font-size:9px;margin-bottom:4px}.doctor-badge span:not(.doctor-face){display:block;color:var(--muted);font-size:8px}.target{position:absolute;transform:translate(-50%,-50%);width:54px;height:54px;border:2px dashed #5a9f8a;background:#f5fff3c9;border-radius:50%;display:grid;place-items:center;padding:0;color:var(--ink);font-size:10px;font-weight:700;z-index:3;box-shadow:0 0 0 5px #fff9e935;transition:background .18s,transform .18s;touch-action:manipulation}.target:before{content:"";position:absolute;inset:-7px;border:1px solid #86b6a080;border-radius:50%}.target:hover,.target.drag-over{background:#d4f2e1;transform:translate(-50%,-50%) scale(1.08)}.target.ready{border-style:solid;background:#dcf4d8;animation:target-breathe 1.8s ease-in-out infinite}.target.wrong{border-color:#c5a87c;background:#fff3dd}.target-hands{width:73px;height:65px;border-radius:16px;white-space:nowrap;font-size:8px;gap:0;display:flex;flex-direction:column;justify-content:center}.target-hands:before{border-radius:22px}.target-hands svg{width:36px;height:36px}.treatment-guide{display:flex;gap:12px;align-items:center;min-height:75px;padding:10px 0 4px}.guide-icon{width:42px;height:42px;flex-shrink:0;background:#eef1df;border-radius:12px;display:grid;place-items:center}.guide-icon svg{width:36px;height:36px}.guide-icon.success{font-size:23px;background:#d9ead6}.treatment-guide p{font-size:13px;font-weight:600;line-height:1.5;margin-top:4px}.tap-dots{display:flex;gap:5px;margin-left:auto;flex-shrink:0}.tap-dots i{width:9px;height:9px;background:#e3e6d7;border-radius:50%}.tap-dots i.filled{background:#75a88e}.steps{display:flex;align-items:flex-start;gap:0;margin-top:5px}.step{display:flex;flex:1;position:relative;align-items:center;flex-direction:column;gap:5px;text-align:center;min-width:0}.step:before{content:"";position:absolute;top:12px;height:2px;background:#e3e5d6;left:0;right:0}.step:first-child:before{left:50%}.step:last-child:before{right:50%}.step>span{z-index:1;display:grid;place-items:center;width:25px;height:25px;background:var(--paper);border:1.5px solid #d6ddce;border-radius:50%;font-size:10px;color:#96a494}.step b{font-size:9px;color:#849384;font-weight:500}.step.done>span{background:var(--mint-dark);border-color:var(--mint-dark);color:white}.step.done:before{background:#a1c3ab}.step.current>span{border-color:var(--mint-dark);color:var(--ink);background:#e7f0dc}.step.current b{color:var(--ink);font-weight:700}.result{margin-top:15px;border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.result strong{font-size:14px}.result p{font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}.primary-button{border:0;background:var(--ink);color:var(--paper);padding:12px 17px;border-radius:12px;font-size:12px;font-weight:700;white-space:nowrap}.primary-button:hover{background:#35685c}.primary-button span{margin-left:8px}.primary-button:active{transform:translateY(1px)}
.toolbox{min-width:0;position:relative;border-radius:25px;background:var(--mint);border:2px solid #9bc8ad;padding:25px 20px 19px;box-shadow:0 7px 0 #a4c9ab;margin-top:0}.box-handle{position:absolute;width:97px;height:17px;border:5px solid #9bc8ad;border-bottom:0;border-radius:14px 14px 0 0;top:-18px;left:calc(50% - 48px);background:#f4f5e9}.toolbox-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;gap:8px}.toolbox-heading .eyebrow{font-size:9px;color:#5e8b74;margin-bottom:6px}.toolbox-heading h2{font-size:20px;font-weight:850;letter-spacing:.02em}.box-cross{display:grid;place-items:center;background:#f1f8e9;color:#649d85;width:38px;height:38px;border-radius:11px;font-size:26px;transform:rotate(6deg);flex-shrink:0}.toolbox-help{font-size:10px;color:#4f7e6b;margin-bottom:19px}.tools{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tool{min-width:0;position:relative;border:1.5px solid #a7c9b0;box-shadow:0 3px 0 #a8cbb2;border-radius:13px;background:#f7f9e9;padding:10px 4px 8px;text-align:center;transition:transform .16s,background .16s,border-color .16s;touch-action:manipulation;user-select:none;-webkit-user-select:none}.tool-icon{width:61px;height:61px;max-width:100%;margin:auto}.tool b{display:block;font-size:11px;font-weight:700;margin-top:4px}.tool small{display:block;font-size:8px;margin-top:3px;color:#739481;line-height:1.4;min-height:11px}.tool:hover{transform:translateY(-2px);background:white}.tool.selected{border-color:#3b7b64;background:#fff8d7;box-shadow:0 3px 0 #659278}.tool.selected:after{content:"✓";display:grid;place-items:center;position:absolute;right:5px;top:5px;width:16px;height:16px;border-radius:50%;background:#598d75;color:white;font-size:9px}.tool.suggested{animation:tool-hint .7s ease-in-out 3;border-color:#c6973c}.tool:disabled{opacity:.55;transform:none}.selected-tray{display:flex;align-items:center;gap:7px;margin-top:17px;padding-top:14px;border-top:1.5px dashed #9ec2a7;font-size:10px;min-height:42px}.tray-label{color:#5d876b;white-space:nowrap}.selected-tray #selected-tool{font-weight:700}.selected-tray button{margin-left:auto;white-space:nowrap;background:#eaf4de;border:1px solid #a7c8a6;border-radius:9px;padding:8px 9px;font-size:9px;font-weight:600}.selected-tray button:hover{background:var(--paper)}
.waiting-room{display:flex;align-items:center;gap:16px;margin:28px 0 13px;padding:13px 19px;background:#e9eddf;border:1px solid #dce2d2;border-radius:14px}.waiting-title{font-size:11px;font-weight:700;white-space:nowrap}.queue{display:flex;align-items:center;gap:12px;flex:1}.queue-person{display:flex;align-items:center;gap:7px;min-width:0}.queue-person svg{width:39px;height:39px;flex-shrink:0}.queue-person b{font-size:10px;display:block}.queue-person small{font-size:8px;display:block;margin-top:3px;color:#869080}.queue-person.current b{color:#477d65}.queue-person.current small{color:#649a77}.waiting-note{font-size:9px;color:#82907d;white-space:nowrap}footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#929b88;gap:12px;line-height:1.6}
.action-effect{pointer-events:none;position:absolute;z-index:4;transform:translate(-50%,-50%);opacity:0;display:flex;align-items:center;justify-content:center;flex-direction:column;width:120px}.action-effect svg{width:76px;height:76px;filter:drop-shadow(0 3px 2px #46785d30)}.action-effect .effect-label{background:#fffff3ed;padding:5px 9px;font-size:10px;font-weight:700;white-space:nowrap;border-radius:12px;margin-top:3px}.action-effect.play{animation:treat .65s ease-in-out}.action-effect.warn .effect-label{background:#fff1d9}.celebration{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}.coin-burst{position:absolute;top:15%;left:50%;transform:translateX(-50%);padding:10px 18px;background:#fff4ce;border:2px solid #e5c160;border-radius:22px;font-size:24px;font-weight:800;animation:coin-pop .7s ease-out both}.confetti{position:absolute;left:var(--x);top:-8%;width:8px;height:14px;background:var(--color);border-radius:2px;animation:confetti-fall 1.9s var(--delay) ease-in forwards;transform:rotate(var(--angle))}.coin-counter.bump{animation:counter-bump .5s ease-out}.day-end{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f4f8e3f0;padding:25px}.day-end .day-icon{font-size:48px;margin-bottom:13px}.day-end h3{font-size:23px;margin:0 0 10px}.day-end p{font-size:13px;line-height:1.8;max-width:270px;margin-bottom:19px}.day-end button{font-size:13px}
dialog{position:fixed;max-width:400px;width:calc(100% - 36px);background:var(--paper);border:2px solid #aac9ad;border-radius:24px;color:var(--ink);padding:30px;box-shadow:0 12px 45px #24483b25}dialog::backdrop{background:#21494566;backdrop-filter:blur(3px)}.dialog-close{min-width:44px;min-height:44px;position:absolute;right:13px;top:13px;border:1px solid #d8decf;background:transparent;border-radius:50%;width:32px;height:32px;font-size:23px}.help-cross{font-size:30px;color:#659779}dialog h2{font-size:22px;margin:10px 0 18px}dialog ol{padding-left:22px;font-size:13px;line-height:1.85}dialog li{padding-left:4px;margin-bottom:6px}dialog p{font-size:11px;color:var(--muted);line-height:1.8;margin:17px 0 21px}dialog .primary-button{width:100%;font-size:13px}.drag-ghost{position:fixed;z-index:20;pointer-events:none;width:65px;height:65px;transform:translate(-50%,-50%);background:#fff6dce8;border:2px solid #79a98b;border-radius:16px;box-shadow:0 6px 12px #254d3b24}.drag-ghost svg{width:60px;height:60px}
@keyframes target-breathe{50%{box-shadow:0 0 0 9px #a6c79e40}}@keyframes treat{0%{opacity:0;transform:translate(-50%,-45%) rotate(-12deg)}25%{opacity:1}70%{opacity:1;transform:translate(-50%,-60%) rotate(7deg)}100%{opacity:0;transform:translate(-50%,-75%)}}@keyframes coin-pop{0%{opacity:0;transform:translate(-50%,15px) scale(.8)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}@keyframes confetti-fall{100%{top:115%;transform:translateX(22px) rotate(320deg);opacity:.3}}@keyframes counter-bump{40%{transform:scale(1.1)}}@keyframes tool-hint{50%{background:#fff1be;transform:translateY(-3px)}}
@media(min-width:1450px){.clinic{padding-top:45px}}
@media(max-width:1000px){.clinic{padding:24px}.play-area{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:19px}.consultation{padding:19px 18px}.toolbox{padding:22px 14px 17px}.tools{gap:8px}.tool-icon{width:55px;height:55px}.tool b{font-size:10px}.tool small{font-size:7px}.waiting-room{gap:13px}.waiting-note{display:none}.doctor-badge b{font-size:8px}.doctor-face{font-size:24px}.target{width:46px;height:46px;font-size:9px}.target-hands{width:62px;height:59px;font-size:7px}.toolbox-heading h2{font-size:18px}.selected-tray{gap:5px;font-size:9px}.selected-tray button{font-size:8px;padding:8px 6px}}
@media(max-width:760px){.clinic{max-width:570px;padding:21px 17px 18px}.brand{gap:10px}.brand-mark{width:43px;height:43px;border-radius:14px;font-size:28px}h1{font-size:23px}.brand .eyebrow{font-size:8px;letter-spacing:.01em}.top-actions{gap:6px}.coin-counter{min-width:0;padding:8px 11px;gap:5px}.coin-counter strong{font-size:19px}.coin-counter>span{width:20px;height:20px;font-size:11px}.coin-counter small{display:none}.round-button{width:32px;height:32px;font-size:17px}.round-button svg{width:16px}.clinic-status{font-size:10px;gap:9px;margin:21px 0 14px}.play-area{grid-template-columns:1fr;gap:26px}.consultation{padding:16px 17px}.patient-heading h2{font-size:20px}.speech{font-size:13px;margin-top:12px;padding:11px 13px;min-height:43px}.stage{margin-top:11px}.doctor-badge{bottom:4%;padding:6px 7px}.doctor-badge b{font-size:8px}.doctor-badge span:not(.doctor-face){font-size:7px}.doctor-face{font-size:23px}.target{width:44px;height:44px;font-size:9px}.target-hands{width:61px;height:56px;font-size:7px}.target-hands svg{width:31px;height:31px}.treatment-guide{min-height:65px;gap:9px;padding-top:9px}.treatment-guide p{font-size:12px}.guide-icon{width:37px;height:37px}.guide-icon svg{width:32px;height:32px}.steps{margin-top:7px}.step b{font-size:9px}.toolbox{padding:20px 16px 16px;border-radius:20px}.toolbox-heading h2{font-size:20px}.toolbox-heading .eyebrow{font-size:9px}.toolbox-help{font-size:10px;margin-bottom:14px}.tools{gap:9px}.tool{padding:8px 3px 7px}.tool-icon{width:53px;height:53px}.tool b{font-size:11px;margin-top:3px}.tool small{font-size:8px}.selected-tray{margin-top:15px;padding-top:12px;font-size:10px;gap:8px}.selected-tray button{font-size:9px;padding:8px}.waiting-room{margin-top:24px;padding:12px 13px;gap:10px;align-items:flex-start;flex-direction:column}.waiting-title{font-size:10px}.queue{width:100%;gap:10px;justify-content:flex-start}.queue-person{gap:5px}.queue-person svg{width:31px;height:31px}.queue-person b{font-size:9px}.queue-person small{font-size:7px}.waiting-note{display:none}footer{flex-direction:column;align-items:center;gap:3px;text-align:center;font-size:8px}.result{gap:8px}.result strong{font-size:12px}.result p{font-size:9px}.primary-button{font-size:11px;padding:11px 12px}.day-end .day-icon{font-size:32px;margin-bottom:8px}.day-end h3{font-size:20px;margin-bottom:6px}.day-end p{font-size:11px;margin-bottom:12px}.day-end button{font-size:11px;padding:10px 14px}}
@media(max-width:760px) and (min-height:600px) and (orientation:portrait){body{overflow-x:hidden}.clinic{padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:calc(202px + env(safe-area-inset-bottom))}.clinic>.site-home-link{margin-bottom:8px}.topbar{align-items:flex-start}.brand{gap:8px}.brand-mark{width:36px;height:36px;border-radius:12px;font-size:23px}h1,.brand h1{font-size:18px;line-height:1.12}.brand .eyebrow{max-width:140px;white-space:normal;line-height:1.3}.top-actions{gap:5px}.round-button{width:44px;height:44px;min-width:44px;min-height:44px}.round-button svg{width:18px}.coin-counter{min-height:44px;padding:7px 10px}.clinic-status{margin:12px 0 10px;flex-wrap:wrap}.consultation{padding:13px 12px 12px}.patient-heading{gap:8px}.patient-heading h2{font-size:18px}.case-label{font-size:10px;padding:6px 9px}.speech{font-size:12px;line-height:1.45;padding:9px 11px}.stage{border-radius:12px}.treatment-guide{min-height:55px;padding-top:8px}.guide-icon{width:34px;height:34px}.guide-icon svg{width:29px;height:29px}.treatment-guide p{font-size:11px;line-height:1.42}.steps{display:none}.result{margin-top:10px;padding-top:10px}.primary-button{min-height:44px}.toolbox{position:fixed;left:50%;right:auto;bottom:max(8px,env(safe-area-inset-bottom));z-index:12;width:min(570px,calc(100% - 16px));max-height:calc(42vh - env(safe-area-inset-bottom));padding:8px 10px 8px;border-radius:18px;box-shadow:0 5px 0 #8fb999,0 -8px 24px #21494522;transform:translateX(-50%);overflow:hidden}.box-handle{width:62px;height:11px;border-width:3px;top:-12px;left:calc(50% - 31px)}.toolbox-heading{margin-bottom:4px}.toolbox-heading .eyebrow{display:none}.toolbox-heading h2{font-size:15px;line-height:1.15}.toolbox-heading h2:after{content:"左右滑动选工具";font-size:9px;font-weight:500;margin-left:8px;color:#4f7e6b}.box-cross{width:24px;height:24px;border-radius:8px;font-size:18px}.toolbox-help{display:none}.tools{display:flex;grid-template-columns:none;gap:8px;overflow-x:auto;overflow-y:hidden;margin:0 -10px;padding:2px 10px 8px;scroll-padding:10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.tool{flex:0 0 72px;min-height:72px;padding:7px 4px 6px;border-radius:12px;scroll-snap-align:start;touch-action:pan-x}.tool:hover{transform:none}.tool-icon{width:38px;height:38px}.tool b{font-size:10px;line-height:1.2;margin-top:3px}.tool small{display:none}.tool.selected:after{right:4px;top:4px}.selected-tray{min-height:44px;margin-top:3px;padding-top:6px;gap:6px;font-size:10px}.selected-tray #selected-tool{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-tray button{min-height:44px;padding:9px 10px;font-size:10px}.waiting-room{margin-top:18px}.day-end{padding-bottom:calc(18px + env(safe-area-inset-bottom))}}
@media(max-width:1000px) and (max-height:599px){.tools{display:flex;grid-template-columns:none;gap:8px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;scroll-padding:8px;-webkit-overflow-scrolling:touch}.tool{flex:0 0 74px;touch-action:pan-x}.tool small{display:none}.round-button,.primary-button,.selected-tray button{min-height:44px}.round-button{min-width:44px;width:44px;height:44px}}
@media(max-width:370px){.clinic{padding:16px 12px}.brand-mark{display:none}h1,.brand h1{font-size:17px}.consultation{padding:14px 12px}.toolbox{padding:18px 12px}.tools{gap:7px}.tool small{font-size:7px}.queue{gap:6px}.queue-person svg{width:27px;height:27px}.queue-person small{font-size:6px}.target{width:44px;height:44px}.target-hands{width:58px;height:52px}.selected-tray{font-size:9px;gap:5px}}
@media(max-width:370px) and (min-height:600px) and (orientation:portrait){.clinic{padding:calc(10px + env(safe-area-inset-top)) 10px calc(198px + env(safe-area-inset-bottom))}.brand-mark{display:none}h1,.brand h1{font-size:17px}.topbar{gap:8px}.coin-counter{padding:6px 8px}.consultation{padding:12px 10px}.toolbox{padding:8px;width:calc(100% - 12px)}.tools{margin:0 -8px;padding-left:8px;padding-right:8px}.tool{flex-basis:68px}.selected-tray{font-size:9px}}
@media(max-width:760px){.brand{min-width:0}.brand h1{font-size:20px;white-space:nowrap}.brand .eyebrow{font-size:7px}.topbar{gap:10px}.brand-mark{width:39px;height:39px;font-size:25px}}
@media(max-width:370px) and (min-height:600px) and (orientation:portrait){h1,.brand h1{font-size:17px}.brand .eyebrow{white-space:normal}.target{width:44px;height:44px}}
.coin-burst{top:8%;left:80%;font-size:20px;padding:8px 14px;white-space:nowrap}
@media(any-pointer:coarse){.round-button,.primary-button,.selected-tray button{min-width:44px;min-height:44px}.round-button{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.action-effect.play{opacity:1}.confetti{display:none}}
