diff --git a/bgs/tutorial.js b/bgs/tutorial.js index a188f80..d454fa7 100644 --- a/bgs/tutorial.js +++ b/bgs/tutorial.js @@ -67,8 +67,7 @@ export async function mountLesson(target, { chapter = "basics", locale = "en", o const planned = s.state.game.programs[0].some(slot => slot?.cards?.length); const readyToFire = chapter === "first-shot" && [1, 2].every(i => s.state.game.programs[0][i]?.cards?.length); const missed = LESSONS[index].basics && s.step === 2 && completedTurns(s.state) >= 3 && !s.completed; - guide.innerHTML = `
${escape(missed ? t("Destination manquée. Revenez préparer un autre trajet.", "Destination missed. Go back and plan another route.") : s.text)}
${escape(s.error)}
` : ''}`; diff --git a/preview/style.css b/preview/style.css index e875fb1..6d53bcc 100644 --- a/preview/style.css +++ b/preview/style.css @@ -2476,3 +2476,22 @@ input:not([type="checkbox"]):not([type="range"]) { @media (max-width: 800px) { .native-tutorial .flight-layout { grid-template-columns: 1fr; } } /* BGS already supplies the game name and chapter header. */ .native-tutorial > header { display: none; } + +/* Empty former room labels should not reserve a header row. */ +.station-title:empty { display: none; } +.native-guide-row { + display: flex; + align-items: center; + gap: 12px; + max-width: 948px; +} +.native-guide .native-guide-row .basics-stages { + flex: 1; + min-width: 0; + margin: 0; +} +.native-guide-row .native-guide-tools { flex: 0 0 auto; } +@media (max-width: 520px) { + .native-guide-row { gap: 6px; } + .native-guide-row .native-guide-tools a { display: none; } +}