/* Only the unsaved tutorial page uses these controls and visual layers. */
body.floorsTutorial #btn_nextGame,
body.floorsTutorial #btn_undo,
body.floorsTutorial #btn_redo,
body.floorsTutorial #btn_undoAll,
body.floorsTutorial #btn_redoAll,
body.floorsTutorial #gameOptions .gameOptionsActions,
body.floorsTutorial #btnCancelGame { display: none !important; }
#floorsTutorialSpotlight { position: fixed; inset: 0; z-index: 1040; pointer-events: none; }
.floorsTutorialOutline { fill: none; stroke: #ffd36b; stroke-width: 2.5; stroke-linejoin: round; }
body.floorsTutorial #Floors2 .Floors2MoveBonus.floorsTutorialBonus { display: block; }
#floorsTutorialDialog {
    position: fixed; z-index: 1042; width: min(480px, calc(100vw - 24px));
    max-height: calc(100vh - 140px); overflow-y: auto; color: #202b36; background: #fff;
    border: 1px solid #d7a642; border-radius: 8px; box-shadow: 0 5px 24px #0006;
    font: 14px/1.55 system-ui, sans-serif;
}
#floorsTutorialDialog header { background: #fff0c9; padding: 10px 16px 6px; border-radius: 8px 8px 0 0; }
#floorsTutorialDialog h2 { font-size: 1rem; margin: 0 0 4px; color: inherit; }
.floorsTutorialPosition { font-size: .75rem; margin: 0; color: #52606e; }
.floorsTutorialText { margin: 0; padding: 14px 16px; white-space: pre-line; }
.floorsTutorialControls { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 12px; }
#floorsTutorialNext { margin-left: auto; }
.floorsTutorialContentsTitle { font-size: 1rem; margin: .75rem .6rem; }
.floorsTutorialChapter { font-size: .85rem; margin: .9rem .6rem .3rem; color: #52606e; }
.floorsTutorialEntry { display: flex; align-items: baseline; gap: .5rem; width: 100%; padding: .6rem;
    border: 0; border-bottom: 1px solid #ddd; background: transparent; color: inherit; text-align: left; font: inherit; }
.floorsTutorialEntry .bi-check-circle { color: #28723d; }
.floorsTutorialEntry:hover, .floorsTutorialEntry[aria-current] { background: #e5edf8; }
.floorsTutorialEntry:focus-visible { outline: 2px solid #3467a7; outline-offset: -2px; }
#btn_floorsTutorialReveal .buttonText { position: static !important; width: auto !important; height: auto !important;
    overflow: visible !important; clip-path: none !important; }

.floorsTutorialReading { padding: 14px 16px; }
.floorsTutorialReading .floorsTutorialText { padding: 0; }
.floorsTutorialReading h3 { font-size: .9rem; margin: 12px 0 4px; }
.floorsTutorialReading > p { margin-bottom: 10px; }
.floorsTutorialPractice{border-left:3px solid #188b85;padding-left:10px;font-weight:600}
