:root{--board:#2b211a;--panel:#241a13f0;--panel-edge:#6b4b2e;--tile:#3b2a1d;--tile-hover:#4a3524;--tile-edge:#5a3f27;--cream:#f3e4c4;--muted:#b39b7a;--dim:#7a6750;--highlight:#f2b21b;--go:#6fae3e;--go-edge:#9ad15f;--nail-yellow:#f2b21b;--dark-metal:#2a2a2c;--grip:#1d1d1f;--steel:#b7bec6;--safety-red:#e0321f;--tank-green:#2f9c4e;--tank-cap:#1e5e31;--brass:#d9a93a;--mist:#86d93f;--hardwood:#9a4424;--hardwood-grain:#c56a3c;--overrun:#ff6a4d;--shade:#00000080;--can-band:#f3e4c4;--glue-amber:#eb922a;--varnish:#c47a2c;--varnish-edge:#6e3712;--varnish-shine:#ffd9a0;--go-rest:#4d6b35;font-family:system-ui,Segoe UI,sans-serif}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--board);color:var(--cream)}canvas{display:block}.view{position:fixed;inset:0}.build-bar{background:var(--panel);border:2px solid var(--panel-edge);-webkit-user-select:none;user-select:none;border-radius:14px;align-items:stretch;gap:10px;padding:10px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #00000073}.build-bar button{font:inherit;color:inherit;cursor:pointer}.build-bar button:disabled{cursor:default}.entry{background:var(--tile);border:2px solid var(--tile-edge);border-radius:10px;grid-template-rows:48px auto auto;justify-items:center;gap:4px;width:132px;padding:10px 8px 8px;display:grid;position:relative}.entry:not(:disabled):hover{background:var(--tile-hover)}.entry[data-look=selected]{border-color:var(--highlight);background:var(--tile-hover);box-shadow:0 0 0 2px #f2b21b59}.entry[data-look=full] .count{color:var(--muted)}.entry[data-look=locked]{opacity:.45}.entry[data-look=locked] .icon{filter:grayscale()}.entry .icon{width:48px;height:48px}.name{white-space:nowrap;font-size:14px;font-weight:600}.count{color:var(--cream);font-variant-numeric:tabular-nums;font-size:13px}.key{min-width:14px;color:var(--muted);border:1px solid var(--tile-edge);border-radius:4px;padding:1px 5px;font-size:11px;font-weight:700;line-height:16px}.entry .key{position:absolute;top:6px;left:6px}.entry-slot{display:flex;position:relative}.build-bar .clear-type{width:20px;height:20px;color:var(--muted);background:var(--board);border:1px solid var(--tile-edge);border-radius:4px;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:6px;right:6px}.clear-type[hidden]{display:none}.clear-type .icon{width:14px;height:14px}.clear-type:hover{color:var(--overrun);border-color:var(--overrun)}.build-bar .clear-all{width:84px;color:var(--muted);background:var(--tile);border:2px solid var(--tile-edge);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin-left:8px;display:flex}.clear-all .icon{width:22px;height:22px}.clear-all .label{white-space:nowrap;font-size:13px;font-weight:600}.clear-all:not(:disabled):hover{color:var(--cream);background:var(--tile-hover)}.clear-all[data-armed=true],.clear-all[data-armed=true]:hover{color:var(--overrun);border-color:var(--overrun);background:#e0321f2e}.clear-all:disabled{opacity:.45}.icon .cross,.icon .minus{fill:none;stroke:currentColor;stroke-width:6px;stroke-linecap:round}.icon .minus{stroke-width:8px}.start{background:var(--go);border:2px solid var(--go-edge);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:120px;margin-left:8px;display:flex}.start .label{color:#1c2a10;font-size:20px;font-weight:700}.start .key{color:#1c2a10;border-color:#1c2a1080}.start:not(:disabled):hover{filter:brightness(1.1)}.note{display:none}.build-bar[data-locked=true] .entry{opacity:.45}.build-bar[data-locked=true] .start{background:var(--tile);border-color:var(--tile-edge)}.build-bar[data-locked=true] .start .label{color:var(--highlight)}.build-bar[data-locked=true] .start .key{display:none}.build-bar[data-locked=true] .note{text-align:center;color:var(--muted);margin-bottom:8px;font-size:13px;display:block;position:absolute;bottom:100%;left:0;right:0}.icon .gun{fill:var(--nail-yellow)}.icon .cap{fill:var(--dark-metal)}.icon .grip{fill:var(--grip)}.icon .tip{fill:var(--safety-red)}.icon .shot{fill:none;stroke:var(--steel);stroke-width:2px;stroke-linecap:round;stroke-dasharray:3 3}.icon .mist{fill:var(--mist);opacity:.6}.icon .brass{fill:var(--brass)}.icon .glue{fill:var(--glue-amber)}.icon .varnish{fill:var(--varnish);stroke:var(--varnish-edge);stroke-width:3px}.icon .varnishShine{fill:var(--varnish-shine)}.icon .tank{fill:var(--tank-green)}.icon .tankCap{fill:var(--tank-cap)}.icon .plank{fill:var(--hardwood)}.icon .grain{fill:none;stroke:var(--hardwood-grain);stroke-width:1.5px;stroke-linecap:round}.icon .nail{fill:var(--steel)}.icon .puff{fill:var(--cream);opacity:.7}.icon .nozzle{fill:var(--steel)}.icon .canCap{fill:var(--dark-metal)}.icon .canBody{fill:var(--safety-red)}.icon .canBand{fill:var(--can-band)}.icon .seat{fill:var(--hardwood-grain)}.icon .leg{fill:var(--hardwood)}.icon .loop,.icon .arrow{stroke:var(--cream);stroke-width:4px;stroke-linejoin:round}.icon .loop{fill:none;stroke-linecap:round}.icon .arrow{fill:var(--cream)}.hud,.result{-webkit-user-select:none;user-select:none;position:fixed;left:50%;transform:translate(-50%)}.hud,.result-panel{background:var(--panel);border:2px solid var(--panel-edge);border-radius:14px;box-shadow:0 6px 24px #00000073}.hud{align-items:stretch;gap:10px;padding:10px;display:flex;top:24px}.hud button,.result button{font:inherit;color:inherit;cursor:pointer;background:var(--tile);border:2px solid var(--tile-edge);border-radius:10px}.hud button:not(:disabled):hover{background:var(--tile-hover)}.hud button:disabled{cursor:default;opacity:.45}.hud .key{justify-self:center}.hud .label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:600}.value{font-variant-numeric:tabular-nums}.level{flex-direction:column;justify-content:center;gap:2px;min-width:132px;padding:0 8px;display:flex}.level .name{font-size:19px;font-weight:700}.wave{color:var(--muted);font-size:13px}.meter{flex-direction:column;justify-content:center;gap:7px;width:210px;padding:0 6px;display:flex}.meter .head{justify-content:space-between;align-items:baseline;display:flex}.meter .value{font-size:16px;font-weight:600}.track{background:var(--tile);border:1px solid var(--tile-edge);border-radius:6px;height:12px;position:relative}.fill{transform-origin:0;border-radius:5px;position:absolute;inset:0}.wood .fill{background:var(--hardwood-grain)}.progress .fill{background:var(--highlight)}.milestone{background:var(--dim);border-radius:1px;width:3px;margin-left:-1.5px;position:absolute;top:-4px;bottom:-4px}.milestone[data-passed=true]{background:var(--cream)}.stats{gap:6px;display:flex}.stat{background:var(--tile);border:2px solid var(--tile-edge);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:80px;display:flex}.stat .value{font-size:20px;font-weight:700}.hud .spray{text-align:left;grid-template-columns:40px auto auto;align-items:center;gap:10px;width:196px;padding:6px 10px;display:grid;position:relative;overflow:hidden}.spray .can,.spray .icon{width:40px;height:40px;position:relative}.spray .charges{font-variant-numeric:tabular-nums;min-width:18px;height:18px;color:var(--board);background:var(--go-edge);border-radius:9px;place-items:center;font-size:12px;font-weight:700;display:grid;position:absolute;bottom:-4px;right:-6px}.spray .charges[hidden]{display:none}.spray[data-state=cooling] .charges{background:var(--muted)}.spray .text{flex-direction:column;gap:2px;display:flex;position:relative}.spray .name{white-space:nowrap;font-size:14px;font-weight:600}.spray .status{font-variant-numeric:tabular-nums;color:var(--go-edge);font-size:13px;font-weight:600}.spray[data-state=cooling] .status{color:var(--muted)}.spray .key{position:relative}.cooldown{background:var(--shade);transform-origin:100%;position:absolute;inset:0;transform:scaleX(0)}.hud .spray[data-armed=true]{border-color:var(--highlight);background:var(--tile-hover);box-shadow:0 0 0 2px #f2b21b59}.hud .speed,.hud .restart{align-content:center;justify-items:center;gap:3px;width:78px;padding:6px;display:grid}.speed .value{font-size:20px;font-weight:700;line-height:22px}.hud .restart .icon{width:22px;height:22px}.frames{color:var(--muted);text-align:right;pointer-events:none;white-space:pre;background:#00000059;border-radius:6px;padding:4px 8px;font:12px/16px ui-monospace,SFMono-Regular,monospace;position:fixed;top:10px;right:12px}.result{pointer-events:none;flex-direction:column;align-items:center;gap:16px;width:1290px;display:none;top:142px;bottom:200px}.result:not([data-outcome=""]){display:flex}.result-panel{box-sizing:border-box;pointer-events:auto;flex-direction:column;gap:12px;width:100%;min-height:0;padding:14px 20px 16px;display:flex}.result-head{align-items:center;gap:24px;display:flex}.result .hint{text-align:right;flex:1}.result .heading{align-items:baseline;gap:16px;display:flex}.result .title{letter-spacing:.02em;font-size:32px;font-weight:800}.result[data-outcome=overrun] .title{color:var(--overrun)}.result[data-outcome=cleared] .title{color:var(--go-edge)}.result .level-name{color:var(--muted);font-size:19px;font-weight:700}.result .restart,.result .leave{justify-content:center;align-items:center;gap:10px;padding:8px 16px;font-size:16px;font-weight:600;display:flex}.result .leave{border-color:var(--panel-edge);pointer-events:auto;border-radius:14px;flex:none;gap:16px;min-width:420px;padding:18px 48px;font-size:28px;font-weight:700;box-shadow:0 6px 24px #00000073}.result .leave .key{padding:3px 8px;font-size:14px}.result .restart:hover,.result .leave:hover{background:var(--tile-hover)}.result[data-outcome=overrun] .restart,.result[data-outcome=cleared] .leave{color:#1c2a10;background:var(--go);border-color:var(--go-edge)}.result[data-outcome=overrun] .restart:hover,.result[data-outcome=cleared] .leave:hover{background:var(--go);filter:brightness(1.1)}.result[data-outcome=overrun] .restart .key,.result[data-outcome=cleared] .leave .key{color:#1c2a10;border-color:#1c2a1080}.result-body{grid-template-rows:minmax(0,1fr);grid-template-columns:1fr .8fr 1fr 1.4fr;gap:12px;min-height:0;display:grid}.result .column{scrollbar-width:thin;scrollbar-color:var(--tile-edge) transparent;background:#0000002e;border-radius:10px;flex-direction:column;gap:4px;min-height:0;padding:10px 14px;display:flex;overflow-y:auto}.result .line,.result .total,.result .source{align-items:baseline;gap:10px;font-size:15px;display:flex}.result .line .label,.result .total .label{color:var(--muted);flex:1}.result .value{color:var(--cream);font-weight:700}.result .total{border-bottom:1px solid var(--tile-edge);margin-bottom:2px;padding-bottom:4px}.result .total .label{color:var(--cream);font-weight:600}.result .total .value{color:var(--highlight);font-size:20px}.result .part{font-size:14px}.result .new{letter-spacing:.06em;text-transform:uppercase;color:var(--board);background:var(--highlight);border-radius:8px;padding:0 7px;font-size:11px;font-weight:700}.result .varnish-gain{color:var(--varnish-shine);align-items:center;gap:3px;font-size:14px;font-weight:700;display:flex}.result .varnish-gain .icon{width:14px;height:14px}.result .marks-earned{gap:8px;padding-top:12px}.result .sources{gap:0}.result .source{align-items:center}.result .source .name{flex:1;align-items:center;gap:8px;min-width:0;font-size:15px;display:flex}.result .source .icon{flex:none;width:24px;height:24px}.result .source>.value,.result .source>.label{text-align:right;width:72px}.result .source.head .label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:600}.hint{color:var(--muted);font-size:12px}.frames:not([data-frame]),body[data-phase=workshop] .hud,body[data-phase=workshop] .build-bar,body[data-phase=workshop] .result{display:none}.workshop{background:radial-gradient(ellipse at 30% 20%, #3a2b1f 0%, var(--board) 70%);-webkit-user-select:none;user-select:none;grid-template-columns:340px minmax(0,1fr);gap:24px;padding:32px 36px;display:none;position:fixed;inset:0}.workshop[data-shown=true]{display:grid}.workshop .side{flex-direction:column;gap:20px;min-width:0;min-height:0;display:flex}.workshop .title{white-space:nowrap;letter-spacing:.02em;color:var(--highlight);font-size:36px;font-weight:800;line-height:1}.purse{background:var(--panel);border:2px solid var(--panel-edge);border-radius:14px;flex-direction:column;gap:2px;padding:14px 20px;display:flex}.purse-line{align-items:center;gap:12px;display:flex}.purse-line .label{flex:1;align-items:center;gap:6px;display:flex}.purse .icon{flex:none;width:16px;height:16px}.purse .earned{font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}.workshop .label,.workshop .heading{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:13px;font-weight:600}.purse .value{color:var(--cream);font-size:32px;font-weight:700;line-height:44px}.purse .varnish .value{font-size:22px;line-height:28px}.workshop .heading{margin-top:12px}.level-lists{scrollbar-width:thin;scrollbar-color:var(--tile-edge) transparent;flex-direction:column;gap:12px;min-height:0;display:flex;overflow-y:auto}.levels{flex-direction:column;gap:4px;display:flex}.level-entry{font:inherit;color:inherit;text-align:left;cursor:pointer;background:var(--tile);border:2px solid var(--tile-edge);border-radius:12px;flex-direction:column;gap:2px;padding:4px 14px;display:flex}.level-entry:not(:disabled):hover{background:var(--tile-hover);border-color:var(--highlight)}.level-entry:disabled{cursor:default;background:#241a1399}.level-entry .head{align-items:center;gap:10px;display:flex}.level-entry .number{width:22px;height:22px;color:var(--board);background:var(--highlight);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.level-entry .name{flex:1;font-size:18px;font-weight:700;line-height:22px}.level-entry .best{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--cream);font-size:15px;font-weight:600;line-height:22px}.level-entry .closed{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid var(--tile-edge);border-radius:10px;padding:1px 8px;font-size:11px;font-weight:700;line-height:16px}.marks{gap:18px;padding-left:32px;line-height:16px;display:flex}.mark{color:var(--dim);align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.mark:before{content:"";border:2px solid var(--dim);width:10px;height:10px;transform:rotate(45deg)}.mark[data-earned=true]{color:var(--cream)}.mark[data-earned=true]:before{background:var(--highlight);border-color:var(--highlight)}.level-entry[data-open=true] .closed,.level-entry[data-open=false] .best{display:none}.level-entry[data-open=false] .marks{visibility:hidden}.level-entry[data-open=false] .head{position:relative;top:9px}.level-entry[data-open=false] .number{color:var(--muted);background:var(--tile-edge)}.level-entry[data-open=false] .name{color:var(--muted)}.workshop .tree{background:var(--panel);border:2px solid var(--panel-edge);border-radius:14px;flex-direction:column;gap:6px;min-height:0;padding:14px 16px;display:flex}.tree .heading{margin:0 0 2px 4px}.branch{grid-template-columns:180px repeat(var(--columns), minmax(0, 1fr));grid-template-rows:repeat(var(--lanes), auto);background:#0000002e;border-radius:12px;flex:1 0 auto;align-content:center;gap:6px 14px;padding:6px 10px;display:grid}.branch-head{flex-direction:column;grid-area:1/1/-1;justify-content:center;gap:4px;padding-right:6px;display:flex;position:relative}.branch-title{align-items:center;gap:8px;display:flex}.branch-title .icon{flex:none;width:28px;height:28px}.branch-title .name{white-space:nowrap;font-size:16px;font-weight:700}.branch-head .locked{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid var(--tile-edge);border-radius:10px;align-self:flex-start;margin-left:36px;padding:0 7px;font-size:11px;font-weight:700;line-height:15px}.test-tag{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid var(--tile-edge);border-radius:10px;flex:none;align-self:flex-start;padding:0 7px;font-size:11px;font-weight:700;line-height:15px}.saved-game .test-tag{align-self:center}.workshop .side .test-tag{margin:-12px 0 -8px}.workshop:not([data-test=true]) .test-tag,.workshop:not([data-test=true]) .unlearn,.branch[data-unlocked=true] .branch-head .locked,.branch[data-unlocked=false] .cell[data-open=false]{display:none}.branch[data-unlocked=false] .branch-title .icon{filter:grayscale();opacity:.6}.branch[data-unlocked=false] .branch-title .name,.branch[data-unlocked=false] .numbers{color:var(--dim)}.numbers{color:var(--muted);flex-direction:column;padding-left:36px;font-size:12px;line-height:15px;display:flex}.numbers .number{white-space:nowrap;justify-content:space-between;gap:8px;display:flex}.numbers .amount{font-variant-numeric:tabular-nums;color:var(--cream);font-weight:700}.branch[data-unlocked=false] .numbers .amount{color:var(--dim)}.cell{grid-template:1fr auto 1fr/minmax(0,1fr);min-width:0;display:grid;position:relative}.cell:before,.cell[data-fork=true]:after,.branch-head[data-fork=true]:after{content:"";border:0 solid var(--tile-edge);position:absolute}.cell:before{border-left-width:2px;width:7px;right:100%}.cell[data-joint=single]:before{width:calc(14px + var(--skipped) * (100% + 14px));border-width:2px 0 0;top:calc(50% - 1px)}.cell[data-joint=first]:before{border-top-width:2px;top:calc(50% - 1px);bottom:-3px}.cell[data-joint=middle]:before{background:linear-gradient(var(--tile-edge), var(--tile-edge)) left center / 100% 2px no-repeat;top:-3px;bottom:-3px}.cell[data-joint=last]:before{border-bottom-width:2px;top:-3px;bottom:calc(50% - 1px)}.cell[data-fork=true]:after,.branch-head[data-fork=true]:after{border-top-width:2px;width:7px;top:calc(50% - 1px);left:100%}.cell[data-open=true]:before,.branch-head:after{border-color:var(--highlight)}.cell:has(>.node:not([data-points="0"])):after{border-color:var(--highlight)}.cell[data-open=true][data-joint=middle]:before{background-image:linear-gradient(var(--highlight), var(--highlight))}.node{min-width:0;font:inherit;color:var(--cream);text-align:left;background:var(--tile);border:2px solid var(--tile-edge);border-radius:9px;flex-direction:column;grid-area:2/1;gap:1px;padding:4px 8px 5px;display:flex}.node .top,.node .bottom{white-space:nowrap;justify-content:space-between;align-items:center;gap:6px;line-height:17px;display:flex}.node .name{text-overflow:ellipsis;font-size:14px;font-weight:700;overflow:hidden}.node .asks{flex-shrink:0;align-items:center;gap:5px;display:flex}.node .count{color:var(--muted);font-size:12px;font-weight:600}.node .gain{text-overflow:ellipsis;color:var(--muted);font-size:12px;overflow:hidden}.pips{gap:3px;margin-top:2px;display:flex}.pip{background:var(--tile-edge);border-radius:2px;flex:1;height:4px}.pip[data-filled=true]{background:var(--highlight)}.node .price{font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.node[data-state=affordable]{cursor:pointer;background:var(--tile-hover);border-color:var(--highlight);box-shadow:0 0 12px #f2b21b40}.node[data-state=affordable]:hover{filter:brightness(1.15)}.node .price[data-enough=true],.varnish-price[data-enough=true]{color:var(--highlight)}.node .price[data-enough=false],.varnish-price[data-enough=false]{color:var(--overrun)}.varnish-price{font-variant-numeric:tabular-nums;align-items:center;gap:3px;font-size:14px;font-weight:700;display:flex}.varnish-price[hidden]{display:none}.varnish-price .icon{width:14px;height:14px}.node[data-state=locked] .varnish-price .icon{opacity:.45}.node[data-state=resting]{cursor:pointer;border-color:var(--go-rest)}.node[data-state=resting]:hover{border-color:var(--go-edge)}.node[data-state=resting] .pip{background:var(--go-rest)}.node[data-state=resting] .price{border:1px solid var(--go-edge);border-radius:8px;padding:0 8px;font-size:12px;line-height:15px}.pair{z-index:1;pointer-events:none;position:relative}.pair:before{content:"";border:2px solid var(--varnish);border-left:0;border-radius:0 5px 5px 0;width:6px;position:absolute;top:calc(25% - 1px);bottom:calc(25% - 1px);left:calc(100% + 1px)}.pair .or{letter-spacing:.06em;text-transform:uppercase;color:var(--varnish-shine);background:var(--board);border:1px solid var(--varnish);border-radius:8px;padding:0 7px;font-size:11px;font-weight:700;line-height:13px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.node[data-state=full]{border-color:var(--go)}.node[data-state=full] .price{color:var(--go-edge)}.node[data-state=full] .pip{background:var(--go-edge)}.unlearn{z-index:1;width:18px;height:18px;color:var(--cream);cursor:pointer;background:var(--tile);border:2px solid var(--cream);border-radius:50%;grid-area:2/1;justify-content:center;place-self:start;align-items:center;margin:-7px 0 0 -4px;padding:0;display:flex}.unlearn .icon{width:14px;height:14px}.unlearn:not(:disabled):hover{color:var(--overrun);border-color:var(--overrun)}.unlearn:disabled{color:var(--dim);cursor:default;background:var(--board);border-color:var(--tile-edge)}.node[data-state=locked]{color:var(--dim);background:0 0;border-style:dashed}.node[data-state=locked] .count,.node[data-state=locked] .gain{color:var(--dim)}.workshop .saved-games{font:inherit;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);cursor:pointer;background:var(--tile);border:2px solid var(--tile-edge);border-radius:8px;padding:4px 12px;font-size:13px;font-weight:600;position:absolute;top:42px;right:54px}.workshop .tip{z-index:2;max-width:280px;color:var(--cream);pointer-events:none;background:var(--tile);border:2px solid var(--muted);box-shadow:0 6px 24px var(--shade);border-radius:9px;padding:8px 12px 10px;position:fixed}.tip .tip-name{font-size:14px;font-weight:700;line-height:18px}.tip .tip-text{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:18px}.tip .tip-need{color:var(--overrun);margin:6px 0 0;font-size:13px;font-weight:600;line-height:18px}.workshop .saved-games:hover{color:var(--cream);background:var(--tile-hover);border-color:var(--highlight)}.title-screen{box-sizing:border-box;-webkit-user-select:none;user-select:none;flex-direction:column;gap:14px;width:min(820px,100%);margin:0 auto;padding:48px 36px;display:flex;position:fixed;inset:0}body:has(.title-screen){background:#000}.intro{position:fixed;inset:0}.title-screen>*{transition:opacity var(--intro-menu-fade) ease-out}body[data-intro=swarm] .title-screen{pointer-events:none}body[data-intro=swarm] .title-screen>:not(.title){opacity:0}.title-screen .title .word{transition:opacity var(--intro-words-fade) ease-out}body[data-intro-words="0"] .title-screen .word,body[data-intro-words="1"] .title-screen .word:nth-child(n+2),body[data-intro-words="2"] .title-screen .word:nth-child(n+3){opacity:0}.title-screen .title{letter-spacing:.02em;color:var(--highlight);margin-bottom:18px;font-size:64px;font-weight:800;line-height:1}.title-screen .heading,.title-screen .label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:13px;font-weight:600}.title-screen .games{background:var(--panel);border:2px solid var(--panel-edge);border-radius:14px;flex-direction:column;flex:0 auto;gap:12px;min-height:0;padding:14px 16px;display:flex;overflow-y:auto}.title-screen .none{color:var(--muted);padding:8px 4px;font-size:16px}.saved-game{background:var(--tile);border:2px solid var(--tile-edge);border-radius:12px;flex:none;align-items:center;gap:24px;padding:14px 18px;display:flex}.saved-game[data-asking=true]{border-color:var(--overrun)}.saved-game .about{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.saved-game .naming{align-items:center;gap:10px;min-width:0;display:flex}.saved-game .name{text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:700;overflow:hidden}.saved-game .cleared,.saved-game .hint{color:var(--muted);font-size:14px}.saved-game .cash{flex-direction:column;align-items:flex-end;display:flex}.saved-game .cash .value{font-variant-numeric:tabular-nums;font-size:22px;font-weight:700}.saved-game .unreadable,.saved-game .question{color:var(--overrun);font-size:18px;font-weight:700}.saved-game .question{overflow-wrap:anywhere}.saved-game .reason{overflow-wrap:anywhere;background:var(--board);border:1px solid var(--tile-edge);border-radius:8px;align-self:flex-start;padding:6px 10px;font:13px/20px ui-monospace,SFMono-Regular,monospace}.saved-game .actions,.title-screen .new-game{align-items:center;gap:10px;display:flex}.title-screen button{font:inherit;color:inherit;cursor:pointer;background:var(--board);border:2px solid var(--tile-edge);border-radius:10px;padding:8px 18px;font-size:16px;font-weight:600}.title-screen button:hover{background:var(--tile-hover)}.title-screen .continue,.title-screen .start-game{color:#1c2a10;background:var(--go);border-color:var(--go-edge)}.title-screen .confirm{color:var(--cream);background:var(--safety-red);border-color:var(--overrun)}.title-screen .continue:hover,.title-screen .start-game:hover,.title-screen .confirm:hover{filter:brightness(1.1)}.title-screen .continue:hover,.title-screen .start-game:hover{background:var(--go)}.title-screen .confirm:hover{background:var(--safety-red)}.title-screen .game-name{width:300px;font:inherit;color:var(--cream);background:var(--tile);border:2px solid var(--tile-edge);border-radius:10px;outline:none;padding:9px 12px;font-size:18px}.title-screen .game-name:focus{border-color:var(--highlight)}.title-screen .problem{color:var(--overrun);font-size:15px;font-weight:600}
