:root{font-family:Arial,Helvetica,sans-serif;color:#182b46;background:#f3f5f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--navy:#0b2347;--royal:#172e85;--cyan:#37a9e5;--blue:#087cf0;--blue-dark:#0567cb;--silver:#aabac5;--teal:#67d4de;--paper:#fff}
*{box-sizing:border-box}[hidden]{display:none!important}html{min-width:320px;scroll-behavior:smooth}body{margin:0;min-width:320px;background:#f3f5f8;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,select,input{outline-color:#438fe8}button{cursor:pointer}a{color:inherit}
.site-header{height:62px;padding:5px max(24px,calc((100% - 1180px)/2));display:flex;align-items:center;gap:32px;background:#fff;border-bottom:1px solid #dce3ea}.brand{display:flex;flex-direction:column;align-items:center;gap:2px;color:#102c56;text-decoration:none;white-space:nowrap}.brand-countdown{display:flex;gap:1px}.brand-countdown span{display:grid;place-items:center;width:16px;height:18px;background:#1765b7;color:#fff;font-family:'Arial Narrow',Arial,sans-serif;font-size:12px;font-stretch:condensed;font-weight:800;line-height:1}.brand-countdown span:nth-child(even){background:#0e4d99}.brand-subtitle{font-size:9px;font-weight:700;letter-spacing:1.1px;line-height:1.1;text-transform:uppercase}.site-nav{display:flex;align-items:center;gap:24px;margin-left:auto}.site-nav a,.site-footer nav a{color:#334d69;text-decoration:none;font-size:12px}.site-nav a:hover,.site-footer nav a:hover,.rules-inner a:hover{text-decoration:underline;color:#075fb9}
.game-stage{min-height:calc(100vh - 62px);padding:24px 0 32px;background:#092450 url('/background-image.webp') center 42%/cover no-repeat}.game-layout{position:relative;isolation:isolate;width:min(1140px,calc(100% - 40px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 276px;align-items:stretch;gap:0}.game-board{min-width:0;padding:20px 25px 17px;background:#f9fafb;border:1px solid #718b9c;border-right:0;box-shadow:0 10px 40px #051b3870}.board-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 11px;border-bottom:1px solid #cad4de}.board-header h1{margin:0;color:#122f59;font-size:19px;line-height:1.15;letter-spacing:.1px}.board-subtitle{margin:3px 0 0;color:#566c83;font-size:11px}.board-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.button{min-height:32px;padding:6px 11px;border:1px solid #9dabb9;border-radius:2px;background:#f5f7f9;color:#243f5e;font-weight:700;font-size:11px;line-height:1.15;text-decoration:none}.button:hover{filter:brightness(.97)}.button:disabled{opacity:.45;cursor:not-allowed}.button-blue{background:#1679c5;border-color:#0f69b0;color:#fff}.button-blue:hover{background:#0c67ae}.button-light{border-color:#9aabb9;background:#fff;color:#263f5d}.button-light:hover{background:#e9f0f5}.button-navy{border-color:#102d5b;background:#102d5b;color:#fff}.button-navy:hover{background:#17417b}
.studio-console{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:17px;margin:15px 0 14px}.studio-frame{padding:6px 7px 8px;border:1px solid #8199a7;background:linear-gradient(145deg,#c9d4dc 0%,#edf1f3 21%,#829aa8 54%,#dce3e6 76%,#8197a4 100%);box-shadow:inset 0 0 0 2px #f7f9f9,0 2px 5px #142a3a45}.studio-screen{min-height:166px;padding:11px 12px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border:2px solid #56c4dd;background:linear-gradient(135deg,#46b4ec 0%,#2796d9 62%,#2190d2 100%);box-shadow:inset 0 0 0 2px #7ed9e8,inset 0 0 22px #0d63af42}.target-block{text-align:center}.target-block .mini-label{color:#fff;font-size:9px;font-weight:800;letter-spacing:2px;text-shadow:0 1px 2px #0b4e91}.target-block strong{display:block;min-width:184px;margin-top:2px;padding:1px 14px 5px;border:2px solid #5785bf;border-bottom:3px solid #0a1b67;background:#192b80;color:#fff;font-family:'Arial Narrow',Arial,sans-serif;font-size:60px;font-stretch:condensed;font-weight:800;line-height:1.05;letter-spacing:1px;text-shadow:0 2px 0 #101e60;box-shadow:inset 0 0 0 1px #43599b,0 2px 5px #0c337b55}.number-tray{display:flex;justify-content:center;gap:7px;flex-wrap:nowrap;max-width:100%}.number-tile{display:grid;place-items:center;width:57px;height:64px;flex:0 1 57px;border:1px solid #597db7;border-top:3px solid #9ce4e8;border-bottom:3px solid #0c1b67;border-radius:0;background:linear-gradient(160deg,#233e9c,#112b79 74%);color:#fff;font-family:'Arial Narrow',Arial,sans-serif;font-size:31px;font-stretch:condensed;font-weight:800;line-height:1;text-shadow:0 2px 0 #0d1d5d;box-shadow:inset 0 0 0 1px #4a68ad,0 2px 3px #0e3e8055}.number-tile.large{background:linear-gradient(160deg,#294aa9,#142c7e 74%);border-top-color:#c1f2f0}
.studio-rail{height:8px;margin:5px 7px 0;border:1px solid #8298a3;background:linear-gradient(#a8b8c0,#e2e8eb,#8299a4);display:flex;justify-content:space-around;align-items:center}.studio-rail span{width:19%;height:2px;background:#2caebd;box-shadow:0 0 3px #33cdd1}
.timer-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;text-align:center;color:#233e5e}.countdown-clock{display:block;width:138px;height:138px;overflow:visible}.clock-bezel{fill:#122f63;stroke:#081d49;stroke-width:5}.clock-silver-ring{fill:#c8d1d5;stroke:#eef1f0;stroke-width:2}.clock-face{fill:#f5f2e9;stroke:#7293a7;stroke-width:2}.clock-sweep{fill:#60bdd0;fill-opacity:.42;stroke:none}.clock-fine-ticks{stroke:#46637e;stroke-width:1.5;stroke-linecap:square}.clock-hour-ticks{stroke:#102b53;stroke-width:4;stroke-linecap:square}.clock-divider{fill:none;stroke:#173d69;stroke-width:2.3}.clock-hand-silver{stroke:#9fadb8;stroke-width:8;stroke-linecap:square}.clock-hand-blue{stroke:#174b80;stroke-width:4;stroke-linecap:square}.clock-pivot{fill:#194d7e;stroke:#d6e0e4;stroke-width:2}.timer-block>.mini-label{margin-top:1px;color:#4f657e;font-size:9px;font-weight:700;letter-spacing:1px}.timer-block>strong{display:block;color:#102d57;font-size:20px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}.timer-block.running>strong{color:#145da5}.timer-block.finished>strong{color:#8f3031}
.timer-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px;padding:0 1px}.timer-actions{display:flex;align-items:center;gap:5px}.timer-duration,.sound-toggle{display:flex;align-items:center;gap:6px;color:#405872;font-size:10px}.timer-duration select{max-width:112px;padding:6px 7px;border:1px solid #aebdca;border-radius:2px;background:#fff;color:#2e4764;font-size:10px}.sound-toggle input,.preset-option input,.check-settings input{accent-color:#087cf0}.sound-toggle input{width:14px;height:14px;margin:0}
.work-paper{position:relative;min-height:183px;padding:12px 15px 13px;border:1px solid #a4b3bf;background-color:#fff;background-image:linear-gradient(to right,rgba(51,102,151,.13) 1px,transparent 1px),linear-gradient(to bottom,rgba(51,102,151,.13) 1px,transparent 1px);background-size:24px 24px;box-shadow:inset 0 0 0 4px #f5f7f8}.paper-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 0 7px;border-bottom:1px solid #9eafbc}.paper-heading h2{margin:0;color:#183a60;font-size:14px}.paper-heading p{margin:0;color:#596e83;font-size:10px}.answer-form{display:flex;gap:6px;margin-top:10px}.answer-form input{height:37px;min-width:0;flex:1;padding:0 9px;border:1px solid #aab8c4;border-radius:1px;background:rgba(255,255,255,.94);color:#172c48;font-size:14px}.answer-form input::placeholder{color:#75869a}.field-help{margin:3px 0 0;color:#4f647c;font-size:10px}.feedback{min-height:17px;margin:3px 0 0;color:#247047;font-size:11px;font-weight:700}.feedback.error{color:#ac413b}.solution-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;padding:4px 0}.solution-row p{margin:0;color:#334f6e;font-size:11px}.solution-actions{display:flex;gap:5px;white-space:nowrap}.solution-steps{margin:5px 0 4px;padding:7px 12px 7px 32px;border:1px solid #aebbc7;background:rgba(255,255,255,.86);color:#203e5f;font-size:12px}.solution-steps li+li{margin-top:2px}.solution-steps li::marker{color:#174e87;font-weight:700}.board-footer{display:flex;align-items:center;gap:6px;padding-top:8px;color:#536980;font-size:9px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3d9865}
.settings-panel{min-width:0;padding:20px 19px 18px;border:1px solid #758b9c;border-left:0;background:#f1f4f6;box-shadow:0 10px 40px #051b3870}.settings-panel>h2{margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #c8d2dc;color:#14345a;font-size:16px}.preset-fieldset{margin:0;padding:0;border:0}.preset-fieldset legend{margin-bottom:5px;color:#344f6c;font-size:11px;font-weight:700}.preset-options{display:grid}.preset-option{display:grid;grid-template-columns:16px 1fr;column-gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #d5dde4;color:#203e61;cursor:pointer}.preset-option input{grid-row:span 2;width:14px;height:14px;margin:0}.preset-option span{font-size:11px;font-weight:700}.preset-option small{grid-column:2;color:#5d7188;font-size:9px}.disclosure-button{display:flex;align-items:center;justify-content:space-between;width:100%;margin:8px 0 0;padding:8px 0;border:0;border-bottom:1px solid #d1dbe3;background:transparent;color:#294663;text-align:left;font-size:11px;font-weight:700}.disclosure-button span:last-child{font-size:15px;font-weight:400}.advanced-settings{padding:9px 0 2px}.setting-row{display:flex;align-items:center;justify-content:space-between;color:#435d78;font-size:10px}.setting-row select,.worksheet-controls select{padding:5px 6px;border:1px solid #aebdca;border-radius:2px;background:white;color:#344c69;font-size:10px}.range-setting{margin-top:10px}.range-labels{display:flex;align-items:center;justify-content:space-between;color:#435c78;font-size:9px}.range-labels output{font-weight:700;color:#213f61}.range-pair{display:flex;gap:7px;margin-top:4px}.range-pair input{width:50%;height:4px;accent-color:#087cf0}.check-settings{display:grid;gap:5px;margin-top:8px}.check-settings label{display:flex;align-items:center;gap:6px;color:#425a74;font-size:9px}.check-settings input{margin:0}.worksheet-section{margin-top:15px;padding-top:11px;border-top:1px solid #cbd5dd}.worksheet-section h2{margin:0;color:#183a5c;font-size:13px}.worksheet-section p{margin:3px 0 8px;color:#536a82;font-size:9px}.worksheet-controls{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.worksheet-controls select{min-width:0}.worksheet-controls .button{font-size:10px}.toast{position:fixed;z-index:40;left:50%;bottom:18px;transform:translate(-50%,14px);padding:9px 13px;border:1px solid #102c54;background:#102c54;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s}.toast.show{transform:translate(-50%,0);opacity:1}
.rules-section{padding:17px 22px 20px;background:#f3f5f8}.rules-inner{width:min(1060px,100%);margin:auto;display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:18px}.rules-inner h2{margin:0;color:#223c5d;font-size:14px}.rules-inner p{margin:0;color:#52657b;font-size:11px}.rules-inner a{color:#145ea8;font-size:11px;text-decoration:none;white-space:nowrap}.site-footer{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:6px max(22px,calc((100% - 1180px)/2));background:#fff;border-top:1px solid #e0e5eb}.site-footer .brand-countdown span{width:13px;height:15px;font-size:10px}.site-footer .brand-subtitle{font-size:8px}.site-footer nav{display:flex;gap:17px}.site-footer nav a{font-size:10px}
.classroom-bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #b6c4d0;background:#fff}.classroom-brand{color:#183658;font-weight:800;font-size:12px;text-decoration:none}.classroom-label{display:flex;align-items:center;gap:7px;color:#4d6680;font-size:10px}.classroom-bar-actions{display:flex;align-items:center;gap:6px}.exit-classroom{padding:6px 8px;color:#405974;font-size:10px;text-decoration:none}.exit-classroom:hover{text-decoration:underline}.whiteboard-toolbar{position:fixed;z-index:30;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:2px;padding:4px;border:1px solid #aebdca;background:#fff;box-shadow:0 3px 14px #10244045}.whiteboard-toolbar button{padding:7px 10px;border:0;background:#fff;color:#213b5d;font-size:11px;font-weight:700}.whiteboard-toolbar button:hover{background:#edf3fa}.whiteboard-toolbar #whiteboardExit{color:#8b332d}
.body-classroom .site-header,.body-classroom .rules-section,.body-classroom .site-footer{display:none}.body-classroom .game-stage{min-height:calc(100vh - 48px);padding:20px 0 26px}.body-classroom .game-layout{width:min(1080px,calc(100% - 36px));grid-template-columns:minmax(0,1fr) 245px}.body-classroom .settings-panel{display:block}.body-classroom .game-board{padding:17px 20px 14px}.body-classroom .studio-console{grid-template-columns:minmax(0,1fr) 142px;gap:13px;margin:11px 0}.body-classroom .studio-screen{min-height:155px}.body-classroom .target-block strong{font-size:56px}.body-classroom .number-tile{width:53px;height:60px;flex-basis:53px;font-size:29px}.body-classroom .number-tray{gap:6px}.body-classroom .countdown-clock{width:130px;height:130px}.body-classroom .work-paper{min-height:160px}
.whiteboard-mode .site-header,.whiteboard-mode .rules-section,.whiteboard-mode .site-footer,.whiteboard-mode .settings-panel,.whiteboard-mode .board-header,.whiteboard-mode .timer-controls,.whiteboard-mode .answer-form,.whiteboard-mode .field-help,.whiteboard-mode .feedback,.whiteboard-mode .solution-row,.whiteboard-mode .board-footer{display:none!important}.whiteboard-mode .game-stage{min-height:calc(100vh - 48px);padding:8px 0;display:flex;align-items:center}.whiteboard-mode .game-layout{width:min(1150px,calc(100% - 36px));grid-template-columns:minmax(0,1fr);background:transparent;box-shadow:none;border:0}.whiteboard-mode .game-board{padding:0;background:transparent;border:0;box-shadow:none}.whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 166px;gap:16px;margin:0 0 14px}.whiteboard-mode .studio-frame{padding:7px 8px 9px}.whiteboard-mode .studio-screen{min-height:clamp(180px,30vh,250px);gap:16px}.whiteboard-mode .target-block strong{font-size:clamp(68px,9vw,110px)}.whiteboard-mode .number-tray{gap:clamp(8px,1.6vw,18px)}.whiteboard-mode .number-tile{width:clamp(52px,6.4vw,78px);height:clamp(64px,8vh,88px);flex-basis:clamp(52px,6.4vw,78px);font-size:clamp(30px,4.5vw,46px)}.whiteboard-mode .countdown-clock{width:150px;height:150px}.whiteboard-mode .timer-block>.mini-label{font-size:11px}.whiteboard-mode .timer-block>strong{font-size:23px}.whiteboard-mode .work-paper{display:none}.whiteboard-mode .work-paper:has(.solution-steps:not([hidden])){display:block;min-height:110px;padding:10px 15px}.whiteboard-mode .paper-heading{display:none}.whiteboard-mode .solution-steps:not([hidden]){display:block!important;margin:0;padding:7px 15px 7px 35px;background-color:#fff;background-image:linear-gradient(to right,rgba(51,102,151,.13) 1px,transparent 1px),linear-gradient(to bottom,rgba(51,102,151,.13) 1px,transparent 1px);background-size:24px 24px;font-size:13px}.whiteboard-mode .classroom-bar{background:#fff}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.worksheet-dialog{width:min(960px,calc(100% - 28px));max-width:960px;max-height:min(90vh,900px);padding:22px;border:1px solid #aebdca;border-radius:2px;background:#f4f6f9;color:#182b46;box-shadow:0 20px 70px #06183270;overflow-y:auto}.worksheet-dialog::backdrop{background:#071a35aa}.worksheet-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:15px}.worksheet-dialog-head>div>p:first-child{margin:0 0 4px;color:#405b79;font-size:11px;font-weight:700}.worksheet-dialog-head h2{margin:0;color:#183252;font-size:21px}.worksheet-dialog-head p:last-child{margin:5px 0 0;color:#536a82;font-size:11px}.worksheet-dialog .print-sheet{display:block;padding:19px 22px;border:1px solid #c4ced8;background:#fff}.worksheet-dialog .print-heading p:first-child{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#526783}.worksheet-dialog .print-heading h2{margin:6px 0 11px;color:#172c49;font-size:24px}.worksheet-dialog .print-heading p{font-size:11px;color:#4d617c}.worksheet-dialog .print-questions{display:block;margin-top:18px}.worksheet-dialog .print-questions-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.worksheet-dialog .print-questions-page+.print-questions-page{margin-top:18px;padding-top:18px;border-top:1px dashed #c9d4e1}.worksheet-dialog .print-question{min-height:112px;padding:11px;border:1px solid #cbd4df;break-inside:avoid}.worksheet-dialog .print-question-head{display:flex;justify-content:space-between;color:#536984;font-size:9px;font-weight:700;letter-spacing:.5px}.worksheet-dialog .print-target{margin:5px 0;color:#172c49;font-size:19px;font-weight:800}.worksheet-dialog .print-numbers{color:#234b7d;font-size:13px;letter-spacing:2px}.worksheet-dialog .print-workline{height:8px;margin-top:8px;border-bottom:1px solid #dce3eb}.worksheet-dialog .print-answer-key{margin-top:22px;padding-top:17px;border-top:2px dashed #c9d4e1}.worksheet-dialog .print-answer-key h2{margin:0 0 10px;color:#172c49;font-size:20px}.worksheet-dialog .print-answer-key ol{padding-left:24px;color:#405875;font-size:11px}.worksheet-dialog .print-answer-key li{break-inside:avoid;margin-bottom:7px}.worksheet-dialog-actions{position:sticky;bottom:-22px;display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:13px -22px -22px;padding:12px 22px 16px;border-top:1px solid #d7dfe8;background:#f4f6f9}.worksheet-dialog-actions p{margin:0 auto 0 0;color:#405875;font-size:11px}.worksheet-dialog-actions p:empty{display:none}
@media(max-width:1000px){.game-layout{grid-template-columns:minmax(0,1fr) 250px}.game-board{padding-inline:19px}.studio-console{grid-template-columns:minmax(0,1fr) 132px;gap:12px}.number-tile{width:51px;height:59px;flex-basis:51px;font-size:28px}.countdown-clock{width:124px;height:124px}.settings-panel{padding-inline:15px}}
@media(max-width:760px){.site-header{height:auto;min-height:58px;padding:5px 13px;gap:12px;align-items:center}.brand-countdown span{width:13px;height:15px;font-size:10px}.brand-subtitle{font-size:8px}.site-nav{gap:13px;flex-wrap:wrap}.site-nav a{font-size:10px}.game-stage{min-height:calc(100vh - 58px);padding:12px 0 17px;background-position:center;background-attachment:scroll}.game-layout{width:calc(100% - 18px);grid-template-columns:1fr}.game-board{padding:14px 12px 11px;border-right:1px solid #718b9c}.settings-panel{padding:12px 13px;border-top:0;border-left:1px solid #758b9c}.board-header{gap:8px;padding-bottom:8px}.board-header h1{font-size:17px}.board-subtitle{max-width:265px;font-size:10px}.board-header-actions{gap:4px}.board-header-actions .button{min-height:29px;padding:5px 7px;font-size:9px}.studio-console{grid-template-columns:minmax(0,1fr) 92px;gap:7px;margin:10px 0 9px}.studio-frame{padding:4px 4px 6px}.studio-screen{min-height:130px;padding:7px 4px 9px;gap:9px;border-width:1px;box-shadow:inset 0 0 0 1px #7ed9e8,inset 0 0 15px #0d63af42}.target-block .mini-label{font-size:8px}.target-block strong{min-width:114px;padding:2px 9px 4px;font-size:46px;border-width:1px;border-bottom-width:2px}.number-tray{gap:4px}.number-tile{width:clamp(30px,9.1vw,38px);height:clamp(42px,12.5vw,51px);flex-basis:clamp(30px,9.1vw,38px);font-size:clamp(18px,5.4vw,23px);border-top-width:2px;border-bottom-width:2px}.studio-rail{height:6px;margin:4px 3px 0}.studio-rail span{width:17%}.countdown-clock{width:88px;height:88px}.timer-block{gap:0}.timer-block>.mini-label{font-size:7px;letter-spacing:.6px}.timer-block>strong{font-size:14px}.timer-controls{gap:6px;flex-wrap:wrap;justify-content:center;margin:8px 0 9px;padding:7px 0}.timer-actions{gap:4px}.timer-actions .button{min-height:29px;padding:5px 7px;font-size:9px}.timer-duration,.sound-toggle{font-size:9px}.timer-duration select{max-width:105px;padding:5px;font-size:9px}.work-paper{min-height:158px;padding:9px 10px 10px;background-size:20px 20px;box-shadow:inset 0 0 0 3px #f5f7f8}.paper-heading h2{font-size:12px}.paper-heading p{font-size:8px}.answer-form{gap:4px;margin-top:7px}.answer-form input{height:34px;padding:0 7px;font-size:16px}.answer-form .button{min-height:31px;padding:6px 7px;font-size:9px}.field-help{font-size:9px}.feedback{font-size:10px}.solution-row{align-items:flex-start;flex-direction:column;gap:5px;margin-top:1px;padding:3px 0}.solution-row p{font-size:9px}.solution-actions{gap:4px}.solution-actions .button{min-height:28px;padding:5px 8px;font-size:9px}.solution-steps{padding:5px 7px 5px 26px;font-size:10px}.board-footer{padding-top:5px;font-size:8px}.settings-panel>h2{margin-bottom:7px;padding-bottom:6px;font-size:14px}.preset-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.preset-option{grid-template-columns:13px 1fr;column-gap:4px;padding:5px 0}.preset-option input{width:12px;height:12px}.preset-option span{font-size:9px}.preset-option small{font-size:8px}.disclosure-button{margin-top:5px;padding:6px 0;font-size:10px}.advanced-settings{padding-top:6px}.worksheet-section{margin-top:9px;padding-top:7px}.worksheet-section h2{font-size:11px}.worksheet-section p{margin:2px 0 5px;font-size:8px}.worksheet-controls{gap:4px}.worksheet-controls select{font-size:9px}.worksheet-controls .button{min-height:27px;padding:4px 6px;font-size:9px}.rules-section{padding:11px 13px}.rules-inner{display:block}.rules-inner h2{margin-bottom:4px;font-size:12px}.rules-inner p{margin-bottom:4px;font-size:9px}.rules-inner a{font-size:9px}.site-footer{min-height:42px;padding:5px 13px;gap:10px}.site-footer nav{gap:11px}.site-footer nav a{font-size:9px}.body-classroom .game-stage{padding:9px 0;min-height:calc(100vh - 48px)}.body-classroom .game-layout{width:calc(100% - 12px);grid-template-columns:1fr}.body-classroom .game-board{padding:12px 10px 10px}.body-classroom .settings-panel{display:none}.body-classroom .studio-console{grid-template-columns:minmax(0,1fr) 90px;gap:6px}.body-classroom .studio-screen{min-height:129px}.body-classroom .countdown-clock{width:86px;height:86px}.body-classroom .target-block strong{font-size:45px}.body-classroom .number-tile{width:clamp(30px,9.1vw,38px);height:clamp(42px,12.5vw,51px);flex-basis:clamp(30px,9.1vw,38px);font-size:clamp(18px,5.4vw,23px)}.classroom-bar{height:44px;padding:0 6px;gap:3px}.classroom-brand{font-size:9px}.classroom-label{display:none}.classroom-bar-actions{gap:3px}.classroom-bar-actions .button,.exit-classroom{min-height:28px;padding:4px 6px;font-size:9px}.whiteboard-mode .game-stage{min-height:calc(100vh - 44px);padding:5px 0}.whiteboard-mode .game-layout{width:calc(100% - 12px);grid-template-columns:1fr}.whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 92px;gap:6px;margin:0 0 8px}.whiteboard-mode .studio-screen{min-height:clamp(130px,24vh,180px)}.whiteboard-mode .countdown-clock{width:88px;height:88px}.whiteboard-mode .number-tray{gap:3px}.whiteboard-mode .number-tile{width:clamp(30px,9.1vw,38px);height:clamp(42px,12.5vw,51px);flex-basis:clamp(30px,9.1vw,38px);font-size:clamp(18px,5.4vw,23px)}.whiteboard-mode .target-block strong{font-size:clamp(43px,12vw,58px)}.whiteboard-mode .timer-block>strong{font-size:14px}.whiteboard-mode .work-paper:has(.solution-steps:not([hidden])){min-height:92px;padding:7px 9px}.whiteboard-mode .solution-steps:not([hidden]){padding:5px 7px 5px 25px;font-size:10px}.whiteboard-toolbar{bottom:4px;max-width:calc(100% - 8px);padding:3px;gap:0;overflow-x:auto}.whiteboard-toolbar button{padding:6px 6px;font-size:8px}.worksheet-dialog{width:calc(100% - 10px);max-height:95vh;padding:9px}.worksheet-dialog-head{margin-bottom:8px}.worksheet-dialog-head h2{font-size:16px}.worksheet-dialog-head p:last-child{font-size:9px}.worksheet-dialog .print-sheet{padding:9px}.worksheet-dialog .print-questions-page{grid-template-columns:1fr;gap:7px}.worksheet-dialog .print-question{min-height:90px}.worksheet-dialog-actions{bottom:-9px;margin:8px -9px -9px;padding:7px 9px 9px;flex-wrap:wrap}.worksheet-dialog-actions p{width:100%;font-size:9px}.worksheet-dialog-actions .button{flex:1;padding-inline:7px;font-size:10px}}
@media(max-width:370px){.site-header{align-items:flex-start;flex-direction:column;gap:6px}.site-nav{gap:11px}.board-header{align-items:flex-start}.board-header h1{font-size:16px}.board-header-actions{gap:3px}.board-header-actions .button{padding:4px 5px;font-size:8px}.studio-console{grid-template-columns:minmax(0,1fr) 76px;gap:4px}.countdown-clock{width:74px;height:74px}.body-classroom .studio-console,.whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 76px;gap:4px}.body-classroom .countdown-clock,.whiteboard-mode .countdown-clock{width:74px;height:74px}.number-tile{width:clamp(29px,8.9vw,33px);flex-basis:clamp(29px,8.9vw,33px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A4;margin:14mm}body>*:not(.worksheet-dialog){display:none!important}body{background:#fff;color:#111}.worksheet-dialog[open]{position:static!important;inset:auto!important;display:block!important;width:auto!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#111}.worksheet-dialog::backdrop,.worksheet-dialog-head,.worksheet-dialog-actions{display:none!important}.worksheet-dialog .print-sheet{display:block!important;padding:0!important;border:0!important;background:#fff!important}.worksheet-dialog .print-heading p:first-child{font-size:10px;letter-spacing:1.5px;font-weight:700}.worksheet-dialog .print-heading h2{margin:6px 0 11px;font-size:24px}.worksheet-dialog .print-heading p{font-size:11px}.worksheet-dialog .print-questions{display:block}.worksheet-dialog .print-questions-page{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;break-after:page;page-break-after:always}.worksheet-dialog .print-questions-page:last-child{break-after:auto;page-break-after:auto}.worksheet-dialog .print-question{min-height:103px;padding:12px;border:1px solid #bfc6cf;break-inside:avoid}.worksheet-dialog .print-answer-key{break-before:page;page-break-before:always;margin:0;padding:0;border:0}.worksheet-dialog .print-answer-key h2{font-size:22px}.worksheet-dialog .print-answer-key ol{columns:2;font-size:11px}.worksheet-dialog .print-answer-key li{break-inside:avoid;margin-bottom:8px}}

/* Keep the studio legible across classroom screens and handhelds. */
.number-tile,.target-block strong{font-family:Arial,Helvetica,sans-serif;font-stretch:normal;font-weight:700;letter-spacing:-1px}
.game-layout{width:min(1260px,calc(100% - 48px));grid-template-columns:minmax(0,1fr) 270px}
.game-board{padding:24px}
.board-header h1{font-size:24px}
.board-subtitle{font-size:12px}
.board-header-actions .button,.button{font-size:12px;min-height:36px;padding:8px 12px}
.studio-console{grid-template-columns:minmax(0,1fr) 172px;gap:20px;margin:20px 0 16px}
.studio-screen{min-height:264px;gap:22px;padding:18px 14px 20px;background:linear-gradient(120deg,#299bda,#1886cc)}
.target-block strong{min-width:194px;font-size:76px;padding:2px 16px 6px}
.number-tray{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:8px}
.number-tile{width:100%;height:80px;font-size:42px}
.countdown-clock{width:166px;height:166px}
.timer-block>strong{font-size:25px}
.timer-block>.mini-label{font-size:9px}
.timer-controls{gap:12px}
.timer-duration,.sound-toggle{font-size:12px}
.timer-duration select{font-size:12px}
.work-paper{padding:16px 18px;min-height:185px;background-size:26px 26px}
.paper-heading h2{font-size:15px}
.answer-form input{height:42px;font-size:15px}
.field-help{font-size:11px}
.feedback,.solution-row p{font-size:12px}
.solution-steps{font-size:18px;line-height:1.6}
.board-footer{font-size:10px;padding-top:12px}
.preset-option span,.disclosure-button{font-size:13px}
.preset-option small,.worksheet-section p{font-size:11px}
.worksheet-controls{grid-template-columns:1fr}
.worksheet-controls select{font-size:12px}
.worksheet-controls .button{font-size:12px}
.body-classroom .settings-panel{display:none}
.body-classroom .game-layout{width:min(1260px,calc(100% - 48px));grid-template-columns:minmax(0,1fr)}
.body-classroom .game-board{padding:24px 30px}
.body-classroom .studio-console{grid-template-columns:minmax(0,1fr) 230px;gap:30px;margin:20px 0 16px}
.body-classroom .studio-screen{min-height:300px;padding:20px 28px;gap:24px}
.body-classroom .target-block strong{font-size:90px;min-width:242px}
.body-classroom .number-tray{gap:12px}
.body-classroom .number-tile{width:100%;height:94px;font-size:52px}
.body-classroom .countdown-clock{width:220px;height:220px}
.body-classroom .timer-block>strong{font-size:30px}
.body-classroom .work-paper{min-height:185px}
.whiteboard-mode .game-stage{min-height:100vh;padding:24px 0 80px}
.whiteboard-mode .game-layout{width:min(1480px,calc(100% - 72px))}
.whiteboard-mode .game-board{padding:0}
.whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 280px;gap:40px;margin:0 0 24px}
.whiteboard-mode .studio-screen{min-height:380px;gap:30px;padding:26px 30px}
.whiteboard-mode .target-block strong{font-size:120px;min-width:290px}
.whiteboard-mode .number-tray{gap:16px}
.whiteboard-mode .number-tile{width:100%;height:118px;font-size:66px}
.whiteboard-mode .countdown-clock{width:270px;height:270px}
.whiteboard-mode .timer-block>.mini-label,.whiteboard-mode .timer-block>strong{color:#fff;text-shadow:0 2px 4px #071d43}
.whiteboard-mode .timer-block>strong{font-size:36px}
.whiteboard-mode .solution-steps:not([hidden]){font-size:26px;columns:2;column-gap:48px;line-height:1.5;background:none}
.whiteboard-mode .solution-steps li{break-inside:avoid}
.whiteboard-toolbar button{font-size:13px;padding:10px 15px;min-height:40px}
@media(max-width:1100px){
 .game-layout{grid-template-columns:minmax(0,1fr) 230px;width:calc(100% - 28px)}
 .game-board{padding:20px}
 .studio-console{grid-template-columns:minmax(0,1fr) 130px;gap:12px}
 .countdown-clock{width:126px;height:126px}
 .number-tile{font-size:31px;height:64px}
 .studio-screen{min-height:230px;padding:16px 10px}
 .target-block strong{font-size:64px;min-width:158px}
 .body-classroom .game-layout{width:calc(100% - 28px)}
 .body-classroom .game-board{padding:22px}
 .body-classroom .studio-console{grid-template-columns:minmax(0,1fr) 190px;gap:20px}
 .body-classroom .countdown-clock{width:180px;height:180px}
 .body-classroom .studio-screen{min-height:270px;padding:20px 16px}
 .body-classroom .number-tile{font-size:43px;height:82px}
 .body-classroom .target-block strong{font-size:78px;min-width:205px}
 .whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 210px;gap:20px}
 .whiteboard-mode .countdown-clock{width:200px;height:200px}
 .whiteboard-mode .studio-screen{min-height:300px;padding:20px 16px}
 .whiteboard-mode .number-tile{font-size:46px;height:88px}
 .whiteboard-mode .target-block strong{font-size:92px;min-width:220px}
}
@media(max-width:880px){
 .game-layout{grid-template-columns:1fr}
 .settings-panel{border-left:0;border-top:1px solid #b8c5d0;padding:20px 24px}
 .preset-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .worksheet-controls{grid-template-columns:1fr auto}
 .studio-console{grid-template-columns:minmax(0,1fr) 155px;gap:18px}
 .countdown-clock{width:145px;height:145px}
 .number-tile{font-size:38px;height:76px}
 .body-classroom .studio-console{grid-template-columns:minmax(0,1fr) 165px;gap:16px}
 .body-classroom .countdown-clock{width:160px;height:160px}
 .body-classroom .number-tile{font-size:38px;height:76px}
 .body-classroom .studio-screen{min-height:250px;padding:16px 12px}
 .body-classroom .target-block strong{font-size:72px;min-width:180px}
}
@media(max-width:600px){
 .site-header{padding:12px 14px;align-items:flex-start;flex-direction:column;gap:12px}
 .site-nav{width:100%;justify-content:space-between;gap:8px}
 .site-nav a{font-size:12px}
 .brand-countdown>span{width:23px;height:27px;font-size:17px}
 .brand-subtitle{font-size:10px}
 .game-layout,.body-classroom .game-layout{width:calc(100% - 16px)}
 .game-board,.body-classroom .game-board{padding:15px 12px}
 .board-header{flex-wrap:wrap;gap:10px}
 .board-header h1{font-size:20px}
 .board-subtitle{font-size:11px}
 .board-header-actions .button{font-size:11px;min-height:34px;padding:7px 11px}
 .studio-console,.body-classroom .studio-console,.whiteboard-mode .studio-console{position:relative;display:block;margin:14px 0}
 .studio-frame,.whiteboard-mode .studio-frame{padding:5px 5px 7px}
 .studio-screen,.body-classroom .studio-screen,.whiteboard-mode .studio-screen{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:22px 10px;min-height:223px;padding:18px 9px 13px}
 .target-block{grid-column:1;justify-self:center}
 .target-block strong,.body-classroom .target-block strong,.whiteboard-mode .target-block strong{font-size:54px;min-width:126px;padding:3px 8px 6px}
 .target-block .mini-label{font-size:9px}
 .number-tray,.body-classroom .number-tray,.whiteboard-mode .number-tray{grid-column:1 / -1;gap:5px;width:100%}
 .number-tile,.body-classroom .number-tile,.whiteboard-mode .number-tile{width:100%;height:58px;font-size:30px;letter-spacing:-1px;min-width:0}
 .timer-block{position:absolute;right:18px;top:18px;width:88px}
 .countdown-clock,.body-classroom .countdown-clock,.whiteboard-mode .countdown-clock{width:88px;height:88px}
 .timer-block>.mini-label{font-size:7px}
 .timer-block>strong,.body-classroom .timer-block>strong,.whiteboard-mode .timer-block>strong{font-size:18px}
 .whiteboard-mode .timer-block>.mini-label,.whiteboard-mode .timer-block>strong{color:#fff;text-shadow:none}
 .timer-controls{justify-content:flex-start;gap:10px;flex-wrap:wrap;padding:10px 0}
 .timer-actions{width:100%;gap:6px}
 .timer-actions .button{min-height:38px;padding:8px 12px;font-size:12px}
 .timer-duration,.sound-toggle,.timer-duration select{font-size:12px}
 .sound-toggle{margin-left:auto}
 .work-paper{padding:12px;min-height:200px}
 .paper-heading h2{font-size:14px}
 .answer-form{flex-wrap:wrap;gap:7px}
 .answer-form input{height:42px;font-size:16px;width:100%;flex-basis:100%}
 .answer-form .button{font-size:11px;min-height:34px;padding:7px 11px}
 .field-help{font-size:10px}
 .feedback,.solution-row p{font-size:11px}
 .solution-actions .button{font-size:12px;min-height:36px;padding:7px 11px}
 .solution-row{gap:9px}
 .solution-steps{font-size:16px}
 .board-footer{font-size:9px;padding-top:10px}
 .settings-panel{padding:18px 16px}
 .settings-panel>h2{font-size:18px}
 .preset-options{gap:9px}
 .preset-option span{font-size:12px}
 .preset-option small{font-size:10px}
 .preset-option input{width:15px;height:15px}
 .preset-option{grid-template-columns:15px 1fr;column-gap:6px}
 .disclosure-button{font-size:12px;min-height:40px}
 .worksheet-section h2{font-size:16px}
 .worksheet-section p{font-size:12px;margin:5px 0 10px}
 .worksheet-controls select,.worksheet-controls .button{font-size:12px;min-height:38px}
 .classroom-brand{font-size:10px}.classroom-bar-actions .button,.exit-classroom{font-size:10px;min-height:34px}
 .whiteboard-mode .game-stage{padding:12px 0 70px}
 .whiteboard-mode .game-board{padding:0}
 .whiteboard-mode .solution-steps:not([hidden]){font-size:18px;columns:1}
 .whiteboard-toolbar button{font-size:10px;padding:8px 7px;min-height:36px}
 .rules-inner p,.rules-inner a,.site-footer nav a{font-size:12px}
 .rules-inner h2{font-size:16px}
 .site-footer{flex-direction:column;align-items:flex-start;padding:14px;gap:12px}
}
@media(max-height:650px) and (min-width:601px){
 .whiteboard-mode .studio-screen{min-height:240px;gap:16px;padding:15px}
 .whiteboard-mode .target-block strong{font-size:78px}
 .whiteboard-mode .number-tile{height:76px;font-size:44px}
 .whiteboard-mode .countdown-clock{width:180px;height:180px}
 .whiteboard-mode .studio-console{grid-template-columns:minmax(0,1fr) 185px;margin-bottom:14px}
 .whiteboard-mode .solution-steps:not([hidden]){font-size:19px}
 .whiteboard-mode .game-stage{padding:12px 0 68px}
}
@media(max-width:600px){
 .timer-block>.mini-label,.timer-block>strong,.body-classroom .timer-block>strong{color:#fff;text-shadow:0 1px 2px #164a83}
 .classroom-bar{height:auto;min-height:52px;justify-content:center;padding:6px}
 .classroom-brand{display:none}
 .classroom-bar-actions .button,.exit-classroom{font-size:12px;min-height:38px;padding:8px 12px}
}
.site-header .brand-countdown>span{width:25px;height:30px;font-size:20px}
.site-header .brand-subtitle{font-size:10px}
.site-nav a{font-size:13px}
.site-header{min-height:70px}
.whiteboard-mode .classroom-bar{display:none!important}
@media(max-width:600px){.site-header .brand-countdown>span{width:23px;height:27px;font-size:17px}.site-nav a{font-size:12px}}
.whiteboard-toolbar{width:max-content;max-width:calc(100% - 16px)}
.whiteboard-toolbar button{white-space:nowrap}
.number-tile{padding:0;appearance:none;-webkit-appearance:none;cursor:pointer}

/* Entry tools and user-selected number sets. */
.answer-tools{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.answer-tools button{min-width:42px;min-height:42px;padding:6px 10px;border:1px solid #8799a9;border-radius:2px;background:#fff;color:#18395d;font-size:17px;font-weight:700}
.answer-tools button:hover{background:#e7f0f7}
.answer-tools button#answerUndo,.answer-tools button#answerClear{font-size:12px}
.answer-guide{min-height:18px;margin:3px 0 0;color:#365c7d;font-size:12px}
.answer-tools+[hidden]+.answer-guide{margin-top:0}
.sound-controls{display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 8px;max-width:100%;min-width:0}
#soundStatus{min-width:0;color:#31536f;font-size:12px}
#soundStatus:not(:empty){flex-basis:100%;text-align:right}
.number-tile.used,.number-tile[aria-pressed="true"]{opacity:.42;filter:grayscale(.5);box-shadow:none}
.number-tile:focus-visible,.answer-tools button:focus-visible,.picker-deck:focus-visible{outline:3px solid #f5c744;outline-offset:2px}
.feature-dialog{width:min(620px,calc(100% - 28px));max-width:620px;max-height:min(90vh,820px);padding:22px;border:1px solid #8093a4;border-radius:2px;background:#f8fafb;color:#1b304a;box-shadow:0 18px 65px #071b3b70}
.number-picker-dialog,.solutions-dialog{width:min(620px,calc(100% - 28px));max-width:620px;max-height:min(90vh,820px);padding:22px;border:1px solid #8093a4;border-radius:2px;background:#f8fafb;color:#1b304a;box-shadow:0 18px 65px #071b3b70;overflow:auto}
.number-picker-dialog::backdrop,.solutions-dialog::backdrop{background:#061a36b8}
.feature-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #c2cdd6}
.feature-dialog-head p{margin:0 0 2px;color:#53708c;font-size:12px}
.feature-dialog-head h2{margin:0;color:#16395f;font-size:23px;line-height:1.2}
.picker-instructions,.solution-summary{margin:12px 0;color:#435b73;font-size:14px}
#pickerProgress{display:block;width:100%;height:12px;accent-color:#126ab1}
.picker-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 0}
.picker-slot{display:grid;place-items:center;min-height:52px;border:1px solid #9aabb7;background:#fff;color:#183c67;font-size:21px;font-weight:700}
.picker-slot:empty{background:repeating-linear-gradient(135deg,#f7f9fa,#f7f9fa 6px,#e8edf1 6px,#e8edf1 12px)}
.picker-decks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.picker-deck{display:grid;grid-template-columns:68px 1fr;grid-template-rows:auto auto;align-items:center;min-height:91px;padding:9px 12px;border:1px solid #8095a7;border-radius:2px;background:#edf3f7;color:#193757;text-align:left}
.picker-deck:hover{background:#e2edf4;border-color:#456e91}
.picker-deck strong{font-size:15px}.picker-deck small{color:#546d84;font-size:12px}
.picker-card-fan{position:relative;grid-row:1/3;display:block;width:56px;height:64px}
.picker-card-fan i{position:absolute;left:8px;top:6px;width:35px;height:51px;border:2px solid #b9e5e8;background:repeating-linear-gradient(45deg,#24448f,#24448f 4px,#3155a1 4px,#3155a1 8px);box-shadow:0 1px 3px #10274a66}
.picker-card-fan i:nth-child(1){transform:rotate(-15deg);left:1px;top:9px}.picker-card-fan i:nth-child(3){transform:rotate(15deg);left:15px;top:9px}
.picker-deck-large .picker-card-fan i{border-color:#a5dce1;background:repeating-linear-gradient(45deg,#103f82,#103f82 4px,#1764a0 4px,#1764a0 8px)}
.picker-status{min-height:22px;margin:8px 0;color:#344f6b;font-size:13px}
.feature-dialog-actions{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #c2cdd6}
.feature-dialog-actions>span{flex:1}
.solution-list{margin:8px 0 0;padding:0;list-style:none;counter-reset:solution}
.solution-list>li{margin:0;padding:0;border-top:1px solid #c2cdd6;background:#fff;color:#203e5f}
.solution-list>li:first-child{border-top:0}
.solution-list>li>details>summary{padding:12px 14px;color:#203e5f;font-size:16px;font-weight:700;cursor:pointer}
.solution-list>li>details>ol{margin:0;padding:0 18px 14px 42px;color:#344f6b;font-size:14px;line-height:1.55}
.solution-list>li>details>ol>li{padding:2px 0}
.solution-list .solution-expression{font-weight:700;font-variant-numeric:tabular-nums}
.number-picker-dialog[open],.solutions-dialog[open]{display:block}
@media(max-width:600px){
 .board-header-actions{flex-wrap:wrap;justify-content:flex-end}
 #chooseNumbersTop{font-size:12px;min-height:40px}
 .solution-actions{flex-wrap:wrap;justify-content:flex-end}
 .solution-actions .button{min-height:40px;font-size:12px}
 .answer-tools{gap:4px}.answer-tools button{flex:1 1 40px;min-height:44px;font-size:17px}
 .answer-tools button#answerUndo,.answer-tools button#answerClear{flex:1 1 68px}
 .number-picker-dialog,.solutions-dialog{width:calc(100% - 16px);max-height:92vh;padding:15px}
 .feature-dialog-head h2{font-size:20px}
 .picker-decks{gap:7px}.picker-deck{grid-template-columns:45px 1fr;min-height:82px;padding:7px}
 .picker-card-fan{transform:scale(.78);transform-origin:left center;width:42px}
 .picker-deck strong{font-size:13px}.picker-deck small{font-size:11px}
 .picker-slots{gap:4px}.picker-slot{min-height:44px;font-size:18px}
 .feature-dialog-actions .button{min-height:44px;padding:8px;font-size:12px}
 .feature-dialog-actions{flex-wrap:wrap;gap:7px}
 .feature-dialog-actions>span{display:none}
 .feature-dialog-actions>.button{flex:1 1 auto}
 .feature-dialog-actions #pickerUseReachable:not([hidden]){flex-basis:100%}
 .whiteboard-mode .game-stage{padding-bottom:116px}
 .whiteboard-toolbar{display:grid;width:calc(100% - 16px);max-width:420px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;bottom:7px;padding:4px;overflow:visible}
 .whiteboard-toolbar button{min-width:0;min-height:44px;padding:6px 4px;white-space:normal;font-size:12px;line-height:1.15}
}
@media(prefers-reduced-motion:no-preference){
 #gameApp.dealing .number-tile{animation:deal-card .48s cubic-bezier(.2,.75,.3,1) both}
 #gameApp.dealing .number-tile:nth-child(1){animation-delay:0ms}#gameApp.dealing .number-tile:nth-child(2){animation-delay:65ms}#gameApp.dealing .number-tile:nth-child(3){animation-delay:130ms}#gameApp.dealing .number-tile:nth-child(4){animation-delay:195ms}#gameApp.dealing .number-tile:nth-child(5){animation-delay:260ms}#gameApp.dealing .number-tile:nth-child(6){animation-delay:325ms}
 #gameApp.dealing .target-block strong{animation:deal-target .55s .42s both}
}
@keyframes deal-card{from{opacity:0;transform:translateY(-18px) rotateX(28deg)}to{opacity:1;transform:translateY(0) rotateX(0)}}
@keyframes deal-target{from{opacity:.4;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.game-help{width:min(1060px,100%);margin:24px auto 0;border-top:1px solid #c4cfda}
.game-help details{border-bottom:1px solid #c4cfda;padding:14px 0;color:#344d68;font-size:14px}
.game-help summary{cursor:pointer;font-weight:700;color:#19385d;font-size:15px}
.game-help p{max-width:850px;margin:10px 0 0;line-height:1.6}
.game-help a{color:#145ea8}
@media print{body>.number-picker-dialog,body>.solutions-dialog{display:none!important}}
.picker-slot.picked{color:#fff;background:linear-gradient(150deg,#294993,#182c79);border-top:3px solid #a1dce6;border-bottom:3px solid #112258;box-shadow:0 2px 3px #10274a33}
.picker-deck:disabled{opacity:.55;cursor:default}
.whiteboard-mode .number-tile:disabled{opacity:1;filter:none;cursor:default}
@media(prefers-reduced-motion:no-preference){.picker-slot.just-picked{animation:deal-card .35s ease-out both}}
.feature-dialog-head{position:sticky;top:-22px;z-index:2;background:#f8fafb;padding-top:12px;margin-top:-12px}
@media(max-width:600px){.feature-dialog-head{top:-15px}}
