#math-path{margin:26px 0 30px;padding:27px;background:radial-gradient(ellipse at 90% 5%,#456b49,transparent 55%),#1d4537;border:1px solid #466b4b;border-radius:30px;box-shadow:0 7px 0 #143426;color:#fff3d2}.path-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.path-heading .eyebrow{color:#bed1ad;margin:0 0 8px}.path-heading h2{color:#fff1c5;margin:0;font:35px Georgia}.path-heading .path-xp{background:#d9c677;color:#294b35;padding:10px 16px;border-radius:15px;font-weight:bold;white-space:nowrap;box-shadow:0 4px 0 #9f9655}.path-overview{display:flex;align-items:center;gap:16px;margin:18px 0 22px;font-size:12px;color:#d9e4c5}.path-overview progress{flex:1;min-width:30px;height:8px;accent-color:#d4bc67}.path-overview span{white-space:nowrap}.path-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.path-chapter{padding:17px 15px 20px;border:1px solid #ffffff20;border-radius:20px;background:#102f2455;min-width:0}.path-chapter h3{color:#dbe3c5;font:14px/1.3 Georgia;margin:0 0 17px;min-height:18px}.path-chapter.mastered{border-color:#d3c379;background:#405d39}.path-nodes{display:flex;gap:9px;position:relative;justify-content:space-between}.path-nodes:before{content:'';position:absolute;top:25px;left:4px;right:4px;border-top:2px dashed #8aa37566}.path-nodes button{position:relative;flex:1;min-width:0;min-height:64px;padding:7px 2px;background:#335b40;border:1px solid #829b64;border-radius:15px;box-shadow:0 5px 0 #112b20;color:#ebebc5;transition:transform .15s}.path-nodes button b{display:block;font:24px Georgia}.path-nodes button span{display:block;font-size:9px;letter-spacing:1px;margin-top:5px}.path-nodes button.locked{background:#1c372b;border-color:#4f6952;color:#99ac8c;opacity:.7;box-shadow:0 3px 0 #112b20}.path-nodes button.passed{background:linear-gradient(135deg,#e9d98a,#a7b264);color:#274d34;border-color:#ead58c}.path-nodes button[aria-pressed=true]{outline:3px solid #ffe79c;outline-offset:4px;transform:translateY(-4px)}.path-nodes button:not(:disabled):hover{transform:translateY(-4px)}.path-selection{display:flex;gap:15px;align-items:center;border-top:1px solid #ffffff22;padding-top:20px;margin-top:25px}.path-selection strong{background:#fff0c7;color:#31563b;border-radius:10px;padding:8px 13px;white-space:nowrap;font-size:13px}.path-selection p{margin:0;color:#dbe7c5;font-size:14px}.path-bottom{font-size:11px;color:#bfd1af;line-height:1.5;margin:18px 0 0}.path-bottom span{display:block;font-size:10px;margin-top:8px;color:#b8c8aa}.math-game #level-label{display:none!important}.math-game .cw-controls{align-items:center}.math-game .cw-paces button strong{font-size:25px}.math-game #path-outcome{font:20px/1.5 Georgia;max-width:620px;margin:20px auto;color:#345937}.math-game #next-level{background:#e0c674;color:#284933;box-shadow:0 4px 0 #b29b57}.math-game #game-lobby{margin-top:20px}.math-game #path-level-title:focus{outline:3px solid #f0d98b;outline-offset:5px}.math-game #training-context{font-size:11px;letter-spacing:.07em}.math-game #training #prompt{overflow-wrap:anywhere}.math-game #path-progress{color:#dcc575}
@media(max-width:950px){.path-map{grid-template-columns:repeat(2,minmax(0,1fr))}.path-nodes button{max-width:65px}.path-chapter{padding:16px}.path-heading h2{font-size:30px}}
@media(max-width:560px){#math-path{padding:22px 16px;border-radius:24px}.path-map{grid-template-columns:1fr;gap:15px}.path-chapter h3{font-size:16px}.path-nodes{gap:15px}.path-nodes button{min-height:60px;max-width:none}.path-heading h2{font-size:28px}.path-heading .path-xp{padding:8px 10px;font-size:12px}.path-heading{gap:12px}.path-selection{display:block}.path-selection strong{display:inline-block;margin-bottom:13px}.path-overview{font-size:11px}.path-bottom{font-size:11px}.math-game #path-outcome{font-size:18px}}
@media(prefers-reduced-motion:reduce){.path-nodes button{transition:none}}
