.sdb-shell{position:absolute;inset:0;overflow:hidden;container-type:size}.grade-four-immersive [data-game=sum-difference-balance-bridge]{min-height:clamp(760px,calc(100svh - 170px),830px);aspect-ratio:auto}.sdb-hud{position:absolute;z-index:36;top:15px;right:15px;display:grid;width:min(250px,calc(100% - 30px));min-height:50px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:7px 10px;border:2px solid #fff;border-radius:16px;color:#164750;background:rgb(250 255 250/96%);box-shadow:0 7px 18px rgb(27 73 71/24%);font-size:12px;font-weight:950}.sdb-hud>span,.sdb-hud>strong{display:flex;align-items:center;gap:4px;white-space:nowrap}.sdb-hud svg{width:17px;height:17px;color:#168f87}.sdb-hud>div{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.sdb-hud i{height:7px;border-radius:999px;background:#c8dcda}.sdb-hud i.current{background:#1bb7aa;outline:2px solid #fff}.sdb-hud i.done{background:#f5c84c}.sdb-hud strong{justify-content:flex-end;color:#775214}.sdb-console{position:absolute;z-index:15;top:112px;left:50%;width:min(660px,60cqw);aspect-ratio:1.5;transform:translateX(-50%);border-radius:0;background:transparent;box-shadow:none}[data-game=sum-difference-balance-bridge] .sdb-console{border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}.sdb-console-art{object-fit:contain;filter:none;pointer-events:none;user-select:none}.sdb-equation,.sdb-status{position:absolute;z-index:2;top:55%;display:grid;height:20%;min-height:0;place-items:center;align-content:center;min-width:0;overflow:hidden;padding:8px 7px;color:#16424b;text-align:center}.sdb-equation{left:6.2%;width:30.5%}.sdb-status{right:6.2%;width:30.5%}.sdb-equation small,.sdb-status small{color:#9a531d;font-size:clamp(9px,1vw,12px);font-weight:1000;letter-spacing:.08em}.sdb-equation strong,.sdb-status strong{display:block;width:100%;min-width:0;max-width:100%;text-wrap:balance;overflow-wrap:break-word}.sdb-equation strong{font-size:clamp(12px,1.25vw,17px);line-height:1.08;white-space:normal}.sdb-status strong{font-size:clamp(11px,1.2vw,15px);line-height:1.12}.sdb-core{position:absolute;z-index:3;top:55%;left:50%;display:grid;width:15%;aspect-ratio:1;place-items:center;transform:translateX(-50%);border-radius:50%;color:#fff}.sdb-core svg{width:42%;height:42%;stroke-width:3}.sdb-core.active{color:#fff46c;animation:sdb-pulse .7s ease}.sdb-options{position:absolute;z-index:31;top:565px;left:50%;display:grid;width:min(700px,calc(100% - 480px));gap:10px;margin:0;padding:0;transform:translateX(-50%);border:0}.sdb-options legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sdb-inverse-options{grid-template-columns:repeat(3,minmax(0,1fr))}.sdb-answer-options{grid-template-columns:repeat(4,minmax(0,1fr))}.sdb-options button{position:relative;display:grid;min-height:76px;place-items:center;align-content:center;touch-action:manipulation;border:3px solid #fff;border-bottom:7px solid #82569e;border-radius:18px;color:#3e2e50;background:linear-gradient(180deg,#faefff,#caa9e8);box-shadow:0 7px 14px rgb(34 51 56/24%)}.sdb-options button:nth-of-type(2n){border-bottom-color:#187b75;color:#164943;background:linear-gradient(180deg,#effff9,#77ddc9)}.sdb-options button small{position:absolute;top:6px;left:7px;display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:rgb(47 47 74/78%);font-size:11px;font-weight:950}.sdb-options button strong{font-size:clamp(17px,2vw,27px);line-height:1;white-space:nowrap}.sdb-options button>svg{position:absolute;top:7px;right:8px;width:20px;height:20px;color:#08795f;stroke-width:4}.sdb-options button.wrong-choice{border-bottom-color:#a62f31;color:#652329;background:linear-gradient(180deg,#ffe2db,#ff9186);animation:sdb-shake .28s ease}.sdb-feedback{position:absolute;z-index:32;bottom:16px;left:50%;display:flex;width:min(650px,calc(100% - 500px));min-height:50px;align-items:center;justify-content:center;gap:7px;padding:7px 14px;transform:translateX(-50%);border:2px solid #fff;border-radius:999px;color:#fff;background:rgb(20 77 78/96%);box-shadow:0 7px 16px rgb(12 54 54/26%);text-align:center}.sdb-feedback svg{width:18px;height:18px;flex:0 0 auto;color:#ffe66b}.sdb-feedback p{margin:0;font-size:clamp(11px,1.35vw,15px);font-weight:900;line-height:1.2}.sdb-shell.is-wrong .sdb-feedback{background:rgb(132 49 58/96%)}.sdb-shell.is-correct .sdb-feedback{background:rgb(18 116 86/96%)}[data-game=sum-difference-balance-bridge] .game-stage-prompt{left:46%;justify-content:space-between;width:min(620px,calc(100% - 520px));min-height:78px;padding:8px 10px 8px 17px;border:3px solid #fff;border-radius:19px;color:#123e48;background:rgb(249 255 252/97%);box-shadow:0 7px 0 #248c85,0 14px 22px rgb(20 70 70/24%)}[data-game=sum-difference-balance-bridge] .game-stage-prompt h2{color:#17424a;font-size:clamp(14px,1.6vw,20px);line-height:1.15;paint-order:normal;text-shadow:none;-webkit-text-stroke:0}[data-game=sum-difference-balance-bridge] .game-stage-prompt button{border:3px solid #fff}[data-game=sum-difference-balance-bridge] .sum-difference-balance-bridge-mascot{z-index:25;bottom:41px!important;left:0!important;width:clamp(169px,18.2vw,228px)!important}.sdb-success,.sdb-success *,[data-game=sum-difference-balance-bridge] .sdb-shell :is(h2,h3,p,span,strong,small,button),body:has([data-game=sum-difference-balance-bridge]) .how-to-panel,body:has([data-game=sum-difference-balance-bridge]) .how-to-panel *{text-shadow:none!important;-webkit-text-stroke:0!important}.sdb-success button,[data-game=sum-difference-balance-bridge] button,body:has([data-game=sum-difference-balance-bridge]) .how-to-panel button,body:has([data-game=sum-difference-balance-bridge]) .how-to-trigger{filter:none!important}body:has([data-game=sum-difference-balance-bridge]) .how-to-panel button{min-width:48px;min-height:48px}.sdb-options button:focus-visible{outline:5px solid #fff25c;outline-offset:2px}@keyframes sdb-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes sdb-pulse{50%{transform:translateX(-50%) scale(1.12)}}@media (max-width:1000px){[data-game=sum-difference-balance-bridge] .game-stage-prompt{left:14px;width:calc(100% - 285px);transform:none}.sdb-console{top:135px;width:min(600px,72cqw)}.sdb-options{top:500px;width:min(650px,calc(100% - 270px))}.sdb-feedback{width:min(590px,calc(100% - 300px))}[data-game=sum-difference-balance-bridge] .sum-difference-balance-bridge-mascot{left:8px!important;width:117px!important}}@media (max-width:700px){[data-game=sum-difference-balance-bridge]{min-height:max(990px,calc(100svh - 126px))}.sdb-shell{position:relative;inset:auto;min-height:978px}[data-game=sum-difference-balance-bridge] .game-stage-prompt{top:78px;left:8px;width:calc(100% - 16px);min-height:75px;transform:none}[data-game=sum-difference-balance-bridge] .game-stage-prompt h2{font-size:clamp(13px,3.6vw,17px)}.sdb-hud{top:160px;right:8px;width:min(220px,calc(100% - 110px))}.sdb-console{top:243px;width:calc(100% - 16px);height:328px;aspect-ratio:auto;overflow:hidden;border:solid #11a79d;border-width:6px 6px 11px;border-radius:28px;background:linear-gradient(155deg,rgb(239 255 249/98%),rgb(174 235 222/96%));box-shadow:inset 0 0 0 4px #fff,0 10px 22px rgb(16 67 65/28%)}.sdb-console-art{display:none}.sdb-equation,.sdb-status{left:12px;right:auto;width:calc(100% - 24px);min-height:auto;padding:8px 12px;border:3px solid #fff;border-radius:16px;background:rgb(255 251 225/94%)}.sdb-equation{top:22px;height:108px}.sdb-status{top:202px;height:94px}.sdb-equation strong{font-size:clamp(22px,7vw,30px)}.sdb-status strong{font-size:clamp(14px,4vw,18px)}.sdb-core{top:139px;width:56px;height:56px;border:4px solid #f6c64a;background:#118d88}.sdb-options{top:590px;width:calc(100% - 18px);gap:7px}.sdb-inverse-options{grid-template-columns:1fr}.sdb-answer-options{grid-template-columns:repeat(2,minmax(0,1fr))}.sdb-options button{min-height:60px;border-width:2px 2px 5px;border-radius:14px}.sdb-inverse-options button{min-height:58px}.sdb-options button strong{font-size:clamp(16px,5vw,22px)}.sdb-feedback{top:805px;bottom:auto;width:calc(100% - 20px);min-height:53px;border-radius:16px}[data-game=sum-difference-balance-bridge] .sum-difference-balance-bridge-mascot{top:160px!important;bottom:auto!important;left:8px!important;width:75px!important;opacity:.96}}@media (max-width:390px){.sdb-console{top:250px}.sdb-options{top:597px}.sdb-hud{grid-template-columns:auto minmax(55px,1fr) auto}}@media (prefers-reduced-motion:reduce){.sdb-shell *,.sdb-shell :after,.sdb-shell :before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}