section[data-game=fraction-fleet-builder]{min-height:clamp(560px,calc(100svh - 190px),680px);aspect-ratio:16/9;background:#101e50}section[data-game=fraction-fleet-builder] .game-stage-prompt{top:12px;width:min(610px,calc(100% - 440px));min-height:64px;border-radius:20px;background:rgb(18 31 79/.88);box-shadow:0 8px 22px rgb(4 8 35/.36)}section[data-game=fraction-fleet-builder] .game-stage-prompt h2{color:#fff9d8;text-shadow:none!important;-webkit-text-stroke:0!important}body:has(.ffb-game) .how-to button,section[data-game=fraction-fleet-builder] .game-stage-prompt button{filter:none!important;text-shadow:none!important}body:has(.ffb-game) .how-to,body:has(.ffb-game) .how-to-panel,body:has(.ffb-game) [role=dialog],body:has(.ffb-game) [role=dialog] *{text-shadow:none!important}body:has(.ffb-game) [role=dialog] h2{filter:none!important;-webkit-text-stroke:0!important}.ffb-game,.ffb-game *{text-shadow:none!important}.ffb-game{position:absolute;inset:0;overflow:hidden;color:#eef9ff;font-variant-numeric:tabular-nums}.ffb-game button{min-width:48px;min-height:48px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ffb-game button:focus-visible{outline:4px solid #fff15b;outline-offset:3px}.ffb-hud{position:absolute;z-index:30;top:14px;right:14px;display:grid;grid-template-columns:auto minmax(74px,1fr) auto;align-items:center;gap:8px;width:min(246px,calc(100% - 28px));min-height:48px;padding:7px 11px;border:2px solid rgb(255 255 255/.9);border-radius:18px;color:#1a2b61;background:rgb(244 250 255/.95);box-shadow:0 8px 20px rgb(4 9 40/.26);font-size:13px;font-weight:950}.ffb-hud>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.ffb-hud svg{width:18px;height:18px;color:#6257d8}.ffb-hud>strong{color:#227f9e}.ffb-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.ffb-progress i{height:8px;border-radius:99px;background:#d8dce8}.ffb-progress i.current{background:#36cce2;outline:2px solid #fff}.ffb-progress i.done{background:#ffd452}.ffb-streak{position:absolute;z-index:29;top:15px;left:18px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:7px;color:#fff}.ffb-streak>svg{grid-row:1/-1;width:32px;height:32px;color:#ffd34f;fill:#7358c8}.ffb-streak>span{font-size:10px;font-weight:950;letter-spacing:.12em}.ffb-streak>div{display:flex;gap:3px}.ffb-streak i{width:12px;height:7px;border-radius:99px;background:rgb(255 255 255/.3)}.ffb-streak i.lit{background:#ffd34f;box-shadow:0 0 8px #ffd34f}.ffb-mission-equation{position:absolute;z-index:21;top:110px;left:50%;display:flex;min-width:200px;height:60px;align-items:center;justify-content:center;gap:12px;padding:6px 22px;border:3px solid rgb(116 238 255/.88);border-radius:22px;color:#fff;background:linear-gradient(180deg,rgb(16 42 93/.92),rgb(30 25 84/.92));box-shadow:0 8px 22px rgb(2 7 34/.35),inset 0 0 18px rgb(64 222 255/.12);transform:translateX(-50%);font-size:26px;font-weight:950}.ffb-mission-equation>b{color:#ffe36d}.ffb-value{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-weight:950}.ffb-value>b{font-size:1.05em}.ffb-fraction{display:grid;min-width:31px;grid-template-rows:1fr 3px 1fr;place-items:center;line-height:.82}.ffb-fraction i{display:block;width:100%;height:3px;border-radius:8px;background:currentcolor}.ffb-fleet{position:absolute;inset:0;z-index:9}.ffb-ship{position:absolute;width:clamp(122px,14vw,168px);min-width:0!important;min-height:0!important;padding:0;cursor:pointer;border:0;background:transparent;transform:translate(-50%,-87%);filter:drop-shadow(0 12px 10px rgb(3 8 38/.4))}@media (hover:hover){.ffb-ship:not(:disabled):hover{filter:drop-shadow(0 0 12px rgb(105 227 255/.75))}}.ffb-ship:disabled{cursor:default;opacity:1}.ffb-ship>img{position:relative;z-index:2;display:block;width:100%;height:auto;user-select:none}.ffb-ship:not(.is-charged)>img{filter:saturate(.72) brightness(.88)}.ffb-energy-window{position:absolute;z-index:4;top:48.2%;left:25.5%;display:flex;width:49%;height:13.7%;gap:2px;padding:3px;overflow:hidden;border-radius:7px}.ffb-energy-window i{flex:1;border-radius:3px;background:rgb(28 42 93/.9);box-shadow:inset 0 0 0 1px rgb(130 205 255/.32)}.ffb-energy-window i.target{background:rgb(102 83 201/.62)}.ffb-ship.is-charged .ffb-energy-window i.target{background:linear-gradient(#fff9a4,#ffc53d);box-shadow:0 0 8px #ffe970,inset 0 0 0 1px #fff}.ffb-ship-fraction{position:absolute;z-index:5;top:25.5%;left:50%;min-width:32%;padding:1px 5px 2px;border:1px solid rgb(255 255 255/.72);border-radius:999px;color:#182559;background:rgb(255 248 190/.76);font-size:clamp(9px,1.15vw,14px);font-weight:1000;line-height:1;text-align:center;transform:translateX(-50%)}.ffb-ship.is-charged .ffb-ship-fraction{color:#182559}.ffb-thruster{position:absolute;z-index:1;bottom:-14%;left:50%;width:34%;height:28%;opacity:0;border-radius:50%;background:radial-gradient(ellipse at top,#fff 0 14%,#66ecff 26%,#6855ee 50%,transparent 72%);transform:translateX(-50%);filter:blur(1px)}.ffb-ship.is-charged{filter:drop-shadow(0 0 13px rgb(73 232 255/.72))}.ffb-game.is-launched .ffb-ship{animation:ffb-launch 1.7s cubic-bezier(.25,.7,.2,1) both}.ffb-game.is-launched .ffb-thruster{opacity:1;animation:ffb-flame .18s ease-in-out infinite alternate}.ffb-command{position:absolute;z-index:24;bottom:18px;left:45%;display:grid;width:min(730px,calc(100% - 300px));min-height:142px;grid-template-rows:auto auto auto;gap:7px;padding:10px 13px 9px;border:2px solid rgb(102 228 255/.75);border-radius:24px;background:linear-gradient(180deg,rgb(12 29 73/.9),rgb(19 20 66/.94));box-shadow:0 10px 28px rgb(2 6 33/.44),inset 0 0 24px rgb(58 218 255/.08);transform:translateX(-50%);backdrop-filter:blur(6px)}.ffb-repeated{display:flex;min-height:25px;align-items:center;justify-content:center;gap:7px;color:rgb(226 241 255/.72);font-size:15px;font-weight:900}.ffb-repeated>svg{width:20px;color:#54e6ff}.ffb-repeated span{display:inline-flex;align-items:center;gap:7px}.ffb-repeated span.ready b{color:#fff5a4}.ffb-repeated i{color:#69ddff;font-style:normal}.ffb-answer-row{display:grid;grid-template-columns:repeat(4,minmax(68px,1fr));gap:9px}.ffb-answer-row button{position:relative;display:flex;min-height:61px;cursor:pointer;align-items:center;justify-content:center;padding:5px 8px;overflow:hidden;border:solid #bff7ff;border-width:3px 3px 7px;border-radius:18px;color:#15295d;background:linear-gradient(#fffef1,#b9f3ff);box-shadow:0 5px 12px rgb(0 7 39/.28);font-size:22px;font-weight:1000}.ffb-answer-row button>svg{position:absolute;top:-7px;right:-6px;width:27px;color:rgb(110 82 210/.24);fill:currentcolor}.ffb-answer-row button:disabled{cursor:default;opacity:.52;filter:saturate(.55)}.ffb-answer-row button.wrong{border-color:#ffb0b8;background:linear-gradient(#fff,#ffc3c9);animation:ffb-shake .32s ease-in-out}.ffb-answer-row button.correct{border-color:#ffef83;background:linear-gradient(#fffce0,#ffe068);opacity:1;filter:none}.ffb-feedback{min-height:19px;margin:0;color:#dcefff;font-size:13px;font-weight:850;text-align:center}.ffb-feedback.correct{color:#fff37e}.ffb-feedback.wrong{color:#ffb9c4}@keyframes ffb-launch{0%{transform:translate(-50%,-87%) scale(1)}35%{transform:translate(-50%,-95%) scale(1.04)}to{transform:translate(-50%,-347%) scale(.55);opacity:0}}@keyframes ffb-flame{0%{transform:translateX(-50%) scaleY(.7)}to{transform:translateX(-50%) scaleY(1.15)}}@keyframes ffb-shake{25%{transform:translateX(-5px)}55%{transform:translateX(5px)}80%{transform:translateX(-2px)}}.fraction-fleet-builder-mascot{right:-18px!important;bottom:28px!important;width:clamp(146px,14.3vw,179.4px)!important}@media (max-width:1100px){section[data-game=fraction-fleet-builder]{min-height:630px}section[data-game=fraction-fleet-builder] .game-stage-prompt{left:12px;width:calc(100% - 300px);transform:none}.ffb-mission-equation{top:110px}.fraction-fleet-builder-mascot{right:-18px!important;width:145.6px!important}}@media (max-width:900px){section[data-game=fraction-fleet-builder]{min-height:760px}section[data-game=fraction-fleet-builder] .game-stage-prompt{left:12px;width:calc(100% - 300px);transform:none}.ffb-ship{width:clamp(118px,18.5vw,156px)}.ffb-command{left:46%;width:min(650px,calc(100% - 190px))}.ffb-mission-equation{top:122px}.fraction-fleet-builder-mascot{right:-8px!important;bottom:28px!important;width:130px!important}}@media (max-width:680px){section[data-game=fraction-fleet-builder]{min-height:900px}section[data-game=fraction-fleet-builder] .game-stage-prompt{top:8px;left:50%;width:calc(100% - 18px);min-height:92px;padding:10px 58px 10px 12px;border-radius:18px;transform:translateX(-50%)}section[data-game=fraction-fleet-builder] .game-stage-prompt h2{font-size:clamp(15px,4.5vw,21px)}section[data-game=fraction-fleet-builder] .game-stage-prompt button{position:absolute;right:9px}.ffb-hud{top:110px;right:8px;width:202px;min-height:42px;padding:5px 8px;font-size:11px}.ffb-streak{top:114px;left:10px}.ffb-streak>svg{width:27px;height:27px}.ffb-streak i{width:8px}.ffb-mission-equation{top:163px;min-width:172px;height:51px;padding:5px 16px;font-size:22px}.ffb-fleet{top:96px;height:570px;transform:scale(.94);transform-origin:center top}.ffb-ship{width:clamp(104px,30vw,142px)}.ffb-ship-fraction{font-size:clamp(8px,2.7vw,12px)}.ffb-command{bottom:18px;left:50%;width:calc(100% - 18px);min-height:216px;gap:9px;padding:12px 9px 10px;border-radius:20px}.ffb-repeated{flex-wrap:wrap;gap:4px 6px;font-size:12px}.ffb-answer-row{grid-template-columns:repeat(2,1fr);gap:8px}.ffb-answer-row button{min-height:60px;font-size:21px}.ffb-feedback{min-height:32px;font-size:11px;line-height:1.2}.fraction-fleet-builder-mascot{display:none!important}}@media (max-width:430px){section[data-game=fraction-fleet-builder]{min-height:870px}.ffb-fleet{top:105px;height:530px;transform:scale(.86)}.ffb-command{bottom:14px}.fraction-fleet-builder-mascot{bottom:442px!important;width:92px!important}}@media (max-height:760px) and (min-width:681px){section[data-game=fraction-fleet-builder]{min-height:640px}.ffb-mission-equation{top:150px;height:52px}.ffb-fleet{top:35px}.ffb-ship{width:clamp(110px,14vw,154px)}.ffb-command{min-height:128px}}@media (prefers-reduced-motion:reduce){.ffb-game.is-launched .ffb-ship{animation:none;opacity:.35}.ffb-answer-row button.wrong,.ffb-game.is-launched .ffb-thruster{animation:none}}