/* Visual styles only. Premium game rules and answers are delivered privately. */
.sc-game{--sc-ink:#214c60;--sc-blue:#237baf;box-sizing:border-box;color:var(--sc-ink);background:#f7fbfd;border:1px solid #d4e5ec;border-radius:21px;padding:16px;font-size:16px;line-height:1.55;min-width:0;width:100%;overflow-wrap:break-word}
.sc-game *{box-sizing:border-box;min-width:0}
.sc-game h3{font-size:1.08em;line-height:1.5;margin:16px 0 12px}
.sc-game button{font:inherit;font-weight:600;font-size:15px;line-height:1.4;min-height:46px;padding:11px 15px;border:1px solid #b9d5df;border-radius:15px;background:#fff;color:var(--sc-ink);cursor:pointer;white-space:normal;max-width:100%;touch-action:manipulation}
.sc-game button:hover:not(:disabled){background:#eff9fb}
.sc-game button:focus-visible{outline:3px solid #056da9;outline-offset:3px}
.sc-game button:disabled{opacity:.45;cursor:default}
.sc-game .ex-primary{margin:14px 0 4px;color:white;background:#167fa4;border:0;width:100%}
.sc-game .sc-selected{border:2px solid #227caf;background:#e4f4fb;box-shadow:0 0 0 1px #227caf inset}
.sc-controls{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;align-items:stretch}
.sc-controls button{flex:1 1 110px}
.sc-grade{display:block;text-transform:uppercase;letter-spacing:.09em;color:#517985;font-size:11px;font-weight:750;margin-bottom:18px}
.sc-note{padding:12px 14px;background:#edf6f8;border-radius:14px;font-size:14px;line-height:1.65;margin:16px 0}
.sc-note strong{font-size:inherit}
.sc-svg{width:100%;max-width:480px;display:block;margin:14px auto;border-radius:20px;background:#f6fafc;overflow:hidden;font-family:system-ui,sans-serif}
.sc-svg text{font:12px system-ui,sans-serif;fill:#234d62}
.sc-axis{fill:none;stroke:#6b91a4;stroke-width:1.6}
.sc-counter,.sc-machines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sc-counter section,.sc-machines section{padding:12px 8px;background:#eff8fb;border:1px solid #d0e3e9;border-radius:16px;text-align:center}
.sc-counter h3{font-size:12px;margin:0 0 10px}
.sc-counter output,.sc-machines output{display:block;font-size:26px;color:#216a93;font-weight:750;line-height:1.3;margin-bottom:10px}
.sc-counter small,.sc-machines small{display:block;font-size:11px;line-height:1.5}
.sc-tokens{display:flex;flex-wrap:wrap;gap:1px;justify-content:center;margin-top:8px}
.sc-tokens i{font-style:normal;color:#3291b1;font-size:7px;width:7px;line-height:9px}
.sc-machines{grid-template-columns:repeat(2,minmax(0,1fr))}
.sc-machines p{font-size:13px;line-height:1.5}
.sc-machine-icon{border-radius:12px;background:#3f6c86;color:#ffe4a3;padding:14px 5px;font-size:17px}
.sc-door-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:14px auto;max-width:360px}
.sc-game .sc-door{padding:0;border-radius:12px;min-height:43px;font-size:22px}
.sc-door-map{padding:10px;border-radius:18px;background:linear-gradient(135deg,#e6edf9,#e5f4f2)}
.sc-game .sc-door{position:relative;background:#ffffffb8;isolation:isolate}
.sc-game .sc-door:before{content:"";position:absolute;inset:5px 20% 3px;border:1px solid #c0cee8;border-radius:45% 45% 2px 2px;background:linear-gradient(#dae7fa90,#e7f4f940);z-index:-1}
.sc-game .sc-source{background:#e2edf7;color:#185b90;font-weight:850}
.sc-zero-bench{border:2px dashed #b5d7df;border-radius:20px;padding:15px;display:grid;gap:16px}
.sc-token-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;min-height:44px}
.sc-positive,.sc-game .sc-negative{display:flex;align-items:center;justify-content:center;border:1px solid #83b9ac;border-radius:50%;background:#ddf1e9;color:#235e49;width:44px;height:44px;min-height:44px;padding:0;font-size:14px}
.sc-game .sc-negative{background:#fce6df;border-color:#d3a28d;color:#9e4531}
.sc-poster{display:grid;grid-template-columns:repeat(var(--sc-cols),1fr);aspect-ratio:4/3;border:3px dashed #8c9fac;border-radius:16px;padding:6px;gap:5px;margin:18px 0;background:#f7fafb}
.sc-poster span{display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:8px;transition:background .25s,opacity .25s}
.sc-kept{background:#95c9d5;color:#225a72}.sc-cut{background:#e8edef;color:#bac4c9}
.sc-square{display:grid;aspect-ratio:1;max-width:330px;gap:4px;padding:4px;margin:18px auto;border:3px dashed #b6a68b;background:#f5f0e6}
.sc-game .sc-block{padding:4px;min-height:0;border-radius:3px;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.sc-game .sc-block-0.sc-built{background:#9dbed9}.sc-game .sc-block-1.sc-built,.sc-game .sc-block-2.sc-built{background:#f0d196}.sc-game .sc-block-3.sc-built{background:#adcbbb}
.sc-badges{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sc-game .sc-badge{padding:9px 2px;font-size:23px;min-height:70px;line-height:1.4;border-width:2px}
.sc-badge small{display:block;font-size:9px}.sc-game .sc-blue{background:#d8ebfb;color:#1d6699}.sc-game .sc-red{background:#fce3df;color:#a14c3d}
.sc-game .sc-outside{opacity:.2}.sc-game .sc-badge.sc-selected{outline:3px solid #376277;outline-offset:1px}
.sc-rover-track{height:54px;position:relative;background:linear-gradient(transparent 40px,#bcced7 40px,#bcced7 43px,transparent 43px);margin:12px 0}
.sc-rover-track span{position:absolute;bottom:10px;color:#267e95;font-size:37px;transition:left .5s ease}
.sc-seed-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sc-game .sc-seed-path{padding:14px 7px}.sc-seed-path span,.sc-seed-path strong,.sc-seed-path small{display:block;line-height:1.5}.sc-seed-path span{font-size:21px}.sc-seed-path strong{font-size:14px}.sc-seed-path small{font-size:11px;font-weight:400;margin-top:8px}
.sc-recap p{font-size:15px;line-height:1.65}
.sc-demo-visual{padding:20px 12px;background:#e7f3f6;border-radius:16px;text-align:center;font-size:20px;line-height:1.9;margin:18px 0;overflow-wrap:anywhere}
.sc-demo-visual .sc-positive,.sc-demo-visual .sc-negative{display:inline-flex;vertical-align:middle}
.sc-orbit{transform-origin:160px 120px;animation:sc-half-turn 2.5s ease-in-out infinite alternate}
@keyframes sc-half-turn{0%,15%{transform:rotate(0)}85%,100%{transform:rotate(180deg)}}
@media(max-width:360px){.sc-game{padding:10px}.sc-controls{gap:8px}.sc-game button{padding:10px;font-size:14px}}
@media(min-width:600px){.sc-game{font-size:17px}.sc-counter h3{font-size:16px}.sc-counter small{font-size:13px}.sc-badge small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sc-game *{transition:none!important;animation:none!important}}
