/* school.css (Tabo AI v2.9.7): 🏫 school subjects, grade picker, quizzes, ♟️ chess + 🔴 checkers boards (inside the 📚 Lessons sheet). */
.sc-gwrap{max-width:980px;margin:0 auto 14px;text-align:center}
.sc-grade{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:10px 10px 6px}
.sc-gl{font-weight:800;font-size:15px;margin:0 10px 4px 4px;white-space:nowrap}
.sc-gs{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}
.sc-gb{min-width:40px;height:40px;margin:0 4px 4px 0;padding:0 8px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#ffffff;font:inherit;font-weight:800;font-size:15px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sc-gb:hover{background:rgba(255,255,255,.16)}
.sc-gb.on{background:#b8481a;border-color:#fcc8a6;box-shadow:0 4px 14px rgba(184,72,26,.45)}
.sc-gsm{padding:6px 8px 2px}.sc-gsm .sc-gb{min-width:34px;height:34px;font-size:14px}
.sc-gnote{margin:8px 0 0;font-size:13.5px;opacity:.8}
.sc-sech{max-width:980px;margin:18px auto 10px;font-size:15px;letter-spacing:.04em;text-transform:uppercase;opacity:.75}
.sc-courses{margin-bottom:6px}
.sc-math{background:#2f2a26}.sc-ela{background:#3f3a36}
.sc-sci{background:#49433e}.sc-his{background:#3b3733}
.sc-soc{background:#4d4742}.sc-chess{background:#1a1816}.sc-ck{background:#23201e}
.sc-sub{max-width:760px;margin:0 auto}
.sc-list{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column}
.sc-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;margin:0 0 8px;padding:12px 14px;text-align:left;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#ffffff;font:inherit;cursor:pointer}
.sc-item:hover{background:rgba(255,255,255,.12)}.sc-item:active{-webkit-transform:scale(.98);transform:scale(.98)}
.sc-dim{opacity:.75}
.sc-ii{-webkit-flex:none;flex:none;width:38px;height:38px;margin-right:12px;border-radius:12px;background:rgba(255,255,255,.1);font-size:20px;line-height:38px;text-align:center}
.sc-it{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-width:0}.sc-it b{display:block;font-size:16px}.sc-it small{display:block;font-size:13px;opacity:.7;margin-top:2px}
.sc-st{-webkit-flex:none;flex:none;margin-left:8px;font-size:14px}
.sc-own{margin:14px 0 6px;padding:12px;border-radius:16px;background:rgba(184,72,26,.14);border:1px solid rgba(246,162,116,.35)}
.sc-own label{display:block;font-weight:800;font-size:14.5px;margin-bottom:8px}
.sc-own div{display:-webkit-box;display:-webkit-flex;display:flex}
.sc-own input{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-width:0;height:44px;margin-right:8px;padding:0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.3);color:#ffffff;font:inherit;font-size:16px}
.sc-own .ls-b{-webkit-flex:none;flex:none}
.sc-les{max-width:760px;margin:0 auto 12px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.sc-les h3{margin:0 0 8px;font-size:19px}.sc-les .ls-x{margin:0}
.sc-tip{margin:10px 0 0;padding:8px 12px;border-radius:12px;background:rgba(250,204,21,.13);color:#fde68a;font-size:14.5px}
.sc-src{max-width:760px;margin:-4px auto 10px;font-size:12.5px;opacity:.65}
.sc-load{max-width:760px;margin:10px auto;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.06);font-size:15px}
.sc-load .ls-spin{vertical-align:-2px;margin-right:6px}
.sc-load .ls-b{display:inline-block;min-height:34px;padding:4px 12px;margin-left:6px;font-size:14px}
.sc-qwrap{max-width:760px;margin:0 auto}
.sc-quiz{padding:14px 16px;border-radius:18px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}
.sc-qn{margin:0;font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.65}
.sc-q{margin:6px 0 12px;font-size:18px;font-weight:800;line-height:1.35}
.sc-ch{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column}
.sc-c{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:0 0 8px;padding:11px 12px;min-height:48px;text-align:left;border-radius:14px;border:2px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#ffffff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.sc-c:hover{border-color:rgba(246,162,116,.7)}
.sc-cl{-webkit-flex:none;flex:none;width:28px;height:28px;margin-right:10px;border-radius:9px;background:rgba(255,255,255,.12);font-size:13px;line-height:28px;text-align:center}
.sc-c.ok{border-color:#34d399;background:rgba(52,211,153,.18)}.sc-c.bad{border-color:#f87171;background:rgba(248,113,113,.16)}
.sc-c:disabled{cursor:default}
.sc-why{margin:4px 0 0;font-size:15px;line-height:1.4}.sc-why[hidden]{display:none}
.sc-done{text-align:center;padding:10px 0}.sc-big{font-size:42px}.sc-done b{display:block;font-size:22px;margin:6px 0 2px}.sc-done span{opacity:.8}
/* boards */
.bd-menu{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;max-width:980px;margin:0 auto}
.bd-menu .ls-course{-webkit-box-flex:1;-webkit-flex:1 1 280px;flex:1 1 280px;margin:0 10px 10px 0}
.bd-c1{background:linear-gradient(145deg,#475569,#111827)}.bd-c2{background:linear-gradient(145deg,#7c3aed,#2e1065)}.bd-c3{background:linear-gradient(145deg,#0d9488,#134e4a)}.bd-c4{background:linear-gradient(145deg,#dc2626,#450a0a)}
.bd-top{max-width:560px;margin:0 auto}
.bd-lv{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:0 0 8px}
.bd-lv span{font-weight:800;margin-right:8px}.bd-lv small{width:100%;text-align:center;opacity:.6;font-size:12px;margin-top:2px}
.bd-lvb{margin:0 4px 4px 0;padding:6px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.bd-lvb.on{background:#8b5cf6;border-color:#c4b5fd}
.bd-st{max-width:560px;margin:4px auto 8px;text-align:center;font-size:16px;min-height:22px}
.bd-note{max-width:560px;margin:8px auto 0;text-align:center;font-size:13px;opacity:.65}
.bd-wrap{width:100%;max-width:520px;margin:0 auto}
.bd-small{max-width:380px}
.bd-board{position:relative;width:100%;padding-bottom:100%;border-radius:12px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.45);border:3px solid #3b2a1a}
.bd-sq{position:absolute;width:12.5%;height:12.5%;margin:0;padding:0;border:0;border-radius:0;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;display:block}
.bd-sq:nth-child(1){top:0.0%;left:0.0%}
.bd-sq:nth-child(2){top:0.0%;left:12.5%}
.bd-sq:nth-child(3){top:0.0%;left:25.0%}
.bd-sq:nth-child(4){top:0.0%;left:37.5%}
.bd-sq:nth-child(5){top:0.0%;left:50.0%}
.bd-sq:nth-child(6){top:0.0%;left:62.5%}
.bd-sq:nth-child(7){top:0.0%;left:75.0%}
.bd-sq:nth-child(8){top:0.0%;left:87.5%}
.bd-sq:nth-child(9){top:12.5%;left:0.0%}
.bd-sq:nth-child(10){top:12.5%;left:12.5%}
.bd-sq:nth-child(11){top:12.5%;left:25.0%}
.bd-sq:nth-child(12){top:12.5%;left:37.5%}
.bd-sq:nth-child(13){top:12.5%;left:50.0%}
.bd-sq:nth-child(14){top:12.5%;left:62.5%}
.bd-sq:nth-child(15){top:12.5%;left:75.0%}
.bd-sq:nth-child(16){top:12.5%;left:87.5%}
.bd-sq:nth-child(17){top:25.0%;left:0.0%}
.bd-sq:nth-child(18){top:25.0%;left:12.5%}
.bd-sq:nth-child(19){top:25.0%;left:25.0%}
.bd-sq:nth-child(20){top:25.0%;left:37.5%}
.bd-sq:nth-child(21){top:25.0%;left:50.0%}
.bd-sq:nth-child(22){top:25.0%;left:62.5%}
.bd-sq:nth-child(23){top:25.0%;left:75.0%}
.bd-sq:nth-child(24){top:25.0%;left:87.5%}
.bd-sq:nth-child(25){top:37.5%;left:0.0%}
.bd-sq:nth-child(26){top:37.5%;left:12.5%}
.bd-sq:nth-child(27){top:37.5%;left:25.0%}
.bd-sq:nth-child(28){top:37.5%;left:37.5%}
.bd-sq:nth-child(29){top:37.5%;left:50.0%}
.bd-sq:nth-child(30){top:37.5%;left:62.5%}
.bd-sq:nth-child(31){top:37.5%;left:75.0%}
.bd-sq:nth-child(32){top:37.5%;left:87.5%}
.bd-sq:nth-child(33){top:50.0%;left:0.0%}
.bd-sq:nth-child(34){top:50.0%;left:12.5%}
.bd-sq:nth-child(35){top:50.0%;left:25.0%}
.bd-sq:nth-child(36){top:50.0%;left:37.5%}
.bd-sq:nth-child(37){top:50.0%;left:50.0%}
.bd-sq:nth-child(38){top:50.0%;left:62.5%}
.bd-sq:nth-child(39){top:50.0%;left:75.0%}
.bd-sq:nth-child(40){top:50.0%;left:87.5%}
.bd-sq:nth-child(41){top:62.5%;left:0.0%}
.bd-sq:nth-child(42){top:62.5%;left:12.5%}
.bd-sq:nth-child(43){top:62.5%;left:25.0%}
.bd-sq:nth-child(44){top:62.5%;left:37.5%}
.bd-sq:nth-child(45){top:62.5%;left:50.0%}
.bd-sq:nth-child(46){top:62.5%;left:62.5%}
.bd-sq:nth-child(47){top:62.5%;left:75.0%}
.bd-sq:nth-child(48){top:62.5%;left:87.5%}
.bd-sq:nth-child(49){top:75.0%;left:0.0%}
.bd-sq:nth-child(50){top:75.0%;left:12.5%}
.bd-sq:nth-child(51){top:75.0%;left:25.0%}
.bd-sq:nth-child(52){top:75.0%;left:37.5%}
.bd-sq:nth-child(53){top:75.0%;left:50.0%}
.bd-sq:nth-child(54){top:75.0%;left:62.5%}
.bd-sq:nth-child(55){top:75.0%;left:75.0%}
.bd-sq:nth-child(56){top:75.0%;left:87.5%}
.bd-sq:nth-child(57){top:87.5%;left:0.0%}
.bd-sq:nth-child(58){top:87.5%;left:12.5%}
.bd-sq:nth-child(59){top:87.5%;left:25.0%}
.bd-sq:nth-child(60){top:87.5%;left:37.5%}
.bd-sq:nth-child(61){top:87.5%;left:50.0%}
.bd-sq:nth-child(62){top:87.5%;left:62.5%}
.bd-sq:nth-child(63){top:87.5%;left:75.0%}
.bd-sq:nth-child(64){top:87.5%;left:87.5%}
.bd-chess .bd-lt{background:#efe0c4}.bd-chess .bd-dk{background:#b0835a}
.bd-ck .bd-lt{background:#f3e6d0}.bd-ck .bd-dk{background:#3f6b4a}
.bd-sq.bd-last{box-shadow:inset 0 0 0 100px rgba(250,204,21,.32)}
.bd-sq.bd-sel{box-shadow:inset 0 0 0 100px rgba(59,130,246,.45)}
.bd-sq.bd-chk{box-shadow:inset 0 0 0 100px rgba(239,68,68,.6)}
.bd-sq.bd-can{box-shadow:inset 0 0 0 3px rgba(250,204,21,.85)}
.bd-sq.bd-dot:after{content:'';position:absolute;left:50%;top:50%;width:30%;height:30%;margin:-15% 0 0 -15%;border-radius:50%;background:rgba(20,20,20,.35)}
.bd-ck .bd-sq.bd-dot:after{background:rgba(250,204,21,.7)}
.bd-sq.bd-cap:after{content:'';position:absolute;left:4%;top:4%;right:4%;bottom:4%;border-radius:50%;border:4px solid rgba(20,20,20,.35)}
.bd-sq.bd-star:before{content:'\2605';position:absolute;left:0;right:0;top:50%;margin-top:-.6em;text-align:center;color:#f59e0b;font-size:20px}
.bd-pc{position:absolute;left:0;right:0;top:50%;margin-top:-.55em;text-align:center;line-height:1.1;font-size:42px;font-family:'Apple Symbols','Segoe UI Symbol','DejaVu Sans','Noto Sans Symbols2',serif;pointer-events:none}
.bd-w{color:#fff;text-shadow:0 0 1px #000,0 0 1px #000,1px 1px 0 #1b1b1b,-1px -1px 0 #1b1b1b,1px -1px 0 #1b1b1b,-1px 1px 0 #1b1b1b,0 2px 3px rgba(0,0,0,.4)}
.bd-b{color:#1b1b1b;text-shadow:0 1px 0 rgba(255,255,255,.35)}
@media (max-width:560px){.bd-pc{font-size:8.2vw}}
.bd-small .bd-pc{font-size:30px}
.bd-ckp{position:absolute;left:12%;top:12%;right:12%;bottom:12%;border-radius:50%;pointer-events:none;text-align:center;font-size:20px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}
.bd-red{background:radial-gradient(circle at 35% 30%,#ff8a8a,#dc2626 55%,#7f1d1d);box-shadow:0 3px 0 #5b1010,0 4px 8px rgba(0,0,0,.4)}
.bd-blk{background:radial-gradient(circle at 35% 30%,#6b7280,#1f2937 55%,#030712);box-shadow:0 3px 0 #000,0 4px 8px rgba(0,0,0,.4)}
.bd-les{max-width:760px;margin:0 auto 10px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.bd-les h3{margin:0 0 8px;font-size:19px}.bd-les .ls-x{margin:0}
.bd-goal{margin:10px 0 0;font-weight:800;color:#fde68a}
.bd-top+.bd-st,.bd-wrap+.ls-btns{max-width:520px;margin-left:auto;margin-right:auto}
.ls-btns{max-width:760px;margin-left:auto;margin-right:auto}
