/* Static learning guides stay within each game's menu or below its playfield. */
.game-learning{box-sizing:border-box;position:relative;isolation:isolate;flex:none;grid-column:1 / -1;margin:30px 0 12px;padding:24px;border:1px solid #476078;border-radius:16px;background:#101e30;color:#eaf1fa;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;letter-spacing:normal;line-height:1.75;font-size:14px;font-style:normal;font-weight:400}
.game-learning h2{font:750 clamp(20px,2.5vw,27px)/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.4px;color:#f5f8ff;text-shadow:none;margin:0 0 16px}
.game-learning h3{font:700 15px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;color:#d0f47a;margin:20px 0 8px}
.game-learning p{font:400 14px/1.8 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;color:#bccbdf;margin:0 0 14px;max-width:80ch}
.game-learning nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:20px}
.game-learning a{display:inline-flex;align-items:center;min-height:44px;font:650 13px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#d0f47a;text-decoration:underline;text-underline-offset:4px}
.game-learning a:hover{color:#fff}
.game-learning a:focus-visible{outline:3px solid #d0f47a;outline-offset:4px;border-radius:3px}
.game-learning--light,.game-learning--motorway{background:#f2faf5;border-color:#aac6b7;color:#18352c}
.game-learning--light h2,.game-learning--motorway h2{color:#16372b}
.game-learning--light h3,.game-learning--motorway h3{color:#285c43}
.game-learning--light p,.game-learning--motorway p{color:#405d50}
.game-learning--light a,.game-learning--motorway a{color:#20523b}
.game-learning--light a:hover,.game-learning--motorway a:hover{color:#101f17}
.game-learning--motorway{order:10;margin-bottom:0}
.game-learning--rounding{width:min(1120px,calc(100% - 46px));margin:32px auto}
body:not([data-phase="garage"]) .game-learning--rounding{display:none}
@media(max-width:600px){.game-learning{padding:20px;margin-top:24px}.game-learning--rounding{width:calc(100% - 28px);margin:24px auto}.game-learning nav{flex-direction:column;gap:5px}}
