#pc-builder{max-width:1500px;margin:auto;padding:18px 24px;color:#284a48;--pc-line:#c7d5ca;--pc-cream:#fffdf6}#pc-builder *{box-sizing:border-box}#pc-builder button{font:inherit;color:inherit;background:var(--pc-cream);border:1px solid #bdcec2;border-radius:10px;padding:9px 12px;min-height:40px;cursor:pointer}#pc-builder button:hover{background:#e6efdf}#pc-builder button:focus-visible,#pc-builder [tabindex]:focus-visible,#pc-builder input:focus-visible{outline:3px solid #d8a34c;outline-offset:3px}#pc-builder button:disabled{opacity:.4;cursor:default}.pc-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.pc-heading h1{font-size:clamp(24px,3vw,34px);margin:0;letter-spacing:-.03em}.pc-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-left:auto}#pc-builder .pc-icon{display:inline-grid;place-items:center;min-width:42px;width:42px;height:42px;padding:7px;font-size:23px}.pc-topline{display:flex;align-items:center;gap:16px;margin:0 0 14px}.pc-topline>span{margin-left:auto;font-size:13px}.pc-mode{display:flex;gap:7px}#pc-builder [aria-pressed=true]{background:#d8e7cb;border-color:#7e9e78}.pc-layout{display:grid;grid-template-columns:205px minmax(0,1fr) 235px;gap:14px;align-items:stretch}.pc-tray,.pc-bench,.pc-info{border:1px solid var(--pc-line);border-radius:18px;background:var(--pc-cream);padding:14px;min-width:0}.pc-tray h2{font-size:15px;margin:0 0 10px}.pc-parts{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:570px;overflow:auto;padding:2px}#pc-builder .pc-parts button{padding:5px;position:relative;min-width:0;touch-action:none;user-select:none;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center}.pc-parts svg{width:65px;height:48px;pointer-events:none}.pc-parts span{font-size:10px;line-height:1.3}.pc-parts i{position:absolute;right:4px;top:3px;color:#64834f;font-size:11px}.pc-parts .is-complete{opacity:.65}.pc-bench{background:linear-gradient(145deg,#edf4e9,#e0ebe1);padding:16px;display:flex;flex-direction:column}.pc-task{display:grid;gap:5px;border-left:3px solid #9eb077;padding:5px 10px}.pc-task>span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#72846b}.pc-task strong{font-size:17px}.pc-task small{font-size:11px;line-height:1.5;color:#6c8070}.pc-workspace{display:block;width:100%;height:auto;min-height:300px;margin:auto 0}.pc-slot{pointer-events:none}.pc-slot.is-target,.pc-slot.is-fitted{pointer-events:auto;cursor:pointer}.pc-slot.is-target>rect{filter:drop-shadow(0 0 5px #edc66b80)}.pc-screw{cursor:pointer}.pc-screw:hover circle{stroke:#f3c454;stroke-width:4px}.pc-screw.is-tight{opacity:.7}.pc-message{font-size:12px;line-height:1.55;color:#54715a;min-height:38px;margin:6px 0 10px}.pc-bench-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#pc-builder .pc-primary{background:#476f5b;border-color:#476f5b;color:white}.pc-bench-actions button{font-size:12px!important}.pc-info-art{height:100px;border-radius:12px;background:#edf1e7;display:grid;place-items:center}.pc-info-art svg{width:130px;height:100px}.pc-info h2{font-size:19px;margin:14px 0 8px}.pc-info>p{font-size:13px;line-height:1.75;margin:0 0 12px}.pc-fasteners{display:flex;justify-content:space-between;font-size:12px;padding:12px 0;border-bottom:1px solid #d7e1d4;margin-bottom:12px}.pc-checks{font-size:11px;display:grid;gap:7px;margin-top:14px;line-height:1.4}.pc-checks>div{display:flex;gap:7px}.pc-checks span{color:#6c8f60}.pc-safety{font-size:11px;line-height:1.6;color:#72816a;margin:12px 2px}.pc-tests{border:1px solid #b9cdb2;border-radius:18px;background:#eff4e6;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:14px}.pc-tests h2{font-size:20px;margin:0 0 10px}.pc-tests p{font-size:12px;line-height:1.6}.pc-keyboard-test{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pc-keyboard-test label{font-size:11px}.pc-keyboard-test input{min-width:100px;max-width:220px;padding:10px;border-radius:9px;border:1px solid #97b49f;font:inherit}.pc-test-target{font-size:35px!important;width:62px;height:62px}.pc-success{grid-column:1/-1;padding:14px;border-radius:12px;background:#dae8c7;color:#3f623e;font-size:17px}.pc-dialog{border:1px solid #b7cbb6;border-radius:20px;padding:24px;background:#fff9ee;color:#385d4b;max-width:450px;width:calc(100% - 30px)}.pc-dialog::backdrop{background:#223d4266}.pc-dialog h2{font-size:21px}.pc-dialog button{font:inherit;padding:10px 14px;border-radius:10px;margin:6px}.pc-tools .game-quick-tools{margin:0}.pc-tools .icon-btn svg{width:22px;height:22px}body[data-game-screen=pc-builder]>.topbar{display:none!important}@media(max-width:1100px){.pc-layout{grid-template-columns:170px minmax(0,1fr)}.pc-info{grid-column:1/-1;display:grid;grid-template-columns:140px 1fr auto;gap:10px 18px}.pc-info h2{margin:0}.pc-info>p{grid-column:2;grid-row:2}.pc-info-art{grid-row:span 3}.pc-info .pc-checks{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 16px}.pc-fasteners{grid-column:2}.pc-heading{flex-wrap:wrap}.pc-tools{margin-left:auto}}@media(max-width:650px){#pc-builder{padding:12px 10px}.pc-layout{display:flex;flex-direction:column}.pc-tray{padding:10px}.pc-parts{display:flex;overflow:auto;max-height:none;padding-bottom:7px}#pc-builder .pc-parts button{min-width:90px;max-width:90px;flex:none}.pc-tray h2{font-size:13px}.pc-info{display:block}.pc-info-art{display:none}.pc-info h2{margin-bottom:8px}.pc-info .pc-checks{display:none}.pc-workspace{min-height:240px}.pc-tests{grid-template-columns:1fr}.pc-topline{flex-wrap:wrap;gap:8px}.pc-mode button{font-size:12px!important}.pc-topline>span{font-size:11px}.pc-heading h1{font-size:25px}.pc-tools{flex-basis:100%;justify-content:flex-end}.pc-task small{font-size:10px}.pc-bench{padding:10px}.pc-bench-actions button{flex:1}.pc-info>p{font-size:13px}.pc-message{font-size:11px}}
@media(prefers-reduced-motion:no-preference){#pc-builder:has(.pc-tests) .pc-fan-blades{transform-origin:50px 48px;animation:pcSpin 1.2s linear infinite}@keyframes pcSpin{to{transform:rotate(360deg)}}}html[data-theme=dark] #pc-builder{color:#e2e7d5;--pc-cream:#293f3b;--pc-line:#59715f}html[data-theme=dark] .pc-bench{background:#354d45}html[data-theme=dark] .pc-info-art{background:#3b5146}html[data-theme=dark] .pc-tests{background:#354d3c}

.pc-screw.is-tight{pointer-events:none}

.pc-parts span{overflow-wrap:anywhere;max-width:100%}.pc-tray .pc-parts{overflow-x:hidden}

.pc-drag-ghost{position:fixed;z-index:9999;width:90px;height:75px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 8px 7px #28484766);opacity:.88}.pc-drag-ghost svg{width:100%;height:100%}

@media(max-width:650px){.pc-tray .pc-parts{overflow-x:auto}}

.pc-toast{position:fixed;right:22px;bottom:22px;z-index:10000;max-width:min(430px,calc(100vw - 32px));padding:15px 20px;border:1px solid #94b49b;border-radius:14px;background:#315d4b;color:#fff;box-shadow:0 8px 28px #183d3833;font-size:14px;line-height:1.6;pointer-events:none;animation:pcToastIn .2s ease-out}
@keyframes pcToastIn{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
#pc-builder .pc-screen-input{display:flex;flex-wrap:nowrap;gap:3px;margin:0;padding:0;width:148px;height:25px;font-family:Arial,sans-serif}#pc-builder .pc-screen-input input{width:117px;max-width:117px;min-width:0;height:24px;font-size:10px;padding:3px 5px;border:1px solid #4c8882;border-radius:3px;color:#214b48;background:#d6e9dd}#pc-builder .pc-screen-input button{width:27px;min-width:0;height:24px;min-height:0;padding:1px;border-radius:3px;font-size:12px}.pc-bench-actions{margin-top:12px}.pc-wire{pointer-events:none}@media(max-width:650px){.pc-toast{right:12px;bottom:12px;font-size:12px}}
