/* SPDX-License-Identifier: Apache-2.0 */
:root{color-scheme:light;--ink:#282834;--paper:#f2eee5;--panel:#fffcf5;--line:#d9d3c7;--purple:#5e4e84;--yellow:#efcb6c;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,select,input{max-width:100%}button{cursor:pointer;border:1px solid var(--line);background:transparent;padding:.65rem .8rem;border-radius:5px;font-size:.78rem;font-weight:650;min-height:38px}button:hover:not(:disabled){background:#e9e1d2;border-color:#a79aaa}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #9b58ac;outline-offset:3px}a{color:inherit;text-underline-offset:4px}header{max-width:1500px;margin:auto;padding:25px 4%;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);font-size:11px;letter-spacing:.07em;font-weight:750}.brand{text-decoration:none;display:flex;align-items:center;gap:10px}.brand span:last-child{font-weight:500;color:#746b73}.brand-mark{font-size:25px;color:var(--purple)}nav{display:flex;gap:25px;align-items:center}main{max-width:1500px;margin:auto;padding:0 4%}.intro{display:flex;justify-content:space-between;gap:30px;padding:56px 0 36px}.eyebrow{font-size:9px;letter-spacing:.14em;font-weight:750;margin:0 0 12px;color:#756c72}h1{font-size:clamp(42px,5vw,70px);letter-spacing:-.055em;line-height:1;margin:0 0 18px;font-weight:740}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--purple)}.lede{font-size:14px;line-height:1.6;color:#6a6270;margin:0}.intro-note{align-self:flex-end;font-size:9px;letter-spacing:.1em;font-weight:700}.intro-note p{font-size:11px;line-height:1.7;letter-spacing:0;font-weight:400;color:#796f79}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#64856e;margin-right:5px}.workbench{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(300px,1.9fr) minmax(210px,1fr);gap:18px;align-items:start}.panel{min-width:0;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:10px}h2{font-size:21px;letter-spacing:-.04em;font-weight:650;margin:0 0 20px}h3{font-size:12px;margin:0 0 12px}label{display:block;font-size:10px;font-weight:650;color:#6f6370;margin:14px 0 6px}input:not([type=checkbox]),select{width:100%;min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:4px;padding:8px;font-size:12px;min-height:36px}input[type=color]{padding:4px;height:36px}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rule{height:1px;background:var(--line);margin:20px 0}.check{display:flex;gap:7px;align-items:center;font-weight:500}.check input{accent-color:var(--purple);margin:0}.primary{background:var(--yellow);border-color:var(--yellow);display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px}.primary:hover:not(:disabled){background:#e7b948}.quiet{width:100%;margin-top:8px}.help{font-size:10px;line-height:1.65;color:#7c717a;margin:10px 0 0}.swatches{display:flex;flex-wrap:wrap;gap:6px}.swatches button{width:31px;height:31px;min-height:31px;padding:0;border:3px solid transparent;box-shadow:inset 0 0 0 1px #0002}.swatches button[aria-pressed=true]{outline:2px solid var(--purple);outline-offset:2px}.swatches button:first-child{background:repeating-conic-gradient(#e8e5e1 0 25%,#fff 0 50%) 50%/12px 12px!important}.section-top{display:flex;justify-content:space-between;gap:12px}.tag{align-self:center;font-size:9px;border:1px solid var(--line);border-radius:5px;padding:5px;white-space:nowrap}.toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}.toolbar button{font-size:11px;padding:7px 10px}.toolbar [aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.history{margin-left:auto;display:flex;gap:5px}.canvas-well{background:#e5dfd2;border:1px solid var(--line);border-radius:6px;padding:24px;min-height:290px;display:grid;place-items:center;overflow:hidden}canvas{image-rendering:pixelated}#pixel-canvas{width:min(100%,var(--canvas-side,256px));height:auto;max-width:100%;background:repeating-conic-gradient(#e7e3dc 0 25%,#f7f4ee 0 50%) 50%/16px 16px;box-shadow:0 10px 35px #39314218;touch-action:none;cursor:crosshair}.canvas-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}.canvas-footer label{margin:12px 0 0;font-size:9px}.canvas-footer select{display:inline;width:66px;min-height:30px;font-size:10px}#cursor-note{font-size:9px;color:#817281;margin-top:12px}.timeline-top{display:flex;align-items:center;justify-content:space-between;margin-top:26px}.timeline-top h3{margin:0}#frame-note{font-size:8px;color:#7d6d80;letter-spacing:.08em}#timeline{display:flex;gap:7px;overflow-x:auto;padding:10px 3px;margin:0 -3px;max-width:100%}#timeline button{flex:0 0 57px;padding:5px;border-radius:5px;font-size:9px;color:#88788a}#timeline button[aria-pressed=true]{border:2px solid var(--purple);background:#f1ebf8;color:var(--purple)}#timeline canvas{display:block;width:40px;height:40px;margin:auto auto 3px}.frame-actions{display:flex;gap:5px;flex-wrap:wrap}.frame-actions button{font-size:9px;min-height:30px;padding:5px 7px}.duration-row{display:flex;gap:8px}.duration-row input{max-width:100px}.duration-row button{font-size:10px}.preview-column{display:grid;gap:18px;min-width:0}.preview-panel{background:#302a43;border:1px solid #4f4263;border-radius:10px;padding:22px;color:#f5efdc}.preview-panel .eyebrow{color:#bcaecc}.preview-panel h2{font-family:Georgia,serif;font-size:28px;font-style:italic;font-weight:400}.preview-stage{display:grid;place-items:center;background:radial-gradient(ellipse at center,#594769,#302a43 70%);min-height:190px;border-bottom:1px solid #ffffff17}#preview{width:160px;height:160px;max-width:100%}.preview-panel button{width:100%;border-color:#ffffff32;color:#f4ebdd;margin-top:16px;font-size:11px}.preview-panel button:hover:not(:disabled){background:#574367;color:white}.preview-panel>p:not(.eyebrow){font-size:10px;color:#bdb0c6;text-align:center}.preview-spec{display:flex;justify-content:space-between;gap:10px;margin-top:20px;color:#b7a9c1;font-size:8px}.exports button,.file-button{font-size:10px}.exports .two{margin-top:8px}.file-button{display:block;text-align:center;border:1px solid var(--line);border-radius:5px;padding:10px;position:relative;cursor:pointer;margin-top:8px}.file-button:focus-within{outline:3px solid #9b58ac;outline-offset:3px}.file-button input{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0}details{font-size:11px;margin-top:18px;border-top:1px solid var(--line);padding-top:14px}summary{cursor:pointer;font-weight:650}details button{margin:10px 0;width:100%}details a{font-size:10px}.status-bar{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:18px 0}.status-bar p{font-size:11px;line-height:1.6;margin:0}.status-icon{color:var(--purple);font-size:24px}.next-step{padding:34px 0;max-width:700px}.next-step p:not(.eyebrow){font-size:12px;line-height:1.8;color:#706575}.next-step a{font-size:11px;margin:8px 24px 0 0;display:inline-block;color:var(--purple)}footer{max-width:1500px;padding:24px 4%;margin:auto;border-top:1px solid var(--line);font-size:9px;letter-spacing:.07em;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#786c79}footer p{margin:0;letter-spacing:0}.skip{position:absolute;left:10px;top:-60px;background:var(--ink);color:white;padding:10px}.skip:focus{top:10px;z-index:10}[hidden]{display:none!important}
@media(max-width:1050px){.workbench{grid-template-columns:210px minmax(280px,1fr)}.preview-column{grid-column:1/-1;grid-template-columns:1fr 1fr}.preview-panel{display:grid;align-content:start}.panel{padding:18px}}@media(max-width:650px){header{padding:16px 5%;flex-wrap:wrap}.brand span:last-child{display:none}nav{gap:15px;font-size:10px}main{padding:0 5%}.intro{padding:30px 0 24px}.intro-note{display:none}.workbench{grid-template-columns:minmax(0,1fr)}.drawing{grid-row:1}.recipe{grid-row:2}.preview-column{grid-column:auto;grid-template-columns:1fr}.canvas-well{padding:14px;min-height:240px}.panel{padding:16px}h1{font-size:44px}.toolbar{gap:4px}.toolbar button{padding:6px 7px}.canvas-footer{gap:5px}.frame-actions button{flex:1}.preview-stage{min-height:180px}.status-bar{align-items:flex-start}footer{padding:20px 5%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
