/* Foundational learning paths share the yellow games identity. */
.foundation-entry{max-width:1080px;width:calc(100% - 40px);margin:28px auto;padding:26px;border:1px solid #eadcb4;background:#fffaf0f5;border-radius:22px;color:#594c38}.foundation-heading>span{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#877039}.foundation-heading h2{font-size:27px;margin:8px 0 10px}.foundation-heading p{font-size:14px;line-height:1.7;max-width:710px;margin-bottom:20px}.foundation-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.foundation-entry-grid>a{display:flex;align-items:flex-start;gap:16px;text-decoration:none;color:inherit;background:white;border:1px solid #e8d7df;border-radius:16px;padding:21px}.foundation-entry-grid>a:first-child{background:#fff7fb;border-color:#edd4e1}.foundation-entry-grid>a:last-child{background:#f3f8f5;border-color:#d2e3d8}.foundation-entry-grid a:hover{box-shadow:0 6px 18px #6740540c}.foundation-mark{width:45px;height:45px;display:grid;place-items:center;border-radius:12px;background:#f5e2ec;color:#914567;font-size:22px;font-weight:700;flex:none}.foundation-entry-grid a:last-child .foundation-mark{background:#dceee3;color:#3d7059;font-size:17px}.foundation-entry-grid h3{font-size:19px;margin:0 0 10px;line-height:1.3}.foundation-entry-grid p{font-size:12px;line-height:1.75;margin:0 0 13px;color:#7d6a72}.foundation-entry-grid strong{font-size:12px;color:#8c4263}.foundation-entry-grid a:last-child strong{color:#3d7059}.foundation-entry>small{display:block;font-size:10px;color:#8b7c65;line-height:1.6;margin-top:17px}.foundation-entry a:focus-visible{outline:3px solid #9d5679;outline-offset:3px}.foundation-picture{text-align:center;margin:12px auto 18px}.foundation-picture img{width:128px;height:128px;object-fit:contain;display:inline-block;border-radius:12px;background:#fff}.tenframes{margin:20px auto}.tenframe-pair{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}.tenframe{display:grid;grid-template-columns:repeat(5,36px);border-top:1px solid #b6b1a9;border-left:1px solid #b6b1a9;background:#fff}.tenframe-cell{height:36px;display:grid;place-items:center;border-right:1px solid #b6b1a9;border-bottom:1px solid #b6b1a9}.tenframe-cell i{width:23px;height:23px;border-radius:50%;background:#8d5378;display:block}.tenframes figcaption{font-size:11px;line-height:1.5;margin:12px auto;color:#7d6a72;text-align:center}.base-ten{margin:22px auto;max-width:860px}.base-ten>figcaption{font-size:10px;font-weight:600;color:#88734f;letter-spacing:.5px;margin-bottom:12px;text-align:center}.base-ten-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.base-group{padding:14px 10px;background:#fffaf0;border:1px solid #e9d6ae;border-radius:14px;text-align:center;min-width:0}.base-group h3{font-size:11px!important;line-height:1.4;margin:0 0 5px!important;letter-spacing:0!important;color:#786039}.base-group>small{font-size:9px;line-height:1.5;color:#867353}.base-blocks{min-height:110px;display:flex;align-content:center;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:12px 0}.base-flat{width:34px;height:34px}.base-cube{width:38px;height:44px}.base-rod{width:8px;height:58px}.base-unit{width:12px;height:12px}.base-count{display:block;font-size:10px;font-weight:700;color:#786039}.base-empty{font-size:9px;color:#958464}.place-card{display:flex;justify-content:center;gap:9px;margin:25px auto}.place-digit{width:77px;min-height:116px;padding:12px 7px;border:1px solid #e3d8df;border-radius:13px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:8px}.place-digit>span{font-size:12px;color:#86747f}.place-digit>b{font-size:38px;line-height:1.1;color:#594254}.place-digit.highlight{background:#fff0c3;border:2px solid #a48536}.place-digit>small{font-size:7px;color:#7c621f;letter-spacing:.4px}
@media(max-width:700px){.foundation-entry{width:calc(100% - 32px);padding:19px 15px;margin:20px auto;border-radius:17px}.foundation-heading h2{font-size:23px}.foundation-heading p{font-size:12px}.foundation-entry-grid{grid-template-columns:1fr;gap:10px}.foundation-entry-grid>a{padding:16px;gap:12px}.foundation-entry-grid h3{font-size:17px}.foundation-entry-grid p{font-size:11px}.foundation-mark{width:37px;height:37px;font-size:19px}.foundation-entry>small{font-size:9px}.foundation-picture img{width:110px;height:110px}.base-ten-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.base-group{padding:12px 8px}.base-blocks{min-height:95px;gap:5px}.base-flat{width:29px;height:29px}.base-cube{width:31px;height:36px}.base-rod{height:48px;width:7px}.base-unit{width:11px;height:11px}.base-ten>figcaption{font-size:9px}.place-card{gap:6px}.place-digit{width:63px;min-height:100px;padding:10px 5px}.place-digit>b{font-size:32px}.tenframe{grid-template-columns:repeat(5,29px)}.tenframe-cell{height:29px}.tenframe-cell i{width:19px;height:19px}.tenframe-pair{gap:10px}}
@media(prefers-reduced-motion:reduce){.foundation-entry-grid a{transition:none}}

/* Keep the chosen game in view instead of leaving it below the landing page. */
body.game-active .foundation-entry,body.game-active .market-launch,body.game-active .diag-launch,body.game-active .games-print-entry{display:none}
#app{scroll-margin-top:12px}
