:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#293d34;background:#f5f5ec;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400;font-size:14px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,select{font:inherit}button,a,select,canvas{-webkit-tap-highlight-color:transparent}button,select{min-height:44px}button{cursor:pointer;color:inherit}button:disabled{opacity:.42;cursor:not-allowed}button,select,a,canvas{outline-offset:4px}:focus-visible{outline:3px solid #a34a24}button{transition:background .16s,box-shadow .16s,transform .16s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}.app-shell{max-width:1392px;margin:0 auto;padding:0 56px}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe3d8;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:750;letter-spacing:-.8px;white-space:nowrap;min-height:44px}.brand-studio{font-weight:420;color:#758177}.marble-logo{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 32% 26%,#ffe4a3,#f0a065 30%,#e37b49 63%,#b95635);box-shadow:inset -2px -3px 4px #a04b3022,0 3px 4px #b15d2420;position:relative}.marble-logo:after{content:"";position:absolute;top:6px;left:8px;width:9px;height:5px;border-top:2px solid #fff9;border-radius:50%;transform:rotate(-30deg)}.topbar-note{display:flex;align-items:center;gap:9px;color:#7a8275;font-size:12px}.tiny-spark{font-size:23px;color:#d2935c}.intro{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:48px 4px 43px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#5d7f6d}.eyebrow>span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7d9c83}h1{font-size:clamp(42px,4.7vw,65px);font-weight:650;line-height:1.04;letter-spacing:-3.2px;margin:0 0 20px}h1>span{color:#718a74}.intro-copy{font-size:14px;line-height:1.8;color:#768071;margin:0}.intro-copy em{font-style:normal;color:#4f6655}.intro-stamp{width:184px;text-align:center;transform:rotate(5deg);margin-right:66px;color:#8a9782}.intro-stamp svg{width:145px;height:100px}.intro-stamp span{font-size:13px;font-style:italic;line-height:1.5;display:block}.workshop{display:grid;grid-template-columns:263px minmax(0,1fr);gap:22px;align-items:stretch}.parts-panel,.board-panel{border:1px solid #dde4d8;border-radius:17px;background:#fffef8;box-shadow:0 5px 16px #2b453305}.parts-panel{padding:24px 18px 12px;display:flex;flex-direction:column}.panel-title,.board-heading{display:flex;align-items:center;gap:10px}h2{font-size:14px;font-weight:650;letter-spacing:-.2px;margin:0}.section-index{font-size:10px;letter-spacing:.5px;color:#8c9d89;border:1px solid #dfe6d9;border-radius:5px;padding:4px 5px;font-weight:500}.panel-description{font-size:11px;color:#88917e;margin:10px 0 23px 34px}.palette{display:flex;flex-direction:column;gap:10px}.part-button{display:flex;align-items:center;text-align:left;gap:11px;border:1px solid #e8e9df;border-radius:11px;background:#fffef9;padding:10px 9px;width:100%;min-height:78px}.part-button:hover{background:#f4f6ed;border-color:#bacbb7}.part-button.active{border-color:#9bb39c;background:#eef3e8;box-shadow:0 0 0 1px #9bb39c22}.diagram-tile{width:48px;height:48px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.diagram-tile.rail{background:#e8efdf}.diagram-tile.ramp{background:#f7ecdb}.diagram-tile.curve{background:#e8eef0}.diagram-tile.bumper{background:#f2e8ef}.part-diagram{width:44px;height:44px}.part-diagram.rail{color:#608f7d}.part-diagram.ramp{color:#db985f}.part-diagram.curve{color:#729cba}.part-diagram.bumper{color:#b78aae}.part-copy{display:flex;flex-direction:column;gap:6px;flex:1}.part-copy strong{font-size:12px;font-weight:650}.part-copy>span{font-size:9px;white-space:nowrap;color:#89917e}.choice-dot{width:7px;height:7px;border-radius:50%;background:transparent;flex-shrink:0}.active .choice-dot{background:#71977b}.piece-editor{margin-top:24px;padding-top:20px;border-top:1px solid #e9ebdf}.editor-label{font-size:9px;font-weight:600;letter-spacing:1.1px;color:#8d9785;display:flex;flex-wrap:wrap;gap:7px;justify-content:space-between;align-items:center}.editor-label>span{font-size:10px;color:#66795f;letter-spacing:0;font-weight:500}.editor-actions{display:flex;gap:8px;margin-top:12px}.editor-actions button{background:#f9faf3;border:1px solid #dde4d6;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 12px;font-size:11px}.editor-actions button:first-child{flex:1}.editor-actions button:hover:not(:disabled){background:#eaf1e4}kbd{font-family:inherit;font-size:9px;color:#85927c;border:1px solid #d9e0d1;border-radius:4px;padding:2px 4px;margin-left:auto}.little-tip{margin:25px 0 24px;display:flex;gap:10px;align-items:flex-start;color:#bd925e}.little-tip>span{font-size:22px;line-height:1.5}.little-tip p{font-size:10px;line-height:1.9;color:#919881;margin:0}.little-tip strong{font-weight:400;color:#71816a}.sidebar-bottom{margin-top:auto;border-top:1px solid #e9ebdf;display:flex;justify-content:space-between;gap:8px;padding-top:7px}.text-button{background:none;border:0;display:flex;align-items:center;gap:7px;padding:0 4px;font-size:10px;color:#7a8874}.text-button svg{width:14px}.text-button:hover:not(:disabled){color:#354e3d}.board-panel{overflow:hidden;min-width:0}.board-header{min-height:75px;padding:15px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px}.example-picker{display:flex;gap:10px;align-items:center}.example-picker label{font-size:10px;color:#929985}.example-picker select{border:1px solid #e1e6d9;background:#fafbf4;border-radius:7px;padding:0 30px 0 11px;font-size:11px;color:#53674e;max-width:190px}.board-meta{border-top:1px solid #e9ece1;border-bottom:1px solid #e3e8dc;padding:11px 24px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#8c9680;background:#f8faf2}.status-label{display:flex;gap:7px;align-items:center;color:#667e5b;font-weight:550}.status-label>span{width:6px;height:6px;background:#8ca77c;border-radius:50%}.status-label.running>span{background:#e58c55;box-shadow:0 0 0 3px #e58c551c}.status-label.won{color:#37714b}.status-label.lost{color:#a46b43}.meta-divider{color:#cad2bf;padding:0 6px}.canvas-wrap{position:relative;background:#faf9f2}canvas{display:block;width:100%;height:auto;aspect-ratio:7/5;cursor:crosshair;touch-action:pan-y}canvas:focus-visible{outline-offset:-4px;border-radius:4px}.result-badge{position:absolute;bottom:15px;left:50%;transform:translate(-50%);background:#fffef7f2;border:1px solid #b1c7a6;border-radius:30px;padding:12px 19px;font-size:12px;box-shadow:0 5px 20px #334c3210;white-space:nowrap;pointer-events:none;color:#4f744e}.result-badge>span{color:#cc985d;margin-right:5px}.retry-badge{border-color:#dcc6aa;color:#8e6e49}.transport{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 24px;border-top:1px solid #e0e6d7;background:#fffef8}.transport-actions{display:flex;align-items:center;gap:12px}.release-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 20px;border:1px solid #cf7c45;background:#e69a63;color:#422f20;border-radius:9px;min-height:46px;font-size:12px;font-weight:650;box-shadow:0 2px #b75d2e15}.release-button:hover{background:#e08c51;box-shadow:0 3px 8px #ae6d3620}.release-button svg{width:16px;height:16px}.reset-button{display:flex;align-items:center;gap:7px;background:none;border:0;padding:0 7px;font-size:11px;color:#7b8871}.reset-button svg{width:16px;height:16px}.reset-button:hover{color:#334b39}.stats{display:flex;gap:24px}.stats>div{display:flex;flex-direction:column;gap:6px;min-width:52px}.stats>div+div{border-left:1px solid #e4e9dc;padding-left:22px}.stats strong{font-size:22px;line-height:1;font-weight:500;color:#566b50;font-variant-numeric:tabular-nums;letter-spacing:-.9px}.stats strong>span{font-size:12px;padding-left:2px;font-weight:400;color:#8b967e}.stats>div>span{font-size:7px;font-weight:550;letter-spacing:1.1px;color:#969f8b}.board-feedback{padding:12px 24px;display:flex;align-items:center;gap:8px;border-top:1px solid #e7ebdf;background:#f5f8ee;color:#7c8e70;font-size:9px;min-height:44px}.board-feedback p{margin:0;flex:1;line-height:1.6}.board-feedback>span:first-child{font-size:13px;color:#769367}.board-feedback.has-notice{background:#fbf4e8;color:#957249}.save-label{white-space:nowrap;color:#889c7f;font-size:8px}.how-to{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:29px;padding:39px 4px 23px}.how-to .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:10px}.how-to-heading h2{font-size:19px;letter-spacing:-.6px;font-weight:500}.how-step{display:flex;gap:11px}.how-step>span{border:1px solid #d6dfcd;border-radius:50%;display:flex;justify-content:center;align-items:center;width:22px;height:22px;flex-shrink:0;font-size:10px;color:#809373}.how-step h3{font-size:11px;margin:3px 0 9px;font-weight:600}.how-step p{font-size:10px;line-height:1.8;color:#8a9380;margin:0}.keyboard-hint{margin:0;padding:12px 4px 14px;color:#7b8772;font-size:9px;line-height:1.8}.keyboard-symbol{font-size:16px;vertical-align:-1px;margin-right:5px}.live-message{font-size:11px;color:#657b59;line-height:1.7;margin:4px 4px 23px;min-height:19px}footer{border-top:1px solid #dfe3d6;padding:25px 4px 30px;display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-tagline{font-size:12px;color:#677e5e;font-weight:550;letter-spacing:-.1px}footer>span:last-child{font-size:9px;color:#919b85}footer>span:last-child>span{color:#c79e69;margin-left:12px;font-size:16px}@media(min-width:1450px){.app-shell{padding:0 52px}.intro{padding-top:56px;padding-bottom:48px}.workshop{grid-template-columns:280px minmax(0,1fr)}.part-button{padding:12px}.part-copy>span{font-size:10px}}@media(max-width:1100px){.app-shell{padding:0 30px}.workshop{grid-template-columns:235px minmax(0,1fr);gap:16px}.parts-panel{padding:22px 13px 10px}.part-button{gap:8px;padding:9px 7px}.part-copy>span{font-size:8px}.diagram-tile{width:43px;height:43px}.part-diagram{width:40px;height:40px}.board-header{padding:12px 18px}.example-picker label{display:none}.transport{padding:17px}.stats{gap:15px}.stats>div+div{padding-left:15px}.release-button{padding:0 15px}.intro-stamp{margin-right:20px}.how-to{gap:20px}.panel-title h2,.board-heading h2{font-size:13px}.board-feedback{padding:10px 17px}.save-label{display:none}}@media(max-width:850px){.app-shell{padding:0 22px}.topbar{height:80px}.intro{padding:35px 2px}.intro-stamp{width:140px;margin:0}.workshop{grid-template-columns:190px minmax(0,1fr);gap:12px}.parts-panel{padding:17px 11px 8px}.panel-title{gap:7px}.panel-title h2{font-size:11px}.section-index{font-size:8px}.panel-description{font-size:10px;margin:8px 0 16px}.part-button{min-height:66px;gap:8px}.diagram-tile{width:35px;height:39px}.part-diagram{width:34px;height:34px}.part-copy strong{font-size:11px}.part-copy>span{font-size:7px;white-space:normal;line-height:1.4}.choice-dot{width:5px;height:5px}.palette{gap:8px}.piece-editor{margin-top:18px;padding-top:16px}.editor-label{font-size:8px;letter-spacing:.7px}.editor-label>span{font-size:9px}.little-tip{margin:15px 0}.little-tip p{font-size:9px}.sidebar-bottom{gap:2px}.text-button{font-size:9px;gap:4px}.board-header{padding:12px;gap:8px;min-height:64px}.board-heading{gap:7px}.board-heading h2{font-size:11px}.example-picker select{max-width:143px;font-size:10px;padding-left:8px;padding-right:15px}.board-meta{padding:10px 13px;font-size:8px}.transport{padding:13px 12px;gap:9px;flex-wrap:wrap}.transport-actions{gap:6px}.release-button{padding:0 12px;font-size:11px}.reset-button{font-size:10px;gap:4px;padding:0 4px}.stats{margin-left:auto;gap:12px}.stats strong{font-size:20px}.stats>div{min-width:43px}.stats>div+div{padding-left:12px}.stats>div>span{font-size:6px;letter-spacing:.8px}.how-to{grid-template-columns:repeat(3,1fr);gap:18px;padding-top:29px}.how-to-heading{grid-column:1/-1}.how-to-heading .eyebrow{margin-bottom:7px}.how-to-heading h2{font-size:22px}.result-badge{font-size:10px;padding:10px 13px;max-width:95%;white-space:normal;text-align:center}.board-feedback{font-size:8px}.topbar-note{font-size:10px}}@media(max-width:650px){.app-shell{padding:0 16px}.topbar{height:74px}.brand{font-size:18px;gap:9px}.marble-logo{width:27px;height:27px}.topbar-note{display:none}.intro{padding:31px 1px 29px;gap:10px}.eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:15px}h1{font-size:44px;letter-spacing:-2px;margin-bottom:17px}.intro-copy{font-size:11px;line-height:1.8;max-width:330px}.intro-stamp{width:87px;align-self:flex-end;margin-bottom:8px;flex-shrink:0}.intro-stamp svg{width:85px;height:65px}.intro-stamp span{font-size:10px}.desktop-break{display:none}.workshop{display:flex;flex-direction:column;gap:14px}.parts-panel{padding:16px 13px 8px;border-radius:14px}.panel-title h2{font-size:13px}.panel-description{margin:0;font-size:10px}.parts-panel>.panel-description{margin:8px 0 15px}.palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.part-button{padding:8px 3px;flex-direction:column;gap:7px;min-height:92px;position:relative}.diagram-tile{width:43px;height:39px}.part-diagram{width:37px;height:37px}.part-copy{flex:initial;text-align:center}.part-copy strong{font-size:11px}.part-copy>span{display:none}.choice-dot{position:absolute;right:6px;top:6px;width:5px;height:5px}.piece-editor{margin-top:14px;padding-top:12px;display:flex;align-items:center;gap:12px;justify-content:space-between}.editor-label{display:flex;flex-direction:column;align-items:flex-start;font-size:8px;gap:5px}.editor-label>span{font-size:10px}.editor-actions{margin-top:0;gap:7px}.editor-actions button{min-width:44px;font-size:10px}.editor-actions button:first-child{min-width:115px}.little-tip{display:none}.sidebar-bottom{margin-top:10px;padding-top:2px}.text-button{font-size:10px;padding:0 3px}.board-panel{border-radius:14px}.board-header{min-height:66px;padding:12px 13px}.board-heading h2{font-size:13px}.example-picker select{max-width:159px;font-size:10px}.board-meta{font-size:8px;padding:10px 13px}.transport{padding:15px 13px;flex-wrap:nowrap;gap:10px}.release-button{padding:0 11px;font-size:10px;gap:7px}.release-button svg{width:14px;height:14px}.reset-button{font-size:10px;min-width:44px;justify-content:center}.reset-button>span{display:none}.stats{gap:11px}.stats>div+div{padding-left:11px}.stats>div{min-width:38px;gap:5px}.stats strong{font-size:19px}.stats>div>span{font-size:5.5px;letter-spacing:.6px}.board-feedback{padding:10px 13px;font-size:8px}.how-to{grid-template-columns:1fr;padding:27px 2px 12px;gap:18px}.how-to-heading{margin-bottom:3px}.how-step{gap:13px}.how-step>span{width:24px;height:24px}.how-step h3{font-size:12px;margin:4px 0 6px}.how-step p{font-size:11px;max-width:390px}.keyboard-hint{font-size:9px;padding:13px 2px}.live-message{font-size:10px;margin:0 2px 22px}footer{padding:22px 2px 25px;align-items:flex-start;flex-direction:column;gap:11px}.footer-tagline{font-size:12px}footer>span:last-child{font-size:9px}}@media(max-width:380px){h1{font-size:39px}.intro-stamp{display:none}.intro-copy{font-size:11px}.brand{font-size:17px}.board-heading h2{font-size:12px}.example-picker select{max-width:142px}.board-meta{font-size:7px}.transport{padding:12px 10px;gap:6px}.transport-actions{gap:2px}.release-button{padding:0 9px;font-size:9px}.stats{gap:9px}.stats>div+div{padding-left:9px}.stats>div{min-width:34px}.stats strong{font-size:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.panel-description,.part-copy>span,.little-tip p,.text-button,.keyboard-hint,.board-feedback,.board-meta,.how-step p,.save-label,footer>span:last-child{font-size:11px}.part-copy>span{white-space:normal;line-height:1.45}.board-feedback,.intro-copy,.how-step p,.keyboard-hint,.panel-description,.topbar-note{color:#5d705e}.board-meta,.text-button,.little-tip p,.part-copy>span{color:#60745e}.stats>div>span{font-size:9px;letter-spacing:.7px;color:#66785d}.editor-label,.section-index,.example-picker label,.save-label{color:#617658}.board-feedback{flex-wrap:wrap}.save-label{display:inline}@media(min-width:1000px){.topbar{height:78px}.intro{padding-top:30px;padding-bottom:30px}.intro h1{font-size:52px}.canvas-wrap{display:flex;justify-content:center}canvas{max-width:740px}.board-panel .canvas-wrap{background:#f5f7ef}.parts-panel{max-height:100%}}@media(max-width:650px){.panel-description,.text-button,.board-feedback,.board-meta,.save-label{font-size:10px}.stats>div>span{font-size:8px;letter-spacing:.3px}.board-feedback .save-label{width:100%;padding-left:20px}.example-picker select,.release-button,.reset-button{font-size:11px}.how-step p{font-size:12px}.board-feedback p{flex-basis:80%}}
