:root{--ink:#173b38;--muted:#617972;--cream:#f6f3e9;--green:#174b42;--lime:#c9ec9e;--peach:#f9d8bb}*{box-sizing:border-box}body{margin:0;background:#dce7d9;color:var(--ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #efa952;outline-offset:3px}.hidden{display:none!important}#world{position:fixed;inset:0;background:linear-gradient(135deg,#e8eee1,#abc8b7)}#world canvas{width:100%;height:100%;display:block}.grain{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(240,245,231,.98) 0%,rgba(240,245,231,.90) 36%,rgba(240,245,231,.18) 74%)}body.playing .grain{background:linear-gradient(180deg,rgba(18,49,43,.72),transparent 30%,transparent 65%,rgba(18,49,43,.32))}main{position:relative;min-height:100vh;pointer-events:none}main button,main section{pointer-events:auto}.topbar{height:86px;display:flex;justify-content:space-between;align-items:center;padding:0 5vw;border-bottom:1px solid rgba(30,73,60,.15);pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;border:0;background:none;color:var(--ink);text-align:left;font-size:13px;font-weight:900;letter-spacing:.16em}.brand small{display:block;font-size:8px;letter-spacing:.2em;color:var(--muted);margin-top:3px}.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--lime);width:40px;height:40px;border-radius:12px;font-size:22px}.top-right{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--ink)}.live-dot{width:7px;height:7px;background:#77ad72;border-radius:50%}.icon-btn{border:1px solid rgba(37,78,63,.22);background:rgba(255,255,255,.4);border-radius:8px;padding:10px 12px;color:inherit;font-size:10px;font-weight:800;letter-spacing:.08em}.screen{padding:0 5vw}.home{min-height:calc(100vh - 86px);display:flex;align-items:center;justify-content:space-between;gap:30px}.home-copy{max-width:690px;padding:45px 0}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:900;letter-spacing:.18em;color:#51796a;text-transform:uppercase}.eyebrow>span:first-child{display:inline-block;width:20px;height:2px;background:#79a879}.home h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.055em;font-size:clamp(58px,6.5vw,104px);line-height:1.01;margin:28px 0}.home h1 em{color:#648e73;font-weight:400}.home-copy>p,.section-head p,.modal-box>p{font-size:15px;line-height:1.8;color:var(--muted);max-width:460px}.home-actions,.modal-actions{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0}.primary,.secondary{border-radius:10px;padding:17px 21px;font-size:13px;font-weight:800;min-width:170px;text-align:left;transition:transform .15s,background .15s}.primary:hover,.secondary:hover,.menu-card:hover{transform:translateY(-2px)}.primary{border:1px solid var(--green);background:var(--green);color:white}.primary span,.secondary span{float:right;margin-left:20px;font-size:11px;opacity:.75}.secondary{border:1px solid #b6c8b8;background:rgba(255,255,255,.7);color:var(--green)}.home-foot{display:flex;gap:20px;flex-wrap:wrap;color:#789185;font-size:9px;font-weight:800;letter-spacing:.13em;margin-top:60px}.side-menu{width:340px;flex-shrink:0}.side-label{font-size:10px;font-weight:900;letter-spacing:.15em;color:#345e52;margin-bottom:12px}.side-label span{float:right;opacity:.6}.menu-card{width:100%;display:flex;align-items:center;gap:14px;padding:17px;background:rgba(250,252,244,.91);border:1px solid rgba(255,255,255,.8);border-radius:13px;color:var(--ink);text-align:left;margin-bottom:10px;box-shadow:0 10px 30px #284a3510;transition:transform .15s}.menu-icon{width:43px;height:43px;border-radius:10px;display:grid;place-items:center;font-size:20px}.mint{background:#d9ebd1}.peach{background:#f8deca}.menu-card b,.menu-card small{display:block}.menu-card b{font-size:14px}.menu-card small{font-size:11px;color:var(--muted);margin-top:5px}.menu-card strong{margin-left:auto;font-size:20px}.note-card{background:#234d42;color:white;border-radius:13px;padding:22px;margin-top:10px}.note-card>span,.note-card div{font-size:9px;letter-spacing:.15em;font-weight:900;color:#b9d2ba}.note-card p{font-family:Georgia,serif;font-size:22px;line-height:1.3;margin:18px 0 25px}.note-card b{float:right;color:var(--lime)}.panel-screen{min-height:calc(100vh - 86px);padding-top:45px;padding-bottom:45px;background:rgba(244,247,237,.96)}.section-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:26px}.section-head h2,.modal-box h2{font:400 clamp(36px,4vw,58px)/1.05 Georgia,serif;letter-spacing:-.04em;margin:14px 0}.section-head h2 span{color:#86ad77}.section-head p{margin:0}.text-btn{border:0;background:transparent;color:var(--green);font-size:12px;font-weight:800;padding:12px 0}.schedule-grid{display:grid;grid-template-columns:repeat(5,minmax(155px,1fr));gap:12px;overflow-x:auto}.day{background:#fff;border:1px solid #e0e8dc;border-radius:14px;padding:13px;min-width:155px}.day h3{font-size:13px;margin:5px 0 14px}.lesson{display:block;width:100%;text-align:left;border:0;border-radius:9px;background:#f2f6ed;margin:7px 0;padding:12px;color:var(--ink)}.lesson:hover{background:#dcecd4}.lesson small,.lesson b,.lesson span{display:block}.lesson small{color:#719482;font-size:9px;font-weight:900}.lesson b{font-size:12px;margin:5px 0;line-height:1.3}.lesson span{font-size:10px;color:var(--muted)}.schedule-footer{font-size:11px;color:var(--muted);margin-top:20px}.modal{position:fixed;inset:0;background:rgba(14,39,34,.65);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px;z-index:10}.modal-box{background:var(--cream);border-radius:20px;padding:38px;max-width:540px;width:100%;box-shadow:0 25px 100px #102a2370}.modal-box>p{margin:12px 0}.result-stats{display:flex;gap:12px;margin:20px 0}.result-stats span{background:#e5eddf;border-radius:10px;padding:14px;font-size:12px;font-weight:800}.cca-layout{display:grid;grid-template-columns:280px 1fr;gap:18px}.club-list{display:grid;gap:8px;align-content:start}.club-tab{border:1px solid #e0e8dc;background:white;border-radius:10px;padding:14px;text-align:left;color:var(--ink);font-weight:800}.club-tab.active{background:var(--green);color:white}.club-tab small{float:right;font-weight:500;opacity:.7}.club-detail{background:white;border:1px solid #e0e8dc;border-radius:16px;padding:25px}.club-detail h3{font:400 34px Georgia,serif;margin:8px 0}.club-detail p{color:var(--muted);font-size:13px;line-height:1.6}.club-meta{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.club-meta div{background:#f1f6ec;border-radius:10px;padding:12px 17px;font-size:11px;color:var(--muted)}.club-meta strong{display:block;color:var(--ink);font-size:20px;margin-top:4px}.roster{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 20px}.roster button{border:1px solid #dce6d9;background:#f7f9f4;border-radius:30px;padding:8px 11px;color:var(--ink);font-size:11px}.roster button.selected{background:#d1eac1;border-color:#9bc995}.club-actions{display:flex;gap:10px;flex-wrap:wrap}.club-actions button:disabled{opacity:.45;cursor:not-allowed}.competition-box{text-align:center}.competition-box .eyebrow{justify-content:center}.match-score{display:flex;align-items:center;justify-content:center;gap:55px;margin:25px 0}.match-score small,.match-score strong{display:block}.match-score small,.timing-label{font-size:10px;color:var(--muted);letter-spacing:.12em;font-weight:800}.match-score strong{font:48px Georgia,serif}.match-score>span{color:#9fb0a3;font-size:12px}.timing-label{display:flex;justify-content:space-between}.timing-track{position:relative;height:20px;background:#dfe7da;border-radius:20px;margin:12px 0;overflow:hidden}.sweet-spot{position:absolute;left:40%;width:20%;height:100%;background:#83bd82}#marker{position:absolute;left:0;top:0;width:5px;height:100%;background:#19483d;border-radius:5px}#timingArea p,#matchResult p{font-size:12px;color:var(--muted)}#timingArea .primary{display:block;margin:20px auto 0}body.playing .topbar{color:white;border-color:#ffffff30}body.playing .brand,body.playing .top-right{color:white}body.playing .brand small{color:#c4ddd0}#hud{position:fixed;inset:86px 0 0;pointer-events:none}#hud button{pointer-events:auto}.hud-top{display:flex;align-items:flex-start;gap:20px;padding:25px 5vw;color:white}.hud-title{flex:1}.hud-title .eyebrow{color:#c0dfc5}.hud-title h2{font:32px Georgia,serif;margin:8px 0}.hud-title p{font-size:12px;color:#e5f1e4}.hud-stats{display:flex;gap:10px}.stat{background:rgba(24,55,45,.8);backdrop-filter:blur(8px);border:1px solid #ffffff25;border-radius:12px;padding:14px;min-width:120px}.stat small,.stat span,.control-panel small,.student-panel small{display:block;font-size:9px;letter-spacing:.12em;font-weight:900;opacity:.75}.stat strong{display:block;font-size:20px;margin:4px 0}.stat span{color:#cce8b4}.bar{width:100px;height:5px;background:#ffffff30;border-radius:10px;overflow:hidden}.bar i{display:block;background:#b5e78b;width:0;height:100%;transition:width .2s}.control-panel,.student-panel{position:absolute;bottom:26px;left:5vw;right:5vw;background:rgba(247,249,239,.96);border-radius:15px;box-shadow:0 12px 45px #142e2560;padding:20px 23px;pointer-events:auto}.control-panel{display:flex;align-items:center;justify-content:space-between;gap:20px}.control-panel h3,.student-panel h3{font:23px Georgia,serif;margin:6px 0}.control-panel p,.student-help{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.student-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.hide-btn{border:1px solid #cfa579;background:#f8e6d2;color:#774f31;border-radius:9px;padding:12px;font-weight:800;font-size:12px}.hide-btn span{font-size:9px;margin-left:12px}.task-list{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:14px 0}.task{position:relative;overflow:hidden;min-height:64px;border:1px solid #dce7d9;background:#fff;border-radius:9px;padding:9px;text-align:left;color:var(--ink);font-size:11px;font-weight:800}.task.active{border-color:#62a473;background:#ebf7e8}.task.done{opacity:.55}.task small{margin-top:5px;color:#748b7d;font-size:9px}.task-progress{position:absolute;bottom:0;left:0;height:4px;background:#78b681}.toast{position:absolute;top:33%;left:50%;transform:translateX(-50%);background:#173f36ed;color:white;padding:12px 22px;border-radius:30px;font-size:13px;font-weight:800;white-space:nowrap}.fatal{position:fixed;top:20px;left:20px;right:20px;background:#ffe3de;color:#773628;padding:20px;z-index:99}@media(max-width:850px){.home{align-items:flex-start;flex-direction:column}.home-copy{padding-bottom:0}.side-menu{width:100%;max-width:500px;padding-bottom:25px}.home-foot{margin-top:25px}.top-right{font-size:0}.cca-layout{grid-template-columns:1fr}.club-list{grid-template-columns:repeat(2,1fr)}.hud-top{padding-top:14px}.hud-title h2{font-size:23px}.hud-stats{gap:4px}.stat{min-width:88px;padding:9px}.bar{width:65px}.task-list{grid-template-columns:repeat(3,1fr)}.student-panel{bottom:10px;padding:12px}.student-panel h3{font-size:17px}.student-help{display:none}.task{min-height:48px}.control-panel{bottom:10px}.schedule-grid{grid-template-columns:repeat(5,175px)}}

/* Game shell: a compact field guide over the classroom, rather than a web landing page. */
::selection{background:#d7c081;color:#16251e}button{touch-action:manipulation}.eyebrow{display:none}.game-icon,.menu-icon svg,.brand-icon svg{width:21px;height:21px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.game-kicker,.side-label,.lesson-label{font-size:11px;letter-spacing:.16em;font-weight:800}.grain{background:linear-gradient(90deg,rgba(17,34,28,.94),rgba(17,34,28,.68) 40%,rgba(17,34,28,.12) 100%)}.topbar{height:72px;border-color:#ffffff30}.brand,.top-right{color:#f3f1df}.brand small{color:#c4d2be}.brand-icon{background:#d5bd80;color:#203e31;border-radius:4px}.icon-btn{color:inherit;background:#17342de0;border-color:#7d988b;border-radius:4px}.home{min-height:calc(100vh - 72px)}.home-copy{color:#f5f2e4}.home h1{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:900;font-style:normal;letter-spacing:-.035em;font-size:clamp(50px,6.5vw,88px);line-height:.92;margin:16px 0 22px}.home h1 em{font-style:normal;color:#d7c081}.home-copy>p{color:#dfebda;max-width:350px;line-height:1.55}.game-kicker{color:#d7c081}.home-actions{display:grid;max-width:340px;gap:8px}.primary,.secondary{border-radius:4px;font-size:12px;letter-spacing:.04em}.home-actions .primary{background:#d7c081;border-color:#d7c081;color:#1d352a}.home-actions .secondary{background:#203c33dc;border-color:#9eb3a2;color:#fff}.home-foot{color:#c8d8c7;margin-top:35px}.side-menu{width:285px;color:#f1f1e4}.side-label{color:#d7c081}.menu-card{background:#1a352ce8;color:#fff;border:1px solid #839b8a;border-radius:4px;box-shadow:none;margin-bottom:7px}.menu-card small{color:#ccdbcd}.menu-icon{width:36px;height:36px;border:1px solid #6c8d7c;border-radius:4px;color:#d7c081}.note-card{border-radius:4px;background:#1c362ded;border:1px solid #718c7c}.note-card p{font-size:19px}.panel-screen{background:#e7ebdf;min-height:calc(100vh - 72px)}.section-head h2,.modal-box h2,.club-detail h3{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:800;letter-spacing:-.025em}.day,.club-detail{border-radius:5px}.club-tab{border-radius:4px}.club-tab .game-icon{margin-right:8px}.club-detail h3 .game-icon{width:30px;height:30px}.club-detail h4{font-size:11px;letter-spacing:.12em;margin:25px 0 8px}.roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:6px}.roster button{display:block;text-align:left;border-radius:4px;padding:10px}.roster button b,.roster button small{display:block}.roster button small{margin-top:5px;color:#405d4e;line-height:1.35}.roster button:disabled{opacity:1;cursor:default}.roster button.selected{background:#d4e8c7;border-color:#628d62}.modal-box{border-radius:6px}.modal{backdrop-filter:none}.control-panel,.student-panel{background:#18362feb;color:#f4f5e8;border:1px solid #8aa08a;border-radius:5px;box-shadow:0 12px 30px #0d201a60}.control-panel h3,.student-panel h3{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:800}.control-panel p,.student-help{color:#d2e3d4}.control-panel .primary{background:#d7c081;color:#1d352a;border-color:#d7c081}.task{background:#2a4b3e;border-color:#739481;color:#fff;border-radius:4px}.task small{color:#d0e3d1}.task.active{background:#436e4e;border-color:#b7d994}.task.done{opacity:.65}.task .game-icon{width:17px;height:17px;margin-right:4px}.hide-btn{border-radius:4px}.stat{border-radius:4px}.lesson-label{color:#d9e9d2}#hud{inset:72px 0 0}.hud-title h2{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:800;font-size:24px}.hud-top{padding-top:16px}.toast{border-radius:4px;white-space:normal;text-align:center;max-width:80vw}.topbar{position:relative;z-index:2}body.playing .topbar{pointer-events:none}body.playing .topbar button{pointer-events:auto}

:root{--muted:#435f55}.brand small,.icon-btn,.home-foot,.note-card>span,.note-card div,.stat small,.stat span,.student-panel small,.control-panel small,.timing-label,.match-score small,.task small,.lesson small,.lesson span,.schedule-footer,.primary span,.secondary span{font-size:11px}.control-panel small,.student-panel-head small{display:none}.match-score>span{color:#526a5d}.lesson small{color:#456957}.topbar{background:rgba(18,40,32,.8)}.home-copy{background:rgba(17,34,28,.35)}.side-label{font-size:12px}.club-detail p,.roster button small{color:#405a4e}.hud-title p,.control-panel p,.student-help{font-size:13px}.stat small,.stat span{opacity:1}.task.done{opacity:.8}

#turnBtn:disabled{background:#526b5e;border-color:#93aa99;color:#f0f4e9;cursor:not-allowed;transform:none}

/* ---------- New: run/progress/grade systems ---------- */
.home-hint{font-size:12px;color:#c8d8c7;max-width:340px;margin:8px 0 0;line-height:1.5}
.day-progress{font-size:10px;letter-spacing:.16em;font-weight:800;color:#d7c081;margin-top:10px}
.meter{display:flex;align-items:center;gap:8px;margin-top:10px}
.meter small,.nerve-wrap small{font-size:9px;letter-spacing:.14em;font-weight:900;opacity:.75;white-space:nowrap}
.meter-track{flex:1;height:6px;background:#ffffff26;border-radius:6px;overflow:hidden}
.meter-track i{display:block;height:100%;background:#b5e78b;border-radius:6px;transition:width .2s}
#nerveBar i{background:#e8c46a}
.panel-main{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1}
.panel-actions{display:flex;align-items:center;gap:10px}
.nerve-wrap{display:flex;align-items:center;gap:8px;min-width:150px}
.nerve-wrap .meter-track{flex:1;width:110px}

/* ---------- Day picker / student picker / chart ---------- */
.modal-wide{max-width:760px}
.day-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:20px 0}
.day-pick{border:1px solid #dce6d9;background:#f7f9f4;border-radius:8px;padding:14px;text-align:left;color:var(--ink)}
.day-pick:hover{background:#e7f2e1;border-color:#9bc995}
.day-pick b{display:block;font-size:14px}
.day-pick small{color:#719482;font-size:10px}
.student-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:18px 0;max-height:50vh;overflow:auto}
.student-pick,.chart-cell{border:1px solid #dce6d9;background:#f7f9f4;border-radius:8px;padding:12px;text-align:left;color:var(--ink)}
.student-pick:hover{background:#e7f2e1;border-color:#9bc995}
.student-pick b,.chart-cell b{display:block;font-size:13px}
.student-pick small,.chart-cell small{display:block;color:#456957;font-size:10px;margin:4px 0}
.student-pick span,.chart-cell span{display:block;color:#719482;font-size:10px;line-height:1.4}
.chart-cell{border-radius:8px}
.chart-cell.revealed{background:#e7f2e1;border-color:#9bc995}

/* ---------- Report card ---------- */
.report-grid{grid-template-columns:repeat(5,minmax(170px,1fr))}
.report-row{border-top:1px solid #eef2e8;padding:9px 2px}
.report-row small{display:block;color:#719482;font-size:9px;font-weight:800}
.report-row span{display:block;font-size:12px;color:var(--ink);margin-top:3px;font-weight:800}
.grade-stat{background:#d7c081;color:#1d352a;border-radius:10px;padding:14px;font-size:12px;font-weight:800}

/* ---------- Interstitial & day result ---------- */
.inter-grade{font:700 34px Georgia,serif;color:#d7c081;margin:8px 0}
.day-grade-list{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0}
.day-grade{background:#e5eddf;border-radius:10px;padding:12px;text-align:center}
.day-grade small{display:block;color:#456957;font-size:9px;line-height:1.3;min-height:22px}
.day-grade strong{display:block;font:700 26px Georgia,serif;margin-top:4px}

/* ---------- CCA competition mechanics ---------- */
#roundInfo{color:#d7c081}
.react-status{font:700 22px Georgia,serif;color:#d7c081;padding:16px 0}
.timing-track.vertical{height:180px;width:22px;margin:12px auto}
.timing-track.vertical .sweet-spot{left:0;width:100%}
.timing-track.vertical #marker{left:0;width:100%;height:6px}

@media(max-width:850px){
  .day-grid,.day-grade-list{grid-template-columns:repeat(2,1fr)}
  .panel-main{flex-direction:column;align-items:stretch}
  .panel-actions{justify-content:stretch}
  .nerve-wrap{min-width:0}
}

/* Student profiles share the same expandable stats in both selection screens. */
.student-grid,.roster{align-items:start;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.profile-card{min-width:0;background:#f7f9f4;border:1px solid #dce6d9;border-radius:8px;padding:12px;color:var(--ink)}
.profile-card.selected{background:#e7f3df;border-color:#81ac79;box-shadow:inset 0 0 0 1px #81ac79}
.profile-heading b,.profile-heading small,.profile-heading span{display:block}
.profile-heading b{font-size:14px}.profile-heading small{font-size:11px;line-height:1.4;color:#405d4e;margin:4px 0}
.profile-heading span{font-size:11px;line-height:1.4;color:#587466}
.profile-details{border-top:1px solid #dce6d9;margin-top:10px;padding-top:8px}
.profile-details summary{cursor:pointer;color:#24594b;font-size:11px;font-weight:800;padding:4px 0;list-style:none}
.profile-details summary::-webkit-details-marker{display:none}
.profile-details summary:after{content:' +';float:right;font-size:14px}
.profile-details[open] summary:after{content:' −'}
.profile-details summary:focus-visible{outline:3px solid #efa952;outline-offset:3px}
.profile-stat-groups{max-height:320px;overflow-y:auto;padding:0 4px 4px 0}
.profile-stat-groups h5{margin:12px 0 7px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#466758}
.profile-stat{margin:0 0 9px}.profile-stat-label{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.3}
.profile-stat-label strong{white-space:nowrap;color:#345c4b}.profile-stat-track{height:6px;background:#dce8d8;border-radius:8px;overflow:hidden;margin-top:4px}
.profile-stat-track span{display:block;height:100%;background:#6ba47d;border-radius:8px}
.profile-stat small{display:block;color:#61796a;font-size:10px;line-height:1.3;margin-top:3px}
.profile-card .profile-select,.roster .profile-card .profile-select{display:block;width:100%;margin-top:10px;padding:9px 10px;border:1px solid #568269;border-radius:6px;background:#28594a;color:white;text-align:center;font-size:11px;font-weight:800}
.profile-card .profile-select:hover:not(:disabled){background:#39745f}
.profile-card.selected .profile-select{background:#d1eac1;color:#244b37}
.roster .profile-card .profile-select:disabled{opacity:.65;cursor:default}
.profile-stat-groups section p{font-size:10px;line-height:1.4;color:#526e60;margin:0 0 9px}
.competition-box{max-height:calc(100vh - 30px);overflow-y:auto}
.challenge{margin:16px 0;padding:15px;border-radius:10px;background:#eef4e9;color:#24483b}
.challenge p{font-size:13px;line-height:1.5;margin:0 0 14px}
.challenge small{display:block;margin-top:9px;color:#526e60}
.challenge button{border:1px solid #9bb9a3;border-radius:6px;background:#fff;color:#23493c;padding:9px 12px;font-weight:800;font-size:12px}
.challenge button:hover:not(:disabled){background:#d9ecd3}.challenge button:disabled{opacity:.55}
.challenge .primary{background:#235343;color:#fff;border-color:#235343;margin:12px auto 0}
.challenge-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:10px 0}
.robot-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:min(100%,315px);margin:auto}
.robot-grid div{display:grid;place-items:center;aspect-ratio:1;background:#fff;border:1px solid #c7d9c6;border-radius:4px;font-size:clamp(15px,3vw,22px)}
.robot-grid .blocked{background:#668476;color:#e0eee0}.robot-grid .goal{background:#f8e4a4;color:#735d18}
.football-goal{position:relative;padding-top:48px;border:4px solid white;border-bottom:0;border-radius:8px;background:linear-gradient(#d9ead8,#a9ce9d)}
#goalkeeper{position:absolute;top:9px;left:16.7%;transform:translateX(-50%);font-size:24px;transition:left .16s}
.goal-lanes{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.goal-lanes button{border-radius:0;background:#ffffffca}
.basketball-shot{height:78px;position:relative;background:#dfbb8c;border-radius:8px;overflow:hidden}
.basketball-zone{position:absolute;left:38%;width:24%;height:100%;background:#a8d2a3}
.basketball-hoop{position:absolute;left:50%;top:3px;transform:translateX(-50%);z-index:1;color:#a33b28;font-size:30px;line-height:1}
#basketballBall{position:absolute;top:37px;font-size:26px;z-index:2}
.track-lane{display:flex;justify-content:space-between;align-items:center;background:#c97b65;border-radius:8px;padding:18px;color:#fff;font-size:24px}
.track-lane strong{font-size:18px}.track-lane strong.go{color:#d3ffae}
.challenge-choices{display:grid;gap:7px}.challenge-choices button{text-align:left}
.chess-board{display:grid;grid-template-columns:repeat(8,1fr);width:min(240px,100%);aspect-ratio:1;margin:0 auto 14px;border:3px solid #405c4c}
.chess-board span{display:grid;place-items:center;background:#f6edda;color:#172e25;font-size:clamp(18px,3vw,25px);line-height:1}
.chess-board span.dark{background:#91af92}
.challenge-feedback{min-height:1.5em;color:#315a47;font-size:12px;line-height:1.5}
#studentSkillHint{display:block;font-size:11px;color:#d2e3d4;margin:2px 0}
