:root{--paper:#f4f3f1;--ink:#272923;--muted:#676b62;--line:#dcded5;--orange:#e66c26;--cyan:#2ba4aa;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}button,input,a{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer;background:0 0;border:0}button:disabled{cursor:default;opacity:.45}a{text-decoration:none}:is(button:focus-visible,a:focus-visible,input:focus-visible,div:focus-visible){outline-offset:4px;outline:2px solid #b4581e}button:hover:not(:disabled),a:hover{color:#a44713}button svg,a svg{flex-shrink:0}button{touch-action:manipulation}h1,h2,h3,p{margin:0}.site-shell{max-width:1536px;margin:auto;padding:0 48px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:96px;display:flex}.brand{letter-spacing:-.5px;align-items:center;gap:11px;font-size:16px;font-weight:800;line-height:1.2;display:flex}.brand img{width:38px;height:38px;image-rendering:pixelated;border-radius:4px}.brand small{font-family:var(--mono);letter-spacing:.2px;color:var(--muted);margin-top:5px;font-size:12px;font-weight:400;display:block}.topbar nav{align-items:center;gap:30px;font-size:12px;display:flex}.text-button,.admin-link{white-space:nowrap;align-items:center;gap:7px;padding:0;display:inline-flex}.topbar nav span{color:var(--muted);font-size:12px}.admin-link{color:var(--muted);border-left:1px solid var(--line);padding-left:25px}.intro{justify-content:space-between;align-items:flex-end;gap:24px;padding:38px 0 34px;display:flex}.eyebrow{font-family:var(--mono);letter-spacing:.2px;color:#595e53;align-items:center;gap:8px;margin-bottom:15px;font-size:12px;display:flex}.pixel-mark{background:#e77a24;width:7px;height:7px;box-shadow:7px 7px #a9b1a0}.intro h1{letter-spacing:-2.2px;font-size:46px;font-weight:600;line-height:1.08}.orange-period{color:#d96523}.intro-note{flex-shrink:0;width:264px}.mode{font-family:var(--mono);letter-spacing:0;align-items:center;gap:7px;margin-bottom:10px;font-size:12px;display:inline-flex}.mode i,.live-button i{background:#427c4e;width:6px;height:6px;display:inline-block}.mode.demo i{background:#d76c23}.intro-note p{color:var(--muted);font-size:13px;line-height:1.6}.help-button{text-underline-offset:4px;margin-top:13px;font-size:12px;text-decoration:underline}.workspace{grid-template-columns:minmax(0,1fr) 264px;align-items:start;gap:28px;display:grid}.canvas-column{min-width:0}.art-header{background:#eaece3;border:1px solid #d4d8cc;border-bottom:0;border-radius:5px 5px 0 0;justify-content:space-between;align-items:center;height:43px;padding:0 17px;font-size:12px;display:flex}.art-header>div{align-items:center;gap:7px;display:flex}.state-dot{background:#4f6a4c;width:5px;height:5px}.subtle{color:var(--muted)}.download-button{font-size:12px}.canvas-well{aspect-ratio:3/2;cursor:grab;touch-action:none;background:#0f191a;width:100%;position:relative;overflow:hidden}.canvas-well:active{cursor:grabbing}.canvas-well canvas{width:100%;height:100%;image-rendering:pixelated;transform-origin:50%;will-change:transform;display:block}.canvas-well:-webkit-full-screen{aspect-ratio:auto;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.canvas-well:fullscreen{aspect-ratio:auto;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.canvas-well:-webkit-full-screen canvas{object-fit:contain}.canvas-well:fullscreen canvas{object-fit:contain}.canvas-stamp{pointer-events:none;color:#e9e9d0;font:11px var(--mono);text-shadow:none;justify-content:space-between;display:flex;position:absolute;bottom:13px;left:14px;right:14px}.art-loading{color:#e9e4ca;font-family:var(--mono);background:#142123;flex-direction:column;justify-content:center;align-items:center;font-size:14px;display:flex;position:absolute;inset:0}.art-loading span{color:#a8b0a1;margin-top:10px;font:12px Arial}.canvas-tools{background:#eeefe7;border:1px solid #d4d8cc;border-top:0;border-radius:0 0 5px 5px;justify-content:space-between;align-items:center;gap:8px;height:48px;padding:0 10px 0 16px;display:flex}.art-caption{align-items:center;gap:12px;font-size:12px;display:flex}.art-caption>span{font-size:12px;font-family:var(--mono);color:var(--muted)}.zoom-tools{align-items:center;gap:3px;display:flex}.zoom-tools button,.step-buttons button{border-radius:3px;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.zoom-tools button.active{background:#d6dbcd}.zoom-tools output{font-family:var(--mono);text-align:center;width:44px;font-size:12px}.zoom-tools button:nth-last-child(3){margin-left:6px}.history-controls{margin-top:24px}.timeline-top{justify-content:space-between;align-items:center;display:flex}.timeline-top>div{align-items:center;gap:17px;display:flex}.section-kicker{font-family:var(--mono);letter-spacing:.2px;color:#5e6558;font-size:12px}.time-label{font-family:var(--mono);color:var(--muted);font-size:12px}.live-button{font-family:var(--mono);border:1px solid #d0d6c8;border-radius:3px;align-items:center;gap:7px;padding:6px 9px;font-size:12px;display:flex}.live-button.selected{background:#e3e9dc}.live-button>span{margin-left:4px}.scrubber{align-items:center;gap:15px;margin-top:12px;display:flex}.play-button{border:1px solid #cdd2c6;border-radius:4px;flex:0 0 35px;justify-content:center;align-items:center;height:35px;display:flex}.range-wrap{flex:1;min-width:0}.range-wrap input{accent-color:#303d2d;cursor:pointer;width:100%;height:18px;margin:0;display:block}.range-labels{font-family:var(--mono);letter-spacing:.4px;color:#666e5d;justify-content:space-between;margin-top:6px;font-size:12px;display:flex}.step-buttons{gap:3px;display:flex}.history-hint{color:var(--muted);margin:12px 0 20px;font-size:12px}.history-hint>span{font-family:var(--mono);margin-left:8px;font-size:12px}.token-strip{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;font-size:12px;display:flex}.token-strip button,.token-strip a{align-items:center;gap:8px;padding:0;display:inline-flex}.token-strip>button>span:first-of-type{font-family:var(--mono)}.token-strip>div{gap:25px;display:flex}.token-strip .subtle{margin-left:7px}.history-rail{padding-top:7px}.rail-intro{border-bottom:1px solid var(--line);padding-bottom:25px}.rail-intro h2{letter-spacing:-1px;margin:17px 0 15px;font-size:30px;font-weight:500;line-height:1.12}.rail-intro p{color:var(--muted);font-size:12px;line-height:1.8}.trade-key{gap:18px;margin-top:18px;font-size:12px;display:flex}.trade-key span{align-items:center;gap:5px;display:flex}.trade-key i{width:6px;height:6px}.buy-square{background:#378890}.sell-square{background:#d7712f}.event-section{margin-top:23px}.rail-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.rail-title h3{font-size:12px;font-weight:500}.rail-title>span{font-family:var(--mono);color:var(--muted);font-size:12px}.event-feed{margin-top:10px}.event-row{text-align:left;border-bottom:1px solid #e5e6de;align-items:center;gap:9px;width:100%;padding:11px 0;display:flex}.event-row:hover .event-copy strong{text-underline-offset:3px;text-decoration:underline}.event-row.current{background:#eceee5}.event-icon{width:13px;font:18px var(--mono)}.event-icon.buy{color:#367a7f}.event-icon.sell{color:#b15e24}.event-copy{flex:1;min-width:0}.event-copy strong{font-size:12px;font-weight:400;display:block}.event-copy small,.event-amount small{font-family:var(--mono);color:var(--muted);margin-top:2px;font-size:12px;display:block}.event-amount{font-family:var(--mono);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.event-amount small{font-size:12px}.empty-feed{color:var(--muted);padding:20px 0;font-size:12px}.layers-section{margin-top:25px}.scene-stack{flex-direction:column;gap:12px;margin-top:15px;display:flex}.scene-row{align-items:center;gap:10px;display:flex}.scene-row canvas{width:66px;height:44px;image-rendering:pixelated;background:#142123;border-radius:2px;display:block}.scene-row strong{font-size:12px;font-weight:400;display:block}.scene-row small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.layers-section>p{color:var(--muted);margin-top:16px;font-size:12px;line-height:1.8}.connection-info{border-top:1px solid var(--line);margin-top:23px;padding-top:15px}.connection-info>span{align-items:center;gap:7px;font-size:12px;display:flex}.connection-info i{background:#6d8162;width:5px;height:5px}.connection-info i.offline{background:#c15b27}.connection-info p{font:11px/1.8 var(--mono);color:var(--muted);overflow-wrap:anywhere;margin-top:6px}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:20px;margin-top:22px;padding:20px 0 28px;font-size:12px;display:flex}footer>span:first-child{align-items:center;gap:12px;display:flex}.footer-pixel{background:#d37638;width:5px;height:5px;display:inline-block}.connection-error{background:#f6e9d9;border:1px solid #e3c9a9;margin-bottom:14px;padding:10px 14px;font-size:12px}.modal-backdrop{z-index:20;background:#20271fcc;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--paper);border-radius:6px;width:540px;max-height:90vh;padding:35px;position:relative;overflow:auto}.modal-close{position:absolute;top:15px;right:15px}.modal h2{letter-spacing:-1px;margin:15px 0 20px;font-size:28px}.modal p{margin:16px 0;font-size:14px;line-height:1.7}.modal-notice{background:#e9ebdf;padding:13px;font-size:12px!important}.archive-row{border-top:1px solid var(--line);text-align:left;width:100%;font-family:var(--mono);justify-content:space-between;align-items:center;gap:15px;padding:17px 0;font-size:12px;display:flex}.archive-row small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.toast{color:#fff;z-index:30;background:#2d362a;border-radius:4px;align-items:center;gap:10px;max-width:calc(100vw - 30px);padding:13px 18px;font-size:12px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 6px 22px #20272022}@media (min-width:1600px){.site-shell{padding:0 64px}.intro{padding-top:46px}.intro h1{font-size:50px}.workspace{grid-template-columns:minmax(0,1fr) 284px;gap:32px}.intro-note{width:284px}}@media (max-width:1100px){.site-shell{padding:0 28px}.workspace{grid-template-columns:minmax(0,1fr) 224px;gap:22px}.intro-note{width:224px}.intro h1{font-size:39px}.rail-intro h2{font-size:26px}.art-caption>span{display:none}.canvas-tools{padding-left:12px}.zoom-tools{gap:0}.zoom-tools button{width:27px}.event-copy strong{font-size:12px}.event-row{gap:5px}.trade-key{gap:10px}.event-amount{font-size:12px}.scene-row canvas{width:57px;height:38px}.scene-row{gap:8px}.scene-row strong{font-size:12px}}@media (max-width:800px){.site-shell{padding:0 22px}.topbar{min-height:80px}.intro{padding:28px 0 25px}.intro h1{font-size:38px}.intro-note{width:auto}.intro-note p{font-size:12px}.help-button{display:none}.workspace{display:block}.history-rail{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:26px;margin-top:22px;padding-top:22px;display:grid}.rail-intro{display:none}.event-section,.layers-section{margin:0}.connection-info{grid-column:1/-1;justify-content:space-between;align-items:center;margin:0;padding-top:16px;display:flex}.connection-info p{text-align:right;margin:0}.event-copy strong,.event-copy small,.event-amount{font-size:12px}.scene-row canvas{width:72px;height:48px}.scene-row strong,.scene-row small{font-size:12px}.canvas-tools{padding:0 15px}.art-caption>span{display:inline}.topbar nav{gap:20px}.brand{font-size:14px}.eyebrow,.intro-note .mode{font-size:12px}}@media (max-width:520px){.site-shell{padding:0 16px}.topbar{gap:12px;min-height:72px}.brand img{width:31px;height:31px}.brand{letter-spacing:-.2px;gap:8px;font-size:12px}.brand small{font-size:12px}.topbar nav{gap:15px;font-size:12px}.topbar nav .admin-link{display:none}.topbar nav>button:nth-child(2){min-width:26px;height:44px;font-size:0}.topbar nav>button:nth-child(2):after{content:"?";border:1px solid #a8afa0;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;display:flex}.intro{padding:25px 0 22px;display:block;position:relative}.eyebrow{letter-spacing:.5px;margin-bottom:12px;font-size:12px}.intro h1{letter-spacing:-1.7px;font-size:34px;line-height:1.1}.intro-note{justify-content:space-between;align-items:center;gap:14px;margin-top:19px;display:flex}.mode{margin:0!important}.intro-note p{text-align:right;font-size:12px;line-height:1.5}.intro-note p br{display:none}.intro-note p{max-width:190px}.art-header{height:40px;padding:0 11px;font-size:12px}.art-header .subtle{display:none}.download-button{font-size:12px}.canvas-tools{height:auto;min-height:45px;padding:0 7px 0 10px}.art-caption{max-width:85px;font-size:12px;line-height:1.4}.art-caption>span{display:none}.zoom-tools{gap:1px}.zoom-tools button{width:30px;height:44px}.zoom-tools button:nth-last-child(3){margin-left:0}.zoom-tools output{width:35px;font-size:12px}.canvas-stamp{font-size:12px;bottom:7px;left:9px;right:9px}.history-controls{margin-top:20px}.timeline-top>div{gap:9px}.section-kicker,.time-label{font-size:12px}.live-button{min-height:35px;font-size:12px}.scrubber{gap:9px}.play-button{flex-basis:38px;height:44px}.step-buttons{gap:0}.step-buttons button{width:26px;height:44px}.range-labels{letter-spacing:0;font-size:12px}.history-hint{margin-bottom:16px;font-size:12px}.token-strip{flex-wrap:wrap;gap:14px;padding:14px 0;font-size:12px}.token-strip>button{width:100%;min-height:24px}.token-strip>div{justify-content:space-between;gap:15px;width:100%}.token-strip>div a,.token-strip>div button{min-height:30px}.history-rail{grid-template-columns:1fr;gap:25px;margin-top:12px}.event-row{gap:11px;padding:12px 0}.event-copy strong,.event-copy small,.event-amount,.event-amount small{font-size:12px}.event-icon{width:17px;font-size:19px}.layers-section{border-top:1px solid var(--line);padding-top:20px}.scene-stack{flex-direction:row;gap:9px}.scene-row{flex:1;min-width:0;display:block}.scene-row canvas{aspect-ratio:3/2;width:100%;height:auto;margin-bottom:8px}.scene-row strong,.scene-row small{font-size:12px;line-height:1.5}.layers-section>p{font-size:12px}.connection-info{display:block}.connection-info p{text-align:left;margin-top:6px;font-size:12px}footer{margin-top:20px;padding-bottom:22px;font-size:12px;line-height:1.8;display:block}footer>span:first-child{flex-wrap:wrap;gap:8px}footer>span:last-child{margin-top:5px;display:block}.modal{padding:28px 23px}.modal h2{font-size:25px}.modal p{font-size:13px}.toast{width:max-content;padding:12px;font-size:12px}.history-hint>span{margin:5px 0 0;display:block}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.canvas-stamp{color:#f5f1dc;font-size:11px}.canvas-stamp span{background:#132026;padding:2px 5px}.canvas-stamp{bottom:8px;left:10px;right:10px}.canvas-stamp:before{content:"";z-index:-1;background:#132026;width:82px;position:absolute;top:-2px;bottom:-2px;left:-4px}.mode,.section-kicker,.eyebrow{letter-spacing:0}.intro-note p,.event-copy strong{font-size:13px}.event-copy small{font-size:11px}.rail-intro p{font-size:13px}.scene-row strong{font-size:12px}.scene-row small{font-size:11px}@media (max-width:520px){.intro-note p{max-width:190px;font-size:11px}.section-kicker,.time-label,.scene-row strong,.scene-row small{font-size:11px}.eyebrow{font-size:10px}.zoom-tools output{font-size:11px}.art-caption{font-size:10px}.token-strip{font-size:12px}.range-labels{font-size:9px}.history-hint,.brand{font-size:11px}.brand small{font-size:10px}}.canvas-stamp:before{display:none}@media (max-width:520px){.brand small,.eyebrow,.art-caption,.range-labels{font-size:11px}.topbar nav>button:nth-child(2){min-width:auto;font-size:11px}.topbar nav>button:nth-child(2):after{display:none}.topbar nav{gap:13px}.eyebrow{max-width:310px;line-height:1.5}.art-caption{max-width:83px}}
