/* One approved forward-chevron path, word first, across existing text actions. */
body .v39-forward-glyph{display:inline-block;vertical-align:middle;flex:none;width:18.2px;height:18.2px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}
body #screen-result .result-reward-message,body #learning-result-detail{display:none!important;}
body #screen-result .result-stage{--result-actions-group-nudge-y:calc(-30px - 7cqw);}
body .learning-play-entry[aria-pressed=true]{border:2px solid #5792ba;background:#fff4ba;box-shadow:inset 0 2px #fff,0 3px #b2dbe5;}

/* Previous / position / Next shares one bounded action per word. */
#screen-sight-words .sw-word-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:12px 0 8px;color:#526a80;}
#screen-sight-words .sw-word-nav button{width:44px;height:44px;padding:0;display:grid;place-items:center;}
#screen-sight-words .sw-word-nav button svg{width:18.2px;height:18.2px;}
#screen-sight-words .sw-word-nav button:disabled{opacity:.35;}
#screen-sight-words .sw-word-nav span{text-align:center;font:800 15px/1.3 Nunito,sans-serif;}
#screen-sight-words .sw-lesson-meta{display:none;}
#screen-sight-words .sw-lesson-footer:empty{display:none;}
body #screen-sight-words .sw-target.is-reading-word [data-guide-letter]{color:#a12d39;}
#screen-word-study .study-reader,#screen-sight-words .sw-word-board{touch-action:pan-y;}

/* Practice keeps the approved multicolor idea, with violet instead of the
   functional-icon blue. Challenge colors are deliberately left as delivered. */
#screen-sight-words .sw-lesson[data-phase=look] .sw-letter-1{background:linear-gradient(145deg,#fcf5ff,#dfc8f6);border-color:#c9afe4;color:#6c4b87;box-shadow:inset 0 2px #fff,0 2px #dbc8ed;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots button:nth-child(4n+1){background:#fff5b5;border-color:#dfcb76;color:#65522e;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots button:nth-child(4n+2){background:#ecdef9;border-color:#c9afe4;color:#6c4b87;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots button:nth-child(4n+3){background:#ffe0eb;border-color:#dfb2c5;color:#924864;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots button:nth-child(4n){background:#daf6e6;border-color:#aed6c1;color:#346e56;}
#screen-sight-words .sw-letters .sw-letter,#screen-sight-words .sw-slots button{display:grid;place-items:center;padding:0;line-height:1;}
#screen-sight-words .sw-slots button{max-width:none;min-width:0;flex:0 1 44px;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots.is-wrong button{box-shadow:inset 0 1px white;}
#screen-sight-words .sw-lesson[data-phase=look] .sw-slots button.is-slot-wrong{background:#ffe0df!important;border-color:#d67e7a!important;color:#a13c38!important;animation:sw-slot-error .28s ease-in-out;}
@keyframes sw-slot-error{20%,60%{transform:translateX(-3px)}40%,80%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){#screen-sight-words .sw-slots button.is-slot-wrong{animation:none;}}
