:root{color-scheme:light;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#161918;background:#F8F6F3;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.page{max-width:1586px;margin:0 auto;padding:64px 64px 32px}h1{font-size:clamp(40px,5.4vw,78px);font-weight:850;letter-spacing:-.055em;margin:0;line-height:1.2}.subtitle{font-size:clamp(16px,1.9vw,25px);color:#828580;letter-spacing:.04em;margin:20px 0 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:38px;align-items:center;margin-top:12px}.stage{position:relative;min-width:0;height:560px}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;border-radius:20px}canvas:active{cursor:grabbing}canvas:focus-visible{outline:2px solid #76cdb5;outline-offset:5px}.gesture{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:13px;letter-spacing:.13em;color:#a0a49b;pointer-events:none}.panel{background:rgba(255,255,255,.72);border:1px solid #eeede8;border-radius:30px;padding:32px 28px 28px;box-shadow:0 9px 30px #4f594909}h2{font-size:29px;letter-spacing:-.04em;margin:0 0 30px}.panel fieldset{padding:0;border:0;margin:0;min-width:0}.color-label,.slider-label{font-size:17px;color:#757b76;font-weight:550}.swatches{display:flex;justify-content:space-between;gap:12px;margin:18px 0 32px}.swatch{width:38px;height:38px;flex-shrink:0;border-radius:50%;background:var(--swatch);border:0;outline:2px solid transparent;outline-offset:4px;transition:transform .15s,outline-color .15s}.swatch:hover{transform:scale(1.1)}.swatch.selected{outline-color:#71d5b8}.slider-label{display:flex;align-items:center;justify-content:space-between;margin:24px 0 16px}.slider-label output{font-size:11px;font-weight:400;letter-spacing:.02em;color:#a0a49f}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:8px;display:block;border-radius:5px;background:linear-gradient(to right,#7bd8bf 0%,#7bd8bf var(--fill,40%),#e6e7e3 var(--fill,40%),#e6e7e3 100%);cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:23px;height:23px;border-radius:50%;background:white;border:1px solid #e9ebe7;box-shadow:0 2px 6px #00000012}input[type=range]::-moz-range-thumb{width:23px;height:23px;border-radius:50%;background:white;border:1px solid #e9ebe7;box-shadow:0 2px 6px #00000012}.poke{margin-top:36px;width:100%;padding:16px;border-radius:30px;border:0;background:#93e2cc;color:#183b31;font-size:19px;font-weight:700;transition:background .2s,transform .15s}.poke:hover{background:#7bd9bd}.poke:active{transform:scale(.98)}button:focus-visible,input:focus-visible{outline:2px solid #239775;outline-offset:5px}fieldset:disabled{opacity:.45}fieldset:disabled button,fieldset:disabled input{cursor:not-allowed}.notice{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:min(90%,440px);text-align:center;color:#75827a;font-size:15px;line-height:1.8;background:#f8f6f3ed;border-radius:18px;padding:22px;pointer-events:none}.notice[hidden]{display:none}.notice.error{border:1px solid #e4ddd4;color:#75675b}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}details{font-size:12px;color:#737b75;margin-top:28px}pre{white-space:pre-wrap}
.reference fieldset:disabled{opacity:1}
.stage canvas{opacity:0;transform:translateY(8px) scale(.985);transition:opacity .45s ease,transform .45s ease}
.stage[data-state=ready] canvas,.stage[data-state=revealing] canvas{opacity:1;transform:none}
.stage[data-state=failed] canvas{opacity:.28;transform:none;transition:none}
.stage[data-state=revealing] .notice{opacity:0;transition:opacity .3s ease}
.waiting-jelly{position:relative;margin:0 auto 18px;width:58px;height:46px;border-radius:48% 48% 30% 30%;background:linear-gradient(145deg,#cef7e6,#8ddcc3);box-shadow:inset 4px 3px 8px #ffffff99,0 8px 9px #578b6520;transform-origin:center bottom;animation:breathe 2.2s ease-in-out infinite}
.waiting-jelly:before,.waiting-jelly:after{content:"";position:absolute;top:23px;width:4px;height:5px;border-radius:50%;background:#234b3a}.waiting-jelly:before{left:19px}.waiting-jelly:after{right:19px}.waiting-jelly i{position:absolute;left:26px;top:29px;width:6px;height:3px;border-bottom:1px solid #234b3a;border-radius:50%}
.waiting-jelly[hidden]{display:none}
.sampling{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.sampling button{background:#fff;border:1px solid #dce8e0;border-radius:8px;padding:8px;font-size:12px}
@keyframes breathe{0%,100%{transform:scale(1,.97)}50%{transform:scale(.97,1.04)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.stage canvas{transform:none}}
.reference .gesture{display:none}
@media(min-width:1400px){.stage{height:620px}.workspace{grid-template-columns:minmax(0,1fr) 350px}.panel{padding:38px 34px}.swatch{width:42px;height:42px}}
@media(max-width:850px){.page{padding:38px 26px 32px}.workspace{grid-template-columns:1fr;gap:26px;margin-top:18px}.stage{height:450px}.panel{width:min(100%,480px);justify-self:center;padding:28px}.swatches{justify-content:flex-start;gap:24px}h2{margin-bottom:26px}}
@media(max-width:480px){.page{padding:32px 20px}h1{font-size:39px}.subtitle{font-size:15px;margin-top:14px}.stage{height:350px}.gesture{font-size:11px}.panel{border-radius:24px}.swatches{justify-content:space-between;gap:8px}}
/* Fluid stage and 44px hit targets across phones, tablets and desktops. */
.page{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));padding-bottom:max(32px,env(safe-area-inset-bottom));}
.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:32px}
.stage{height:clamp(420px,45vw,620px)}
.swatch{width:44px;height:44px}
.swatches{gap:10px}
input[type=range]{height:44px;background:none;margin:0;touch-action:pan-y}
input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(to right,#7bd8bf var(--fill,40%),#e6e7e3 var(--fill,40%))}
input[type=range]::-webkit-slider-thumb{width:26px;height:26px;margin-top:-9px}
input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:linear-gradient(to right,#7bd8bf var(--fill,40%),#e6e7e3 var(--fill,40%))}
input[type=range]::-moz-range-thumb{width:26px;height:26px}
.slider-label{margin:16px 0 0}.poke{margin-top:20px;min-height:48px}
@media(min-width:1400px){.page{padding-left:64px;padding-right:64px}.workspace{grid-template-columns:minmax(0,1fr) 350px}}
@media(max-width:999px){.page{padding-top:34px}.workspace{grid-template-columns:1fr;gap:24px;margin-top:16px}.stage{height:clamp(300px,64vw,560px)}.panel{width:min(100%,520px);justify-self:center;padding:26px}.swatches{justify-content:space-between}.gesture{bottom:0}}
@media(max-width:480px){.page{padding:28px max(16px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}h1{font-size:clamp(31px,9vw,39px)}.subtitle{font-size:clamp(13px,3.7vw,16px)}.stage{height:clamp(290px,90vw,380px)}.panel{padding:24px 20px}.swatches{gap:4px}.slider-label{font-size:16px}.swatch{width:44px;height:44px}.gesture{font-size:10px;letter-spacing:.06em}}
@media(max-height:500px) and (min-width:600px){.page{padding-top:24px}.stage{height:330px}.subtitle{margin-top:10px}}

/* Target composition: large title and a generous, proportionate control card. */
@media(min-width:1000px){h1{font-size:clamp(68px,7vw,108px)}.subtitle{font-size:clamp(22px,2.25vw,34px)}.workspace{grid-template-columns:minmax(0,1fr) clamp(310px,27.5vw,410px);gap:30px}.panel{padding:36px 32px;border-radius:36px}.stage{height:clamp(560px,43vw,680px)}h2{font-size:34px}.color-label,.slider-label{font-size:21px}.swatches{margin-bottom:36px}.swatch{width:48px;height:48px}.slider-label{margin-top:22px}.poke{margin-top:32px;font-size:23px;padding:20px}.workspace{margin-top:0}}
