@charset "UTF-8";
@font-face{font-family:Manrope;src:url('./assets/Manrope.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
:root{--paper:#fff;--ink:#000;--muted:#65676c;--line:#e5e6e9;--surface:#f7f8fa;--white:#fff;--focus:#274bdc;--danger:#a6243d;--purple:#274bdc;--lavender:#f7f8fa;--c0:#ec9b9c;--c1:#a4cbbf;--c2:#a8b8eb;--c3:#efd395;--c4:#c8b4e7;--c5:#e6b0d4;--c6:#bfd09f;--c7:#d2b698;font-family:Manrope,"Segoe UI",sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}button,a,select,summary{touch-action:manipulation}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:4px}button{transition:background .16s,transform .16s,border-color .16s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.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}.skip-link{position:fixed;left:20px;top:-80px;padding:14px 20px;background:#000;color:#fff;z-index:99}.skip-link:focus{top:12px}
.site-header{max-width:1320px;margin:22px auto 0;padding:15px 21px;display:flex;align-items:center;gap:32px;border:1px solid #ededf0;border-radius:4px;min-height:72px}.brand{font-size:25px;font-weight:600;letter-spacing:-1.3px;display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}.brand svg{width:19px;height:25px;fill:#000}.brand svg path+path{stroke:white;fill:none;stroke-width:2.5;stroke-linecap:round}.site-header nav{margin-left:auto;display:flex;gap:36px;align-items:center}.site-header nav>a{font-size:14px;text-decoration:none}.text-button{background:transparent;font-size:14px;padding:10px 0;white-space:nowrap}.text-button:hover:not(:disabled),.site-header nav>a:hover{text-decoration:underline;text-underline-offset:5px}.nav-library{border:1px solid #000;background:#000;color:#fff;border-radius:3px;padding:10px 16px;font-size:14px}.nav-library:hover{background:#282828}.count{margin-left:10px;font-size:12px;color:#fff9}.header-caption{display:none}
main{max-width:1320px;margin:auto}.intro{height:470px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;padding:35px 20px 100px}.hero-art{position:absolute;width:650px;height:440px;object-fit:contain;max-width:100%;top:-2px;left:50%;transform:translateX(-50%);z-index:-1;pointer-events:none}.intro h1{font-weight:400;font-size:clamp(58px,6.7vw,96px);letter-spacing:-5px;line-height:1.04;text-align:center;margin:0;max-width:1120px}.intro-bottom{position:absolute;bottom:32px;left:28px;right:28px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.intro-bottom p{font-size:14px;line-height:1.6;margin:0;color:#55585e}.primary{background:#000;color:#fff;font-size:14px;padding:13px 18px;border:1px solid #000;border-radius:3px;font-weight:500;line-height:1.35;text-decoration:none}.primary:hover:not(:disabled){background:#282828}.hero-action{display:flex;align-items:center;justify-content:space-between;gap:52px;padding:13px 19px}.hero-action span{font-size:20px;line-height:1}
.workspace{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#fff;scroll-margin-top:20px}.workspace:focus{outline:none}.workspace:focus-visible{outline:2px solid var(--focus);outline-offset:5px}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:19px 25px;border-bottom:1px solid var(--line)}.name-wrap{display:flex;align-items:center;gap:20px;min-width:0}.name-wrap input{font-size:18px;background:transparent;border:1px solid transparent;border-radius:3px;padding:6px 4px;width:255px;max-width:100%;font-weight:500;letter-spacing:-.4px}.name-wrap input:hover{border-color:var(--line)}#draft-state{font-size:12px;color:var(--muted);white-space:nowrap}.file-actions{display:flex;gap:9px;align-items:center}.secondary{background:#fff;border:1px solid #d8d9dd;border-radius:3px;font-size:14px;padding:11px 15px;font-weight:500;line-height:1.35}.secondary:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#f1f2f5}.icon-button{border:1px solid #d8d9dd;background:#fff;border-radius:3px;min-width:41px;height:41px;font-size:18px;display:inline-grid;place-items:center}.workspace-body{display:grid;grid-template-columns:minmax(0,1fr) 315px}.studio{min-width:0;background-color:var(--surface);background-image:radial-gradient(#ccd0d8 .7px,transparent .7px);background-size:14px 14px;padding:24px 30px 20px;display:flex;flex-direction:column}.stage-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.modes{display:flex;gap:3px;background:#e9ebef;border:1px solid #dfe1e6;border-radius:4px;padding:3px}.modes button{padding:9px 20px;border-radius:2px;background:transparent;font-size:14px;font-weight:500;color:#5e6065}.modes button.active{background:white;color:#000;box-shadow:0 1px 3px #0000000c}.quick-actions{display:flex;gap:20px}.stage-heading{text-align:center;padding-top:31px}.stage-heading h2{font-size:24px;font-weight:400;letter-spacing:-.8px;margin:0 0 10px}.stage-heading p{font-size:14px;line-height:1.55;color:var(--muted);margin:0;max-width:510px;margin-inline:auto}.bottle-board{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:32px 28px;min-height:285px;padding:44px 4px 28px}.bottle-wrap{display:flex;flex-direction:column;align-items:center;position:relative;gap:16px}.bottle-glass{display:flex;flex-direction:column-reverse;width:73px;padding:6px 6px 7px;border:1px solid #9fa9bd70;border-top:0;border-radius:5px 5px 24px 24px;background:linear-gradient(90deg,#ffffffc9,#dae3f145 13%,#f8faffb3 33%,#eef0f762 65%,#ffffffd6 88%,#c7d1e95c);position:relative;box-shadow:inset 3px 0 0 #ffffffa3,inset -2px 0 0 #f7f8ffc9,4px 8px 14px #48567d0a;overflow:hidden;gap:1px}.bottle-glass:before{content:"";position:absolute;left:0;top:0;right:0;height:5px;border:1px solid #9ea8c070;border-radius:50%;background:#fff8;z-index:2}.bottle-glass:after{content:"";position:absolute;top:7px;bottom:14px;left:7px;width:3px;border-radius:4px;background:#ffffff59;pointer-events:none;z-index:2}.slot{width:100%;height:36px;min-height:36px;border:0;border-radius:1px;background:#e2e6ef1f;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#242832;position:relative;line-height:1}.slot[data-color]{background:linear-gradient(90deg,#ffffff32,transparent 24%,#ffffff12 68%,#ffffff60),var(--liquid);box-shadow:inset 3px 0 0 #ffffff25}.slot[data-color]:after{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#ffffff30;border-radius:50%}.slot.empty{color:#8992a3}.slot:focus-visible{outline-offset:-3px;z-index:3}.slot:hover:not(:disabled){box-shadow:inset 0 0 0 2px #0007}.slot:first-child{border-radius:0 0 16px 16px}.bottle-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#686d76;font-variant-numeric:tabular-nums}.remove-bottle{background:transparent;color:#767b86;font-size:18px;line-height:1;padding:0 3px;min-width:23px;min-height:23px}.remove-bottle:hover{color:#a6243d}.bottle-play{background:transparent;padding:0;border:0;border-radius:5px;transition:transform .18s}.bottle-play.selected{transform:translateY(-12px)}.bottle-play.selected .bottle-glass{border-color:#596bd3;box-shadow:0 0 0 3px #5b6ed31c}.bottle-play.legal-target .bottle-glass{outline:1.5px dashed #5c6f96;outline-offset:6px}.editor-footer{display:flex;align-items:center;justify-content:center;gap:18px;padding:0 0 23px;font-size:12px;color:var(--muted)}.add-bottle{background:#ffffffa3;border:1px dashed #b9bfcc;border-radius:3px;font-size:14px;padding:10px 15px;color:#535a67}.add-bottle:hover:not(:disabled){background:white;border-color:#6d7689}.add-bottle span{margin-right:5px}.board-footnote{display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px;color:#666c77;padding:19px 0 0}.small-drop{display:block;height:5px;width:5px;border-radius:50%;background:#acb5c8}
.inspector{padding:25px 24px 20px;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column}.inspector section+section{border-top:1px solid var(--line);padding-top:23px;margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.section-heading h2{font-size:15px;font-weight:600;letter-spacing:-.35px;margin:0}.section-heading>span{font-size:12px;color:var(--muted)}.palette{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.swatch{height:37px;border-radius:3px;background:linear-gradient(135deg,#fff4,transparent 70%),var(--liquid);position:relative;font-size:13px;font-weight:500;color:#272b33}.swatch[aria-pressed="true"]{outline:1.5px solid #000;outline-offset:3px}.swatch[aria-pressed="true"]:after{content:"✓";position:absolute;right:5px;top:4px;font-size:10px}.eraser{width:100%;background:#f5f6f8;font-size:14px;border:1px solid #e9eaee;border-radius:3px;padding:10px 10px;margin:15px 0;text-align:left;display:flex;flex-direction:column;gap:3px}.eraser span{font-size:12px;color:var(--muted)}.eraser .eraser-title{font-size:14px;color:#24262a}.eraser[aria-pressed="true"]{outline:2px solid var(--focus);outline-offset:2px}.capacity-label{display:flex;justify-content:space-between;align-items:center;font-size:14px}.capacity-label select{padding:7px 10px;width:70px}select{border:1px solid #d8d9dd;border-radius:3px;background:white;font-size:14px;padding:10px}.destructive{font-size:13px;color:var(--danger);margin-top:5px}.inventory-section{padding:18px 0 0;border-top:1px solid #dfe2e9;margin-top:0}.inventory-section .section-heading{margin-bottom:12px}.inventory-section .section-heading h2{font-size:13px;font-weight:500}.inventory-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.inventory{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0;max-width:55%}.inventory-item{display:flex;align-items:center;gap:7px;font-size:12px;background:#ffffffbd;border:1px solid #e3e5ed;padding:5px 8px;border-radius:3px;white-space:nowrap}.inventory-item i{height:10px;width:10px;border-radius:50%;background:var(--liquid)}.inventory-item.invalid{border-color:#d9a2ac;color:var(--danger)}.validation{font-size:12px;line-height:1.6;color:#39664f;margin:0;max-width:300px}.validation.invalid{color:var(--danger)}.solver-section .muted{font-size:14px;line-height:1.65;margin:0 0 18px}.spark{font-size:21px!important;color:#000!important;line-height:1}.field-label{display:flex;flex-direction:column;font-size:13px;gap:8px;margin-bottom:16px}.field-label select{width:100%}.budgets{font-size:13px;color:var(--muted);margin:5px 0 18px}.budgets summary{cursor:pointer;padding:3px 0}.budgets p{font-size:12px;line-height:1.6}.budget-fields{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:7px;margin-top:12px}.budget-fields label{font-size:12px}.budget-fields input{width:100%;border:1px solid #d8d9dd;border-radius:3px;padding:8px 5px;font-size:13px;margin-top:6px}.solve-button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.solve-button span{font-size:18px}.solver-section #cancel{width:100%;margin-top:8px}.solver-result{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.7;padding:15px 0 0;overflow-wrap:anywhere}.solver-result p{margin:0}.result-dot{background:#a6adbd;height:5px;width:5px;border-radius:50%;flex-shrink:0;margin-top:8px}.solver-result.solved .result-dot{background:#43745a}.solver-result.error .result-dot{background:#a6243d}.solver-result.busy .result-dot{animation:pulse 1s ease infinite;background:var(--focus)}.inspector-note{margin:auto 0 0;padding-top:24px;font-size:12px;line-height:1.7;color:#696c75}
.playback{max-width:570px;width:100%;margin:0 auto 24px}.playback-top{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin-bottom:12px;line-height:1.5}.playback input{width:100%;accent-color:#000}.playback-buttons{display:flex;justify-content:center;gap:12px;margin-top:14px}.play-summary{padding:12px 18px;margin:0 auto 24px;background:#ffffffa8;border:1px solid #e5e8ef;border-radius:3px;font-size:14px;max-width:480px;line-height:1.7;text-align:center}.below-workspace{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:32px 4px 39px}.below-workspace h2{font-size:21px;font-weight:400;letter-spacing:-.6px;margin:0 0 9px}.below-workspace p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.generator{display:flex;gap:12px;align-items:flex-end}.generator label{font-size:12px;display:flex;flex-direction:column;gap:8px}.generator input{background:#fff;border:1px solid #d8d9dd;border-radius:3px;padding:11px 10px;width:144px;font-size:14px;height:43px}.generator select{padding:10px;width:72px;height:43px}.generator .secondary{height:43px;white-space:nowrap}.generator .text-button{font-size:13px;margin-left:4px;padding-bottom:12px}.page-footer{border-top:1px solid var(--line);padding:26px 4px 33px;display:flex;align-items:center;gap:32px;color:var(--muted);font-size:12px}.page-footer p{margin:0}.footer-wordmark{font-size:24px;color:#000;text-decoration:none;letter-spacing:-1.1px}.page-footer>p:last-child{margin-left:auto;display:flex;gap:25px}.page-footer>p:last-child a{text-decoration:none}.page-footer a:hover{text-decoration:underline}
.notice{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#000;color:white;font-size:14px;padding:15px 23px;border-radius:4px;box-shadow:0 4px 22px #0002;z-index:20;max-width:calc(100% - 30px);line-height:1.6}.dialog{border:1px solid #dfe1e6;border-radius:5px;padding:30px;max-width:600px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 22px 90px #0002;max-height:85vh;overflow-y:auto}.dialog::backdrop{background:#18203940;backdrop-filter:blur(8px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-heading h2{font-size:30px;font-weight:400;letter-spacing:-1.2px;margin:0;line-height:1.2}.dialog p{font-size:14px;line-height:1.75}.muted{color:var(--muted)}.portable-actions{display:flex;gap:12px;margin:22px 0}.file-label{cursor:pointer;display:inline-block}.file-label input{position:absolute;width:1px;height:1px;opacity:0}.file-label:focus-within{outline:2px solid var(--focus);outline-offset:4px}.dialog textarea{resize:vertical;border:1px solid #d8d9dd;padding:13px;border-radius:3px;background:#f9fafc;font-family:Consolas,monospace;font-size:13px;line-height:1.55;width:100%;color:#24272e}.form-error{color:var(--danger);font-size:13px!important}.help-list{padding-left:22px;font-size:14px;line-height:1.8}.help-list li+li{margin-top:16px}.saved-item{padding:18px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.saved-item strong{font-size:15px;font-weight:500;display:block;overflow-wrap:anywhere}.saved-item p{font-size:12px;margin:7px 0}.saved-item .saved-buttons{display:flex;gap:12px;align-items:center}.saved-item .delete-level{color:var(--danger);font-size:13px}.library-dialog #export-library{margin-top:18px}.library-empty{padding:30px 0;color:var(--muted);font-size:14px}
.project-intro{position:relative;overflow:hidden;min-height:440px;padding:100px 28px 70px;isolation:isolate;display:flex;align-items:center}.project-intro .hero-art{left:auto;right:0;transform:none;top:-15px;width:650px;height:470px;z-index:-1;opacity:.7}.project-intro h1{font-size:clamp(54px,6vw,84px);font-weight:400;line-height:1.03;letter-spacing:-4px;margin:0 0 24px;max-width:850px}.project-intro p{font-size:16px;line-height:1.7;max-width:570px;color:#53565e;margin:0 0 24px}.project-intro .primary{display:inline-block}.project-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:80px;padding:42px 28px 75px;border-top:1px solid var(--line)}.project-body article{max-width:740px}.project-body h2{font-size:29px;font-weight:400;letter-spacing:-1px;margin:0 0 18px}.project-body section+section{margin-top:45px}.project-body p,.project-body li{font-size:15px;line-height:1.85;color:var(--muted)}.project-body li+li{margin-top:13px}.project-body ul,.project-body ol{padding-left:21px}.project-facts{align-self:start;padding:27px;border:1px solid var(--line);background:var(--surface);border-radius:4px}.project-facts h2{font-size:24px}.project-facts dl{margin:0}.project-facts dt{font-size:12px;color:var(--muted);margin-top:23px}.project-facts dd{margin:7px 0 0;font-size:14px;line-height:1.7}.project-rules{background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:21px 24px;margin:25px 0}.project-rules p{margin:0}.project-code{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:20px;font-size:13px;line-height:1.7;color:var(--ink)}.project-body a{color:#242b3a}.project-body strong{font-weight:600;color:#25272d}
@keyframes pulse{50%{opacity:.2}}
@media(min-width:1500px){.site-header,main{max-width:1380px}.intro{height:500px}.intro h1{font-size:104px}.hero-art{height:475px;width:730px}.bottle-board{gap:35px}.bottle-glass{width:80px}.slot{height:39px;min-height:39px}}
@media(max-width:1400px){.site-header,main{margin-left:36px;margin-right:36px}.intro h1{font-size:clamp(58px,7.4vw,96px)}.bottle-board{gap:26px 22px}.bottle-glass{width:68px}.workspace-body{grid-template-columns:minmax(0,1fr) 300px}.studio{padding-left:24px;padding-right:24px}.inspector{padding-left:22px;padding-right:22px}.below-workspace{align-items:flex-start;gap:20px}.generator{gap:9px}.generator input{width:124px}.generator .secondary{padding-inline:12px}.name-wrap{gap:12px}.name-wrap input{width:235px}}
@media(max-width:1100px){.site-header,main{margin-left:24px;margin-right:24px}.intro{height:440px}.intro h1{font-size:76px;letter-spacing:-4px}.hero-art{height:400px;width:600px}.site-header nav{gap:24px}.workspace-body{grid-template-columns:minmax(0,1fr) 280px}.studio{padding-left:21px;padding-right:21px}.bottle-glass{width:59px}.bottle-board{gap:24px 17px;min-height:270px;padding-top:36px}.slot{height:33px;min-height:33px}.stage-heading h2{font-size:22px}.stage-heading p{font-size:13px}.modes button{padding:9px 15px}.inspector{padding-inline:20px}.name-wrap{display:block}.name-wrap input{font-size:17px;width:240px}#draft-state{display:block;padding-left:5px;margin-top:3px}.below-workspace{flex-direction:column;align-items:flex-start;gap:24px}.generator{align-self:stretch}.inventory-row{flex-direction:column;gap:12px}.inventory{max-width:100%}.validation{max-width:none}.project-body{gap:45px;grid-template-columns:minmax(0,1fr) 250px}.project-facts{padding:22px}}
@media(max-width:800px){.site-header,main{margin-left:20px;margin-right:20px}.site-header{margin-top:16px;padding:13px 16px;min-height:65px}.brand{font-size:23px}.site-header nav{gap:21px}.site-header nav>a{font-size:13px}.site-header nav>.nav-studio{display:none}.site-header nav .text-button{font-size:13px}.nav-library{font-size:13px;padding:9px 12px}.intro{height:390px;padding-bottom:110px}.intro h1{font-size:65px;letter-spacing:-3.4px}.hero-art{height:355px;top:-8px;width:540px}.intro-bottom{left:8px;right:8px;bottom:30px}.intro-bottom p{font-size:13px}.hero-action{font-size:13px;gap:24px}.workspace-body{grid-template-columns:1fr}.studio{padding:22px 25px 20px}.stage-heading{padding-top:29px}.stage-heading p{font-size:14px}.stage-heading h2{font-size:24px}.bottle-board{gap:29px 25px;min-height:280px;padding-top:39px}.bottle-glass{width:68px}.slot{height:36px;min-height:36px}.inspector{border-left:0;border-top:1px solid var(--line);padding:25px;display:grid;grid-template-columns:1fr 1fr;gap:30px}.inspector section+section{border-top:0;padding-top:0;margin-top:0}.inspector-note{grid-column:1/-1;padding-top:0;margin:0;font-size:12px}.inspector-note br{display:none}.inventory-row{flex-direction:row;gap:22px}.inventory{max-width:60%}.modes button{padding:9px 20px}.project-intro{padding:65px 12px 50px;min-height:385px}.project-intro h1{font-size:62px;letter-spacing:-3px}.project-intro .hero-art{height:400px;width:500px;right:-30px}.project-body{padding:30px 12px 50px;grid-template-columns:1fr;gap:35px}.project-facts{order:-1}.project-facts dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0 20px}.project-facts h2{margin-bottom:0}.project-body article{max-width:100%}}
@media(max-width:560px){.site-header,main{margin-left:16px;margin-right:16px}.site-header{padding:12px 13px;gap:12px;min-height:62px}.brand{font-size:22px;gap:7px;letter-spacing:-1px}.brand svg{width:16px;height:22px}.site-header nav{gap:14px}.site-header nav .nav-about{display:none}.site-header nav .text-button{font-size:12px}.nav-library{font-size:12px;padding:8px 10px}.count{font-size:11px;margin-left:6px}.intro{height:393px;padding:10px 0 101px;overflow:hidden}.intro h1{font-size:clamp(43px,10.5vw,58px);letter-spacing:-1.5px;line-height:1.07;position:relative}.hero-art{width:440px;max-width:none;height:300px;top:5px}.intro-bottom{left:1px;right:1px;bottom:28px;gap:14px;align-items:center}.intro-bottom p{font-size:12px;line-height:1.6;max-width:190px}.hero-action{font-size:12px;padding:12px 13px;gap:16px;white-space:nowrap}.hero-action span{font-size:17px}.workspace-top{padding:16px 14px;gap:8px;align-items:center}.name-wrap{flex:1;min-width:0}.name-wrap input{font-size:14px;width:100%;padding-left:0}.name-wrap #draft-state{font-size:11px;padding-left:0;margin-top:3px}.file-actions{gap:6px}.file-actions .secondary{padding:10px;font-size:12px;min-height:40px}.icon-button{min-width:36px;height:40px;font-size:16px}.studio{padding:18px 14px 18px}.stage-toolbar{gap:8px}.modes{gap:1px;padding:3px}.modes button{font-size:13px;padding:9px 14px;min-height:36px}.quick-actions{gap:12px}.quick-actions .text-button{font-size:13px;min-height:42px}.stage-heading{padding-top:25px}.stage-heading h2{font-size:22px;letter-spacing:-.7px}.stage-heading p{font-size:13px;line-height:1.6;max-width:310px}.bottle-board{gap:29px 25px;min-height:260px;padding:34px 0 25px}.bottle-glass{width:62px}.slot{height:34px;min-height:34px}.bottle-wrap{gap:11px}.bottle-label{font-size:12px;gap:8px}.remove-bottle{min-width:25px;min-height:26px}.editor-footer{font-size:12px;padding-bottom:20px;gap:15px}.add-bottle{font-size:13px;min-height:42px}.inventory-section{padding-top:16px}.inventory-row{flex-direction:column;gap:13px}.inventory{max-width:100%;gap:7px}.inventory-item{font-size:12px;padding:5px 8px}.validation{font-size:12px}.board-footnote{font-size:11px;padding-top:17px;gap:6px}.inspector{padding:23px 20px;grid-template-columns:1fr;gap:23px}.inspector section+section{padding-top:23px;border-top:1px solid var(--line)}.palette{grid-template-columns:repeat(4,1fr);gap:10px}.swatch{height:44px;font-size:13px}.swatch[aria-pressed="true"]:after{display:none}.eraser{padding:11px 12px;margin-top:17px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:45px}.eraser .eraser-title{font-size:14px}.eraser span{font-size:12px}.capacity-label{font-size:14px}.capacity-label select{min-height:42px}.destructive{min-height:42px;margin-top:3px;font-size:13px}.section-heading h2{font-size:16px}.section-heading>span{font-size:12px}.solver-section .muted{font-size:14px;line-height:1.65}.field-label{font-size:13px}.field-label select{height:45px;font-size:14px}.solve-button{min-height:46px;font-size:14px}.budgets{font-size:13px}.budgets summary{min-height:35px}.solver-result{font-size:13px;padding-top:15px}.inspector-note{font-size:12px;line-height:1.6}.playback-top{font-size:12px;gap:15px}.playback-buttons{gap:7px}.playback-buttons button{font-size:12px;padding:11px 10px;min-height:42px}.play-summary{font-size:13px;padding:11px 13px}.below-workspace{padding:29px 2px 32px;gap:23px}.below-workspace h2{font-size:23px}.below-workspace p{font-size:13px}.generator{flex-wrap:wrap;gap:13px 10px}.generator label:first-child{width:calc(100% - 84px)}.generator input{width:100%;font-size:14px;height:45px}.generator select{height:45px}.generator .secondary{height:45px;font-size:14px;padding-inline:18px}.generator .text-button{font-size:14px;min-height:45px;margin-left:8px;padding-bottom:10px}.page-footer{padding:25px 2px 28px;flex-wrap:wrap;gap:11px 18px}.footer-wordmark{font-size:24px}.page-footer>p:first-of-type{font-size:12px}.page-footer>p:last-child{margin-left:0;width:100%;gap:23px;margin-top:10px;font-size:12px}.dialog{padding:23px 20px}.dialog-heading h2{font-size:27px}.dialog-heading .icon-button{min-width:40px}.dialog p,.help-list{font-size:14px}.portable-actions{gap:9px}.portable-actions .secondary{font-size:13px;padding:11px 12px}.saved-item{align-items:flex-start;flex-direction:column}.notice{bottom:17px;font-size:13px;padding:13px 17px}.project-intro{padding:60px 3px 40px;min-height:370px}.project-intro h1{font-size:49px;letter-spacing:-2px}.project-intro p{font-size:15px;line-height:1.7}.project-intro .hero-art{height:320px;width:450px;right:-65px;opacity:.4;top:3px}.project-body{padding:28px 3px 45px;gap:32px}.project-body h2{font-size:27px}.project-body p,.project-body li{font-size:14px;line-height:1.85}.project-facts{padding:22px}.project-facts dl{grid-template-columns:1fr 1fr;gap:0 18px}.project-facts dd{font-size:13px}.project-rules{padding:17px 19px}.project-code{font-size:12px;padding:15px}}
@media(max-width:370px){.site-header,main{margin-left:12px;margin-right:12px}.site-header nav{gap:10px}.brand{font-size:21px}.site-header nav .text-button{font-size:11px}.intro h1{font-size:43px}.intro-bottom p{font-size:11px;max-width:170px}.hero-action{padding-inline:11px;gap:12px}.name-wrap input{width:100%}.modes button{padding-inline:12px}.bottle-board{gap:25px 22px}.bottle-glass{width:59px}.palette{gap:7px}.inspector{padding-inline:17px}.eraser span{font-size:11px}.board-footnote{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
