.guide-cloud{display:flex;align-items:center;gap:16px;width:100%;margin:14px auto 22px;isolation:isolate;scroll-margin-top:calc(var(--ts-header-height,96px) + 70px)}
.guide-portrait{width:106px;flex:0 0 106px;align-self:flex-end}.guide-portrait img{width:100%;height:132px;object-fit:contain;display:block;filter:drop-shadow(0 3px 0 #0d1f3c12)}
.guide-bubble{position:relative;flex:1;min-width:0;padding:18px 22px 20px;background:white;border:2px solid #d9dee8;border-top:5px solid #2f6fdb;border-radius:28px 28px 28px 8px;box-shadow:0 4px 0 #0d1f3c08}
.guide-bubble:before,.guide-bubble:after{content:'';position:absolute;border:2px solid #d9dee8;background:white;border-radius:50%;z-index:-1}.guide-bubble:before{width:17px;height:17px;left:-15px;bottom:16px}.guide-bubble:after{width:9px;height:9px;left:-27px;bottom:6px}
.guide-cloud[data-speaker=sparks] .guide-bubble{border-top-color:#1e8e3e}
.guide-cloud-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}.guide-name{font:700 14px 'Hanken Grotesk',Arial,sans-serif;letter-spacing:.02em;color:#43516b}
.guide-listen{min-width:78px!important;min-height:48px!important;padding:8px 14px!important;border-radius:16px!important;border:2px solid #0d1f3c!important;background:#0d1f3c!important;color:#fffdf7!important;font:700 17px 'Hanken Grotesk',Arial,sans-serif!important;flex:none}
.guide-question{font-family:'Bricolage Grotesque',Arial,sans-serif!important;font-size:clamp(25px,2.3vw,34px)!important;line-height:1.16!important;letter-spacing:-.025em!important;font-weight:800!important;margin:0!important;color:#0d1f3c;text-align:left!important}
.guide-response{font:600 19px/1.4 'Hanken Grotesk',Arial,sans-serif;margin:14px 0 0;padding-top:12px;border-top:1px solid #d9dee8;color:#2a3550}.guide-response[hidden]{display:none}
.guide-cloud[data-tone=correct] .guide-bubble{border-color:#1e8e3e}.guide-cloud[data-tone=retry] .guide-bubble{border-top-color:#fbbc05}
.guided-stage{max-width:650px!important}.guided-lesson{max-width:820px!important}.guided-count{display:none!important}.guided-board-wrap{max-width:490px!important;width:100%}.guided-board{border:3px solid #0d1f3c20!important;border-radius:18px!important;box-shadow:0 5px 0 #0d1f3c0d!important}.guided-board .square img{width:90%!important;height:90%!important;filter:drop-shadow(0 1px 1px #0d1f3c33)}
.guided-board .square{background:#fffdf7!important;transition:background-color .14s,box-shadow .14s}.guided-board .square.dark{background:#dfeafe!important}.guided-board .square.selected{box-shadow:inset 0 0 0 4px #fbbc05!important}.guided-board .square.legal:after{content:'';position:absolute;inset:36%;border-radius:50%;background:#0d1f3c55}.guided-board .square.guided-target{background:#fff2c4!important;box-shadow:inset 0 0 0 3px #fbbc05!important}
.guided-next .primary{min-height:60px!important;min-width:220px;font-size:20px}.guided-next{margin:18px auto}.guided-tools{margin-top:12px;gap:18px}.guided-tools button{min-height:44px!important;font-size:16px!important;padding:8px 12px!important}
.journey-page[data-chess-view=lesson] .rail-guide,.journey-page[data-chess-view=quiz] .rail-guide{display:none!important}
.lesson-check>.guide-cloud{max-width:680px}.lesson-check>.board{max-width:450px!important}.lesson-check .choices button{position:relative;border-radius:18px;padding:18px;min-height:68px}.lesson-check .choice-listen{min-height:44px!important;min-width:44px!important;margin-left:auto;padding:8px!important}
.trail-task-meter{display:flex;justify-content:center;gap:8px;margin:12px 0}.trail-task-meter span{width:12px;height:12px;background:#d9dee8;border-radius:50%}.trail-task-meter .task-done{background:#1e8e3e}.trail-task-meter .task-current{background:#fbbc05;outline:2px solid #0d1f3c;outline-offset:2px}
@media(max-width:700px){.guide-cloud{gap:10px;margin:10px 0 18px}.guide-portrait{width:64px;flex-basis:64px}.guide-portrait img{height:88px}.guide-bubble{padding:13px 14px 16px;border-radius:23px 23px 23px 7px}.guide-cloud-top{gap:6px;margin-bottom:8px}.guide-name{font-size:12px}.guide-listen{min-width:65px!important;font-size:15px!important;padding:6px 9px!important}.guide-question{font-size:25px!important}.guide-response{font-size:18px}.guided-stage{width:100%}.guided-lesson{padding:8px 0 24px!important}.guided-board-wrap{max-width:100%!important}.lesson-check .choices{grid-template-columns:1fr!important}.lesson-check .choices button{font-size:18px}}
@media(prefers-reduced-motion:no-preference){.guide-cloud{animation:cloud-arrive .2s ease-out}.guide-speaking .guide-portrait{animation:guide-listening 1.4s ease-in-out 3}.guided-stage.task-arrive{animation:task-arrive .18s ease-out}@keyframes cloud-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes task-arrive{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes guide-listening{50%{transform:translateY(-3px)}}}

.choice-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:8px}.choice-row .choice-listen{font-size:15px!important;padding:6px!important;width:56px!important}.choice-row>button:first-child{min-width:0}.guide-cloud .guide-question:focus{outline:none}.guide-cloud:focus-within .guide-bubble{border-color:#2f6fdb}

@media(max-width:430px){.guide-cloud{display:block;position:relative}.guide-portrait{position:absolute;left:10px;top:8px;width:60px;z-index:2}.guide-portrait img{height:74px}.guide-bubble{padding:12px 14px 16px}.guide-cloud-top{padding-left:62px;min-height:64px;align-items:center}.guide-bubble:before,.guide-bubble:after{display:none}.guide-question{font-size:25px!important}}

#game>.lesson>div:last-child>h2{min-height:2.6em}#remote-message{min-height:1.8em}#game .board{overflow-anchor:none}#game>.lesson{align-items:start}
