.bf-shell{--bf-gold: #ffe5a2;--bf-cyan: #91e6f6;--bf-ink: #06192c;min-width:0;color:#fff}.bf-shell button,.bf-shell select{font:inherit;min-height:48px;border:2px solid #8fdcf0;border-radius:12px;font-weight:800;line-height:1.25;cursor:pointer;padding:10px 16px;background:#12354c;color:#fff}.bf-shell button:disabled{cursor:default;opacity:.55}.bf-shell button:focus-visible,.bf-shell select:focus-visible{outline:3px solid #ffe29a;outline-offset:4px}.bf-shell .bf-primary{background:#ffda83;color:#2a210b;border-color:#ffebae;box-shadow:0 3px #a2752c}.bf-shell .bf-primary:disabled{opacity:.6;box-shadow:none}.bf-shell h2,.bf-shell h3,.bf-shell p{margin:0}.bf-shell h2{font-weight:950}.bf-shell h3{font-weight:900}.bf-shell svg{flex-shrink:0}.bf-setup,.bf-results{color:#093449;display:grid;gap:24px}.bf-setup{grid-template-columns:minmax(0,1fr);color:#fff}.bf-setup .bf-settings select{border-color:#a8d7e5}.bf-setup button,.bf-results button{background:#e8f7fb;color:#07354c}.bf-setup .game-ui-actions,.bf-results .game-ui-actions{flex-wrap:wrap;gap:14px}.bf-setup-art{display:flex;align-items:center;gap:24px;padding:26px;border-radius:20px;background-size:cover;background-position:center;color:#fff;border:2px solid #3d7089}.bf-setup-art img{flex-shrink:0}.bf-setup-art h3{font-size:26px;color:#ffe5a2;margin-bottom:8px}.bf-setup-art p{font-size:19px;line-height:1.6;max-width:750px}.bf-instructions{display:flex;gap:32px;flex-wrap:wrap;margin:0;padding-left:24px;font-size:19px;font-weight:750}.bf-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bf-settings label{display:grid;grid-template-rows:auto 1fr;align-content:start;gap:8px;font-size:18px;font-weight:850;min-width:0}.bf-settings select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:52px;padding-inline:12px 32px;background-image:linear-gradient(45deg,transparent 50%,#093449 50%),linear-gradient(135deg,#093449 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px;background-repeat:no-repeat;width:100%;font-size:18px;background:#f1faff;color:#092f48}.bf-challenge-note,.bf-local-note{font-size:18px;line-height:1.6}.bf-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.bf-section-title h3{font-size:clamp(17px,1.6vw,24px)}.bf-section-title strong{font-size:18px;color:inherit}.bf-collection{display:grid;gap:14px}.bf-collection-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.bf-collection-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:28px;min-height:88px}.bf-collection-grid button>span{line-height:1}.bf-collection-grid svg{position:absolute;bottom:7px;right:7px;width:18px;height:18px}.bf-collection-grid button[aria-pressed=true]{background:#0c4c69;color:#fff;outline:3px solid #d6a736;outline-offset:2px}.bf-play{grid-auto-rows:max-content;width:100%;min-height:100%;padding:clamp(12px,2vw,28px);display:grid;align-content:center;gap:clamp(12px,1.4vw,22px);background-color:#091e2a;background-size:cover;background-position:center;background-attachment:scroll;box-sizing:border-box}.bf-shell .bf-play .bf-board{container-type:size;display:grid;grid-template-areas:"mission" "tutorial" "orders" "tray";grid-template-rows:max-content max-content minmax(0,1fr) max-content;align-items:stretch;overflow:visible;scrollbar-gutter:auto;gap:8px;padding:4px}.bf-board>.bf-mission{grid-area:mission}.bf-board>.bf-tutorial{grid-area:tutorial}.bf-board>.bf-orders{grid-area:orders;min-height:0;grid-auto-rows:minmax(0,1fr);align-self:stretch}.bf-board>.bf-tray{grid-area:tray}.bf-shell .bf-play .bf-board .bf-order{min-height:0;align-content:center;grid-template-rows:max-content max-content max-content max-content;padding-block:10px 30px}.bf-shell .bf-play .bf-order .bf-token{height:clamp(60px,12cqh,100px);aspect-ratio:auto}.bf-shell .bf-play .bf-equation .bf-operator{line-height:1}.bf-shell .bf-play .bf-target{line-height:1.4}.bf-order-label-short{display:none}@media(min-width:1101px)and (max-height:650px){.bf-shell .bf-play .bf-board .bf-order{padding:6px;gap:3px}.bf-shell .bf-play .bf-order-tag,.bf-shell .bf-play .bf-order-foot{display:none}.bf-shell .bf-play .bf-board .bf-order-title{font-size:18px;line-height:1.4}.bf-shell .bf-play .bf-board .bf-order .bf-target{font-size:28px}.bf-shell .bf-play .bf-board .bf-order .bf-token{height:40px}.bf-shell .bf-play .bf-board .bf-order .bf-token strong{font-size:26px}}.bf-shell .bf-play .bf-order .bf-equation{min-height:-moz-max-content;min-height:max-content}@media(max-width:1100px){.bf-shell .bf-play{padding:6px;gap:6px}.bf-shell .bf-play .bf-board{gap:6px;padding:2px;grid-template-areas:"orders" "tray";grid-template-rows:minmax(0,1fr) max-content}.bf-shell .bf-play .bf-board:has(.bf-tutorial){grid-template-areas:"tutorial" "orders" "tray";grid-template-rows:max-content minmax(0,1fr) max-content}.bf-shell .bf-play .bf-mission{display:none}.bf-shell .bf-play .bf-board .bf-order{padding:6px 5px 12px;gap:3px}.bf-shell .bf-play .bf-order-tag{font-size:11px}.bf-shell .bf-play .bf-order-tag>span{font-size:10px}.bf-shell .bf-play .bf-order-title{font-size:18px;line-height:1.1}.bf-shell .bf-play .bf-order-foot{display:none}.bf-shell .bf-play .bf-order .bf-token strong{font-size:clamp(18px,8cqh,28px)}.bf-shell .bf-play .bf-order .bf-token{height:clamp(28px,12cqh,50px)}.bf-shell .bf-play .bf-order .bf-token[data-digits="3"] strong,.bf-shell .bf-play .bf-order .bf-token[data-digits="4"] strong{font-size:clamp(16px,7cqh,24px)}.bf-shell .bf-play .bf-tray{padding:6px;gap:4px}.bf-shell .bf-play .bf-tray h3{font-size:15px}.bf-shell .bf-play .bf-tray .bf-section-title strong{font-size:13px}.bf-shell .bf-play .bf-ingots{gap:4px}.bf-shell .bf-play .bf-ingot{min-height:44px;padding:2px}.bf-shell .bf-play .bf-ingot .bf-token{height:40px}.bf-shell .bf-play .bf-ingot>span:last-child{display:none}.bf-shell .bf-play .bf-workbench{grid-template-columns:minmax(0,1fr);gap:3px;padding:5px 8px}.bf-shell .bf-play .bf-workbench h3{display:none}.bf-shell .bf-play .bf-workbench .bf-equation{max-width:280px;justify-self:center}.bf-shell .bf-play .bf-workbench .bf-token{height:40px;aspect-ratio:auto}.bf-shell .bf-play .bf-workbench .bf-token strong{font-size:26px}.bf-shell .bf-play .bf-workbench .bf-token[data-digits="3"] strong{font-size:23px}.bf-shell .bf-play .bf-workbench .bf-target{font-size:28px}.bf-shell .bf-play .bf-tools{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:4px}.bf-shell .bf-play .bf-tools .bf-primary{grid-column:auto}.bf-shell .bf-play .bf-tools button{min-height:44px;padding:4px;font-size:14px;line-height:1.15;white-space:nowrap}.bf-shell .bf-play .bf-status{min-height:0;padding:6px;gap:6px;grid-template-columns:28px minmax(0,1fr)}.bf-shell .bf-play .bf-status img{width:28px;height:28px}.bf-shell .bf-play .bf-status p{font-size:16px;line-height:1.2}}@media(max-width:700px){.bf-shell .bf-play .bf-mission{display:none}.bf-shell .bf-play .bf-order-title{font-size:16px}.bf-shell .bf-play .bf-order-tag{display:none}}@container forge-board (max-height: 280px){.bf-shell .bf-play .bf-order-foot{display:none}.bf-shell .bf-play .bf-board .bf-order{padding:4px;gap:2px}.bf-shell .bf-play .bf-order-tag{display:none}.bf-shell .bf-play .bf-board .bf-order-title{font-size:14px;line-height:1.4}.bf-shell .bf-play .bf-order .bf-token{height:25px}.bf-shell .bf-play .bf-order .bf-token strong{font-size:18px}.bf-shell .bf-play .bf-order .bf-token[data-digits="3"] strong{font-size:16px}.bf-shell .bf-play .bf-mission{display:none}}@media(max-height:480px){.bf-shell .bf-play{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr) max-content;padding:4px;gap:4px}.bf-shell .bf-play .bf-topbar{grid-column:1 / -1;grid-row:1}.bf-shell .bf-play .bf-board{grid-column:1;grid-row:2 / 4}.bf-shell .bf-play .bf-workbench,.bf-shell .bf-play .bf-victory{grid-column:2;grid-row:2;align-self:start}.bf-shell .bf-play .bf-status{grid-column:2;grid-row:3;grid-template-columns:minmax(0,1fr);overflow:visible;max-height:none}.bf-shell .bf-play .bf-status img{display:none}.bf-shell .bf-play .bf-tray h3{font-size:12px}.bf-shell .bf-play .bf-tray .bf-section-title strong{font-size:11px}.bf-shell .bf-play .bf-ingot .bf-token{height:32px}.bf-shell .bf-play .bf-ingot{min-height:44px}.bf-shell .bf-play .bf-ingot>span:last-child{display:none}.bf-shell .bf-play .bf-workbench .bf-token{height:32px}.bf-shell .bf-play .bf-workbench .bf-target{font-size:24px}.bf-shell .bf-play .bf-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-shell .bf-play .bf-tools .bf-primary{grid-column:1 / -1}}@media(max-width:479px)and (max-height:480px){.bf-shell .bf-play .bf-topbar .game-ui-topbar-label{display:none}.bf-shell .bf-play .bf-topbar .game-ui-topbar{padding:2px}.bf-shell .bf-play .bf-board .bf-orders{gap:4px}.bf-shell .bf-play .bf-board .bf-orders[data-count="3"]>:last-child{width:calc((100% - 4px)/2)}.bf-shell .bf-play .bf-board .bf-order{padding:2px;gap:1px}.bf-shell .bf-play{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.bf-shell .bf-play .bf-board .bf-order-title{font-size:12px;line-height:1.4}.bf-shell .bf-play .bf-order-label-full{display:none}.bf-shell .bf-play .bf-order-label-short{display:inline}.bf-shell .bf-play .bf-board .bf-order .bf-token{height:24px}.bf-shell .bf-play .bf-order .bf-operator,.bf-shell .bf-play .bf-board .bf-order .bf-token strong{font-size:16px}.bf-shell .bf-play .bf-tray .bf-section-title strong{display:none}.bf-shell .bf-play .bf-tray{padding:4px}.bf-shell .bf-play .bf-status p{font-size:13px;line-height:1.15}.bf-shell .bf-play .bf-status{padding:4px}.bf-shell .bf-play .bf-tools button{font-size:12px}.bf-shell .bf-play .bf-workbench{padding:4px}}.bf-shell .bf-play{height:100%;min-height:0;padding:8px;grid-template-rows:max-content minmax(0,1fr) max-content max-content;grid-auto-rows:auto;gap:8px;align-content:stretch}.bf-board{box-sizing:border-box;container:forge-board / inline-size;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:center;gap:12px;padding:6px 6px 12px;scrollbar-gutter:stable}.bf-board>*{flex-shrink:0}.bf-board .bf-mission{width:100%}.bf-topbar{min-width:0}.bf-topbar .game-ui-actions{width:auto;flex-wrap:nowrap}.bf-topbar .game-ui-actions>button{flex:none}.bf-topbar .game-ui-topbar{border-radius:12px;padding:8px 12px}.bf-topbar .game-ui-topbar-title{font-size:clamp(20px,2vw,30px)}.bf-topbar .game-ui-topbar-label{font-size:clamp(12px,1.1vw,17px)}.bf-topbar .bf-progress{color:#093449}.bf-topbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;color:#093449;border-color:#c6dfea;padding:8px;font-size:16px}.bf-topbar button[aria-pressed]{width:48px}.bf-play>.bf-workbench,.bf-play>.bf-status,.bf-play>.bf-victory{width:min(100%,1360px);justify-self:center}.bf-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 20px;border:1px solid #7497ab;border-radius:16px;background:#061b2bee}.bf-eyebrow{font-size:clamp(15px,1.3vw,20px);color:#b9deef;font-weight:750}.bf-header h2{font-size:clamp(26px,3vw,42px);line-height:1.2}.bf-progress{font-weight:900;font-size:clamp(20px,2vw,30px);color:#ffe5a2;white-space:nowrap}.bf-header-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bf-header-tools button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:16px;padding:9px 12px}.bf-header-tools button:first-child{width:48px;padding:8px}.bf-mission{text-align:center;font-weight:900;letter-spacing:.045em;font-size:clamp(16px,1.7vw,24px);color:#ffe5a2;text-shadow:0 2px 3px #000}.bf-orders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:min(100%,1360px);justify-self:center}.bf-orders[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1000px}.bf-orders[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.bf-shell .bf-order{position:relative;isolation:isolate;display:grid;grid-template-rows:auto auto auto auto;gap:8px;padding:20px 18px 80px;background:linear-gradient(#051a2ceb,#071c2aef);border:2px solid #6f94a1;border-radius:18px;min-width:0;min-height:250px;overflow:visible;box-shadow:0 8px 18px #0007;color:#fff;text-align:center}.bf-order:before{content:"";position:absolute;inset:0;background-image:var(--bf-station);background-size:100% 100%;background-repeat:no-repeat;z-index:-1;pointer-events:none}.bf-shell .bf-order[aria-pressed=true]{border-color:#ffe49d;box-shadow:0 0 0 3px #ad762755,0 6px 18px #0008}.bf-shell .bf-order[data-complete=true]{opacity:1;border-color:#83e7bd}.bf-order-tag{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:clamp(13px,1.1vw,17px);color:#bfe7f3}.bf-order-tag>span{display:flex;align-items:center;gap:4px;font-size:12px}.bf-order-title{font-size:clamp(20px,2vw,32px);color:#ffe6b0}.bf-order-foot{font-size:clamp(13px,1.15vw,17px);color:#d4e6ed;align-self:start;line-height:1.4}.bf-equation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto max-content;align-items:center;gap:clamp(3px,.5vw,8px);width:100%;min-width:0}.bf-token{container-type:inline-size;position:relative;display:block;width:100%;aspect-ratio:1.5;isolation:isolate;min-width:0}.bf-token img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;pointer-events:none}.bf-token strong{position:absolute;inset:0 5%;display:flex;align-items:center;justify-content:center;color:#251908;font-size:clamp(22px,2.6vw,42px);font-weight:950;font-variant-numeric:tabular-nums;line-height:1;z-index:1;white-space:nowrap}.bf-token-empty img{opacity:.45}.bf-shell .bf-token strong{font-size:clamp(20px,40cqi,44px)}.bf-shell .bf-token[data-digits="3"] strong{font-size:clamp(16px,30cqi,42px)}.bf-shell .bf-token[data-digits="4"] strong{font-size:clamp(15px,23cqi,38px)}.bf-token-empty strong{color:#fff0c5}.bf-operator{font-size:clamp(20px,2vw,32px);font-weight:900;color:#c6eaf4}.bf-target{font-size:clamp(24px,2.8vw,42px);font-weight:950;color:#ffe6a2;line-height:1.2;white-space:nowrap}.bf-tray,.bf-workbench{width:min(100%,1360px);justify-self:center;border:2px solid #93866a;border-radius:16px;padding:16px 22px;background:linear-gradient(125deg,#0b202deb,#17232cf0);box-shadow:0 5px 12px #0006;min-width:0}.bf-tray{display:grid;gap:8px}.bf-tray h3{color:#ffe5a2}.bf-ingots{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.bf-ingots[data-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}.bf-ingots[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.bf-shell .bf-ingot{container-type:inline-size;grid-template-rows:max-content max-content;display:grid;gap:0;align-content:center;justify-items:center;padding:2px 5px 8px;border-color:transparent;min-width:0;background:#071b27;box-shadow:inset 0 0 0 1px #63737f;min-height:96px}.bf-ingot .bf-token{max-width:170px;aspect-ratio:auto;height:84px;height:clamp(44px,60cqi,114px)}.bf-ingot .bf-token strong{font-size:clamp(24px,2.8vw,44px)}.bf-ingot>span:last-child{font-size:12px;letter-spacing:.04em;color:#d6edf7}.bf-shell .bf-ingot[aria-pressed=true]{border-color:#ffdd87;background:#543f22}.bf-shell .bf-ingot:disabled{opacity:.45}.bf-shell .bf-ingot:disabled>span:last-child{color:#fff}.bf-workbench{display:grid;grid-template-columns:auto minmax(230px,480px) minmax(260px,1fr);align-items:center;gap:20px;border-color:#b19b66}.bf-workbench h3{font-size:17px;color:#ffe5a2;max-width:140px}.bf-tools{display:grid;grid-auto-rows:max-content;grid-template-rows:max-content;grid-template-columns:minmax(110px,1.5fr) minmax(64px,1fr) minmax(64px,1fr);gap:10px}.bf-tools button{font-size:19px;min-height:56px}.bf-workbench .bf-token strong,.bf-workbench .bf-target{font-size:clamp(28px,3vw,48px)}.bf-status{display:grid;grid-template-columns:54px minmax(0,1fr);height:-moz-max-content;height:max-content;align-items:center;gap:16px;width:min(100%,1360px);justify-self:center;padding:10px 18px;background:#081e2df2;border:1px solid #75b1c6;border-radius:14px;min-height:78px;box-sizing:border-box}.bf-status img{flex-shrink:0}.bf-status p{min-width:0;font-size:clamp(18px,1.7vw,25px);font-weight:750;line-height:1.45}.bf-play-note{font-size:16px;text-align:center;color:#d5e6ed}.bf-notice{background:#fff3ce;color:#34290b;padding:12px;border-radius:10px}.bf-tutorial{display:flex;align-items:center;gap:14px;background:#e6f8ff;color:#10394f;border-radius:12px;padding:12px 20px;font-size:19px;font-weight:750;line-height:1.5}.bf-tutorial img{flex-shrink:0}.bf-victory{width:min(100%,1360px);justify-self:center;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:22px;background:#0a342bef;color:#e5ffee;border:2px solid #88e7ba;padding:24px;border-radius:18px;animation:bf-victory 5s ease-out both}.bf-victory>svg{width:58px;height:58px;color:#ffdf8b}.bf-victory h3{font-size:clamp(28px,3vw,42px)}.bf-victory p{font-size:20px;line-height:1.5}.bf-victory button{font-size:21px}.bf-flights{pointer-events:none;position:fixed;inset:0;z-index:95}.bf-flights .bf-token{height:100%;aspect-ratio:auto}.bf-station-effects{pointer-events:none;position:absolute;inset:0;overflow:hidden;border-radius:16px}.bf-hammer{position:absolute;width:42px;height:42px;bottom:26px;left:calc(50% - 21px);color:#ffdc8e;transform-origin:bottom center;animation:bf-hammer 1.3s ease-out both}.bf-sparks{position:absolute;width:42px;height:42px;left:25%;bottom:30%;color:#ffe4a4;animation:bf-spark 1.4s ease-out both}.bf-sparks-second{left:65%;animation-delay:.12s}.bf-order[data-pulse=wrong]{animation:bf-wrong .7s ease-out}.bf-order[data-pulse=undo]{animation:bf-undo .8s ease-out}.bf-result-stamp{display:flex;gap:14px;align-items:center;font-size:23px;font-weight:900;color:#075c44}.bf-result-stamp svg{width:42px;height:42px}.bf-result-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bf-result-orders section{padding:18px;border-radius:16px;background:#0b2637;color:#ffe5a2;border:2px solid #628a9d;min-width:0}.bf-result-orders h3{font-size:19px;margin-bottom:8px}.bf-result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.bf-result-stats div{background:#edf7fa;border:1px solid #99b8c8;padding:12px;border-radius:12px}.bf-result-stats dt{font-weight:750;font-size:16px}.bf-result-stats dd{margin:0;font-size:30px;font-weight:900}.bf-reflection{background:#fff3ce;padding:18px;border-radius:12px;font-size:21px;font-weight:750;line-height:1.5}@keyframes bf-hammer{0%,25%{transform:rotate(-45deg);opacity:0}35%{opacity:1;transform:rotate(-45deg)}48%{transform:rotate(15deg)}65%{transform:rotate(-15deg);opacity:1}to{opacity:0;transform:rotate(0)}}@keyframes bf-spark{0%,35%{opacity:0;transform:translateY(0) scale(.4)}45%{opacity:1}to{opacity:0;transform:translateY(-60px) scale(1.3)}}@keyframes bf-wrong{30%{outline:4px solid #ffbe64;outline-offset:2px}}@keyframes bf-undo{35%{outline:3px solid #bfe9f4;outline-offset:2px}}@keyframes bf-victory{0%{opacity:.7;transform:translateY(8px)}15%,to{opacity:1;transform:none}}@media(min-width:1600px){.bf-tools button{font-size:24px}.bf-header-tools button{font-size:20px}.bf-orders{gap:26px}.bf-shell .bf-order{min-height:300px;padding-bottom:95px}.bf-token strong{font-size:42px}.bf-order-title{font-size:32px}.bf-play{gap:22px}.bf-workbench{padding:18px 26px}}@media(max-width:1100px){.bf-ingots[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.bf-header{grid-template-columns:minmax(0,1fr) auto}.bf-header-tools{grid-column:1/-1;justify-content:flex-end}.bf-workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bf-workbench h3{grid-column:1/-1;max-width:none}.bf-orders[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}.bf-orders[data-count="4"] .bf-token strong{font-size:clamp(28px,3.8vw,42px)}.bf-ingots{grid-template-columns:repeat(4,minmax(0,1fr))}.bf-token strong{font-size:clamp(20px,2.8vw,32px)}.bf-order-tag{flex-wrap:wrap;justify-content:center}.bf-shell .bf-order{padding:18px 12px 75px;min-height:240px}.bf-target{font-size:clamp(24px,3vw,38px)}}@media(max-width:700px){.bf-orders,.bf-orders[data-count="4"],.bf-orders[data-count="2"]{grid-template-columns:1fr;max-width:500px;gap:18px}.bf-shell .bf-order{padding:22px 24px 90px;min-height:260px}.bf-order-tag{justify-content:space-between;font-size:16px}.bf-order-tag>span{font-size:13px}.bf-order-title{font-size:27px}.bf-order-foot{font-size:17px}.bf-order .bf-token strong{font-size:clamp(28px,6.5vw,40px)}.bf-order .bf-target{font-size:clamp(28px,7vw,42px)}.bf-header{padding:14px;gap:10px}.bf-header-tools{justify-content:flex-start}.bf-header-tools button{font-size:15px;padding:8px}.bf-eyebrow{font-size:15px}.bf-progress{font-size:19px}.bf-mission{font-size:16px}.bf-tray,.bf-workbench{padding:14px}.bf-ingots{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.bf-ingot .bf-token strong{font-size:clamp(19px,4.7vw,30px)}.bf-shell .bf-ingot{padding:3px 1px 7px;min-height:84px}.bf-ingot>span:last-child{font-size:11px}.bf-workbench{grid-template-columns:minmax(0,1fr);gap:12px}.bf-workbench .bf-equation{max-width:450px;justify-self:center}.bf-tools{grid-template-columns:minmax(100px,1.5fr) minmax(60px,1fr) minmax(60px,1fr);gap:8px}.bf-tools button{font-size:17px;padding:10px 8px}.bf-status{grid-template-columns:40px minmax(0,1fr);padding:12px;gap:10px;align-items:flex-start}.bf-status p{font-size:18px}.bf-status img{width:40px;height:40px}.bf-play-note{font-size:15px;line-height:1.5}.bf-settings{grid-template-columns:1fr}.bf-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bf-setup-art{gap:14px;padding:20px;flex-direction:column;text-align:center}.bf-setup-art p{font-size:18px}.bf-result-orders{grid-template-columns:1fr}.bf-result-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-victory{padding:20px;text-align:center}.bf-victory p{font-size:18px}.bf-tutorial{padding:12px;font-size:17px}.bf-tutorial img{width:40px;height:40px}}@media(max-width:360px){.bf-ingots[data-count]{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-play{padding:10px}.bf-header{grid-template-columns:1fr}.bf-progress{justify-self:start}.bf-shell .bf-order{padding:20px 16px 80px;min-height:250px}.bf-ingots{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-ingot .bf-token{max-width:150px}.bf-ingot .bf-token strong{font-size:29px}.bf-tools{grid-template-columns:1fr 1fr}.bf-tools .bf-primary{grid-column:1/-1}.bf-header-tools{gap:8px}.bf-section-title strong{font-size:16px}}@media(max-width:700px){.bf-topbar .game-ui-topbar{flex-wrap:wrap;gap:4px}.bf-topbar .game-ui-actions{flex:1;justify-content:flex-end;gap:6px}.bf-topbar .bf-progress{font-size:17px}}@media(min-width:480px)and (max-height:480px){.bf-shell .bf-play{grid-template-columns:minmax(0,1.15fr) minmax(250px,1fr);grid-template-rows:max-content minmax(0,1fr) max-content;gap:6px;padding:6px}.bf-topbar{grid-column:1 / -1}.bf-topbar .game-ui-topbar{flex-wrap:nowrap;padding:3px 8px}.bf-topbar .game-ui-topbar-title{font-size:20px}.bf-topbar .game-ui-topbar-label{font-size:11px}.bf-topbar .bf-progress{font-size:17px}.bf-board{grid-column:1;grid-row:2 / 4;padding:4px;gap:8px}.bf-play>.bf-workbench,.bf-play>.bf-victory{grid-column:2;grid-row:2;padding:8px;grid-template-columns:minmax(0,1fr);gap:6px;align-content:start}.bf-workbench h3{font-size:14px;grid-column:auto}.bf-workbench .bf-equation{max-width:270px;justify-self:center}.bf-workbench .bf-token{max-width:65px}.bf-workbench .bf-target{font-size:28px}.bf-workbench .bf-tools{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:4px}.bf-tools .bf-primary{grid-column:auto}.bf-tools button{min-height:48px;padding:4px;font-size:16px}.bf-play>.bf-status{grid-column:2;grid-row:3;min-height:0;padding:6px;grid-template-columns:minmax(0,1fr)}.bf-status img{display:none}.bf-status p{font-size:16px;line-height:1.25}.bf-victory{gap:6px}.bf-victory>svg{width:28px;height:28px}.bf-victory h3{font-size:23px}.bf-victory p{font-size:16px}}@container forge-board (max-width: 700px){.bf-board .bf-orders[data-count="3"]>:last-child{grid-column:1 / -1;justify-self:center;width:calc((100% - 10px)/2);box-sizing:border-box}.bf-board .bf-orders,.bf-board .bf-orders[data-count="2"],.bf-board .bf-orders[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bf-shell .bf-board .bf-order{min-height:150px;padding:10px 8px 35px;gap:4px;align-content:start}.bf-order-tag{font-size:12px;justify-content:center;flex-wrap:wrap}.bf-order-tag>span{font-size:10px}.bf-order-title{font-size:20px;line-height:1.25}.bf-order-foot{display:none}.bf-order .bf-equation{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:3px}.bf-order .bf-equation>:nth-child(4),.bf-order .bf-target{display:none}.bf-shell .bf-order .bf-token strong{font-size:clamp(20px,40cqi,34px)}.bf-shell .bf-order .bf-token[data-digits="3"] strong{font-size:clamp(16px,30cqi,30px)}.bf-tray{padding:10px}.bf-board .bf-ingots,.bf-board .bf-ingots[data-count="6"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.bf-shell .bf-ingot{min-height:68px;padding:3px 1px 7px}.bf-ingot>span:last-child{font-size:10px}}@media(max-width:479px)and (max-height:480px){.bf-shell .bf-play{padding:4px;gap:4px}.bf-topbar .game-ui-topbar{flex-wrap:nowrap;padding:4px}.bf-topbar .game-ui-topbar-label{font-size:10px}.bf-topbar .game-ui-topbar-title{font-size:16px}.bf-topbar .game-ui-actions{flex:none;gap:4px}.bf-topbar .bf-progress{font-size:14px}.bf-topbar button{height:44px;min-height:44px;padding:4px;font-size:13px}.bf-topbar button[aria-pressed]{width:44px}.bf-play>.bf-workbench{padding:6px;gap:4px}.bf-workbench h3{font-size:13px}.bf-workbench .bf-equation{max-width:270px}.bf-workbench .bf-token{max-width:65px}.bf-workbench .bf-target{font-size:26px}.bf-workbench .bf-tools{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:4px}.bf-tools .bf-primary{grid-column:auto}.bf-tools button{min-height:44px;padding:4px;font-size:15px}.bf-play>.bf-status{padding:5px;min-height:0;max-height:72px;overflow:auto;grid-template-columns:minmax(0,1fr)}.bf-status img{display:none}.bf-status p{font-size:14px;line-height:1.2}.bf-play>.bf-victory{display:grid;grid-template-columns:auto minmax(0,1fr);padding:6px;gap:6px}.bf-victory>svg{width:24px;height:24px}.bf-victory h3{font-size:20px}.bf-victory p{font-size:14px}.bf-victory button{grid-column:1 / -1;min-height:44px;padding:4px;font-size:16px}}@media(max-width:700px)and (min-height:481px){.bf-play>.bf-workbench{padding:8px;gap:8px}.bf-workbench h3{font-size:15px}.bf-workbench .bf-equation{max-width:280px}.bf-workbench .bf-token{max-width:75px}.bf-workbench .bf-target{font-size:32px}.bf-tools button{min-height:48px;padding:6px}}@media(prefers-reduced-motion:reduce){.bf-shell *,.bf-shell *:before,.bf-shell *:after{animation:none!important;transition:none!important}.bf-flights{display:none}}@media(min-width:1101px)and (max-height:1050px){.bf-play{gap:8px;padding:12px}.bf-header{padding:10px 16px}.bf-header h2{font-size:30px}.bf-eyebrow{font-size:16px}.bf-mission{font-size:18px}.bf-shell .bf-order{min-height:180px;padding:12px 14px 42px;gap:6px}.bf-order-title{font-size:26px}.bf-order-foot{font-size:14px}.bf-order .bf-target{font-size:36px}.bf-tray,.bf-workbench{padding:10px 16px}.bf-ingot .bf-token{max-width:110px;height:73px}.bf-order .bf-token{max-width:110px;justify-self:center}.bf-shell .bf-ingot{min-height:88px}.bf-workbench{grid-template-columns:auto minmax(230px,400px) minmax(260px,1fr)}.bf-status{min-height:64px;padding:6px 14px}.bf-status p{font-size:23px}.bf-play-note{display:none}}@media(min-width:701px)and (max-width:1100px){.bf-tools button{min-height:68px}.bf-ingots[data-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}.bf-ingots{grid-template-columns:repeat(8,minmax(0,1fr))}.bf-shell .bf-order{min-height:220px}}@media(max-width:700px){.bf-orders,.bf-orders[data-count="2"],.bf-orders[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:100%}.bf-board .bf-orders[data-count="3"]>:last-child{grid-column:1 / -1;justify-self:center;width:calc((100% - 10px)/2);box-sizing:border-box}.bf-shell .bf-order{min-height:150px;padding:10px 8px 35px;gap:4px;align-content:start}.bf-order-tag{font-size:12px;justify-content:center}.bf-order-tag>span{font-size:10px}.bf-order-title{font-size:20px;line-height:1.25}.bf-order-foot{display:none}.bf-order .bf-equation{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:3px}.bf-order .bf-equation>:nth-child(4),.bf-order .bf-target{display:none}.bf-shell .bf-order .bf-token strong{font-size:clamp(20px,40cqi,34px)}.bf-shell .bf-order .bf-token[data-digits="3"] strong{font-size:clamp(16px,30cqi,30px)}.bf-shell .bf-order .bf-token[data-digits="4"] strong{font-size:clamp(14px,23cqi,28px)}.bf-ingots[data-count]{grid-template-columns:repeat(4,minmax(0,1fr))}.bf-shell .bf-ingot{min-height:68px}.bf-shell .bf-ingot .bf-token strong{font-size:clamp(20px,40cqi,36px)}.bf-shell .bf-ingot .bf-token[data-digits="3"] strong{font-size:clamp(16px,30cqi,32px)}.bf-mission{font-size:14px}.bf-order:before{background-size:100% 100%}}.bf-shell.immersive-play{overflow:hidden}
