@import"https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap"layer(fonts);@layer normalize,base,demo,gem;@layer normalize{html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}}@layer base{:root{color-scheme:light only;--page: #dededc;--ink: #11110f;--muted: #6c6b66;--surface: #fff;--line: hsl(40 10% 18% / .13);--accent: #e65d36;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--page);color:var(--ink)}input,button{font:inherit}button{color:inherit;cursor:pointer}:root[data-theme=dark]{color-scheme:dark;--page: #343638;--ink: #fafafa;--muted: #afafb2;--surface: #101112;--line: hsl(0 0% 100% / .15)}:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}}@layer demo{body:before{--size: 42px;--grid: hsl(40 5% 20% / .085);content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--grid) 1px,transparent 1px var(--size)) 0 0 / var(--size) var(--size),linear-gradient(var(--grid) 1px,transparent 1px var(--size)) 0 0 / var(--size) var(--size);-webkit-mask-image:radial-gradient(ellipse 78% 75% at center,black 30%,transparent 82%);mask-image:radial-gradient(ellipse 78% 75% at center,black 30%,transparent 82%)}main{min-height:100vh;display:grid;place-items:center;padding:52px 24px 70px}.comparison{--guide-gutter: 112px;--fade-start: 15%;--fade-end: 90%;display:grid;grid-template-columns:repeat(2,minmax(0,330px));align-items:start;gap:clamp(40px,7vw,84px);max-width:100%}.example{min-width:0}.card-shell{position:relative;border-radius:26px;background:var(--surface);outline:1px solid hsl(0 0% 0% / .16);outline-offset:0;box-shadow:0 1px 2px #2c26211f,0 4px 8px -3px #2c26212e,0 18px 32px -18px #251f1866;transform:translateY(var(--lift, 2px)) rotate(var(--tilt, -1.5deg)) translateZ(0)}.example:last-child .card-shell{--tilt: 1.5deg;--lift: -2px}.card{--linear-gradient: linear-gradient( to bottom, transparent var(--fade-start), black var(--fade-end) );--fade: var(--linear-gradient);isolation:isolate;position:relative;overflow:hidden;aspect-ratio:4 / 5;border-radius:inherit;background:var(--surface)}.card img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 100%;object-position:50% 100%}.card:after{content:"";position:absolute;z-index:1;inset:0;background:var(--surface);mask-image:var(--fade);-webkit-mask-image:var(--fade);pointer-events:none}.card--eased{--fade: var(--eased-gradient, var(--linear-gradient))}[data-underlay=true] .card{background:var(--ink)}[data-underlay=true] .card img,[data-underlay=true] .card__content{visibility:hidden}.card__content{position:absolute;z-index:2;inset:auto 26px 24px}.kicker{margin:0 0 5px;color:var(--accent);font-size:8px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.card h1{margin:0;font-family:Georgia,serif;font-size:clamp(2.55rem,4vw,3.4rem);line-height:.95;letter-spacing:-.055em;font-weight:500}.description{max-width:34ch;margin:11px 0 19px;color:var(--muted);font-size:11px;line-height:1.5}.meta{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.annotation{height:76px;display:flex;align-items:center;justify-content:center;gap:9px;font-family:Gloria Hallelujah,Comic Sans MS,cursive;font-size:22px;font-weight:400;rotate:-3deg}.annotation svg{width:34px;flex-shrink:0;overflow:visible;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.annotation--bad{color:#d64f43}.annotation--good{color:#187b4a;rotate:2.5deg}[data-eased=false] .annotation--good{color:var(--muted)}[data-eased=false] .annotation--good svg{opacity:0}.inspection-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin-top:9px}.underlay-toggle,.guides-toggle{display:flex;align-items:center;gap:7px;margin:0;padding:8px 10px;color:var(--ink);background:transparent;border:0;border-radius:8px;font-size:14px}.underlay-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}:is(.underlay-toggle,.guides-toggle):is(:hover,[aria-pressed=true]){color:var(--ink);background:color-mix(in srgb,var(--ink),transparent 94%)}.controls{--pencil: #3d4740;position:relative;width:280px;max-width:90%;margin:8px auto 0;color:var(--pencil);font-family:Gloria Hallelujah,Comic Sans MS,cursive;rotate:-2deg}.stop-guides{position:absolute;inset:0;pointer-events:none}.stop-guide{position:absolute;inset-inline:0;height:0;color:#bd4932;border-top:1px dashed currentColor;filter:drop-shadow(0 1px 0 #ffffff80)}.stop-guide--start{top:var(--fade-start)}.stop-guide--end{top:var(--fade-end)}.stop-handle{position:absolute;top:0;right:calc(100% + 10px);translate:0 -50%;padding:8px 5px;display:flex;align-items:baseline;gap:7px;white-space:nowrap;color:inherit;font-family:Gloria Hallelujah,Comic Sans MS,cursive;font-size:16px;line-height:1.6;border:0;background:transparent;cursor:ns-resize;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:auto}.stop-handle:after{content:"";position:absolute;top:calc(50% - 4px);right:-6px;width:8px;height:8px;border:1.5px solid currentColor;border-radius:50%;background:var(--page)}.stop-handle output{font-size:14px;min-width:3.5ch}.stop-guide:has(.stop-handle:is(:hover,:focus-visible)),.stop-guide:has([data-dragging]){border-top-style:solid}[data-theme=dark] .stop-guide{color:#ffab8e;filter:drop-shadow(0 1px 0 #0008)}@media(max-width:1000px){.comparison{padding-inline-start:var(--guide-gutter)}}@media(max-width:480px){.comparison{--guide-gutter: 76px}.stop-handle{flex-direction:column;align-items:center;gap:0;padding-inline:3px}.annotation{font-size:18px;gap:6px}.annotation svg{width:29px}}.control-copy{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:18px}.control-copy output{font-size:16px}.curve-control{position:relative;display:block;height:126px;margin-top:10px}.curve-control svg{position:absolute;inset:5px 0 auto;width:100%;height:80px;overflow:visible;pointer-events:none}.curve-path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.curve-tangents{fill:none;stroke:var(--accent);stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.curve-handles{position:absolute;z-index:2;inset:5px 0 auto;height:80px;pointer-events:none}.curve-handle{position:absolute;width:44px;height:44px;padding:0;border:0;background:transparent;translate:-50% -50%;pointer-events:auto;touch-action:none;cursor:grab}.curve-handle:active{cursor:grabbing}.curve-handle:after{content:"";position:absolute;inset:15px;border:2px solid var(--accent);border-radius:45% 55% 49% 51%;background:var(--page)}.reset-curve{position:absolute;right:0;top:52px;width:-moz-max-content;width:max-content;white-space:nowrap;rotate:-3deg;margin:0;padding:4px 8px;font:inherit;font-size:14px;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}.reset-curve:disabled{opacity:.35;cursor:default}.sound-toggle{display:block;margin:8px auto 0;padding:4px 8px;border:0;background:transparent;font:inherit;font-size:12px;opacity:.65}.curve-reference{fill:none;stroke:currentColor;stroke-dasharray:4 7;stroke-linecap:round;stroke-width:1;opacity:.4}.curve-control .slider-sketch{inset:auto 0 8px;width:100%;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;opacity:.75}.curve-control input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;inset:auto 0 0;height:36px;width:100%;margin:0;background:transparent;cursor:ew-resize;color:inherit}.curve-control input::-webkit-slider-runnable-track{height:2px;background:transparent}.curve-control input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-10px;border:2.5px solid var(--pencil);border-radius:46% 54% 43% 57%/55% 43% 57% 45%;background:var(--page);transform:rotate(-12deg)}.curve-control input::-moz-range-track{height:2px;background:transparent}.curve-control input::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border:2.5px solid var(--pencil);border-radius:46% 54% 43% 57%/55% 43% 57% 45%;background:var(--page);transform:rotate(-12deg)}.controls p{margin:-4px 0 0;display:flex;justify-content:space-between;font-size:14px;opacity:.9}.copy-css{display:flex;align-items:center;justify-content:center;gap:7px;margin:15px auto 0;padding:6px 9px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:15px;opacity:.9}.copy-css:is(:hover,:focus-visible){opacity:1}.copy-css svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.css-dialog{width:min(640px,calc(100% - 32px));max-height:85vh;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 20px 80px #0004}.css-dialog::backdrop{background:#0005;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.css-dialog form{display:flex;align-items:center;justify-content:space-between;gap:16px}.css-dialog h2{margin:0;font-size:18px}.css-dialog button{width:32px;height:32px;border:0;border-radius:6px;background:transparent;font-size:24px}.css-dialog p{color:var(--muted);font-size:13px;line-height:1.5}.css-dialog textarea{display:block;width:100%;height:min(400px,50vh);padding:12px;resize:vertical;border:1px solid var(--line);border-radius:8px;background:var(--page);color:var(--ink);font:12px/1.6 ui-monospace,monospace}.theme-toggle{position:fixed;top:22px;right:22px;border:0;background:none;width:34px;height:34px;display:grid;place-items:center;opacity:.6}.theme-toggle svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.5}.theme-toggle path{fill:currentColor}[data-theme=dark] body:before{--grid: hsl(0 0% 100% / .08)}[data-theme=dark] .controls{--pencil: #ccd2cc}[data-theme=dark] .card-shell{outline-color:#fff3}[data-theme=dark] .annotation--bad{color:#f58175}[data-theme=dark][data-eased=true] .annotation--good{color:#77d3a2}@media(max-width:720px){main{padding:72px 18px}.comparison{width:min(calc(330px + var(--guide-gutter)),100%);grid-template-columns:1fr;gap:30px}}}@layer gem{.craft-link{width:40px;aspect-ratio:1;display:grid;place-items:center;color:inherit;position:fixed;z-index:10;top:1rem;left:1rem;border-radius:6px}.spinner{width:24px;opacity:.48;transition:opacity .2s}.craft-link:is(:hover,:focus-visible) .spinner{opacity:1}.gem__bottom{transform-box:fill-box;transform-origin:center}.gem__bottom--top{--to: 360deg;--spin: 90deg;transform:scaleY(-1)}@media(prefers-reduced-motion:no-preference){.gem__bottom{animation:spin 30s infinite linear;animation-composition:add}.craft-link:is(:hover,:focus-visible) .gem__bottom{animation:spin 30s infinite linear,spin-less .65s cubic-bezier(.215,.61,.355,1)}}@keyframes spin-less{to{rotate:var(--spin, -90deg)}}@keyframes spin{to{rotate:var(--to, -360deg)}}}
