/* ===== Story-journey v6 (C10 Sci Ch1, HI + EN, one language at a time). Look + navigation only. ===== */
html.st { --st-ink: #111827; --st-mut: #374151; --st-card: #ffffff; --st-soft: #f1f5f9; --st-line: #d1d5db; --st-acc: #0f766e; --st-acc-ink: #ffffff; --st-on: #ccfbf1; --st-on-ink: #134e4a; }
html.st[data-theme="dark"] { --st-ink: #e5e7eb; --st-mut: #cbd5e1; --st-card: #111827; --st-soft: #1f2937; --st-line: #374151; --st-acc: #5eead4; --st-acc-ink: #042f2e; --st-on: #134e4a; --st-on-ink: #ccfbf1; }
html.st main { font-size: 1.1rem; line-height: 1.7; }
/* clutter out of view (kept in the page) */
html.st .site-header .hprog, html.st .site-header .stabs, html.st .site-header .langseg, html.st .site-header .swm-readbtn,
html.st main > .breadcrumb, html.st main > .langlink-row, html.st main > #swm-today, html.st main > .swm-loop, html.st main > [data-sh],
html.st main > .swm-seo-lessons, html.st main > .subcta, html.st main > #lessons, html.st main > .pager,
html.st .chero .kicker, html.st .chero .chips, html.st .chero .hcta, html.st .chero .countlive, html.st .chero .hring,
html.st .ytl, html.st .ytsub, html.st .site-footer .wrap > :not(.fmade), html.st .chero::after,
html.st .lesson .st-empty-grid { display: none !important; }
html.st .site-footer { padding: 18px 0 90px; text-align: center; }
/* views */
html.st[data-sv="journey"] main > :not(#st-app):not(.chero),
html.st[data-sv="stop"] main > :not(#st-app):not(.lesson.st-on),
html.st[data-sv="extra"] main > :not(#st-app):not([data-sx]) { display: none !important; }
html.st:not([data-sv="journey"]) .st-journey, html.st:not([data-sv="stop"]) .st-stop, html.st:not([data-sv="extra"]) .st-x { display: none; }
html.st:not([data-sv="journey"]) main > .chero { display: none !important; }
html.st .chero { padding-bottom: 0; }
html.st .chero .ctitle h1 { font-size: var(--fs-h1); line-height: 1.35; }
/* app */
.st-app { color: var(--st-ink); }
.st-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0; position: sticky; top: var(--hh, 0px); z-index: 50; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 14px; padding: 6px 8px; }
.st-menu-btn { font: inherit; font-weight: 800; font-size: var(--fs-base); min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); cursor: pointer; }
.st-stars { font-weight: 800; color: var(--st-ink); }
.st-k { font-weight: 800; color: var(--st-acc); margin: 6px 0 0; }
html.st:not([data-theme="dark"]) .st-k { color: #0f766e; }
.st-lead { color: var(--st-mut); margin: 2px 0 10px; font-size: var(--fs-base); }
.st-badge { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #111827; font-weight: 800; border-radius: 16px; padding: 12px 14px; text-align: center; margin: 8px 0; }
.st-go, .st-next { display: block; width: 100%; min-height: 56px; border: 0; border-radius: 16px; background: var(--st-acc); color: var(--st-acc-ink); font: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; margin: 6px 0 14px; }
.st-path { list-style: none; padding: 0 0 0 6px; margin: 0; position: relative; }
.st-path::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; border-left: 3px dashed var(--st-line); }
.st-path li { margin: 8px 0; position: relative; }
.st-path li:nth-child(even) { padding-left: 22px; }
.st-path button, .st-ml button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; min-height: 56px; border-radius: 16px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-ink); font: inherit; font-size: var(--fs-base); line-height: 1.35; padding: 6px 12px 6px 6px; cursor: pointer; }
.st-dot { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--st-soft); font-weight: 800; border: 2px solid var(--st-line); }
.st-path .done .st-dot, .st-ml .done .st-dot { background: var(--st-on); color: var(--st-on-ink); border-color: var(--st-acc); }
.st-t { flex: 1; }
.st-s { flex: 0 0 auto; }
.st-stop-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0; }
.st-back { font: inherit; font-weight: 700; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); cursor: pointer; }
.st-n { font-weight: 800; color: var(--st-mut); }
.st-hook { display: flex; gap: 12px; align-items: center; background: var(--st-soft); border-radius: 18px; padding: 10px 12px; margin: 8px 0; }
.st-hook img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--st-card); }
.st-hook b { color: var(--st-mut); font-size: var(--fs-sm); }
.st-hook p { margin: 0; font-weight: 800; font-size: 1.1rem; line-height: 1.5; }
.st-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 8px 0 4px; }
.st-steps button { width: 100%; min-height: 56px; border-radius: 14px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-ink); font: inherit; font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; padding: 4px 2px; }
.st-steps span { font-size: 1.25rem; }
.st-steps li.seen button { border-color: var(--st-acc); }
.st-steps li.on button { background: var(--st-on); color: var(--st-on-ink); border: 2px solid var(--st-acc); }
.st-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--st-card); border-top: 1px solid var(--st-line); }
.st-foot .st-next { margin: 0; min-height: 52px; }
.st-prev { font: inherit; font-weight: 700; min-height: 52px; border-radius: 14px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); cursor: pointer; }
.st-prev:disabled { opacity: .5; }
html.st[data-sv="stop"] body { padding-bottom: 80px; }
html.st[data-sv="stop"] .doubt-fab { bottom: 84px !important; }
html.st .lesson.st-on { border: 0; padding: 0; margin-top: 0; }
html.st .lesson.st-on > .lh { pointer-events: none; }
html.st .lesson.st-on > .lh::after { display: none; }
.st-step { margin: 8px 0; }
.st-step > * { margin-bottom: 14px; }
.st-shorts { background: var(--st-soft); border-radius: 16px; padding: 10px 12px; }
.st-sk { font-weight: 800; margin: 0 0 6px; }
.st-more { border: 1px dashed var(--st-line); border-radius: 14px; padding: 8px 12px; }
.st-more summary { font-weight: 800; cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.st-mini { font: inherit; font-weight: 700; min-height: 44px; padding: 0 12px; margin: 4px 4px 0 0; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-ink); cursor: pointer; }
.st-xnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.st-xnav button { font: inherit; font-size: var(--fs-base); font-weight: 700; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-ink); cursor: pointer; }
/* menu */
.st-menu { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.st-menu[hidden] { display: none; }
.st-sheet { background: var(--st-card); color: var(--st-ink); width: 100%; max-width: 640px; max-height: 86vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 10px 12px 20px; }
.st-mh { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -10px; background: var(--st-card); padding: 6px 0; font-size: 1.1rem; }
.st-mh button { font: inherit; font-size: 1.1rem; min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); cursor: pointer; }
.st-ml, .st-mx { list-style: none; padding: 0; margin: 0; }
.st-ml li { margin: 6px 0; }
.st-mk { font-weight: 800; color: var(--st-mut); margin: 12px 0 4px; }
.st-mx { display: flex; flex-wrap: wrap; gap: 6px; }
.st-mx button { font: inherit; font-weight: 700; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); cursor: pointer; }
@media (min-width: 761px) { .st-foot { position: static; padding: 0; border: 0; background: none; margin: 10px 0; } html.st[data-sv="stop"] body { padding-bottom: 0; } }
html.st .st-shorts .sslang { color: var(--st-ink) !important; background: var(--st-card) !important; border: 1px solid var(--st-line); }
/* ---- v3: one language at a time, no board toggle,  ---- */
html.st[lang="hi"] .sstrip li[data-lang="EN"], html.st[lang="en"] .sstrip li[data-lang="HI"] { display: none !important; }
html.st .chips:has([data-yt-swap]), html.st .sslang { display: none !important; }
html.st #full-video .ytt { display: none !important; }
html.st .selfmark[hidden] { display: none !important; }
html.st .site-header .st-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-soft); color: var(--st-ink); font-weight: 800; text-decoration: none; }
/* reading comfort */
html.st main p, html.st main li { max-width: 68ch; }
html.st .st-step .box { border-radius: 16px; }
