/* v329: Learning Adventure typography and mobile navigation only. No lesson data changes. */
body.adventure-page {
  --sbs-la-font-body: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --sbs-la-font-heading: Georgia,"Times New Roman",serif;
  --sbs-la-font-arabic: "Noto Naskh Arabic","Amiri","Scheherazade New","Traditional Arabic","Arial",serif;
}
body.adventure-page main :is(h1,h2,h3,h4):not([lang="ar"]) {letter-spacing:-.018em; overflow-wrap:break-word;}
body.adventure-page main :is(p,li) {text-wrap:pretty;}
body.adventure-page main :is([lang="ar"],.sbs319-glyph,.sbs126-ar,.sbs318-ar,.sbs155-arabic,.sbs157-arabic,.sbs157-summary-icon,.sbs110-alpha-glyph,.sbs110-letter-big,.sbs110-arabic,.sbs157-choice-letter,.sbs167-glyph,.sbs167-example,.sbs167-syllable-art,.sbs167-choice-glyph,.sbs167-inline-mark,.sbs170-glyph,.sbs170-inline-ar,.sbs170-big-ar,.sbs170-comparison-glyph,.sbs170-word-art,.sbs170-choice-glyph,.sbs171-symbol,.sbs171-ar,.sbs171-quiz-ar,.sbs172-mark,.sbs172-ar,.sbs172-whole,.sbs172-letter,.sbs183-arabic-true) {font-family:var(--sbs-la-font-arabic)!important;letter-spacing:normal;font-kerning:normal;font-variant-ligatures:normal;unicode-bidi:isolate;}
body.adventure-page main :is(.sbs126-ar,.sbs318-ar,.sbs155-arabic,.sbs157-arabic,.sbs157-choice-letter,.sbs167-glyph,.sbs170-big-ar,.sbs171-ar,.sbs172-ar) {line-height:1.85;}
body.adventure-page main [lang="ar"] {text-wrap:wrap;}
body.adventure-page .sbs112-dock-adventure .sbs112-dock-item[aria-current="location"] {background:#5e24a0;color:#fff!important;}
@media(max-width:767px){
 body.adventure-page .sbs112-dock-adventure {width:min(calc(100% - 16px),480px);min-height:62px;padding:5px;gap:3px;border-radius:20px;background:#fff9ed;border-color:#d9c4ee;box-shadow:0 5px 22px #2a174522;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-item {min-height:50px;white-space:normal;font-size:clamp(9px,2.6vw,11px);line-height:1.2;gap:3px;padding:5px 2px;color:#4b286e!important;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-item svg {width:22px;height:22px;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-item:is([aria-current="page"],[aria-current="location"]) {background:#6b3fa0;color:#fff!important;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-popover {max-height:min(65dvh,520px);padding:12px;background:#fff9ed;border-color:#d9c4ee;scroll-padding:12px;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-popover a {min-height:44px;white-space:normal;overflow-wrap:anywhere;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-popover a[aria-current="page"] {background:#e9d9fa;color:#2a1745!important;}
 body.adventure-page .sbs112-dock-adventure .sbs206-more-close {min-width:44px;min-height:44px;}
 body.adventure-page .sbs112-dock-adventure .sbs238-tool {min-height:44px;}
 body.adventure-page .sbs112-dock-adventure .sbs112-dock-popover:focus-within {overscroll-behavior:contain;}
}
@media(prefers-reduced-motion:reduce){body.adventure-page .sbs112-dock-adventure {transition:none!important;}}
