/* Two gestures taught inside the live camera, with quiet acknowledgement. */
#guidePanel.immersive-guide[open][data-phase='ramp']{display:block}
#guidePanel[data-phase='ramp'] .lesson-header{position:absolute;z-index:6;inset:0 0 auto;padding:22px 28px;background:none;border:0;pointer-events:none}
#guidePanel[data-phase='ramp'] .lesson-topline{display:contents}
#guidePanel[data-phase='ramp'] :is(.lesson-heading,#guideStepCount){display:none}
#guidePanel[data-phase='ramp'] .lesson-stepper{width:240px;max-width:calc(100% - 90px);margin:0 auto;gap:0}
#guidePanel[data-phase='ramp'] .lesson-stepper li:last-child{flex:0 0 34px}
#guidePanel[data-phase='ramp'] #guideBack{top:50%;right:18px;transform:translateY(-50%);background:#20172e66;pointer-events:auto}
#guidePanel[data-phase='ramp'] .lesson-stage{position:absolute;inset:0;height:auto;width:100%;border-radius:inherit}
#guidePanel[data-phase='ramp'] .lesson-shade{background:linear-gradient(180deg,#151027ac,transparent 105px),linear-gradient(0deg,#20172ef7,#20172ed9 170px,transparent 340px)}
#guidePanel[data-phase='ramp'] .lesson-copy{left:28px;right:224px;bottom:26px;top:auto;width:auto}
#guidePanel[data-phase='ramp'][data-input='camera']:not([data-summary='true']) .lesson-copy{right:374px}
#guidePanel[data-phase='ramp'] #guideDescription{min-height:0}
#guidePanel.immersive-guide[data-phase='ramp'] #guideCameraSlot{width:320px;max-width:none;right:28px;left:auto;top:auto;bottom:26px;border:1px solid #c6a4d675;border-radius:16px;transform:none;box-shadow:0 10px 35px #100b2933}
#guidePanel[data-phase='ramp'] #guideCameraFeed{aspect-ratio:4/3}
#guidePanel[data-phase='ramp'] .lesson-hand-target{display:none}
#guidePanel .trick-camera-cue{position:absolute;z-index:3;inset:0 0 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(ellipse at center,#20152ec4,transparent 72%);pointer-events:none;color:#ffe0ad;text-shadow:0 2px 8px #140a20}
#guidePanel .trick-camera-cue svg{display:none;width:64px;height:72px;fill:#d8b1e51a;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 9px #140a20)}
#guidePanel .trick-camera-cue span{font:400 12px/1.4 Poppins,sans-serif;letter-spacing:.01em}
#guidePanel[data-trick='flip'] [data-gesture-cue='flip'],#guidePanel[data-trick='handstand'] [data-gesture-cue='handstand']{display:block}
#guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue{inset:12px auto auto 12px;flex-direction:row;gap:7px;background:none}
#guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue svg{width:24px;height:30px}
#guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue span{font-size:10px}
#guidePanel[data-trick-cue='complete'] .trick-camera-cue{color:#e0edcb}
#guidePanel[data-trick-cue='complete'] .trick-gesture-art{display:none}
#guidePanel[data-trick-cue='complete'] .trick-cue-done{display:block;fill:none;stroke-width:2.6}
#guidePanel[data-trick-cue='preview'] .trick-gesture-art{animation:trick-cue-in .35s ease-out both}
@keyframes trick-cue-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#guidePanel .trick-camera-cue svg{animation:none}}
#guidePanel[data-phase='ramp'] #guideCameraSlot .guide-camera-top{top:auto;bottom:9px;left:8px;right:8px}
#guidePanel[data-phase='ramp'] #guideCameraSlot #guideLiveStatus{display:block;max-width:100%;white-space:normal;text-align:center;font-size:10px;padding:3px 7px;background:#21172ecc}
#guidePanel[data-phase='ramp'] .lesson-footer{position:absolute;z-index:7;inset:0;display:block;margin:0;padding:0;border:0;background:none;box-shadow:none;pointer-events:none}
#guidePanel.immersive-guide[data-phase='ramp'] #guidePrevious{position:absolute;left:18px;top:22px;width:32px;height:34px;min-height:32px;padding:0;display:grid;place-items:center;color:#d4bedf;font:400 23px/1 Poppins,sans-serif;background:#21182c66;pointer-events:auto}
#guidePanel.immersive-guide[data-phase='ramp'] .lesson-actions{position:absolute;right:28px;bottom:26px;display:flex;gap:12px;align-items:center}
#guidePanel[data-phase='ramp'] .lesson-actions button{pointer-events:auto}
#guidePanel[data-phase='ramp'] #guideTrickTry{width:auto;min-height:48px;margin:0;padding:11px 26px;border:1px solid #ead2ff;border-radius:10px;background:linear-gradient(180deg,#dabcf2,#b28bd2);color:#352140;box-shadow:0 4px 0 #69457f,inset 0 1px 0 #fff0ff99;font:400 22px/1.1 Creepster,Georgia,serif;letter-spacing:.02em;text-shadow:none;transform:none;white-space:nowrap}
#guidePanel #guideTrickTry::before,#guidePanel #guideTrickTry::after{content:none}
#guidePanel #guideTrickTry:disabled{opacity:.4;cursor:default}
#guidePanel #guideTrickTry:hover:enabled{filter:brightness(1.08)}
#guidePanel.immersive-guide[data-phase='ramp'] #guideNext{min-width:150px}
#guidePanel[data-phase='ramp'][data-input='camera'][data-finished='true'] .lesson-copy{right:224px}
#guidePanel[data-phase='ramp'] .lesson-recovery{top:90px;bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:min(370px,calc(100% - 36px));max-height:calc(100% - 280px);overflow:auto}
@media(max-width:700px){
 #guidePanel[data-phase='ramp'] .lesson-header{padding:19px 20px}
 #guidePanel[data-phase='ramp'] .lesson-stepper{width:210px}
 #guidePanel[data-phase='ramp'] #guideBack{right:11px}
 #guidePanel.immersive-guide[data-phase='ramp'] #guidePrevious{left:11px;top:19px}
 #guidePanel[data-phase='ramp'] .lesson-copy{left:20px;right:20px;bottom:100px}
 #guidePanel[data-phase='ramp'][data-input='camera']:not([data-summary='true']) .lesson-copy{right:20px;bottom:calc(var(--hand-feed-height,178px) + 52px)}
 #guidePanel.immersive-guide[data-phase='ramp'] #guideCameraSlot{width:min(236px,calc(100% - 40px));right:50%;bottom:26px;transform:translateX(50%)}
 #guidePanel.immersive-guide[data-phase='ramp'] .lesson-actions{left:20px;right:20px;bottom:26px;align-items:center;justify-content:flex-end}
 #guidePanel[data-phase='ramp'] #guideTrickTry{font-size:20px;min-height:46px;padding:11px 19px}
 #guidePanel[data-phase='ramp'][data-input='camera'][data-finished='true'] .lesson-copy{right:20px;bottom:100px}
 
}
@media(max-width:350px){
 #guidePanel[data-phase='ramp'] .lesson-header{padding-left:15px;padding-right:15px}
 #guidePanel[data-phase='ramp'] .lesson-stepper{width:185px}
 #guidePanel[data-phase='ramp'] .lesson-copy{left:16px;right:16px}
 #guidePanel[data-phase='ramp'][data-input='camera']:not([data-summary='true']) .lesson-copy{right:16px}
}
@media(max-height:600px){
 #guidePanel[data-phase='ramp'] .lesson-header{padding-top:14px;padding-bottom:14px}
 #guidePanel[data-phase='ramp'] .lesson-stepper li:last-child{flex-basis:30px}
 #guidePanel.immersive-guide[data-phase='ramp'] #guidePrevious{top:12px}
 #guidePanel.immersive-guide[data-phase='ramp'] #guideCameraSlot{width:272px;right:26px;bottom:21px}
 #guidePanel[data-phase='ramp'][data-input='camera']:not([data-summary='true']) .lesson-copy{right:324px;bottom:21px}
 #guidePanel.immersive-guide[data-phase='ramp'] .lesson-actions{bottom:21px}
 #guidePanel[data-phase='ramp'][data-input='camera'][data-finished='true'] .lesson-copy{right:224px;bottom:21px}
}
@media(max-height:600px) and (max-width:700px){
 #guidePanel.immersive-guide[data-phase='ramp'] #guideCameraSlot{width:168px;right:50%;bottom:20px}
 #guidePanel[data-phase='ramp'][data-input='camera']:not([data-summary='true']) .lesson-copy{right:20px;bottom:calc(var(--hand-feed-height,127px) + 40px)}
 #guidePanel[data-phase='ramp'] .lesson-copy{bottom:92px}
 #guidePanel .trick-camera-cue{inset:0 0 27px;gap:4px}
 #guidePanel .trick-camera-cue svg{width:36px;height:40px}
 #guidePanel .trick-camera-cue span{font-size:10px}
 #guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue{inset:8px auto auto 8px;gap:5px}
 #guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue svg{width:18px;height:23px}
 #guidePanel:is([data-trick-cue='active'],[data-trick-cue='repeat']) .trick-camera-cue span{font-size:9px}
 #guidePanel[data-phase='ramp'] #guideCameraSlot #guideLiveStatus{font-size:9px}
 #guidePanel[data-phase='ramp'][data-input='camera'][data-finished='true'] .lesson-copy{right:20px;bottom:92px}
}

/* Actual game feedback typography and controller, projected above the rider. */
#guidePanel .lesson-event-anchor{position:absolute;z-index:4;width:max-content;max-width:calc(100% - 32px);transform:translate(-50%,-100%);pointer-events:none;text-align:center}
#guidePanel .lesson-trick-notice{max-width:240px;padding:0;color:var(--game-event-color);text-shadow:var(--game-event-shadow)}
#guidePanel :is(.lesson-pin,.lesson-trick-notice) .game-event-title{display:block;margin:0;font:var(--game-event-font);letter-spacing:.02em;color:var(--game-event-color);text-shadow:var(--game-event-shadow)}
#guidePanel .lesson-pin .game-event-title{width:max-content;max-width:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;white-space:normal;text-wrap:balance}
#guidePanel .lesson-pin b{font:inherit;color:inherit}
#guidePanel .lesson-pin i{display:none}
#guidePanel .lesson-trick-notice>span{display:block;margin-top:3px;font:500 11px/1.5 Poppins,sans-serif;color:#d4eac9;letter-spacing:0}
#guidePanel .lesson-life-loss{font-family:var(--portal-display);font-weight:400}
