@charset "UTF-8";
:root{color-scheme:dark;--bg:#161a17;--panel:#1c211c;--line:#42483a;--line-soft:#30372d;--cream:#e2ddc6;--muted:#9ca18e;--green:#bbcf9c;--green-dim:#758866;--amber:#d3b574;--ink:#151b15;--mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;--body:var(--mono),"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--cream);font:12px/1.7 var(--body);letter-spacing:.025em}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--line);border-radius:0;background:#252c22;min-height:44px;transition:none}button:hover:not(:disabled){background:#303b2a;border-color:var(--green-dim)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;color:#818775}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:4px}button[hidden],[hidden]{display:none!important}a{color:inherit}h1,h2,p{margin:0}h1,h2{font-size:12px;font-weight:600}b,strong{font-weight:600}button svg{pointer-events:none}.app-shell{max-width:1600px;padding:0 36px;margin:auto}.masthead{height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:17px;align-items:center;text-decoration:none}.brand-chip{width:38px;height:38px;display:grid;place-items:center;color:var(--green);border:2px solid var(--green-dim);outline:1px solid #48553e;outline-offset:4px;font-size:31px;line-height:1}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.13em;margin-top:7px}.pixel-text{display:block;flex-shrink:0;max-width:100%;height:auto}#wordmark{font-size:23px;font-weight:700;letter-spacing:.13em;color:var(--cream)}#wordmark svg{width:239px;height:14px}.header-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.status-led,.pixel-dot{width:5px;height:5px;background:var(--green);display:inline-block;flex-shrink:0}.version{border-left:1px solid var(--line);padding-left:17px;margin-left:9px;letter-spacing:.08em}.icon-button{width:36px;min-width:36px;min-height:36px;height:36px;display:grid;place-items:center;font-size:17px;background:transparent}.resource-strip{display:grid;grid-template-columns:1.25fr 1fr .9fr;padding:29px 0 31px;gap:32px}.eyebrow,.section-kicker{font-size:10px;font-weight:600;letter-spacing:.12em;color:var(--muted)}.tiny-label{font-size:9px;margin-left:10px;color:#989e8a;letter-spacing:0;font-weight:400}.dp-line{display:flex;align-items:baseline;gap:12px;margin-top:14px}.dp-line strong{line-height:1;font-size:37px;min-height:31px;color:var(--green);display:block}#dp-display svg{max-width:310px;height:28px;width:auto}.unit{font-size:14px;color:var(--green-dim)}.secondary-resource{padding:0 0 0 32px;border-left:1px solid var(--line-soft);display:flex;flex-direction:column;justify-content:center}.secondary-resource>strong{font-size:24px;line-height:1.3;margin-top:5px;font-variant-numeric:tabular-nums}.secondary-resource small{font-size:10px;color:var(--muted);font-weight:400}.resource-note{color:var(--muted);font-size:9px;margin-top:4px}.resource-note b{color:var(--green);margin-left:8px}.workbench{display:grid;grid-template-columns:minmax(310px,1fr) minmax(290px,.95fr) minmax(340px,1.15fr);align-items:stretch;gap:18px}.panel{border:1px solid var(--line);background:var(--panel);min-width:0;position:relative}.panel:before,.panel:after{position:absolute;content:"";width:3px;height:3px;background:var(--muted);top:-2px}.panel:before{left:-2px}.panel:after{right:-2px}.panel-heading{height:52px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:10px}.panel-heading h1,.panel-heading h2{font-size:10px;letter-spacing:.06em;white-space:nowrap}.panel-number{font-size:9px;color:#818c75;margin-right:10px}.tag{font-size:9px;color:var(--muted);border:1px solid var(--line);padding:1px 7px}.station-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);padding:21px 23px 0}.station-meta .status-led{margin-right:5px}.station-scene{position:relative;height:339px;display:flex;align-items:center;justify-content:center;margin:4px 12px 0;overflow:hidden}.scene-grid{position:absolute;inset:22px 10px 35px;background-image:linear-gradient(#39423130 1px,transparent 1px),linear-gradient(90deg,#39423130 1px,transparent 1px);background-size:24px 24px;border:1px solid #39423140}.scene-grid:after{position:absolute;content:"+";right:-4px;bottom:-10px;color:#64745c}.scene-coordinates{position:absolute;left:16px;top:30px;font-size:8px;color:#818d73;line-height:1.5}.terminal-art{display:flex;align-items:center;justify-content:center;width:288px;height:288px;position:relative;z-index:1;padding:0;border:0;min-height:0;background:transparent!important;transform:none!important;isolation:isolate}.terminal-art canvas{width:288px;height:288px;image-rendering:pixelated;pointer-events:none}.terminal-art:hover canvas{filter:brightness(1.04)}.terminal-art:focus-visible{outline-offset:-5px}.terminal-art.pressed canvas{transform:translateY(1px)}#sprite-fallback{font-size:180px;color:var(--green)}.scene-label{position:absolute;bottom:11px;left:17px;right:17px;display:flex;justify-content:space-between;color:#8b957e;font-size:7px;letter-spacing:.08em}.terminal-caption{text-align:center;margin:7px 15px 25px}.terminal-caption strong{display:block;font-size:17px;font-weight:500;letter-spacing:.09em}.terminal-caption>span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.execute-button{display:flex;align-items:center;text-align:left;gap:12px;padding:14px 16px;background:#b9c89f;border:1px solid #d1d9ba;box-shadow:3px 3px 0 #0b100b;color:#1e281a;min-height:67px;margin:0 23px;width:calc(100% - 46px)}.execute-button:hover:not(:disabled){background:#c7d4b0;border-color:#dbe3c7}.execute-symbol{font-size:24px}.execute-button>span:nth-child(2){font-size:13px;font-weight:700}.execute-button small{display:block;font-size:8px;font-weight:400;letter-spacing:.12em;margin-top:3px}.execute-button>b{margin-left:auto;font-size:11px;white-space:nowrap}.key-hint{text-align:center;font-size:8px;color:var(--muted);margin:14px 8px 26px}.keycap{border:1px solid #5d6852;padding:0 4px;margin-right:4px}.machine-footer{border-top:1px solid var(--line-soft);padding:16px 23px;font-size:8px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;margin-top:auto}.machine-footer b{font-weight:400;margin-left:8px;color:var(--cream)}#working-leds{display:flex;gap:4px}#working-leds i{width:5px;height:7px;background:#414d36}#working-leds i:first-child{background:var(--green)}.terminal-panel{display:flex;flex-direction:column}.plain-button{border:0;background:transparent;min-height:36px;font-size:9px;color:var(--muted);padding:0}.plain-button:hover:not(:disabled){background:transparent;color:var(--cream);text-decoration:underline}.operations-body{padding:22px 20px}.section-kicker{display:flex;justify-content:space-between;align-items:center}.section-kicker>span:not(.reboot-symbol){font-size:8px;font-weight:400;letter-spacing:0;color:var(--muted)}.log-console{margin-top:12px;background:#121811;border:1px solid #333e2f;padding:12px 13px;height:167px;color:#a5b88d}.console-top{display:flex;justify-content:space-between;color:#a2ac96;border-bottom:1px solid #2d3728;padding-bottom:8px;margin-bottom:9px;font-size:8px}.console-top>span:last-child{font-size:6px;letter-spacing:3px;color:#586a4c}.log-console ol{padding:0;list-style:none;margin:0;font-size:9px;line-height:1.9}.log-console li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.log-console time{color:#79876d;margin-right:7px;font-size:8px}.log-console li:last-child{color:#b8cc9c}.console-prompt{font-size:11px;margin-top:3px}.cursor{animation:cursor 1s steps(1,end) infinite}@keyframes cursor{0%,49%{visibility:visible}50%,100%{visibility:hidden}}.event-heading{display:flex;justify-content:space-between;align-items:center;margin-top:23px;margin-bottom:10px}.event-heading>span:last-child{font-size:8px;color:var(--muted)}.event-slot{min-height:112px}.empty-inbox{border:1px dashed #4e5743;display:flex;align-items:center;gap:14px;padding:20px 15px;min-height:99px}.empty-symbol{font-size:22px;color:#819070}.empty-inbox strong{display:block;color:#b3baa5;font-size:10px;font-weight:400}.empty-inbox p{font-size:8px;color:var(--muted);margin-top:3px}.event-card{border:1px solid #958153;padding:12px 13px;background:#292b1e;animation:notice .16s steps(3,end)}@keyframes notice{from{transform:translateY(4px);opacity:.5}to{transform:translateY(0);opacity:1}}.event-card.rare{border:2px solid var(--amber);background:#302e20}.event-card .event-label{color:var(--amber);font-size:8px;letter-spacing:.1em;display:flex;justify-content:space-between}.event-card h3{font-size:13px;margin:6px 0 3px}.event-card p{font-size:9px;color:var(--muted)}.event-card button{background:#c1ac78;color:#26291b;border-color:#d8c48e;font-size:10px;width:100%;margin-top:10px}.buff-card{padding:17px;border:1px solid var(--green-dim);background:#253021;color:var(--green);font-size:10px}.buff-card small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.reboot-card{border-top:1px solid var(--line);margin-top:15px;padding-top:20px}.reboot-symbol{font-size:19px;color:var(--muted);line-height:1}.reboot-card h2{font-family:var(--body);font-size:21px;line-height:1.65;font-weight:500;margin-top:9px;letter-spacing:.08em}.reboot-card p{font-size:9px;color:var(--muted);line-height:1.9;margin-top:9px}.progress-caption,.progress-values{display:flex;justify-content:space-between;font-size:8px;color:var(--muted)}.progress-caption{margin-top:17px}.progress-caption b{color:var(--green);font-weight:400}.pixel-progress{height:8px;background:#11170f;border:1px solid #4c5940;padding:1px;margin-top:7px}.pixel-progress i{height:4px;display:block;width:0;background:repeating-linear-gradient(90deg,var(--green-dim) 0,var(--green-dim) 6px,transparent 6px,transparent 8px)}.progress-values{font-size:7px;margin-top:5px}.reboot-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 12px;background:transparent;font-size:10px;margin-top:15px;min-height:42px}.reboot-button.ready{border-color:var(--green);color:var(--green)}.quiet-note{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line-soft);padding-top:17px;margin-top:21px;color:var(--muted)}.quiet-note>span{font-size:20px;color:#879975}.quiet-note p{font-size:8px;line-height:1.8}.shop-panel{display:flex;flex-direction:column}.shop-tabs{display:flex;border-bottom:1px solid var(--line)}.shop-tabs button{width:50%;border:0;background:transparent;min-height:46px;color:var(--muted);font-size:11px;border-bottom:2px solid transparent}.shop-tabs button[aria-selected=true]{color:var(--green);background:#242d20;border-bottom-color:var(--green)}.shop-tabs span{font-size:8px;margin-left:8px;opacity:.7}.purchase-controls{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;font-size:9px;color:var(--muted);border-bottom:1px solid var(--line-soft)}.segmented{display:flex}.segmented button{font-size:9px;min-height:29px;height:29px;min-width:38px;border-right:0;background:transparent}.segmented button:last-child{border-right:1px solid var(--line)}.segmented button[aria-pressed=true]{background:#3a4630;color:var(--green);border-color:#6b7a59}.equipment-row{position:relative;padding:16px 17px 12px;border-bottom:1px solid var(--line-soft)}.equipment-main{display:flex;align-items:center;gap:12px}.equipment-icon{width:36px;height:36px;flex-shrink:0;background:#11170f;padding:5px;box-sizing:content-box;border:1px solid #3d4734;image-rendering:pixelated}.equipment-title{flex:1;min-width:0}.equipment-title strong{font-size:12px;font-weight:500;display:block}.equipment-title small{font-size:7px;color:var(--muted);display:block;letter-spacing:.08em;margin-top:2px}.equipment-owned{text-align:right;color:var(--cream);font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums}.equipment-owned small{font-size:7px;color:var(--muted);display:block;letter-spacing:.03em}.equipment-hint{font-size:8px;color:var(--muted);margin:9px 0 9px}.equipment-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.equipment-output{font-size:8px;color:#b2bca1;line-height:1.7}.equipment-output small{font-size:7px;color:var(--muted);display:block}.buy-button{min-height:35px;font-size:10px;min-width:123px;padding:4px 9px;display:flex;align-items:center;justify-content:space-between;gap:13px;border-color:#5b6a4a;background:#2c3724;color:var(--green)}.buy-button:disabled{background:#23291f;border-color:#424a39;color:#949c86}.buy-button:disabled:hover{background:#23291f}.buy-button .buy-arrow{font-size:12px}.equipment-row.just-bought .equipment-icon{border-color:var(--green);background:#3c4d2f}.equipment-row.just-bought:after{position:absolute;content:"";width:4px;height:4px;left:8px;top:12px;background:var(--green)}.shop-footnote{color:var(--muted);font-size:8px;text-align:center;margin:16px 10px 20px}.shop-bottom{padding:14px 18px;font-size:8px;border-top:1px solid var(--line);display:flex;align-items:center;gap:7px;color:var(--muted);margin-top:auto}.shop-bottom>span:last-child{margin-left:auto;font-size:7px;letter-spacing:.1em}.upgrade-intro{padding:17px 18px;border-bottom:1px solid var(--line-soft);color:var(--muted);font-size:9px}.upgrade-row{padding:13px 18px;border-bottom:1px solid var(--line-soft);display:grid;grid-template-columns:1fr auto;gap:3px 10px}.upgrade-row strong{font-size:11px;font-weight:500}.upgrade-row p{font-size:8px;color:var(--muted);grid-column:1}.upgrade-row button{grid-column:2;grid-row:1 / 4;font-size:9px;padding:0 10px;min-width:87px;align-self:center}.upgrade-row small{font-size:7px;color:var(--muted)}.upgrade-row.completed{opacity:.6}.page-footer{height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:8px;letter-spacing:.07em}.page-footer>span:first-child{display:flex;align-items:center;gap:8px}.page-footer>span:nth-child(2){font-size:7px;color:#8c9480;letter-spacing:.15em}.warning{background:#3b3321;color:#e6c990;border:1px solid #9c8150;padding:12px 16px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px}.warning button{white-space:nowrap;padding:0 12px;min-height:36px}.mobile-nav{display:none}.float-number{position:absolute;z-index:4;pointer-events:none;color:#d4e5b8;bottom:100px;left:50%;filter:drop-shadow(2px 2px 0 #131b10);animation:float-number .45s steps(6,end) forwards}.float-number svg{height:14px;width:auto}@keyframes float-number{0%{transform:translate(-50%,0);opacity:1}75%{opacity:1}100%{transform:translate(-50%,-12px);opacity:0}}dialog{width:min(520px,calc(100vw - 32px));padding:0;border:1px solid #7a856a;background:#20271e;color:var(--cream);box-shadow:7px 7px 0 #090d08;max-height:calc(100dvh - 50px);font-size:12px}dialog::backdrop{background:#090d09bd}.modal-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 18px}.modal-heading .eyebrow{font-size:9px}#modal-content{padding:25px}#modal-content h2{font-size:21px;font-weight:500;margin-bottom:15px}#modal-content h3{font-size:12px;color:var(--green);margin:22px 0 9px}#modal-content p{color:#b4bca7;font-size:11px;line-height:1.9}#modal-content .eyebrow{display:block;color:var(--amber);margin-bottom:8px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.modal-actions button,.full-button{padding:10px 18px;font-size:11px}.accent-button{background:var(--green);border-color:#d3dfbf;color:var(--ink)}.accent-button:hover:not(:disabled){background:#ccdbb5}.danger-button{border-color:#9c7b5a;color:#dfbd97;background:#382b20}dl.stats-grid{display:grid;grid-template-columns:1fr auto;gap:13px;font-size:11px}dl.stats-grid dt{color:var(--muted)}dl.stats-grid dd{margin:0;text-align:right;color:var(--green)}.modal-divider{border:0;border-top:1px solid var(--line);margin:22px 0}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:17px 0}.setting-row label{font-size:12px}.setting-row small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.setting-row input[type=checkbox]{accent-color:var(--green);width:20px;height:20px;cursor:pointer}.setting-row select{font:inherit;background:#11190f;border:1px solid var(--line);color:var(--cream);padding:8px}.setting-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.setting-buttons button{font-size:10px;padding:8px}.backup-note{font-size:9px!important;color:var(--muted)!important}.loss-list{font-size:11px;color:var(--muted);padding-left:18px;line-height:2}.guide-steps{counter-reset:guide;list-style:none;margin:20px 0 0;padding:0}.guide-steps li{position:relative;padding:0 0 20px 38px;counter-increment:guide;color:var(--muted);font-size:11px}.guide-steps li:before{content:counter(guide,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--green);border:1px solid var(--line);padding:2px 5px;font-size:10px}.guide-steps strong{display:block;color:var(--cream);font-size:12px;margin-bottom:3px}.reward-value{font-size:29px;color:var(--green);padding:17px 0}.badge{border:1px solid #99824f;background:#332f1c;padding:14px;font-size:11px;color:var(--amber);margin:18px 0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#bbcba4;color:#172112;border:2px solid #d4ddc4;box-shadow:3px 3px 0 #10170c;padding:13px 21px;z-index:20;font-size:11px;max-width:calc(100vw - 30px);width:max-content}.reboot-overlay{position:fixed;inset:0;background:#0b110b;z-index:30;display:grid;place-items:center}.boot-console{width:min(400px,90vw);color:var(--green);padding:22px;border:1px solid #4e6241}.boot-console p{font-size:13px;margin:24px 0}.boot-console button{display:block;margin-top:30px;background:transparent;color:var(--muted);font-size:10px;padding:6px 14px}.history-list{padding-left:18px;font-size:10px;color:var(--muted)}.reduced *{animation:none!important;scroll-behavior:auto!important}.reduced .cursor{visibility:visible!important}.reduced .float-number{display:none}.reduced button:active,.reduced .pressed canvas{transform:none!important}
@media(min-width:1151px){.masthead{height:88px}.resource-strip{padding:20px 0 24px}.station-meta{padding-top:14px}.station-scene{height:280px}.terminal-caption{margin:3px 12px 18px}.terminal-caption strong{font-size:16px}.terminal-panel{position:sticky;top:18px;align-self:start}.execute-button{min-height:62px}.key-hint{margin:12px 8px 20px}}
@media(min-width:1450px){.station-scene{height:380px}.terminal-art,.terminal-art canvas{width:384px;height:384px}.terminal-caption{margin-top:12px}.operations-body{padding:24px}.equipment-row{padding:18px 20px 14px}}
@media(max-width:1150px){.app-shell{padding:0 20px}.workbench{grid-template-columns:minmax(280px,1fr) minmax(315px,1.1fr);gap:16px}.terminal-panel{grid-column:1;grid-row:1}.operations-panel{grid-column:1;grid-row:2}.shop-panel{grid-column:2;grid-row:1 / 3}.operations-body{display:grid;grid-template-columns:1fr;gap:0}.station-scene{height:310px}.version{display:none}.resource-strip{gap:15px}.secondary-resource{padding-left:20px}.page-footer>span:nth-child(2){display:none}.shop-bottom{margin-top:auto}.equipment-row{padding-top:24px;padding-bottom:24px}}
@media(max-width:700px){.app-shell{padding:0 14px}.masthead{height:85px;gap:10px}.brand{gap:13px}.brand-chip{width:29px;height:29px;font-size:24px;outline-offset:3px}#wordmark svg{width:174px;height:auto}.brand small{font-size:8px;margin-top:6px}.header-meta{gap:6px}.header-meta>.status-led,#system-status{display:none}.icon-button{width:32px;min-width:32px;min-height:36px}.resource-strip{grid-template-columns:1fr 1fr;gap:16px;padding:23px 0}.primary-resource{grid-column:1 / 3}.dp-line{margin-top:12px}#dp-display svg{height:28px;max-width:290px}.secondary-resource{padding:0;border:0}.secondary-resource.permanent-resource{border-left:1px solid var(--line);padding-left:20px}.secondary-resource>strong{font-size:22px}.resource-note{font-size:8px}.workbench{display:flex;flex-direction:column;gap:16px}.terminal-panel{order:0}.shop-panel{order:1;scroll-margin-top:15px}.operations-panel{order:2;scroll-margin-top:15px}.station-scene{height:320px}.terminal-caption{margin:7px 15px 20px}.execute-button{min-height:65px}.machine-footer{padding-top:13px;padding-bottom:13px}.key-hint{margin-bottom:18px}.equipment-row{padding:16px 18px 14px}.equipment-main{gap:12px}.equipment-title strong{font-size:13px}.shop-footnote{margin:20px}.operations-body{padding:23px}.event-slot{min-height:105px}.reboot-card h2 br{display:none}.page-footer{height:90px;margin-bottom:65px;font-size:8px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:10;bottom:0;left:0;right:0;border-top:1px solid #758564;background:#1c2519;padding:5px 10px max(5px,env(safe-area-inset-bottom))}.mobile-nav button{background:transparent;border:0;font-size:11px;min-height:45px}.toast{bottom:75px}.panel-heading{height:49px}.warning{font-size:10px;align-items:flex-start;flex-direction:column}.modal-actions{justify-content:stretch}.modal-actions button{flex:1}#modal-content{padding:22px}.tiny-label{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.float-number{display:none}.cursor{visibility:visible!important}button:active,.pressed canvas{transform:none!important}}

/* Focused play screen: actions first, details on demand. */
:root{--workstation:#91d3d5;--operations:#c1a6ee;--equipment:#ecc77e;--upgrade:#cab0f1}
.panel-heading{height:61px;padding:0 17px}.panel-heading h1,.panel-heading h2{font-size:16px;letter-spacing:.035em;font-weight:700}.terminal-panel .panel-heading h1{color:var(--workstation)}.operations-panel .panel-heading h2{color:var(--operations)}.shop-panel .panel-heading h2{color:var(--equipment)}.panel-number{font-size:10px;margin-right:8px}.tag{font-size:10px}.header-meta .icon-button{width:40px;height:40px}.eyebrow{font-size:12px}.resource-strip{grid-template-columns:1.25fr 1fr .9fr}.secondary-resource>.eyebrow{font-size:12px}.points-button{border:0;border-left:1px solid var(--line-soft);background:transparent;text-align:left;min-width:0;align-items:flex-start;padding-top:0;padding-bottom:0}.points-button:hover:not(:disabled){background:#25252f;border-left-color:var(--operations)}.points-button .eyebrow{color:var(--operations)}.points-button>strong{color:#d5baff}.points-button .resource-note{font-size:10px;color:#bfa9de}.resource-note{font-size:10px}.secondary-resource small{font-size:12px}.tiny-label{font-size:10px}.station-meta{font-size:10px}.terminal-panel{align-self:start}.terminal-art:hover:not(:disabled){outline:1px dashed #799599;outline-offset:-6px}.terminal-click-hint{text-align:center;margin:8px 14px 0;display:flex;flex-direction:column;gap:4px}.terminal-click-hint b{font-size:19px;color:var(--workstation);font-weight:600}.terminal-click-hint>span{font-size:10px;color:#b7beb0}.terminal-quote{text-align:center;min-height:24px;margin:20px 12px 25px;color:#b4baa6;font-size:12px;line-height:1.7}.machine-footer{font-size:10px}.station-scene{margin-top:9px}.operations-body{padding:20px 17px}.operation-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.operation-shortcuts>button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 6px;text-align:left;min-height:75px;background:#292735;border:1px solid #6b5c80;color:#d2bdf4}.operation-shortcuts>button>span:first-child{font-size:24px;line-height:1}.operation-shortcuts>button>span:last-child{font-size:13px;font-weight:600;line-height:1.5}.operation-shortcuts small{display:block;font-size:9px;font-weight:400;color:#baaaca;margin-top:5px}.operation-shortcuts>button:hover:not(:disabled){background:#3a314b;border-color:#b89cda}.operation-shortcuts .ready,.operation-shortcuts .has-points{border-color:var(--reboot);background:var(--reboot);color:var(--reboot-ink)}.section-kicker{font-size:12px}.event-heading{margin:22px 0 10px}.event-heading>span:last-child{font-size:10px}.event-slot{min-height:67px}.empty-inbox{padding:13px;min-height:62px;gap:10px;border-color:#48513d}.empty-symbol{font-size:18px}.empty-inbox strong{font-size:11px}.event-card{position:relative;background:#3d2b24;border:2px solid #f1ad76;box-shadow:3px 3px 0 #130f09;padding:15px 13px;color:#ffdbab}.event-card:before{content:"";position:absolute;left:-3px;top:-3px;width:7px;height:7px;background:#ffd895;box-shadow:5px 0 #ffd895,0 5px #ffd895}.event-card .event-label{color:#ffd1a0;font-size:10px;letter-spacing:.04em}.event-card h3{font-size:17px;color:#ffe2b5;margin:12px 0}.event-card p{font-size:11px;color:#ead0e5}.event-card button{min-height:45px;background:#efb17c;border:1px solid #ffdcab;color:#352014;font-size:12px;font-weight:600;padding:8px}.event-card button:hover:not(:disabled){background:#f5c595;border-color:#ffead1}.event-card.rare{background:#332349;border-color:#d5a2ff;box-shadow:3px 3px 0 #170c22}.event-card.rare:before{background:#f1c6ff;box-shadow:5px 0 #f1c6ff,0 5px #f1c6ff}.event-card.rare .event-label{color:#f0bcff}.event-card.rare h3{color:#f4dbff}.event-card.rare button{background:#d2adf0;border-color:#f2d1ff;color:#2c173b}.event-card.rare button:hover:not(:disabled){background:#e0c1f5}.buff-card{background:#22393b;border:2px solid #7ad0d4;color:#c1f4ee;font-size:12px}.buff-card small{font-size:10px;color:#a9d2cb}.rack-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:21px;margin-top:24px}.rack-heading .section-kicker{font-size:13px;color:#c9c5b7}.rack-heading>b{font-size:14px;font-weight:500;color:var(--green)}.facility-rack{margin:12px 0}.empty-rack{display:grid;place-content:center;text-align:center;min-height:161px;border:1px dashed #46513d;color:#9ca68d;background:repeating-linear-gradient(0deg,transparent 0,transparent 31px,#303a2b 31px,#303a2b 32px)}.empty-rack>span{font-size:38px;line-height:1.5}.empty-rack p{font-size:11px;margin-top:5px}.rack-row{display:block;width:100%;background:#171f16;border:1px solid #414c36;padding:10px 11px;text-align:left;margin-top:9px;min-height:75px}.rack-row-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;color:#c1c8b5}.rack-row-heading>b{font-size:21px;color:var(--green);line-height:1;font-variant-numeric:tabular-nums}.rack-row-heading small{font-size:10px}.rack-sprites{display:flex;flex-wrap:wrap;gap:4px;margin-top:11px;align-items:center}.rack-sprites .equipment-icon{width:18px;height:18px;padding:0;background:none;border:0;box-sizing:border-box;flex-shrink:0}.rack-more{font-size:10px;color:var(--green);padding:0 4px}.rack-row.just-installed{border-color:#bde09c;background:#2d4126;box-shadow:inset 3px 0 #bde09c}.purchase-announcement{font-size:11px;line-height:1.8;padding:12px;background:#2b4026;border:1px solid #9ec884;color:#ddf3c7;margin:13px 0}.log-shortcut{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 3px;border:0;border-top:1px solid var(--line);margin-top:20px;background:transparent;color:#b0bba2;font-size:11px;min-height:48px}.log-shortcut:hover:not(:disabled){background:transparent;border-color:#9da993;color:var(--green)}.shop-tabs button{font-size:18px;font-weight:600;min-height:58px}.shop-tabs span{font-size:11px;font-weight:400}.shop-tabs button:first-child{color:var(--equipment)}.shop-tabs button:last-child{color:var(--upgrade)}.shop-tabs button:first-child[aria-selected=true]{background:#353122;border-bottom-color:var(--equipment)}.shop-tabs button:last-child[aria-selected=true]{background:#30283c;border-bottom-color:var(--upgrade)}.purchase-controls{font-size:12px;padding:12px 17px}.segmented button{font-size:12px;min-width:44px;min-height:38px;height:38px}.equipment-row{padding:15px 16px 12px;transition:none}.equipment-main{gap:10px}.equipment-info{padding:0;border:0;min-height:46px;width:46px;flex-shrink:0;background:none;position:relative}.equipment-info:after{content:"i";position:absolute;right:-2px;bottom:-1px;width:11px;height:11px;font-size:8px;line-height:11px;background:#b8b29b;color:#1a2017;border:1px solid #e1dcc7}.equipment-info .equipment-icon{display:block;width:36px;height:36px;padding:4px;box-sizing:content-box}.equipment-title strong{font-size:14px;line-height:1.6;color:#e9e0c8}.equipment-owned{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:4px;min-width:57px;font-size:28px;color:#d8edb9}.equipment-owned small{font-size:10px;color:#a9bb97}.equipment-owned small:first-child{flex-basis:100%;text-align:right;margin-bottom:2px;letter-spacing:0}.equipment-bottom{margin-top:12px}.equipment-output{font-size:10px;flex:1}.buy-button{font-size:12px;min-height:43px;min-width:125px;padding:7px 10px;color:#e6d7ae;background:#323020;border-color:#7a714e}.buy-button:hover:not(:disabled){background:#45402a;border-color:var(--equipment)}.buy-button:disabled{color:#9ba18f}.equipment-row.just-bought{background:#293d24;box-shadow:inset 4px 0 #b9d897}.equipment-row.just-bought .equipment-owned{color:#efffdc}.purchase-feedback{font-size:10px!important;min-height:16px;display:block;color:#d3f0af!important;white-space:nowrap}.equipment-row.just-bought .purchase-feedback{font-weight:600}.shop-bottom{font-size:10px}.shop-bottom>span:last-child{font-size:8px}.upgrade-intro{font-size:11px}.upgrade-row{padding:15px 17px}.upgrade-row strong{font-size:13px;color:#d9c8f2}.upgrade-row p{font-size:10px}.upgrade-row small{font-size:9px}.upgrade-row button{font-size:11px;min-height:44px;color:#d5baf4;border-color:#69547c;background:#30263b}.page-footer{font-size:10px}.page-footer .plain-button{font-size:11px}.expanded-log{height:auto;min-height:180px;max-height:400px;overflow:auto}.expanded-log ol{font-size:11px;line-height:2.1}.expanded-log li{white-space:normal}.expanded-log time{font-size:10px}.skill-modal{width:min(800px,calc(100vw - 28px));border-color:#b398d5}.skill-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.skill-top h2{margin-bottom:0!important}.skill-wallet{text-align:right;border-left:1px solid #6b547b;padding-left:20px}.skill-wallet>span{display:block;font-size:10px;color:#cfb8e7}.skill-wallet strong{display:block;color:#dec5ff;font-size:33px;line-height:1.4}.skill-wallet small{font-size:13px}.skill-tree{margin:25px 0 22px}.tree-root,.tree-finale{width:220px;max-width:100%;margin:auto;position:relative}.tree-root:after{content:"";display:block;width:2px;height:23px;background:#89709c;margin:auto}.tree-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:2px solid #89709c;position:relative}.skill-branch{position:relative;min-width:0}.skill-branch:before{content:"";display:block;width:2px;height:18px;background:#89709c;margin:auto}.skill-branch h3{text-align:center;color:var(--branch-color)!important;margin:4px 0 12px!important;font-size:13px!important}.hand{--branch-color:#8fd5e4}.auto{--branch-color:#c2dfa2}.event{--branch-color:#f0bd83}.root{--branch-color:#d4b5ff}.skill-node{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:14px 10px;border:1px solid #665375;width:100%;background:#2b2334;min-height:147px;text-align:center;color:#ded1ed}.skill-node+.skill-node{margin-top:26px}.skill-node+.skill-node:before{position:absolute;content:"";width:2px;height:26px;background:#89709c;top:-27px;left:calc(50% - 1px)}.skill-node strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere;color:var(--branch-color)}.skill-node .skill-state{font-size:9px;color:#baabc7}.skill-node .skill-effect{font-size:11px;color:#c8c2ce;line-height:1.7;overflow-wrap:anywhere}.skill-node .skill-cost{font-size:12px;color:#c7b0db}.skill-node.available{border:2px solid var(--branch-color);padding:13px 9px;background:#362c43;box-shadow:3px 3px 0 #131018}.skill-node.available:hover:not(:disabled){background:#493858;border-color:var(--branch-color)}.skill-node.learned:disabled{background:#273629;border-color:#90b981;color:#c9e1bd}.skill-node.learned .skill-state,.skill-node.learned .skill-cost{color:#afcd9e}.skill-node.locked:disabled{background:#242128;border-color:#504b54;color:#b7b0bc}.skill-node.locked strong{opacity:.75}.tree-finale{padding-top:29px}.tree-finale:before{position:absolute;content:"";width:2px;height:29px;background:#89709c;top:0;left:calc(50% - 1px)}.tree-finale>small{display:block;text-align:center;color:#b7a7c8;font-size:10px;margin-top:10px}.skill-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #62506f;padding:16px 0;color:#b7a6c7;font-size:11px}.skill-summary b{color:#e5d8f2;font-weight:500}#modal-content .backup-note{font-size:10px!important}#modal-content p{font-size:12px}.stats-grid{font-size:12px!important}.modal-actions button{font-size:12px}
@media(min-width:1151px){.workbench{grid-template-columns:minmax(300px,1fr) minmax(280px,.95fr) minmax(340px,1.15fr)}.station-scene{height:310px}.terminal-quote{margin-bottom:27px}}
@media(max-width:1150px) and (min-width:701px){.workbench{grid-template-columns:minmax(280px,1fr) minmax(315px,1.1fr)}.operations-panel{align-self:start}.equipment-row{padding:18px 16px}.terminal-panel{position:sticky;top:15px}.operations-panel{margin-top:0}}
@media(max-width:700px){.resource-strip{grid-template-columns:1fr 1fr;gap:19px}.points-button{padding:0 0 0 16px!important}.points-button .resource-note{font-size:9px}.secondary-resource>.eyebrow{font-size:11px}.primary-resource .eyebrow{font-size:11px}.permanent-resource>strong{font-size:24px}.panel-heading{height:60px}.panel-heading h1,.panel-heading h2{font-size:16px}.terminal-panel{position:relative;top:0}.station-scene{height:309px}.terminal-quote{font-size:11px;margin:17px 10px 23px}.station-meta{font-size:10px}.terminal-click-hint b{font-size:19px}.terminal-click-hint>span{font-size:10px}.operations-panel{order:1}.shop-panel{order:2}.operations-body{padding:17px}.operation-shortcuts>button>span:last-child{font-size:14px}.shop-tabs button{font-size:19px}.equipment-title strong{font-size:14px}.equipment-owned{font-size:28px;min-width:54px}.equipment-row{padding:15px 14px}.equipment-main{gap:9px}.buy-button{font-size:12px;min-width:129px}.equipment-output{font-size:10px}.purchase-feedback{font-size:9px!important}.mobile-nav button{font-size:13px;color:#d7d3bc}.mobile-nav button:nth-child(1){color:var(--equipment)}.mobile-nav button:nth-child(2){color:var(--upgrade)}.page-footer{font-size:9px}.skill-top{display:block}.skill-wallet{margin-top:18px;padding:10px 0 0;border-left:0;border-top:1px solid #665374;text-align:left}.skill-wallet strong{font-size:30px}.tree-branches{grid-template-columns:1fr;border-top:0;gap:23px}.skill-branch{border:1px solid #574863;padding:14px 12px 17px}.skill-branch:before{display:none}.skill-branch h3{margin:0 0 13px!important}.skill-branch .skill-node{min-height:125px}.skill-node strong{font-size:15px}.tree-root:after{height:20px}.tree-root,.tree-finale{width:100%}.tree-root .skill-node{min-height:130px}.tree-finale{padding-top:20px}.tree-finale:before{height:20px}.skill-summary{font-size:11px}.empty-rack{min-height:110px}.equipment-info .equipment-icon{width:32px;height:32px}.equipment-info{width:43px;min-height:43px}.rack-row-heading{font-size:12px}.event-card h3{font-size:18px}.event-card button{font-size:12px}}

/* Bilingual controls, detailed machine sprites and quiet machine voice. */
#language-switch{height:38px;min-width:80px;padding:0 7px;background:#252333;border:1px solid #776789;color:#e1d4f4;font:11px var(--body);border-radius:0;cursor:pointer}.equipment-info{width:58px;min-height:58px}.equipment-info .equipment-icon{width:48px;height:48px;padding:4px}.rack-sprites .equipment-icon{width:24px;height:24px}.terminal-quote{min-height:59px;padding:0 10px;display:flex;align-items:center;justify-content:center;line-height:1.9;color:#c9c4b3;font-size:12px}.equipment-title strong{overflow-wrap:anywhere}.skill-state{overflow-wrap:anywhere}.shop-tabs button[role=tab]{overflow-wrap:anywhere}.upgrade-row:focus-visible{outline:2px solid var(--upgrade);outline-offset:-3px}#game-tooltip{position:fixed;z-index:100;width:318px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;pointer-events:none;background:#212a24;border:2px solid #9bbaa1;box-shadow:4px 4px 0 #0d140e;padding:16px;font-size:11px;color:#d4ddcb;line-height:1.8}#game-tooltip:before{content:"";position:absolute;width:4px;height:4px;top:0;left:0;background:#d7e7c8}#game-tooltip>strong{display:block;font-size:15px;color:#e6e3c7}#game-tooltip p{font-size:11px;margin-top:7px;color:#bdc9b3}#game-tooltip small{display:block;font-size:10px;color:#a5b69d;border-top:1px solid #53624f;margin-top:12px;padding-top:10px}#game-tooltip dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:13px 0 0;font-size:10px}#game-tooltip dt{color:#a8b89f}#game-tooltip dd{margin:0;text-align:right;color:#e0eacb;max-width:160px;overflow-wrap:anywhere}.tooltip-machine{display:flex;align-items:center;gap:13px}.tooltip-machine .equipment-icon{width:96px;height:96px;padding:0;border:0;background:#162017;flex-shrink:0;image-rendering:pixelated}.tooltip-machine strong{font-size:14px;color:#e5e1c5;line-height:1.7}.tooltip-machine p{font-size:10px!important}.tooltip-machine>div{min-width:0}html[lang=en] .equipment-title strong{font-size:13px}html[lang=en] .operation-shortcuts>button>span:last-child{font-size:12px}html[lang=en] .operation-shortcuts small{font-size:9px}html[lang=en] .panel-heading h1,html[lang=en] .panel-heading h2{font-size:15px}html[lang=en] .skill-node strong{font-size:13px}html[lang=en] .skill-node .skill-effect{font-size:10px}
@media(max-width:700px){#wordmark svg{width:136px;height:auto}.brand-chip{width:25px;height:25px;font-size:20px}.brand{gap:10px}.brand small{font-size:7px}.header-meta{gap:4px}#language-switch{min-width:70px;width:70px;height:36px;font-size:10px;padding:0 4px}.header-meta .icon-button{width:30px;min-width:30px;height:36px}.equipment-info{width:54px;min-height:54px}.equipment-info .equipment-icon{width:48px;height:48px;padding:2px}.terminal-quote{font-size:12px;min-height:66px}.equipment-owned{min-width:47px}.equipment-main{gap:8px}.resource-note{font-size:9px}.panel-heading h1,.panel-heading h2{font-size:17px}html[lang=en] .panel-heading h1,html[lang=en] .panel-heading h2{font-size:14px}.shop-tabs button{font-size:18px}html[lang=en] .shop-tabs button{font-size:16px}.rack-sprites{gap:4px}}

/* 1.3: semantic actions, progressive discovery and a stationary workstation. */
:root{--action:#b6d791;--action-ink:#142014;--info:#70cabb;--info-bg:#1c3431;--reboot:#c4a6e4;--reboot-bg:#302738;--surface:#222f26;--workstation:var(--info);--operations:var(--cream);--equipment:var(--action);--upgrade:var(--action)}
body[data-theme=amber]{--bg:#211a13;--panel:#30261c;--surface:#3c3022;--line:#725e40;--line-soft:#51432f;--cream:#f2dfbb;--muted:#baaa90;--green:#efc17a;--green-dim:#ab8851;--action:#efc17a;--action-ink:#2d2011;--info:#9ec5ba;--info-bg:#283b34;--reboot:#cbabed;--reboot-bg:#392d45;--amber:#efc17a}
body[data-theme=midnight]{--bg:#101923;--panel:#1c2a39;--surface:#243548;--line:#486079;--line-soft:#31465c;--cream:#dae5ed;--muted:#9fb0c1;--green:#8cd0e0;--green-dim:#658b99;--action:#accd92;--action-ink:#15221d;--info:#8cd0e0;--info-bg:#223c4e;--reboot:#cab3e8;--reboot-bg:#332e46;--amber:#e3b478}
body[data-theme=ivory]{color-scheme:light;--bg:#ded9c9;--panel:#f1ecdc;--surface:#e5e0d0;--line:#a6a18c;--line-soft:#c8c1af;--cream:#303b32;--muted:#606c60;--green:#344f42;--green-dim:#677b5a;--action:#405e44;--action-ink:#fff9e6;--info:#326d78;--info-bg:#dde5dc;--reboot:#725a88;--reboot-bg:#e2dbe7;--amber:#805c35}
button{background:var(--surface);color:var(--cream)}button:hover:not(:disabled){background:var(--surface);border-color:var(--info)}button:disabled{opacity:.5;color:var(--muted)}.icon-button,.palette-button,.plain-button,.log-shortcut,.rack-row,.equipment-info,.setting-buttons button,.modal-actions button:not(.accent-button):not(.danger-button),.voice-actions button{border:1px solid var(--info);border-radius:18px;color:var(--info);background:var(--info-bg);box-shadow:none}.icon-button{border-radius:50%}.palette-button{padding:0 13px;min-height:38px;font-size:11px;white-space:nowrap}.icon-button:hover:not(:disabled),.palette-button:hover:not(:disabled),.log-shortcut:hover:not(:disabled),.rack-row:hover:not(:disabled),.setting-buttons button:hover:not(:disabled){background:var(--info-bg);color:var(--cream);border-color:var(--info)}
.buy-button,.upgrade-row button,.accent-button,.skill-node.available{border:1px solid var(--action);border-radius:7px 2px 7px 2px;background:var(--action);color:var(--action-ink);box-shadow:0 3px 0 color-mix(in srgb,var(--action) 35%,#000);font-weight:700}.buy-button:hover:not(:disabled),.upgrade-row button:hover:not(:disabled),.accent-button:hover:not(:disabled){background:color-mix(in srgb,var(--action) 85%,#fff);border-color:var(--action)}.buy-button{display:flex;align-items:center;gap:10px;justify-content:space-between;min-width:148px}.purchase-verb{font-size:11px}.buy-button:disabled,.upgrade-row button:disabled{background:var(--surface);box-shadow:none;color:var(--muted);border-color:var(--line)}.equipment-owned{color:var(--green);min-width:43px}.equipment-owned small{flex:0!important;margin:0!important;color:var(--muted)}.equipment-info{border-radius:9px;min-height:54px;width:54px;background:var(--surface);border-color:var(--line)}.equipment-info .equipment-icon{width:44px;height:44px;padding:4px}.equipment-title strong,.rack-row-heading,.upgrade-row strong{color:var(--cream)}.equipment-row{border-color:var(--line-soft)}.equipment-title{flex:1;min-width:0}.equipment-title .new-badge{margin-top:4px}.equipment-owned span{font-size:27px}.upgrade-row p,.equipment-output,.resource-note{color:var(--muted)}.new-badge{display:inline-block!important;vertical-align:middle;font:700 8px/1.6 var(--mono)!important;letter-spacing:.09em!important;color:#25170a!important;background:#f4c66e;padding:0 5px;border-radius:6px 0 6px 0;margin-left:6px;white-space:nowrap;min-width:0;flex:none!important}.shop-tabs{gap:8px;padding:8px 12px 0;border-bottom:1px solid var(--line)}.shop-tabs button{border:0!important;border-bottom:3px solid transparent!important;border-radius:9px 9px 0 0;background:transparent!important;color:var(--muted)!important;min-height:48px;font-size:17px}.shop-tabs button[aria-selected=true]{border-bottom-color:var(--action)!important;color:var(--cream)!important;background:var(--surface)!important}.action-key{display:flex;gap:12px;font-size:9px;padding:10px 14px 0;color:var(--muted)}.action-key span:first-child{color:var(--action)}.action-key span:nth-child(2){color:var(--info)}.action-key span:nth-child(3){color:var(--reboot)}.segmented{display:flex;gap:1px;background:var(--bg);border-radius:18px;padding:3px}.segmented button{border:0;border-radius:15px;min-width:38px;min-height:30px;height:30px;background:transparent;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--cream);box-shadow:0 1px 3px #0005}.purchase-controls{background:var(--panel);border-color:var(--line-soft)}
.operation-shortcuts{grid-template-columns:1fr;gap:8px}.operation-shortcuts>button{border-color:var(--reboot);border-radius:14px 3px 14px 3px;background:var(--reboot-bg);color:var(--reboot);min-height:56px;padding:9px 14px;justify-content:flex-start;position:relative}.operation-shortcuts>button:hover:not(:disabled){background:var(--reboot-bg);border-color:var(--reboot)}.operation-shortcuts small{color:var(--reboot);margin-top:2px}.operation-shortcuts>button .new-badge{margin-left:auto}.points-button{border:1px solid var(--reboot);border-radius:14px 3px 14px 3px;padding:8px 18px;background:var(--reboot-bg)}.points-button:hover:not(:disabled){background:var(--reboot-bg)}.points-button .eyebrow,.points-button>strong,.points-button .resource-note{color:var(--reboot)}.onboarding{font-size:12px;line-height:1.9;padding:13px 14px;border-left:3px solid var(--action);background:var(--surface);color:var(--cream);margin-bottom:16px}.shop-empty{padding:28px 20px;line-height:2;color:var(--muted);font-size:12px}.log-shortcut{padding:8px 14px;margin-top:16px;min-height:40px}.rack-row{border-radius:10px;padding:10px 12px;background:var(--surface)}.rack-row-heading b{color:var(--green)}.empty-rack{background:var(--surface);border-color:var(--line);color:var(--muted)}.machine-footer,.terminal-click-hint>span,.terminal-quote{color:var(--muted)}.terminal-click-hint b{color:var(--action)}.terminal-art{border-radius:12px}.terminal-art:hover:not(:disabled){outline:2px dashed var(--action);background:color-mix(in srgb,var(--action) 7%,transparent)!important}.station-scene{border-radius:10px}.scene-grid{background-image:linear-gradient(color-mix(in srgb,var(--line) 30%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--line) 30%,transparent) 1px,transparent 1px);border-color:var(--line-soft)}.voice-actions{display:flex;justify-content:center;gap:8px;padding:0 10px 10px}.voice-actions button{font-size:10px;padding:3px 12px;min-height:30px}.voice-actions:has(button:not([hidden])){display:flex}.voice-actions:not(:has(button:not([hidden]))){display:none}.panel-heading .tag{display:none}.station-meta{display:none}.panel-number{display:none}.panel-heading h1,.panel-heading h2{font-size:17px!important}.operations-panel .panel-heading h2{color:var(--cream)}.equipment-row.just-bought{background:color-mix(in srgb,var(--action) 15%,var(--panel))}.equipment-row.just-bought .equipment-owned{color:var(--action)}.page-footer{color:var(--muted)}.page-footer .plain-button{padding:4px 12px;min-height:30px}#language-switch{border-color:var(--info);border-radius:16px;background:var(--info-bg);color:var(--info)}#game-tooltip{background:var(--panel);border-color:var(--info);border-radius:12px;color:var(--cream)}#game-tooltip>strong,#game-tooltip dd,.tooltip-machine strong{color:var(--cream)}#game-tooltip p,#game-tooltip dt,.tooltip-machine p{color:var(--muted)}.tooltip-machine .equipment-icon{background:var(--surface)}
.event-card{border-radius:12px 3px 12px 3px}.event-card button,.event-card.rare button{border-radius:7px 2px 7px 2px}.event-slot{min-height:0}.empty-inbox{background:var(--surface);color:var(--muted);border-color:var(--line);border-radius:9px}.rack-heading{margin-top:18px;padding-top:18px}.rack-heading .section-kicker{color:var(--cream)}
body[data-skin=amber] #terminal-sprite{filter:sepia(.6) saturate(1.5)}body[data-skin=ice] #terminal-sprite{filter:sepia(.4) hue-rotate(130deg) saturate(.9)}body[data-skin=violet] #terminal-sprite{filter:sepia(.5) hue-rotate(220deg) saturate(1.5)}body[data-frame=brass] .station-scene{border:4px ridge #b79a61;box-shadow:inset 0 0 0 4px #4d3e24}body[data-frame=ghost] .terminal-art{filter:drop-shadow(4px 0 0 #b9d6ef60) drop-shadow(-4px 0 0 #b9d6ef50)}body[data-scene=stars] .scene-grid,body[data-scene=constellation] .scene-grid{background-color:#101a27;background-image:radial-gradient(#e0e8c1 1px,transparent 1px),radial-gradient(#80b7c4 1px,transparent 1px);background-size:31px 37px,53px 47px;background-position:0 0,11px 17px;border-color:#466079}body[data-scene=constellation] .scene-grid{background-image:linear-gradient(35deg,transparent 49.5%,#7d9ba580 50%,transparent 50.5%),radial-gradient(#e0e8c1 2px,transparent 2px);background-size:90px 90px,45px 45px}body[data-scene=circuit] .scene-grid{background:repeating-linear-gradient(90deg,transparent 0 21px,#74997166 21px 23px,transparent 23px 46px),repeating-linear-gradient(0deg,#182c22 0 23px,#74997166 23px 25px,#182c22 25px 52px);border:2px solid #749971}.voice-journal{padding-left:22px}.voice-journal li{padding:13px 4px;border-bottom:1px solid var(--line-soft)}.archive-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.archive-grid>div{padding:13px;border:1px solid var(--line);border-radius:8px}.archive-grid strong{display:block;font-size:22px;color:var(--action)}blockquote{border-left:3px solid var(--reboot);margin:24px 0;padding:18px;font-size:13px;line-height:2.2;background:var(--surface)}.constellation-monument{text-align:center;padding:35px;color:var(--reboot);font-size:30px}.constellation-monument h3{font-size:16px}
#modal{background:var(--panel);color:var(--cream);border-color:var(--line);border-radius:15px}.modal-heading{border-color:var(--line)}#modal-content h2,#modal-content h3{color:var(--cream)}#modal-content p,.backup-note{color:var(--muted)}select{color:var(--cream);background:var(--surface);border:1px solid var(--line);padding:9px;max-width:100%;border-radius:8px}.setting-row{gap:15px}.skill-modal{width:min(1120px,calc(100vw - 28px))}.skill-top h2{font-size:23px!important}.tree-branches{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.skill-node{border-radius:12px 3px 12px 3px;min-height:170px;background:var(--surface);border-color:var(--line);color:var(--cream)}.skill-node strong{color:var(--branch-color)}.skill-node .skill-effect{color:var(--muted)}.skill-node.available{background:var(--surface);border:2px solid var(--branch-color);box-shadow:0 3px 0 var(--branch-color);color:var(--cream)}.skill-node.available:hover:not(:disabled){background:var(--surface);filter:brightness(1.12)}.skill-node.learned:disabled{opacity:1;background:var(--info-bg);border-color:var(--info)}.skill-node.learned .skill-state{color:var(--info)}.skill-node.locked:disabled{opacity:.65;background:var(--surface);border-color:var(--line)}.voice{--branch-color:var(--info)}.event{--branch-color:var(--amber)}.facility{--branch-color:var(--action)}.design,.root{--branch-color:var(--reboot)}.tree-overview{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.tree-overview a{color:var(--info);border:1px solid var(--info);padding:6px 14px;border-radius:18px;text-decoration:none;font-size:11px}.skill-wallet strong{color:var(--reboot)}.skill-wallet>span{color:var(--muted)}.skill-branch{scroll-margin-top:16px}.tree-finale{width:300px}.skill-state{color:var(--muted)!important}.skill-summary{color:var(--muted);border-color:var(--line)}.skill-summary b{color:var(--cream)}
.theme-modal{width:min(1000px,calc(100vw - 28px))}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.theme-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:10px;background:var(--surface);border:2px solid var(--line);border-radius:14px;overflow:hidden}.theme-card.selected{border-color:var(--info);box-shadow:0 0 0 2px var(--info-bg)}.theme-preview{background:var(--sample-bg);color:var(--sample-text);padding:14px;min-height:175px;border-radius:8px;font-size:9px;pointer-events:none}.mini-head{display:flex;justify-content:space-between;padding-bottom:11px;border-bottom:1px solid var(--sample-text)}.mini-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.mini-terminal{background:var(--sample-panel);border:1px solid var(--sample-text);border-radius:6px;display:grid;justify-items:center;padding:8px}.mini-terminal svg{width:72px;height:72px}.mini-terminal i{font-style:normal;font-weight:700}.mini-shop{display:flex;flex-direction:column;gap:7px}.mini-shop>span{padding:5px;background:var(--sample-panel);border-radius:5px}.mini-shop b{float:right;background:var(--sample-text);color:var(--sample-bg);padding:1px 5px;border-radius:4px 0}.mini-shop>span:last-of-type{border:1px solid var(--sample-info);border-radius:18px;color:var(--sample-info);text-align:center}.mini-shop em{background:var(--sample-event);color:var(--sample-bg);padding:5px;border-radius:6px 0;font-style:normal;text-align:center}.theme-name{font-size:16px;font-weight:700;padding:12px 4px 4px;color:var(--cream)}.theme-note{font-size:11px;color:var(--muted);padding:0 4px 10px}.theme-use{font-size:11px;padding:7px 4px;color:var(--info);border-top:1px solid var(--line)}
@media(min-width:701px){body{overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column;padding:0 24px}.masthead{height:76px;flex:none}.resource-strip{padding:17px 0;gap:24px;flex:none;grid-template-columns:1.2fr 1fr .8fr}.resource-strip:not(:has(.points-button:not([hidden]))){grid-template-columns:1.2fr 1fr}.dp-line{margin-top:9px}.workbench{display:grid;grid-template-columns:minmax(245px,.95fr) minmax(240px,.95fr) minmax(310px,1.1fr);gap:14px;flex:1;min-height:0;align-items:stretch}.terminal-panel,.operations-panel,.shop-panel{grid-column:auto;grid-row:auto;position:relative;top:auto;height:100%;min-height:0;align-self:stretch}.panel{border-radius:12px;overflow:hidden}.panel:before,.panel:after{display:none}.panel-heading{height:54px;flex:none}.terminal-panel{display:flex;flex-direction:column}.station-scene{flex:1;min-height:140px;height:auto;margin:0 8px}.terminal-art{width:min(100%,256px);height:auto;aspect-ratio:1}.terminal-art canvas{width:100%;height:auto}.scene-label{font-size:7px;bottom:4px}.terminal-click-hint{margin-top:5px;flex:none}.terminal-quote{margin:12px 8px;min-height:59px;font-size:11px;flex:none}.machine-footer{padding:10px 16px;margin-top:auto;flex:none}.operations-panel,.shop-panel{display:flex;flex-direction:column}.operations-body{display:block;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:15px 14px}.shop-tabs,.purchase-controls,.shop-bottom,.action-key{flex:none}.shop-panel [role=tabpanel]{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}.purchase-controls{position:sticky;top:0;z-index:2}.equipment-row{padding:13px 14px}.page-footer{height:43px;flex:none;margin:0}.page-footer>span:nth-child(2){display:none}.shop-bottom{padding:10px 14px}.header-meta{gap:7px}.version{display:none}.shop-panel .shop-empty{flex:1}.shop-panel:has(#shop-empty:not([hidden])) [role=tabpanel]{flex:0}.mobile-nav{display:none}.shop-panel [role=tabpanel],.operations-body{scrollbar-width:thin;scrollbar-color:var(--line) var(--panel)}}
@media(min-width:701px) and (max-width:950px){.app-shell{padding:0 12px}.workbench{grid-template-columns:minmax(200px,.8fr) minmax(195px,.8fr) minmax(275px,1fr);gap:8px}.panel-heading{padding:0 12px}.panel-heading h1,.panel-heading h2{font-size:14px!important}.equipment-title strong{font-size:12px}.buy-button{min-width:125px;font-size:11px}.action-key{font-size:8px;gap:6px}.brand small{display:none}.brand-chip{display:none}#wordmark svg{width:200px}.resource-note{font-size:9px}}
@media(max-width:700px){body{overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column;padding:0 10px}.masthead{height:64px;flex:none}.brand small{display:none}.brand-chip{display:none}.brand{gap:0}#wordmark svg{width:124px}.header-meta .icon-button{width:28px;min-width:28px;height:32px}.palette-button{font-size:10px;padding:0 8px;min-height:32px}.header-meta{gap:3px}#language-switch{width:62px;min-width:62px;font-size:9px;height:32px}.header-meta [data-action=guide]{display:none}.resource-strip{display:flex;align-items:center;gap:14px;padding:11px 0;flex:none;justify-content:space-between}.primary-resource{flex:1}.primary-resource .eyebrow{font-size:9px}.tiny-label{display:none}.dp-line{margin-top:5px;gap:7px}#dp-display svg{height:21px;max-width:165px}.secondary-resource{max-width:108px;padding:0!important}.secondary-resource>.eyebrow{font-size:9px}.secondary-resource>strong{font-size:16px}.secondary-resource small{font-size:9px}.secondary-resource .resource-note{display:none}.points-button{padding:6px 10px!important;min-width:70px}.points-button .eyebrow{font-size:9px}.points-button strong{font-size:16px}.workbench{flex:1;min-height:0;display:grid;grid-template-rows:180px minmax(0,1fr);gap:10px;overflow:hidden}.terminal-panel{height:180px;display:grid;grid-template-columns:140px minmax(0,1fr);grid-template-rows:38px 1fr auto;position:relative;top:0;order:0;border-radius:12px;overflow:hidden}.terminal-panel .panel-heading{grid-column:1 / 3;height:38px;padding:0 12px}.panel-heading h1,.panel-heading h2{font-size:15px!important}.station-scene{grid-column:1;grid-row:2 / 4;height:140px;min-height:0;margin:0;overflow:hidden}.terminal-art{width:138px;height:138px}.terminal-art canvas{width:138px;height:138px}.scene-coordinates,.scene-label{display:none}.scene-grid{inset:6px}.terminal-click-hint{grid-column:2;grid-row:2;margin:0;align-self:center;gap:3px;text-align:left}.terminal-click-hint b{font-size:20px}.terminal-click-hint>span{font-size:8px}.terminal-quote{grid-column:2;grid-row:3;min-height:0;font-size:10px;text-align:left;padding:0 8px 8px 0;margin:0;line-height:1.7}.machine-footer,.voice-actions{display:none!important}.shop-panel,.operations-panel{order:1;min-height:0;display:flex;flex-direction:column;border-radius:12px;overflow:hidden}.operations-panel{display:none}.shop-panel .panel-heading,.operations-panel .panel-heading{height:44px;flex:none}.shop-tabs{flex:none}.shop-tabs button{min-height:38px;font-size:16px}.shop-panel [role=tabpanel]{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin}.purchase-controls{position:sticky;top:0;z-index:2;padding:7px 12px}.equipment-row{padding:11px 13px}.equipment-owned span{font-size:25px}.equipment-main{gap:10px}.equipment-info{width:48px;min-height:48px}.equipment-info .equipment-icon{width:42px;height:42px;padding:2px}.equipment-bottom{margin-top:6px}.purchase-feedback{min-height:0}.buy-button{min-height:39px}.shop-bottom{padding:6px 12px;flex:none}.action-key{padding-top:5px;font-size:8px;gap:12px}.page-footer{height:28px;font-size:8px;margin:0;flex:none}.page-footer .plain-button{min-height:24px;font-size:8px;padding:0 8px}.mobile-nav{position:static;display:flex;gap:7px;justify-content:center;flex:none;height:50px;padding:5px 10px;border:0;background:var(--bg);margin-bottom:env(safe-area-inset-bottom)}.mobile-nav button{border:1px solid var(--info);color:var(--info)!important;background:var(--info-bg);border-radius:18px;min-height:36px;padding:0 14px;font-size:11px;flex:1}.mobile-nav [data-action=prestige]{border-color:var(--reboot);color:var(--reboot)!important;background:var(--reboot-bg)}.mobile-nav [data-action=settings]{display:none}.operations-body{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}.shop-empty{padding:20px}.shop-panel:has(#shop-empty:not([hidden])) [role=tabpanel]{flex:0}body[data-mobile-panel=rack] .shop-panel{display:none}body[data-mobile-panel=rack] .operations-panel{display:flex}.theme-grid{grid-template-columns:1fr;gap:14px}.tree-branches{grid-template-columns:1fr 1fr;gap:10px;border:0}.skill-branch{padding:0;border:0}.skill-node{min-height:190px;padding:10px 7px}.skill-node strong{font-size:12px!important}.skill-node .skill-effect{font-size:10px}.skill-branch:before{display:block}.tree-root,.tree-finale{width:100%}.skill-top h2{font-size:20px!important}.archive-grid{grid-template-columns:1fr 1fr}.tree-overview a{padding:5px 10px;font-size:10px}#modal-content{padding:20px 15px}.toast{bottom:65px}}
@media(max-width:700px) and (max-height:720px){.workbench{grid-template-rows:150px minmax(0,1fr)}.terminal-panel{height:150px;grid-template-columns:115px 1fr}.station-scene{height:110px}.terminal-art,.terminal-art canvas{width:108px;height:108px}.terminal-quote{font-size:9px}.resource-strip{padding:8px 0}.masthead{height:55px}}
@media(min-width:701px){.theme-modal #modal-content{padding:16px 22px}.theme-modal #modal-content h2{font-size:21px;margin:6px 0 10px}.theme-modal #modal-content>p{font-size:11px}.theme-modal .theme-grid{gap:12px;margin-top:16px}.theme-modal .theme-card{padding:8px}.theme-modal .theme-preview{min-height:105px;padding:9px;font-size:8px}.theme-modal .mini-head{padding-bottom:6px}.theme-modal .mini-layout{margin-top:7px;gap:10px}.theme-modal .mini-terminal{padding:5px}.theme-modal .mini-terminal svg{width:45px;height:45px}.theme-modal .mini-shop{gap:4px}.theme-modal .mini-shop>span,.theme-modal .mini-shop em{padding:2px 5px}.theme-modal .theme-name{font-size:14px;padding:7px 3px 2px}.theme-modal .theme-note{font-size:10px;padding:0 3px 5px}.theme-modal .theme-use{font-size:10px;padding:4px 3px}.theme-modal .modal-actions{margin-top:14px}.theme-modal .modal-actions button{min-height:34px;padding:5px 13px}}
body{--workstation:var(--info);--operations:var(--cream);--equipment:var(--action);--upgrade:var(--action)}.details-button{border-radius:18px;border-color:var(--info);background:var(--info-bg);color:var(--info);min-height:32px;font-size:10px;padding:3px 12px;white-space:nowrap}.empty-inbox strong{color:var(--muted)}.modal-heading{position:sticky;top:0;z-index:5;background:var(--panel)}.skill-node.available{border-color:var(--action);box-shadow:0 3px 0 color-mix(in srgb,var(--action) 45%,var(--bg))}.skill-node.available .skill-cost{background:var(--action);color:var(--action-ink);padding:3px 12px;border-radius:6px 2px 6px 2px}.skill-node .skill-cost{color:var(--muted)}.skill-node.available .skill-state{color:var(--action)!important}
@media(min-width:701px) and (max-width:950px){.workbench{grid-template-columns:minmax(190px,.8fr) minmax(180px,.8fr) minmax(260px,1fr)}}
@media(max-width:700px){.voice-actions:has(button:not([hidden])){display:flex!important;position:absolute;right:7px;bottom:5px;padding:0;gap:4px}.voice-actions button{min-height:23px;font-size:8px;padding:0 6px}.terminal-panel:has(.voice-actions button:not([hidden])) .terminal-quote{padding-bottom:30px}.shop-tabs .new-badge{font-size:7px!important}.mobile-nav{margin-top:0}.app-shell:has(+ .mobile-nav){height:calc(100dvh - 50px - env(safe-area-inset-bottom))}}
@media(max-width:700px){.terminal-panel,.operations-panel,.shop-panel{grid-column:1}.terminal-panel{grid-row:1}.operations-panel,.shop-panel{grid-row:2}.skill-node .skill-state{font-size:8px}.theme-card:hover:not(:disabled){border-color:var(--info)}}
@media(max-width:700px){.workbench{grid-template-columns:minmax(0,1fr)}.terminal-click-hint{padding-right:8px}.terminal-click-hint>span{line-height:1.5}.terminal-quote{line-height:1.6}.mobile-nav button{padding:0 8px}.mobile-nav .new-badge{font-size:7px!important;margin-left:3px;padding:0 3px}}
@media(max-width:700px){.terminal-panel:has(.voice-actions button:not([hidden])) .terminal-quote{padding:0 8px 0 0;margin:0 0 30px;max-height:34px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}

/* 1.4: compact chrome, clear effects and a skippable first-run guide. */
body{--effect:#8cdbed;--effect-bg:#1b3540;--shortage:#f0ae91;--tutorial-bg:#163f48;--tutorial-text:#fff5d6}body[data-theme=ivory]{--effect:#155b8a;--effect-bg:#e0edf4;--shortage:#9d3d2d}
.masthead .brand small,.masthead .brand-chip,.resource-strip .tiny-label,.resource-strip .resource-note{display:none}.masthead .brand{gap:0}#wordmark svg{width:195px;height:auto}.header-meta .icon-button{width:32px;height:32px;min-height:32px;min-width:32px}.header-meta .palette-button,#language-switch{min-height:32px;height:32px}.header-meta{gap:7px}.resource-strip .eyebrow{font-size:11px;letter-spacing:.035em;white-space:nowrap}.primary-resource{display:flex;align-items:center;gap:16px;min-width:0}.dp-line{margin:0;gap:8px}.dp-line strong{min-height:20px;font-size:26px}#dp-display svg{height:21px;max-width:260px}.unit{font-size:11px}.secondary-resource{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;min-width:0}.secondary-resource>strong{font-size:21px;margin:0;white-space:nowrap}.secondary-resource small{font-size:10px}.points-button{justify-content:space-between;align-items:center;padding:5px 13px}.points-button>strong{font-size:20px}.terminal-click-hint{margin:8px 14px 10px}.equipment-bottom{margin-top:8px}.equipment-output{min-height:0}.equipment-row.just-bought{background:var(--surface);box-shadow:inset 3px 0 var(--info)}.equipment-row.just-bought .equipment-owned{color:var(--cream)}.rack-row.just-installed{background:var(--surface);border-color:var(--info);box-shadow:inset 3px 0 var(--info)}.rack-row .rack-row-heading>b{display:inline-flex;gap:4px;align-items:baseline;justify-content:center;background:var(--panel);color:var(--cream);border:1px solid var(--line);padding:5px 9px;border-radius:7px;min-width:53px;font-size:22px}.rack-row .rack-row-heading>b small{font-size:10px;color:var(--muted)}.rack-row-heading{gap:12px}.rack-row .rack-sprites{margin-top:9px}.rack-more{color:var(--muted)}
.upgrade-row .upgrade-effect,#game-tooltip .upgrade-effect{display:block;color:var(--effect);background:var(--effect-bg);border-left:3px solid var(--effect);font-size:13px;font-weight:700;line-height:1.7;padding:8px 10px;margin:9px 0 10px;border-radius:0 6px 6px 0}.upgrade-row small{font-size:10px;color:var(--muted);font-weight:400}.upgrade-row[data-status=short] small{color:var(--shortage)}.upgrade-row[data-status=ready] small{color:var(--green);font-weight:600}.upgrade-row.completed .upgrade-effect{opacity:.85}.upgrade-row.completed{opacity:1}
#modal .setting-row select,#modal .setting-row select option{background:var(--panel);color:var(--cream);border-color:var(--info);font-size:12px;opacity:1;-webkit-text-fill-color:var(--cream)}#modal .setting-row select{border-width:2px;border-radius:8px;min-height:40px;padding:7px 30px 7px 10px;cursor:pointer}body[data-theme=ivory] #modal .setting-row select,body[data-theme=ivory] #modal .setting-row select option{color-scheme:light;background:#fffbed;color:#28392f;-webkit-text-fill-color:#28392f}
.onboarding{display:flex;align-items:center;gap:13px;flex:none;min-height:64px;margin:0 0 12px;padding:10px 15px;background:var(--tutorial-bg);border:2px solid #2f717b;border-left:6px solid #ebc368;border-radius:9px;color:var(--tutorial-text);box-shadow:0 3px 0 #0b24252b;line-height:1.6}.tutorial-signal{display:grid;place-items:center;flex:none;width:31px;height:31px;font-size:22px;font-weight:700;background:#f1cb75;color:#28392f;border-radius:50%}.onboarding>div:nth-child(2){min-width:0;flex:1}.onboarding b{display:block;font-size:9px;letter-spacing:.1em;color:#efca7e}.onboarding strong{display:block;font-size:14px;font-weight:600;color:#fff5d6}.hint-actions{display:flex;gap:8px;flex:none}.hint-actions button{border-color:#89c0be;color:#ebf6e4;background:#24535b;border-radius:18px;padding:4px 12px;min-height:33px;font-size:10px}.hint-actions button:hover:not(:disabled){background:#32646c;border-color:#d4e9d2}.hint-actions button:last-child{background:transparent;color:#d7dfcd;border-color:#6b9498}.tutorial-modal{width:min(610px,calc(100vw - 28px));border:2px solid var(--info)!important}.tutorial-modal::backdrop{background:#12201bc9}.tutorial-modal .modal-heading{border-bottom:0;padding-bottom:0}.tutorial-modal #modal-content{padding:14px 32px 28px}.tutorial-topline{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:var(--info)}.tutorial-label{letter-spacing:.06em}.tutorial-progress{display:flex;gap:7px;margin:15px 0 21px}.tutorial-progress span{height:5px;background:var(--line-soft);flex:1;border-radius:2px}.tutorial-progress .active{background:var(--info)}.tutorial-illustration{display:flex;align-items:center;gap:22px;margin:8px 0 19px;min-height:74px;color:var(--info)}.tutorial-illustration>b{display:grid;place-items:center;font-size:35px;font-weight:600;width:74px;height:74px;background:var(--info-bg);border:2px solid var(--info);border-radius:16px 3px 16px 3px}.tutorial-illustration .equipment-icon{width:74px;height:74px}.tutorial-modal #modal-content h2{font-size:25px;line-height:1.55;margin:0 0 18px;letter-spacing:.02em}.tutorial-modal #modal-content .tutorial-copy{font-size:15px;line-height:2;color:var(--cream)}.tutorial-modal #modal-content .tutorial-note{font-size:12px;line-height:1.8;margin-top:20px;padding:12px 14px;border-left:3px solid var(--amber);background:var(--surface);color:var(--cream)}.tutorial-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:28px}.tutorial-actions>div{display:flex;gap:8px}.tutorial-actions button{padding:8px 16px;font-size:12px;min-height:42px}.tutorial-actions .tutorial-skip{border:0;border-bottom:1px solid var(--muted);border-radius:0;background:transparent;color:var(--muted);min-height:32px;padding:4px 0}.tutorial-actions [data-action=guide-back]{border-radius:18px;background:var(--info-bg);border-color:var(--info);color:var(--info)}
@media(min-width:701px){.masthead{height:48px}.resource-strip{padding:10px 0 12px;gap:20px;grid-template-columns:1.2fr 1fr .85fr;min-height:62px}.resource-strip:not(:has(.points-button:not([hidden]))){grid-template-columns:1.2fr 1fr}.secondary-resource{padding-left:20px}.workbench{min-height:0}.terminal-click-hint{margin-top:8px;margin-bottom:8px}.page-footer{height:35px}.panel-heading{height:48px}.shop-tabs button{min-height:42px}.action-key{padding-top:7px}.shop-tabs{padding-top:6px}.page-footer .plain-button{min-height:27px;padding:2px 15px}.terminal-art{width:min(100%,288px)}.terminal-quote{margin:10px 8px}}
@media(min-width:701px) and (max-width:950px){.primary-resource{gap:9px}.secondary-resource{gap:8px;padding-left:12px}.resource-strip{gap:10px}.resource-strip .eyebrow{font-size:9px}.secondary-resource>strong{font-size:18px}#dp-display svg{height:19px;max-width:190px}}
@media(max-width:700px){.masthead{height:43px}.resource-strip{padding:8px 0;min-height:58px;gap:12px}.resource-strip .eyebrow{font-size:9px}.primary-resource{display:block}.dp-line{margin-top:4px;gap:5px}#dp-display svg{height:20px;max-width:156px}.secondary-resource{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.secondary-resource>strong{font-size:17px}.points-button{padding:5px 9px!important;gap:1px;align-items:flex-start;min-width:66px}.points-button>strong{font-size:17px}.terminal-click-hint{margin:0}.page-footer{height:26px}.onboarding{min-height:0;gap:9px;margin:0 0 9px;padding:9px 10px;flex-wrap:wrap;border-left-width:4px}.tutorial-signal{height:27px;width:27px;font-size:19px}.onboarding strong{font-size:12px}.onboarding b{font-size:8px}.hint-actions{margin-left:36px;gap:7px}.hint-actions button{font-size:9px;min-height:27px;padding:2px 9px}.tutorial-modal #modal-content{padding:10px 21px 22px}.tutorial-modal #modal-content h2{font-size:22px;line-height:1.5;margin-bottom:15px}.tutorial-modal #modal-content .tutorial-copy{font-size:14px;line-height:1.9}.tutorial-illustration{min-height:59px;margin-bottom:16px}.tutorial-illustration>b{width:59px;height:59px;font-size:29px}.tutorial-illustration .equipment-icon{width:59px;height:59px}.tutorial-actions{margin-top:21px;gap:8px}.tutorial-actions button{padding:8px 12px;font-size:11px}.tutorial-progress{margin:13px 0 17px}.tutorial-topline{font-size:10px}.tutorial-modal #modal-content .tutorial-note{font-size:11px;padding:10px}.rack-row .rack-row-heading>b{font-size:23px}.upgrade-row .upgrade-effect{font-size:13px}.app-shell:has(.onboarding:not([hidden])) .workbench{grid-template-rows:150px minmax(0,1fr)}.app-shell:has(.onboarding:not([hidden])) .terminal-panel{height:150px;grid-template-columns:115px minmax(0,1fr)}.app-shell:has(.onboarding:not([hidden])) .station-scene{height:110px}.app-shell:has(.onboarding:not([hidden])) .terminal-art,.app-shell:has(.onboarding:not([hidden])) .terminal-art canvas{width:108px;height:108px}}
.buy-button:disabled,.upgrade-row button:disabled{opacity:1;color:var(--muted);background:var(--surface);border-color:var(--line);box-shadow:none}.operations-body:has(#event-slot[hidden]) .rack-heading{margin-top:0;padding-top:0;border-top:0}
.tutorial-modal #modal-content h2{text-wrap:balance}@media(max-width:700px){.onboarding{display:grid;grid-template-columns:27px minmax(0,1fr);gap:6px 9px}.onboarding .hint-actions{grid-column:2;margin-left:0;justify-self:start}.onboarding .tutorial-signal{grid-column:1;grid-row:1;align-self:center}}

/* Live journal, grouped pixel machinery and the optional hostile channel */
.buy-button:disabled:hover,.buy-button:disabled:active,.upgrade-row button:disabled:hover{background:var(--surface);border-color:var(--line);color:var(--muted);transform:none;box-shadow:none}
.purchase-controls{padding:3px 14px;min-height:32px;height:32px;background:var(--panel);font-size:10px;gap:10px}
.purchase-controls .segmented button{min-height:24px;height:24px;min-width:37px;padding:0 9px;font-size:10px}
.mobile-journal{display:none}
.story-journal{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden;margin-bottom:13px}
.journal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line-soft);padding:5px 10px}
.journal-heading h2{font-size:13px;letter-spacing:.07em;color:var(--info)}
.journal-heading .details-button{min-height:25px;padding:1px 8px;font-size:9px}
.journal-stream{list-style:none;margin:0;padding:9px 11px;height:178px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;font-size:10px;line-height:1.9}
.journal-stream li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;padding:5px 0;border-bottom:1px dashed var(--line-soft);overflow-wrap:anywhere}
.journal-stream li:last-child{border-bottom:0}
.journal-stream time{color:var(--muted);font-size:8px;font-variant-numeric:tabular-nums;padding-top:2px}
.journal-stream .journal-warning span{color:var(--event)}
.journal-stream .journal-error span{color:#d68e87}
body[data-theme=ivory] .journal-stream .journal-error span{color:#a13a35}
.journal-stream .journal-reward span{color:var(--green);font-weight:700}
.expanded-journal{height:55dvh;font-size:12px;padding:8px 0}
.log-shortcut{display:none}
.rack-row{display:block;width:100%;padding:9px 10px;margin:0 0 10px;text-align:left;border:1px solid var(--line-soft);min-width:0;background:var(--surface)}
.rack-row .rack-row-heading{width:100%;min-height:33px;background:transparent;border:0;padding:0;display:flex;gap:8px;color:var(--cream);font-size:11px;align-items:center;text-align:left;border-radius:4px}
.rack-row .rack-row-heading:hover:not(:disabled){background:var(--info-bg);color:var(--info)}
.rack-row-heading>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.rack-row .rack-row-heading>b{padding:1px 7px;font-size:19px;min-width:45px;line-height:1.4;background:var(--panel);color:var(--cream)}
.rack-detail-symbol{font-size:15px;color:var(--info)}
.rack-gallery{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;padding:10px 2px 5px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line) var(--surface);touch-action:pan-x pan-y;border-bottom:1px solid var(--line-soft)}
.rack-machine{position:relative;display:flex;flex-direction:column;align-items:center;flex:0 0 58px;padding:4px 2px 0;isolation:isolate}
.rack-machine .equipment-icon{width:52px;height:52px;padding:0;border:0;background:transparent;box-sizing:border-box;animation:rack-vibrate 3.7s steps(1,end) var(--machine-delay) infinite}
.rack-machine small{font-size:9px;color:var(--cream);font-variant-numeric:tabular-nums;line-height:1.5;background:var(--panel);padding:1px 5px;border-radius:3px;border:1px solid var(--line-soft)}
.machine-led{position:absolute;top:30px;right:9px;width:3px;height:3px;background:#c3e8a0;box-shadow:0 0 5px #9bda7d;animation:rack-signal 2.1s steps(1,end) var(--machine-delay) infinite;pointer-events:none}
.rack-machine.partial{opacity:.8}
.rack-scale{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-top:4px;line-height:1.5;gap:6px}
@keyframes rack-signal{0%,21%,29%,65%,76%,100%{opacity:1}22%,28%,66%,75%{opacity:.2}}
@keyframes rack-vibrate{0%,9%,13%,100%{transform:translateY(0)}10%,12%{transform:translateY(-1px)}}
.channel-control{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:9px 11px;border:1px solid #b36860;border-radius:8px;background:#512e30;color:#f1c1b1}
.channel-control b{display:block;font-size:11px}.channel-control small{display:block;font-size:9px;opacity:.85}.channel-control>span{max-width:110px;font-size:8px;text-align:right}
.channel-control button[role=switch]{min-height:29px;min-width:61px;background:#7a332f;border:1px solid #f0a198;border-radius:20px;padding:2px 10px;font-size:11px;font-weight:700;color:#fff1d5}
.channel-control button[aria-checked=false]{background:#344b3c;border-color:#91ac8b;color:#e4efcf}
.attack-slot{margin-bottom:13px}
.attack-card{background:#572b2c;color:#ffe8d2;border:2px solid #d78071;border-radius:4px 12px 4px 12px;padding:12px;box-shadow:3px 3px 0 #5d27234d;animation:notice .2s steps(3,end)}
.attack-card>div{display:flex;justify-content:space-between;font-size:9px;color:#ffb7a1;letter-spacing:.05em}
.attack-card h3{font-size:14px;margin:7px 0}.attack-card p{font-size:10px;color:#ffe2b6;font-weight:600}.attack-card small{display:block;font-size:9px;line-height:1.8;color:#e6bcae;margin-top:7px}
.attack-card button{width:100%;margin-top:11px;background:#c85447;color:#fff2d3;border:1px solid #f1a391;min-height:36px;padding:5px 8px;border-radius:5px;font-size:11px}
.attack-card button:hover:not(:disabled){background:#dd6c59;border-color:#ffcfaa}
.attack-card button.attack-dismiss{margin-top:6px;min-height:28px;background:transparent;color:#e9bfb3;border-color:#aa6963;font-size:10px}
.attack-effect,.channel-wait{padding:8px 10px;border-left:3px solid #b85c54;background:var(--surface);color:var(--cream);font-size:10px}.attack-effect b{color:#d8796b}.channel-wait{font-size:9px;color:var(--muted)}
.attack-reward{border-color:var(--green);color:var(--green);background:var(--surface);padding:9px 10px;font-size:11px}
.mobile-attack-alert{display:none}
.port-locked{color:#c76d62}.port-lock-status{display:block;font-size:11px;color:#c76d62;margin-top:4px}.input-locked .terminal-art canvas{filter:sepia(.6) saturate(.65)}
body.alien-channel{--bg:#261d1c;--panel:#342827;--surface:#3e2d2b;--line:#77574e;--line-soft:#503e38;--cream:#f1dfc7;--muted:#c3a89c;--green:#c4d0a0;--action:#c4d0a0;--info:#e0b399;--info-bg:#49342f;--effect:#a9d7df;--effect-bg:#293b3c;--shortage:#ee9e84;background:var(--bg);color:var(--cream);color-scheme:dark}
body[data-theme=ivory].alien-channel{--bg:#e6cec0;--panel:#f1dfce;--surface:#e5c9b8;--line:#ae7c68;--line-soft:#cfaa94;--cream:#432c29;--muted:#78574b;--green:#426546;--action:#426546;--info:#9c463c;--info-bg:#f4cdbb;--effect:#175b78;--effect-bg:#e7e7d4;--shortage:#a13628;color-scheme:light}
body.alien-channel .masthead{border-bottom-color:#bd6a59}body.alien-channel .scene-grid{background-color:#bd5b4920}body.alien-channel .panel-heading{border-bottom-color:#be716155}body.alien-channel .status-led{background:#d77b62;box-shadow:0 0 4px #d77b6250}
.signal-branch{margin:26px 0 18px;border:1px solid #9c6a67;padding:18px;--branch-color:#f2ae98;border-radius:10px;background:#34272b}
.signal-branch h3{font-size:16px!important;color:#f2ae98!important;margin:0 0 6px!important}.signal-branch>p{font-size:11px!important;margin-bottom:16px}.signal-branch>div{display:grid;grid-template-columns:1fr 1fr;gap:26px;position:relative}.signal-branch .skill-node+.skill-node{margin-top:0}.signal-branch .skill-node+.skill-node:before{width:26px;height:2px;left:-27px;top:50%;background:#a77572}
.onboarding small{display:block;font-size:10px;color:#daead6;line-height:1.6}
[data-tutorial-target=true]{outline:3px solid #e8a83f!important;outline-offset:3px!important;box-shadow:0 0 0 6px #e8a83f30!important;animation:guide-focus 1.8s steps(2,end) infinite;scroll-margin:12px}
@keyframes guide-focus{0%,100%{outline-color:#e8a83f}50%{outline-color:#f8d785}}
@media(max-width:700px){.mobile-journal{display:block;flex:none;margin:0 0 8px}.mobile-journal .journal-heading{padding:2px 8px}.mobile-journal .journal-heading h2{font-size:10px}.mobile-journal .journal-stream{height:63px;padding:2px 8px;font-size:9px;line-height:1.5}.mobile-journal .journal-stream li{grid-template-columns:44px minmax(0,1fr);padding:3px 0;gap:5px}.mobile-journal .journal-stream time{font-size:7px;padding-top:1px}.mobile-journal .details-button{font-size:8px;min-height:20px}.operations-panel .story-journal{display:none}.purchase-controls{padding:3px 12px;height:31px;min-height:31px}.purchase-controls .segmented button{height:24px;min-height:24px}.onboarding small{font-size:9px}.onboarding{padding:7px 9px;margin-bottom:7px}.mobile-attack-alert:not([hidden]){display:block;background:#6b302e;color:#ffdfc2;border:1px solid #d77968;border-radius:6px;font-size:10px;min-height:27px;padding:3px 8px;margin:0 0 6px;flex:none}.mobile-nav [data-action=rack].has-attack{border:2px solid #bf5949;color:#ad4639!important;background:#f1c1a9}.signal-branch{padding:12px}.signal-branch>div{gap:18px;grid-template-columns:1fr}.signal-branch .skill-node+.skill-node:before{width:2px;height:18px;left:50%;top:-19px}.port-lock-status{font-size:9px}.onboarding .hint-actions button{min-height:25px}.app-shell:has(.onboarding:not([hidden])) .workbench{grid-template-rows:130px minmax(0,1fr)}.app-shell:has(.onboarding:not([hidden])) .terminal-panel{height:130px}.app-shell:has(.onboarding:not([hidden])) .station-scene{height:90px}.app-shell:has(.onboarding:not([hidden])) .terminal-art,.app-shell:has(.onboarding:not([hidden])) .terminal-art canvas{width:90px;height:90px}}
.reduced .rack-machine .equipment-icon,.reduced .machine-led,.reduced [data-tutorial-target=true]{animation:none!important}
@media(prefers-reduced-motion:reduce){.rack-machine .equipment-icon,.machine-led,[data-tutorial-target=true]{animation:none!important}}
/* Prevent a gallery's intrinsic width from expanding the mobile notification grid */
.operations-body{display:block;min-width:0;overflow-x:hidden}.facility-rack{min-width:0}.rack-row,.rack-gallery{min-width:0;max-width:100%}
/* Claimable progress logs and the event directory */
.journal-tools{display:flex;align-items:center;gap:5px;min-width:0}.journal-pending-count{font-size:9px;color:var(--action);white-space:nowrap;font-weight:700}.journal-tools .details-button{white-space:nowrap;font-size:9px;padding:1px 7px}
.journal-rewards{max-height:170px;overflow:auto;overscroll-behavior:contain;padding:7px;scrollbar-width:thin;border-bottom:1px solid var(--line-soft);display:grid;gap:6px}
.progress-reward{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 10px;align-items:center;width:100%;padding:8px 10px;background:#ead7a1;color:#4b3d20;border:1px solid #a6874f;border-left:4px solid #a6874f;border-radius:3px 9px 3px 9px;text-align:left;min-height:64px;line-height:1.6}
.progress-reward:hover:not(:disabled){background:#f4e4b5;border-color:#876a38;color:#493b20}.progress-reward .progress-status{grid-column:1 / -1;font-size:9px;letter-spacing:.04em;color:#7a5925;font-weight:700}.progress-reward>strong{font-size:11px;font-weight:600;overflow-wrap:anywhere}.progress-claim{display:flex;gap:5px;flex-direction:column;align-items:flex-end;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.progress-claim b{font-size:9px;color:#715126}.progress-reward:disabled{background:var(--surface);color:var(--muted);border-color:var(--line)}
.story-journal.has-rewards>.journal-stream{height:106px}.progress-received{font-size:9px;color:var(--muted);white-space:nowrap}.journal-stream .progress-reward{min-width:0}.expanded-journal .progress-reward{min-height:70px}.expanded-journal .journal-reward:has(.progress-reward){grid-template-columns:52px minmax(0,1fr)}
.catalog-events{display:grid;gap:10px;margin:20px 0}.catalog-event{padding:13px 15px;border:1px solid var(--line);background:var(--surface);border-radius:8px}.catalog-event>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.catalog-event h3{margin:0!important;font-size:15px!important;color:var(--cream)!important}.catalog-event>div>span{flex:none;font-size:9px;color:var(--muted);padding:2px 6px;border:1px solid var(--line-soft);border-radius:10px}.catalog-event p{margin-top:7px;font-size:12px!important;color:var(--cream)}.catalog-event small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.8}.catalog-timed{border-left:4px solid var(--effect)}.catalog-timed p{color:var(--effect);font-weight:600}.catalog-rare{border-left:4px solid var(--reboot)}.catalog-risk{border-left:4px solid #b75d4b}
.temporary-effects{display:grid;gap:7px;margin-bottom:10px}.timed-effect{padding:9px 11px;border:1px solid var(--effect);background:var(--effect-bg);border-radius:5px;display:flex;justify-content:space-between;gap:10px;color:var(--effect);font-size:11px}.timed-effect strong{overflow-wrap:anywhere}.timed-effect>span{font-variant-numeric:tabular-nums;white-space:nowrap}.facility-boosted{box-shadow:inset 3px 0 var(--effect);background:color-mix(in srgb,var(--effect) 8%,var(--panel))}.facility-boosted .equipment-output{color:var(--effect);font-weight:700}.facility-boosted .equipment-output:after{content:' ×' attr(data-multiplier);color:var(--effect);font-size:10px;white-space:nowrap}
@media(max-width:700px){.journal-tools{gap:4px}.journal-tools .details-button{font-size:8px;padding:0 6px;min-height:21px}.journal-pending-count{font-size:8px}.mobile-journal .journal-rewards{max-height:68px;padding:4px 6px;gap:4px}.mobile-journal .progress-reward{min-height:54px;padding:4px 7px;gap:0 6px}.mobile-journal .progress-status{font-size:8px}.mobile-journal .progress-reward>strong{font-size:10px}.mobile-journal .progress-claim{font-size:10px;gap:0}.mobile-journal .progress-claim b{font-size:8px}.mobile-journal.has-rewards>.journal-stream{height:34px}.catalog-event{padding:10px}.catalog-event>div{display:block}.catalog-event>div>span{display:inline-block;margin-top:4px}.catalog-event h3{font-size:14px!important}.catalog-event p{font-size:11px!important}}
#modal.catalog-modal{width:min(860px,calc(100vw - 32px))}.catalog-modal .catalog-events{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-modal .catalog-rare,.catalog-modal .catalog-risk{grid-column:1 / -1}.catalog-modal .catalog-event>div{display:block}.catalog-modal .catalog-event>div>span{display:inline-block;margin-top:5px}
@media(max-width:700px){.catalog-modal .catalog-events{grid-template-columns:minmax(0,1fr)}}
/* The journal now shows milestones only including durable claimed receipts */
.story-journal .journal-stream{height:178px;padding:8px;display:grid;align-content:start;gap:7px}.story-journal.has-rewards .journal-stream{height:145px}.journal-stream .progress-completed{display:block;border:1px solid var(--line);border-left:4px solid var(--green-dim);border-radius:3px 9px 3px 9px;padding:8px 10px;background:var(--panel);line-height:1.6}.progress-completed>div{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--green);font-size:9px;font-weight:600}.progress-completed time{font-weight:400;color:var(--muted);font-size:8px;padding:0}.progress-completed>strong{display:block;font-size:11px;color:var(--cream);margin-top:4px}.progress-completed>small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.journal-stream li.progress-empty{display:block;padding:16px 5px;border:0;color:var(--muted);font-size:11px;line-height:1.9}.expanded-journal{display:grid;align-content:start;gap:10px}.expanded-journal>li{display:block;border:0;padding:0}.expanded-journal>.progress-completed{padding:11px 13px}.expanded-journal .progress-completed>strong{font-size:13px}.footer-actions{display:flex;align-items:center;gap:10px}.debug-dp-button{border:1px dashed #9d7b46;background:#e5d5ab;color:#5d4725;font-size:9px;border-radius:5px;min-height:25px;padding:2px 10px;white-space:nowrap}.debug-dp-button:hover:not(:disabled){background:#f0dfaf;border-color:#886735;color:#4b361a}.debug-dp-button:disabled{opacity:.6}
@media(max-width:700px){.mobile-journal .journal-stream,.mobile-journal.has-rewards .journal-stream{height:65px;padding:4px 6px;gap:5px}.mobile-journal .progress-completed{padding:4px 7px}.mobile-journal .progress-completed>div{font-size:8px}.mobile-journal .progress-completed>strong{font-size:10px;margin-top:1px}.mobile-journal .progress-completed>small{font-size:8px;margin-top:0}.mobile-journal .progress-empty{font-size:9px!important;padding:7px 2px!important}.footer-actions{gap:5px}.debug-dp-button{font-size:8px;min-height:22px;padding:1px 6px}}
/* Version 2 input circuits, per-machine research forks and signal interference */
#terminal-click-hint{gap:3px}#terminal-click-hint small{display:block;font-size:9px;color:var(--muted);font-weight:400;line-height:1.6}#terminal-click-hint.click-enhanced b{color:#b06c08;background:#f6dfa1;border:1px solid #af7b28;padding:3px 11px;box-shadow:2px 2px 0 #7a5a2c33}body:not([data-theme=ivory]) #terminal-click-hint.click-enhanced b{color:#ffe4a7;background:#54401f;border-color:#bb914a}.rack-boosted{border-color:var(--effect)!important;box-shadow:inset 3px 0 var(--effect)}.rack-boosted .equipment-icon{filter:sepia(.45) saturate(1.8) hue-rotate(110deg);background:var(--effect-bg)!important}.rack-machine{flex-basis:62px}.rack-gallery{padding-bottom:10px}.rack-scale{font-size:8px}.signature-check{min-height:23px;background:var(--info-bg);color:var(--info);border-color:var(--info);border-radius:4px;font-size:8px;padding:2px 8px;margin-top:3px}.verified-forgery{border:2px dashed #b6433c!important;background:#e2c1b2!important;color:#87362b!important}.progress-entry{min-width:0}.progress-entry:has(.signature-check){padding-bottom:2px}.channel-control{display:block;background:var(--surface);border-color:#b77866;color:var(--cream)}.attack-meter-title{display:flex;justify-content:space-between;align-items:center;font-size:11px}.attack-meter-title strong{color:#b34a39;font-size:13px}.attack-meter{height:10px;background:#522b2c;border:1px solid #b77866;margin:6px 0;padding:1px}.attack-meter i{display:block;height:6px;background:#cb5846}.channel-control small{font-size:8px}.attack-meter-title b{color:var(--cream)}
body.attack-alert,body[data-theme=ivory].attack-alert{--bg:#460c12;--panel:#60141b;--surface:#711b22;--line:#b84c4f;--line-soft:#8d3035;--cream:#ffe0c6;--muted:#e3aaa1;--green:#ead4a0;--action:#f0d0a0;--info:#ffd19e;--info-bg:#773122;--effect:#9de5e7;--effect-bg:#2b4548;--shortage:#ffb59d;background:#460c12;color:#ffe0c6;color-scheme:dark}body.attack-alert .scene-grid{background-color:#ce313426}body.attack-alert .attack-card{background:#8d111e;border:2px solid #ff6e6c}body.attack-alert .progress-reward{background:#cda78a;color:#43211c}body.attack-alert .terminal-art canvas{filter:sepia(.2) saturate(1.3)}.research-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px}.research-section{border:1px solid #8b7196;margin:14px 0;border-radius:7px;background:#2c2434}.research-section>summary{cursor:pointer;list-style-position:inside;padding:12px 14px;color:#e8d3ef;font-size:14px;font-weight:600}.research-root{max-width:420px;margin:18px auto}.research-root .skill-node{min-height:105px}.machine-research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.machine-research{min-width:0;border:1px solid #77607d;background:#29252e;border-radius:7px;align-self:start;overflow:hidden}.machine-research>summary{display:flex;align-items:center;gap:12px;padding:12px;cursor:pointer;list-style:none;background:#352c3e;color:#e4d4dc;min-height:80px}.machine-research>summary::-webkit-details-marker{display:none}.machine-research summary .equipment-icon{width:42px;height:42px;padding:0}.machine-research summary span{min-width:0;flex:1;font-size:13px}.machine-research summary small{display:block;font-size:10px;color:#b6a9c4;margin-top:3px}.machine-research summary>b{font-size:9px;color:#c6abdd;max-width:80px}.facility-fork{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border-top:1px solid #77607d;background:linear-gradient(90deg,transparent 49.7%,#81668e 49.7%,#81668e 50.3%,transparent 50.3%)}.facility-fork>.skill-node:first-child,.facility-fork>.skill-node:last-child{grid-column:1/-1}.facility-fork .skill-node{min-height:166px;padding:10px 8px;gap:7px}.facility-fork .skill-node strong{font-size:13px!important;color:#e0d4e9}.facility-fork .skill-node .skill-effect{font-size:10px;line-height:1.8}.facility-fork .skill-node:nth-child(2){border-left:3px solid #b8c99c}.facility-fork .skill-node:nth-child(3){border-left:3px solid #e4bb71}.research-grid .skill-node+.skill-node,.facility-fork .skill-node+.skill-node{margin:0}.research-grid .skill-node:before,.facility-fork .skill-node:before{display:none!important}.research-start{position:sticky;bottom:0;background:#261e2ce8;border:1px solid #887197;padding:10px!important;z-index:5;justify-content:flex-end}.research-start button{background:#cdb5df;color:#302738;border-color:#e3d3ee}.research-section .skill-node strong{color:#e1d2ef}.research-section .skill-node{min-height:178px}.research-section .skill-node .skill-effect{font-size:10px}.points-button:disabled{opacity:1;cursor:default}.points-button:disabled .eyebrow:after{content:' ◇';font-size:10px}.skill-modal .skill-top h2{font-size:25px!important}body[data-scene=cosmos] .scene-grid{background-color:#151c37;background-image:radial-gradient(#e3cf9c 1px,transparent 1px),radial-gradient(#9ec3cf 1px,transparent 1px);background-size:19px 23px,37px 43px}
@media(max-width:700px){.research-grid{grid-template-columns:1fr 1fr;padding:8px;gap:8px}.machine-research-grid{grid-template-columns:1fr}.facility-fork .skill-node{min-height:154px}.research-section>summary{font-size:12px;padding:10px}.research-start button{width:100%}.research-section .skill-node{min-height:160px}#terminal-click-hint small{font-size:8px}#terminal-click-hint.click-enhanced b{padding:2px 5px}.channel-control small{font-size:8px}}

.facility-boosted{position:relative}.facility-boosted:after{content:"×" attr(data-multiplier);position:absolute;right:15px;top:6px;color:var(--effect);font-size:10px;font-weight:700}.facility-boosted .equipment-output:after{content:none}.skill-prerequisites{font-size:8px;color:#b6a9c4;line-height:1.6;font-weight:400}.research-grid .skill-prerequisites{font-size:9px}

body.attack-alert .attack-meter-title strong{color:#ffd4bd}body[data-theme=ivory].attack-alert .points-button{background:#6b2634;border-color:#bf7778}body[data-theme=ivory].attack-alert .points-button .eyebrow,body[data-theme=ivory].attack-alert .points-button>strong{color:#ffd7bc}
/* Research uses the selected palette so unavailable text keeps enough contrast */
#modal.skill-modal .research-section,#modal.skill-modal .machine-research{background:var(--panel);border-color:var(--line)}
#modal.skill-modal .research-section>summary,#modal.skill-modal .machine-research>summary{background:var(--surface);color:var(--cream)}
#modal.skill-modal .machine-research summary small,#modal.skill-modal .machine-research summary>b{color:var(--muted)}
#modal.skill-modal .skill-node{--branch-color:var(--action);background:var(--surface);color:var(--cream);border-color:var(--line);opacity:1}
#modal.skill-modal .skill-node strong{color:var(--cream)!important;opacity:1}
#modal.skill-modal .skill-node .skill-effect{color:var(--effect)}
#modal.skill-modal .skill-node .skill-state,#modal.skill-modal .skill-prerequisites{color:var(--muted)}
#modal.skill-modal .skill-node.available{background:var(--action);color:var(--action-ink);border-color:var(--action)}
#modal.skill-modal .skill-node.available strong,#modal.skill-modal .skill-node.available .skill-effect,#modal.skill-modal .skill-node.available .skill-state,#modal.skill-modal .skill-node.available .skill-prerequisites{color:var(--action-ink)!important}
#modal.skill-modal .skill-node.learned{background:var(--info-bg);border-color:var(--info);color:var(--info)}
#modal.skill-modal .skill-node.locked .skill-effect{color:var(--muted)}
#modal.skill-modal .facility-fork{border-color:var(--line);background:linear-gradient(90deg,transparent 49.8%,var(--line) 49.8%,var(--line) 50.2%,transparent 50.2%)}
#modal.skill-modal .research-start{background:var(--panel);border-color:var(--line)}
#modal.skill-modal .research-start button{background:var(--action);color:var(--action-ink);border-color:var(--action)}
/* A growing circuit map replaces the chapter toggles */
#modal.skill-modal{width:min(1180px,calc(100vw - 32px));height:min(820px,calc(100dvh - 32px));max-height:none;overflow:hidden;box-sizing:border-box}
#modal.skill-modal .modal-heading{height:34px;min-height:34px;padding:5px 18px;border:0;box-sizing:border-box}
#modal.skill-modal #modal-content{height:calc(100% - 34px);padding:0;display:flex;flex-direction:column;min-height:0;box-sizing:border-box}
.research-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 22px 15px;flex:none}
#modal.skill-modal .research-header .eyebrow{font-size:9px;margin-bottom:5px;letter-spacing:.12em;color:var(--muted)}
#modal.skill-modal .research-header h2{margin:0;font-size:21px;font-weight:650;letter-spacing:.04em}
.research-wallet{text-align:right;flex:none;color:var(--reboot)}.research-wallet>small{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.research-wallet strong{font-size:23px;font-weight:600}.research-wallet strong small{font-size:11px}
.research-map{position:relative;min-height:0;flex:1;margin:0 16px;border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden}
.research-viewport{position:relative;width:100%;height:100%;overflow:hidden;touch-action:none;cursor:grab;overscroll-behavior:contain;outline-offset:-4px;background-image:radial-gradient(circle,var(--line) .7px,transparent .9px);background-size:20px 20px;user-select:none;-webkit-user-select:none}
.research-viewport.dragging{cursor:grabbing}.research-world{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:0 0;will-change:transform}
.research-origin{position:absolute;right:12px;top:8px;color:var(--line);font-size:22px;pointer-events:none}.research-wires{position:absolute;overflow:visible;pointer-events:none;fill:none}.research-wire{stroke:var(--green-dim);stroke-width:2;stroke-linejoin:round;stroke-linecap:square;opacity:.65}.research-wire.connected{stroke:var(--info);opacity:.85}.research-wire.frontier{stroke-dasharray:4 4}.research-wire.inherited{stroke-dasharray:2 7;opacity:.3}.research-wire.highlighted{stroke:var(--action);stroke-width:3;opacity:1;stroke-dasharray:none}
#modal.skill-modal .research-node{position:absolute;transform:translate(-50%,-50%);width:136px;height:40px;min-height:0;padding:5px 10px;font-size:11px;line-height:1.25;font-weight:600;text-align:center;border:1.5px solid var(--line);border-radius:7px 2px 7px 2px;background:var(--panel);color:var(--cream);box-shadow:0 3px 0 color-mix(in srgb,var(--line) 50%,transparent);cursor:pointer;isolation:isolate}
.research-node span{display:block;overflow-wrap:anywhere;text-wrap:balance;pointer-events:none}.research-node:before,.research-node:after{content:'';position:absolute;width:5px;height:5px;background:var(--node-accent,var(--info));border:1px solid var(--panel);top:calc(50% - 3px)}.research-node:before{left:-5px}.research-node:after{right:-5px}
#modal.skill-modal .research-node[data-skill=archive-root]{width:150px;height:56px;border:2px solid var(--action);border-radius:12px 3px 12px 3px;font-size:13px;box-shadow:0 0 0 5px var(--surface),0 0 0 6px var(--line),0 4px 0 6px var(--line)}
#modal.skill-modal .research-node[data-kind=input]{--node-accent:var(--amber)}
#modal.skill-modal .research-node[data-kind=voice],#modal.skill-modal .research-node[data-kind=growth]{--node-accent:var(--reboot)}
#modal.skill-modal .research-node[data-kind=event]{--node-accent:var(--amber)}
#modal.skill-modal .research-node[data-kind=signal]{--node-accent:var(--shortage)}
#modal.skill-modal .research-node.available{background:var(--action);border-color:var(--action);color:var(--action-ink)}
#modal.skill-modal .research-node.learned{background:var(--info-bg);border-color:var(--info);color:var(--cream)}
#modal.skill-modal .research-node.unaffordable{border-style:dashed;background:var(--panel);color:var(--muted);box-shadow:none}
#modal.skill-modal .research-node:hover,#modal.skill-modal .research-node:focus-visible{outline:2px solid var(--node-accent,var(--info));outline-offset:4px;filter:none}
.research-map-controls{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:2px 3px 0 #0000000c}.research-map-controls button{height:29px;min-height:29px;min-width:30px;padding:2px 9px;border:0;border-radius:4px;font-size:11px;color:var(--info);background:var(--info-bg)}.research-map-controls button:hover:not(:disabled){background:var(--info);color:var(--panel)}#research-zoom{min-width:36px;text-align:center;font-size:9px;color:var(--muted)}
.research-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px 16px;flex:none}.research-footer>div>span{display:block;font-size:10px;color:var(--cream)}.research-footer small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.research-footer>button{font-size:12px;min-height:39px;padding:8px 16px;white-space:nowrap}
#modal #game-tooltip{z-index:1000;pointer-events:auto;box-shadow:4px 4px 0 #0000001f}
#game-tooltip .research-tooltip-branch{font-size:9px;color:var(--info);display:block;margin-bottom:4px}#game-tooltip .research-tooltip-status{font-size:10px;color:var(--info);margin-top:12px;font-weight:600}#game-tooltip [data-unlock-skill]{width:100%;margin-top:12px;font-size:11px}
@keyframes circuit-reveal{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}.research-node.just-revealed{animation:circuit-reveal .35s steps(4,end)}.reduced .research-node.just-revealed{animation:none}
@media(prefers-reduced-motion:reduce){.research-node.just-revealed{animation:none}}
@media(max-width:700px){#modal.skill-modal{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:10px}#modal.skill-modal .modal-heading{height:26px;min-height:26px;padding:4px 12px}#modal.skill-modal #modal-content{height:calc(100% - 26px)}.research-header{padding:8px 13px 12px;gap:8px}#modal.skill-modal .research-header h2{font-size:17px}.research-wallet>small{font-size:8px}.research-wallet strong{font-size:19px}.research-map{margin:0 9px}.research-footer{align-items:stretch;flex-direction:column;gap:9px;padding:10px 12px 12px}.research-footer>div>span{font-size:9px}.research-footer small{font-size:8px;margin-top:3px}.research-footer>button{width:100%;font-size:11px;min-height:38px}.research-map-controls{right:7px;bottom:7px}.research-map-controls button{padding:2px 7px}}
.research-map,.research-viewport{overflow:clip}.research-viewport{contain:layout paint}
/* Shared research and the pixel runner */
.number-unit{font-size:clamp(19px,2.4vw,32px);font-weight:800;letter-spacing:-1px;margin-left:6px;white-space:nowrap}#dp-display{display:flex;align-items:baseline;min-width:0}.float-number .number-unit{font-size:16px}.research-node .new-badge{position:absolute;right:-8px;top:-9px;padding:2px 4px!important;font-size:7px!important;line-height:1!important;display:inline-block!important;z-index:2}.research-node[data-kind=runner]{--node-accent:#a77c24}.research-node[data-kind=system],.research-node[data-kind=expansion]{--node-accent:var(--action)}.upgrade-filter{position:sticky;top:0;z-index:2;display:block;margin:0 12px 12px auto;min-height:30px;font-size:10px;border:1px solid var(--info);background:var(--info-bg);color:var(--info);border-radius:16px;padding:4px 12px}.upgrade-filter[aria-pressed=true]{background:var(--info);color:var(--panel)}.debug-dp-button{font-size:12px!important;min-height:38px!important;padding:6px 16px!important;font-weight:bold!important;border:2px dashed #b75a39!important;border-radius:7px!important;background:#efd3a7!important;color:#7d341c!important}.page-footer{min-height:46px}.runner-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.runner-header h2{margin-bottom:0}.runner-header>b,.runner-header b{color:var(--action);font-size:23px}.runner-note{font-size:11px!important;color:var(--muted);margin:8px 0!important;line-height:1.8!important}#runner-canvas{width:100%;height:auto;aspect-ratio:3.2;image-rendering:pixelated;border:2px solid var(--line);background:#eee8d5;display:block;touch-action:none;border-radius:4px;outline-offset:3px}.runner-controls{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.runner-controls button{padding:7px 13px;border-radius:7px;min-height:40px;border-color:var(--info);color:var(--info);background:var(--info-bg);touch-action:none}.runner-controls .accent-button{background:var(--action);color:var(--action-ink);border-color:var(--action)}.runner-readout{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px}.runner-readout>b{font-family:monospace;font-size:26px;color:var(--action)}.runner-prize{display:grid;gap:9px;padding:14px;background:var(--event-bg);border:1px solid var(--event);border-radius:8px;margin:12px 0;color:var(--cream)}.runner-prize>span{font-size:11px;color:var(--event)}.runner-prize>strong{font-size:20px}.runner-prize>button{justify-self:end}.runner-skins{display:flex;gap:7px;margin-top:12px}.runner-skins button{border-radius:14px;padding:3px 12px;min-height:29px;font-size:10px;border-color:var(--info)}.runner-skins button[aria-pressed=true]{background:var(--info-bg);outline:1px solid var(--info)}.runner-rewards{margin-top:16px;font-size:11px;line-height:1.8}.runner-rewards summary{cursor:pointer;color:var(--info)}.runner-rewards p{font-size:11px!important;line-height:1.9!important}.voice-actions{flex-wrap:wrap}.voice-actions button{position:relative}.voice-actions .new-badge{margin-left:5px}
@media(max-width:700px){.page-footer{height:43px;min-height:43px}.page-footer>span:nth-child(2){display:none}.debug-dp-button{min-height:33px!important;font-size:9px!important;padding:3px 8px!important}#dp-display svg{max-width:130px}.number-unit{font-size:16px}.runner-header h2{font-size:21px!important}.runner-header b{font-size:19px}.runner-controls{gap:5px}.runner-controls button{font-size:10px;padding:5px 8px}.runner-readout{align-items:flex-start;font-size:10px}.runner-readout span{text-align:right;max-width:200px}.runner-prize>strong{font-size:16px}}

/* Rebuild actions keep clear text contrast in both ready and hover states */
:root{--reboot-ink:#261b30}body[data-theme=ivory]{--reboot-ink:#fff9ed}
.operation-shortcuts>button.ready small{color:inherit}
.operation-shortcuts>button.ready:hover:not(:disabled){background:color-mix(in srgb,var(--reboot) 90%,#000);border-color:var(--reboot);color:var(--reboot-ink)}
.mobile-nav [data-action=prestige]{background:var(--reboot);color:var(--reboot-ink)!important;border-color:var(--reboot)}
.event-heading{gap:10px;flex-wrap:wrap}.event-tools{display:flex;gap:8px;align-items:center;margin-left:auto}.event-tools #inbox-status{font-size:8px;color:var(--muted)}.event-tools .details-button{font-size:9px;min-height:27px;white-space:nowrap;padding:3px 10px}
/* Compact machines and quiet secondary links */
.equipment-row{padding:5px 12px;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) 126px;grid-template-areas:'main buy' 'output buy';gap:3px 9px;align-content:center}
.equipment-main{grid-area:main;gap:8px}.equipment-info{width:34px;min-height:34px;border-radius:7px}.equipment-info .equipment-icon{width:28px;height:28px;padding:2px}.equipment-title strong{font-size:11px}.equipment-owned span{font-size:22px}.equipment-owned small{display:inline;font-size:8px;margin-left:3px}.equipment-bottom{display:contents}.equipment-output{grid-area:output;padding-left:46px;font-size:8px}.equipment-row .buy-button{grid-area:buy;min-width:0;width:126px;min-height:38px;font-size:10px;padding:4px 8px;gap:7px;align-self:center}.equipment-row .new-badge{font-size:7px!important;margin:1px 0 0 3px}.equipment-row.facility-boosted:after{right:148px;top:2px;font-size:8px}
.rack-row{padding:5px 8px;border-radius:7px}.rack-row-heading{min-height:23px;padding:0;font-size:10px}.rack-row-heading b{font-size:17px}.rack-gallery{padding:3px 0 6px;gap:3px}.rack-machine{flex-basis:39px;min-width:39px;height:38px}.rack-machine .equipment-icon{width:30px;height:30px;padding:2px}.rack-machine .machine-led{bottom:3px;right:4px;width:3px;height:3px}.facility-rack{gap:5px}.rack-heading{margin-top:12px;padding-top:12px}
.journal-tools .details-button,.event-tools .details-button,.panel-heading .details-button{background:transparent;color:var(--muted);border:1px solid var(--line-soft);box-shadow:none}
.journal-tools .details-button:hover:not(:disabled),.event-tools .details-button:hover:not(:disabled),.panel-heading .details-button:hover:not(:disabled){background:var(--surface);color:var(--cream);border-color:var(--line)}
.delivery-control{display:inline-block;margin-top:8px;border-radius:8px}.delivery-control:focus-visible{outline:2px solid var(--info);outline-offset:3px}.delivery-control:has(button:disabled){cursor:help}
.admin-shortcut{min-height:27px;font-size:9px;padding:2px 11px;background:transparent;color:var(--muted);border:1px solid var(--line-soft);border-radius:14px}.runner-help{padding:10px 13px;margin:10px 0;border:1px solid var(--line-soft);border-radius:7px;background:var(--surface)}.runner-help p{font-size:11px!important;line-height:1.9!important}.runner-help small{font-size:10px;color:var(--muted)}.runner-rewards b{color:var(--action)}.runner-controls [data-action=runner-help]{background:transparent;color:var(--muted);border-color:var(--line)}
@media(min-width:701px) and (max-width:950px){.equipment-row{grid-template-columns:minmax(0,1fr) 111px;padding:7px 8px}.equipment-row .buy-button{width:111px;font-size:9px}.equipment-title strong{font-size:10px}.equipment-main{gap:5px}.equipment-info{width:32px;min-height:32px}.equipment-info .equipment-icon{width:28px;height:28px;padding:1px}.equipment-owned span{font-size:19px}.equipment-output{padding-left:37px}}
@media(max-width:700px){.equipment-row{min-height:65px;padding:5px 10px;grid-template-columns:minmax(0,1fr) 125px;gap:2px 6px}.equipment-info{width:34px;min-height:34px}.equipment-info .equipment-icon{width:28px;height:28px;padding:2px}.equipment-title strong{font-size:11px}.equipment-owned span{font-size:21px}.equipment-output{padding-left:42px;font-size:8px}.equipment-row .buy-button{width:125px;min-height:36px;font-size:10px}.runner-controls button{font-size:10px;padding:5px 10px}.page-footer{height:33px;min-height:33px}}
.rack-row .rack-row-heading{min-height:24px;font-size:10px}.rack-row .rack-row-heading>b{font-size:16px;padding:0 5px;line-height:1.25;min-width:38px}
.equipment-title strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}html[lang=en] .equipment-row .equipment-title strong{font-size:11px}

/* Rebuild lives in the Echo Bits wallet */
.points-button{position:relative;text-align:left;border-radius:8px;padding:5px 12px;min-height:62px}
.points-button #reboot-hint{display:block;color:var(--reboot);font-size:10px;line-height:1.3;margin-top:2px;white-space:nowrap}
.points-button.ready,.points-button[data-action=skills]{background:var(--reboot);color:var(--reboot-ink);border-color:var(--reboot)}
.points-button.ready .eyebrow,.points-button.ready>strong,.points-button.ready small,.points-button.ready #reboot-hint,.points-button[data-action=skills] .eyebrow,.points-button[data-action=skills]>strong,.points-button[data-action=skills] small,.points-button[data-action=skills] #reboot-hint{color:inherit!important}
.points-button.ready:hover:not(:disabled),.points-button[data-action=skills]:hover:not(:disabled){background:color-mix(in srgb,var(--reboot) 88%,#000);color:var(--reboot-ink);border-color:var(--reboot)}
.admin-tools{display:grid;gap:10px;margin:18px 0}.admin-tools>button{min-height:46px;padding:9px 14px;border-radius:7px;text-align:left}.admin-tools>[data-action=debug-signal]{border-color:#a34441;color:#873532;background:#f1d7cd}.admin-tools>[data-action=debug-decoy]{border-color:#a17b38;color:#73541f;background:#f1e4c7}
@media(max-width:700px){.points-button{padding:4px 7px}.points-button #reboot-hint{font-size:8px;white-space:normal}.points-button>strong{font-size:19px}}

body[data-theme=ivory].attack-alert .points-button #reboot-hint{color:#ffd7bc}
