@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&display=swap');
/* ===== LESSON MODE: one idea per full screen, Back / Next ===== */
html.ml-lesson-open,html.ml-lesson-open body{overflow:hidden!important}
html.ml-lesson-open main>article{display:none}          /* the page underneath stops playing its videos */
.ml-player[hidden]{display:none!important}
.ml-player{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;color:#e7f0fb;
  background:radial-gradient(ellipse at 30% 0%,#13284a 0%,#07101c 55%) #07101c;font-family:Manrope,ui-sans-serif,system-ui,sans-serif}
.mlp-top{flex:none;display:flex;align-items:center;gap:.8rem;padding:.65rem 1rem;border-bottom:1px solid rgba(139,166,198,.18);background:rgba(7,16,28,.85)}
.mlp-home{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid rgba(139,166,198,.3);color:#cfe0f3;text-decoration:none;font-size:1.2rem}
.mlp-home:hover{border-color:#2bd4b8;color:#fff}
.mlp-ch{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1rem;color:#cfe0f3}
.mlp-ch b{color:#ffb72f;font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;text-transform:uppercase;margin-right:.4rem}
.mlp-count{flex:none;font:800 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8ba6c6}
.mlp-sum{all:unset;box-sizing:border-box;flex:none;cursor:pointer;min-height:44px;padding:0 1rem;border-radius:999px;border:1px solid rgba(139,166,198,.35);font-weight:700;font-size:.92rem;color:#cfe0f3;display:inline-flex;align-items:center}
.mlp-sum:hover{border-color:#2bd4b8;color:#fff}
.mlp-bar{flex:none;height:5px;background:rgba(139,166,198,.14)}
.mlp-bar b{display:block;height:100%;width:0;background:linear-gradient(90deg,#2bd4b8,#4c8dff 60%,#ffb72f);transition:width .35s}
.mlp-stage{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mlp-step{min-height:100%;display:flex}
.mlp-step[hidden]{display:none}
.mlp-in{width:100%;max-width:1060px;margin:auto;padding:1.4rem 1.3rem 2rem;animation:mlpIn .35s ease-out}
@keyframes mlpIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.mlp-in{animation:none}.mlp-bar b{transition:none}}
/* bigger reading text inside the lesson */
.mlp-in p{font-size:1.22rem!important;line-height:1.65!important}
.mlp-in li span{font-size:1.12rem!important;line-height:1.6!important}
.mlp-in h2{font-size:clamp(1.7rem,3.6vw,2.4rem)!important}
.mlp-in .ml-cont{display:none!important}
.mlp-kick{margin:0 0 .6rem!important;font:800 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.18em;text-transform:uppercase;color:#8ba6c6}
.mlp-in>.vfa,.mlp-in>.mv,.mlp-in>.lab,.mlp-in>.ml-quiz,.mlp-in>.ml-try,.mlp-in>section.bg,.mlp-in>.vg{margin-top:1rem}
/* animations fill the screen but always fit between the bars */
.ml-player .vfa{--maxh:max(220px,calc(100vh - 360px))}
.ml-player .lab-stage svg{max-height:max(240px,calc(100vh - 380px))}
.ml-player figure.sx-hero,.ml-player figure{float:none!important;width:100%!important;margin:1rem 0 0!important}
.ml-player figure img{max-height:calc(100vh - 300px)!important;width:auto!important;max-width:100%!important;margin:0 auto!important;display:block}
/* the first screen */
.mlp-intro{text-align:left}
.mlp-chip{display:inline-block;font:800 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;text-transform:uppercase;padding:.5rem .75rem;border-radius:8px;border:1px solid rgba(255,183,47,.5);background:rgba(255,183,47,.1);color:#ffb72f}
.mlp-intro h1{margin:.8rem 0 .4rem;font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:800;font-size:clamp(2.2rem,6vw,4rem);line-height:1;letter-spacing:-.045em;color:#fff}
.mlp-sub{margin:0 0 1.2rem!important;color:#9fb6cf}
.mlp-go{all:unset;box-sizing:border-box;cursor:pointer;margin-top:1.4rem;display:inline-flex;align-items:center;gap:.6rem;min-height:56px;padding:0 1.8rem;border-radius:999px;background:linear-gradient(180deg,#ffc24a,#ffa514);color:#07101c;font-weight:800;font-size:1.15rem;box-shadow:0 18px 40px -18px rgba(255,165,20,.8)}
.mlp-go:hover{filter:brightness(1.06)}
.mlp-deeper .ml-deeper{padding:1.6rem 1.5rem;font-size:1.1rem}
.mlp-end .ml-end{margin-top:0;border-top:0;padding-top:0}
/* Back / Next */
.mlp-nav{flex:none;display:flex;align-items:center;gap:.8rem;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));border-top:1px solid rgba(139,166,198,.18);background:rgba(7,16,28,.92)}
.mlp-nav button{all:unset;box-sizing:border-box;cursor:pointer;min-height:56px;padding:0 1.5rem;border-radius:999px;font-weight:800;font-size:1.1rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.mlp-nav .mlp-back{border:1px solid rgba(139,166,198,.4);color:#e3edf8}
.mlp-nav .mlp-back:disabled{opacity:.35;cursor:default}
.mlp-nav .mlp-next{margin-left:auto;min-width:11rem;background:linear-gradient(180deg,#ffc24a,#ffa514);color:#07101c;box-shadow:0 14px 34px -16px rgba(255,165,20,.85)}
.mlp-nav button:focus-visible,.mlp-sum:focus-visible,.mlp-go:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mlp-where{flex:1;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.95rem;color:#8ba6c6}
@media(max-width:640px){
  .mlp-top{padding:.5rem .6rem;gap:.5rem}
  .mlp-ch{font-size:.9rem}
  .mlp-sum{padding:0 .75rem;font-size:.85rem}
  .mlp-in{padding:1rem .85rem 1.5rem}
  .mlp-in p{font-size:1.1rem!important}
  .mlp-where{display:none}
  .mlp-nav button{flex:1;padding:0 .8rem}
  .mlp-nav .mlp-next{min-width:0}
  .ml-player .vfa{padding:.6rem}
}
@media(max-height:500px){
  .mlp-top{padding:.3rem .6rem}
  .mlp-nav{padding:.35rem .8rem}
  .mlp-nav button{min-height:46px}
  .ml-player .vfa{--maxh:max(180px,calc(100vh - 170px))}
  .mlp-in{padding-top:.6rem}
  .mlp-in p{font-size:1.05rem!important}
}
/* ===== the summary page: start the lesson, search this chapter ===== */
.ml-sumbar{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;margin:0 0 1.5rem;padding:.9rem 1rem;border-radius:20px;border:1px solid rgba(43,212,184,.45);background:linear-gradient(110deg,rgba(43,212,184,.12),rgba(10,23,38,.7))}
.ml-start{all:unset;box-sizing:border-box;cursor:pointer;min-height:52px;padding:0 1.4rem;border-radius:999px;background:linear-gradient(180deg,#ffc24a,#ffa514);color:#07101c;font-weight:800;font-size:1.05rem;display:inline-flex;align-items:center;gap:.5rem}
.ml-search{flex:1 1 260px;display:grid;gap:.3rem}
.ml-search span{font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.18em;text-transform:uppercase;color:#8ba6c6}
.ml-search input{box-sizing:border-box;width:100%;min-height:48px;padding:0 1rem;border-radius:14px;border:1px solid rgba(139,166,198,.35);background:rgba(7,16,28,.7);color:#fff;font-size:1.02rem}
.ml-search input:focus{outline:2px solid #2bd4b8;outline-offset:1px}
.ml-found{flex-basis:100%;margin:0;font-size:.95rem;color:#7ff0dc}
.ml-found:empty{display:none}

/* one thing per screen: sizes that fit between the bars */
.ml-player .vfa{--maxh:max(200px,calc(100vh - 430px))}
@media(min-width:1000px){
  .ml-player .lab-body{grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);align-items:start}
  .ml-player .lab-side{grid-template-columns:1fr}
  .ml-player .lab-stats{grid-template-columns:repeat(3,1fr)}
  .ml-player .lab-stage svg{max-height:calc(100vh - 300px)}
}

/* the head of an optional build, when it opens a lesson screen */
.mlp-in .ml-try-head{margin:0 0 .6rem}
.mlp-in .ml-try-head span{display:inline-block;font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.2em;text-transform:uppercase;padding:.5rem .7rem;border-radius:999px;background:#ff674d;color:#250600}
.mlp-in .ml-try-head h3{margin:.7rem 0 .3rem;font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:800;font-size:clamp(1.5rem,3vw,2rem);color:#fff}

/* the chapter quiz in lesson mode: one question at a time */
.ml-quiz.paged .ml-qq[hidden],.ml-quiz.paged .ml-score[hidden]{display:none!important}
.ml-quiz.paged .ml-qq{border-top:0;padding-top:.2rem}
.ml-qcount{margin:.6rem 0 0!important;font:800 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.16em;text-transform:uppercase;color:#8ba6c6}
.ml-nextq{all:unset;box-sizing:border-box;cursor:pointer;margin-top:1rem;display:inline-flex;align-items:center;gap:.5rem;min-height:52px;padding:0 1.4rem;border-radius:999px;background:#4c8dff;color:#06142f;font-weight:800;font-size:1.05rem}
.ml-nextq[hidden]{display:none}
/* inside a lesson the "Watch it move" line is not needed: the screen is about that one thing */
.ml-player .vfa>.mv-head{display:none}
@media(max-height:500px){
  .mlp-top{min-height:0;padding:.2rem .5rem}
  .mlp-home{width:36px;height:36px}
  .mlp-ch{display:none}
  .mlp-sum{min-height:36px}
  .mlp-count{margin-left:auto}
  .mlp-nav{padding:.25rem .6rem}
  .mlp-nav button{min-height:44px;font-size:1rem}
  .ml-player .vfa{--maxh:max(160px,calc(100vh - 190px));padding:.45rem .6rem}
  .mlp-kick{display:none}
  .ml-player .vfa .mv-tabs{margin-bottom:.45rem}
  .ml-player .vfa .mv-tabs button{padding:.55rem .75rem}
  .mlp-in{padding:.4rem .9rem 1rem}
  .mlp-in h2{font-size:1.5rem!important}
}

/* ===== 2026-11-25 (later): a picture on every screen, words underneath ===== */
.mlp-hero{margin:0 0 1rem;border-radius:22px;overflow:hidden;border:1px solid rgba(255,183,47,.35);box-shadow:0 24px 60px -30px rgba(0,0,0,.9)}
.mlp-hero img{display:block;width:100%;height:min(42vh,420px);object-fit:cover}
.mlp-words{margin-top:1.1rem;padding:1rem 1.1rem;border-radius:18px;background:rgba(7,16,28,.45);border:1px solid rgba(139,166,198,.16)}
.mlp-words>*:first-child{margin-top:0!important}
.mlp-words p{font-size:1.1rem!important;line-height:1.6!important;color:#cfe0f3!important}
.mlp-in>.ml-deeper{margin-bottom:1rem}
.ml-player .ml-quiz.paged .ml-qmedia .mv-frame{max-height:calc(100vh - 430px);aspect-ratio:auto;height:calc(100vh - 430px);min-height:180px}
.ml-player .mgrid .mv-frame{max-height:none}
@media(max-height:500px){.mlp-hero img{height:38vh}.ml-player .ml-quiz.paged .ml-qmedia .mv-frame{height:calc(100vh - 200px)}}

/* first screen: a short moving teaser (or the chapter photo), small enough that the title and Start show too */
.mlp-hero img{height:min(30vh,300px)!important}
.mlp-hero .mv-frame{position:relative;width:100%;height:min(34vh,340px);overflow:hidden;background:#050b14}
.mlp-hero .mv-frame>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* "Going deeper" inside a lesson: one compact line */
.mlp-in>.ml-deeper{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .8rem;padding:.55rem .85rem;margin-bottom:.8rem}
.mlp-in>.ml-deeper span{font-size:.92rem;flex:1 1 220px}
.mlp-in>.ml-deeper span{display:none}
.mlp-in>.ml-deeper:after{content:"Optional extra";font-size:.92rem;color:#cfe0f3}

.ml-player .ml-quiz.paged .ml-qmedia .mv-frame{height:clamp(150px,calc(100vh - 560px),360px)!important;min-height:0}
@media(max-height:500px){.ml-player .ml-quiz.paged .ml-qmedia .mv-frame{height:calc(100vh - 230px)!important}}
@media(max-width:640px){
  .ml-player .ml-quiz.paged .ml-qmedia .mv-frame{height:24vh!important}
  .ml-player .ml-quiz.paged .ml-lead{display:none}
}

/* ===== round 3: lesson screens ===== */
/* the words under a picture: big, bright, friendly */
.mlp-words{background:rgba(7,16,28,.35)}
.mlp-words p{font-size:1.22rem!important;line-height:1.55!important;color:#eef4fb!important}
.mlp-words p strong,.mlp-words li strong{color:#ffcf6b}
.mlp-words ul{display:grid;gap:.55rem}
.mlp-words li{padding:.7rem .9rem;border-radius:14px;background:rgba(15,32,54,.8);border:1px solid rgba(139,166,198,.2)}
.mlp-words li span{font-size:1.15rem!important;color:#e3ecf6!important}
.mlp-words li strong{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-size:1.25rem}
.mlp-words li>span.rounded-full{display:none}
.mlp-more{margin-top:.9rem;border-radius:14px;border:1px dashed rgba(139,166,198,.4);padding:.2rem .9rem}
.mlp-more summary{cursor:pointer;padding:.7rem 0;font-weight:800;font-size:1.02rem;color:#8fb6ff}
.mlp-more summary i{font-weight:600;color:#9fb6cf}
.mlp-more[open]{padding-bottom:.8rem}
/* Next is locked until the screen is done */
.mlp-nav .mlp-next.locked{filter:grayscale(.85) blur(.6px);opacity:.45;box-shadow:none}
.mlp-nav .mlp-next.locked:hover{opacity:.6}
/* "tap me": the thing to do next glows and a little badge bounces on it */
.ml-pointme{position:relative;z-index:2;animation:mlGlow 1.4s ease-in-out infinite}
.mv-tabs button.ml-pointme:not(.on){color:#07101c!important;background:linear-gradient(90deg,#5ff0d6,#8fb6ff,#ffcf6b,#5ff0d6)!important;background-size:300% 100%!important;border-color:transparent!important;animation:mlGlow 1.4s ease-in-out infinite,mlShine 2.4s linear infinite}
.mv-tabs button.ml-pointme:not(.on)::after,.ml-snext.ml-pointme::after,.ml-nextq.ml-pointme::after{content:"TAP";position:absolute;left:50%;top:-1.55rem;transform:translateX(-50%);font:900 10px/1 ui-monospace,monospace;letter-spacing:.2em;padding:.32rem .45rem;border-radius:6px;background:#fff;color:#07101c;animation:mlBob .9s ease-in-out infinite;pointer-events:none}
.lab.ml-pointme{outline:3px solid #5ff0d6;outline-offset:3px;border-radius:22px}
.ml-qq.ml-pointme{border-radius:14px;outline:2px dashed rgba(95,240,214,.8);outline-offset:6px;animation:none}
@keyframes mlGlow{0%,100%{box-shadow:0 0 0 0 rgba(95,240,214,.0)}50%{box-shadow:0 0 0 6px rgba(95,240,214,.35),0 0 26px 4px rgba(143,182,255,.45)}}
@keyframes mlShine{to{background-position:300% 0}}
@keyframes mlBob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-5px)}}
/* tapping a locked Next flashes what is missing */
.ml-flash{animation:mlFlash .45s ease-in-out 3!important}
@keyframes mlFlash{0%,100%{box-shadow:0 0 0 0 rgba(255,103,77,0)}50%{box-shadow:0 0 0 5px rgba(255,103,77,.85),0 0 30px 8px rgba(255,183,47,.6)}}
/* "more below": a glowing pill with falling chevrons */
.mlp-down{all:unset;box-sizing:border-box;position:absolute;left:50%;bottom:calc(80px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:5;cursor:pointer;display:flex;align-items:center;gap:.6rem;padding:.55rem 1rem .55rem .7rem;border-radius:999px;
  background:linear-gradient(90deg,rgba(43,212,184,.95),rgba(76,141,255,.95));color:#04201b;font-weight:900;font-size:.95rem;letter-spacing:.04em;box-shadow:0 12px 36px -10px rgba(43,212,184,.8),0 0 0 4px rgba(7,16,28,.6);animation:mlFloat 1.6s ease-in-out infinite}
.mlp-down[hidden]{display:none}
.mlp-down b{text-transform:uppercase;font-size:.82rem;letter-spacing:.14em}
.mlp-down-ic{position:relative;width:22px;height:26px}
.mlp-down-ic i{position:absolute;left:3px;width:14px;height:14px;border-right:3.5px solid #04201b;border-bottom:3.5px solid #04201b;transform:rotate(45deg);opacity:0;animation:mlDrop 1.2s ease-in infinite}
.mlp-down-ic i:nth-child(2){animation-delay:.2s}.mlp-down-ic i:nth-child(3){animation-delay:.4s}
@keyframes mlDrop{0%{top:-6px;opacity:0}40%{opacity:1}100%{top:12px;opacity:0}}
@keyframes mlFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-6px)}}
.ml-player .mlp-stage::after{content:"";position:sticky;display:block;bottom:0;height:46px;margin-top:-46px;pointer-events:none;background:linear-gradient(180deg,rgba(7,16,28,0),rgba(7,16,28,.9))}
/* little message when Next is pressed too early */
.mlp-tip{position:absolute;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translate(-50%,10px);z-index:6;max-width:92vw;padding:.7rem 1.1rem;border-radius:14px;background:#ffb72f;color:#07101c;font-weight:900;font-size:1rem;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 12px 30px -10px rgba(0,0,0,.6)}
.mlp-tip.on{opacity:1;transform:translate(-50%,0)}
.ml-player{position:fixed}
.ml-player .mlp-stage{position:relative}
/* bigger caption type inside a lesson */
.ml-player .vfa .mv-cap{font-size:1.3rem}
.ml-player .vfa .mv-cap b{font-size:1.4rem}
@media(max-width:640px){.ml-fact{flex-basis:120px;padding:.6rem .7rem}.ml-fact b{font-size:1.2rem}.ml-player .vfa .mv-cap{font-size:1.12rem}.ml-player .vfa .mv-cap b{font-size:1.2rem}.ml-step figcaption{font-size:1.05rem}}
@media(max-height:500px){.mlp-down{bottom:62px}.mlp-tip{bottom:64px}}
.mv-tabs button.ml-pointme,.ml-snext.ml-pointme,.ml-nextq.ml-pointme{position:relative!important;overflow:visible!important}
.ml-player .mv-tabs{padding-top:1.2rem;overflow:visible}

/* ===== round 4: hints you cannot miss ===== */
/* scroll-down cue: glowing coral/gold pill with a spinning rainbow rim, a bouncing orb and big words */
.mlp-down{all:unset;box-sizing:border-box;position:absolute;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:5;cursor:pointer;
  display:flex;align-items:center;gap:.75rem;padding:.5rem 1.3rem .5rem .5rem;border-radius:999px;isolation:isolate;
  background:linear-gradient(100deg,#ff674d,#ff8f3d 45%,#ffb72f);color:#1d0700;
  box-shadow:0 0 0 3px #07101c,0 0 0 6px rgba(255,183,47,.55),0 16px 44px -8px rgba(255,103,77,.9),0 0 60px 6px rgba(255,140,60,.45);animation:mlFloat 1.5s ease-in-out infinite}
.mlp-down::before{content:"";position:absolute;inset:-5px;z-index:-1;border-radius:inherit;background:conic-gradient(from 0deg,#5ff0d6,#8fb6ff,#ff6fd8,#ffcf6b,#5ff0d6);animation:mlSpin 2.2s linear infinite;filter:blur(1px)}
.mlp-down::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(100deg,#ff674d,#ff8f3d 45%,#ffb72f)}
.mlp-down[hidden]{display:none}
.mlp-orb{position:relative;flex:none;width:52px;height:52px;border-radius:50%;background:#07101c;box-shadow:inset 0 0 0 2px rgba(255,255,255,.25)}
.mlp-orb::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:3px solid #fff;opacity:0;animation:mlRipple 1.5s ease-out infinite}
.mlp-orb i{position:absolute;left:50%;width:16px;height:16px;margin-left:-8px;border-right:4px solid #ffcf6b;border-bottom:4px solid #ffcf6b;transform:rotate(45deg);animation:mlChev 1.1s ease-in-out infinite}
.mlp-orb i:nth-child(1){top:10px}.mlp-orb i:nth-child(2){top:20px;animation-delay:.18s;border-color:#ff8f6b}
.mlp-down-t{display:flex;flex-direction:column;line-height:1.05}
.mlp-down-t b{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:900;font-size:1.3rem;letter-spacing:-.01em;text-transform:none}
.mlp-down-t small{font-weight:800;font-size:.85rem;opacity:.85}
@keyframes mlSpin{to{transform:rotate(360deg)}}
@keyframes mlRipple{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.5);opacity:0}}
@keyframes mlChev{0%,100%{transform:translateY(-3px) rotate(45deg);opacity:.5}50%{transform:translateY(5px) rotate(45deg);opacity:1}}
/* "N tabs, tap each one" bar with progress pips */
.ml-tabhint{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1rem;margin:0 0 .5rem;padding:.55rem .85rem;border-radius:14px;
  background:linear-gradient(90deg,rgba(255,103,77,.22),rgba(255,183,47,.14));border:2px solid rgba(255,140,60,.75)}
.ml-th-t{font-size:1.02rem;font-weight:700;color:#ffe3d6}
.ml-th-t b{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:900;font-size:1.15rem;color:#fff;margin-right:.35rem}
.ml-th-pips{display:flex;gap:.35rem;margin-left:auto}
.ml-th-pips i{width:14px;height:14px;border-radius:50%;background:transparent;border:2.5px solid #ff8f6b}
.ml-th-pips i.on{background:#5ff0d6;border-color:#5ff0d6;box-shadow:0 0 8px #5ff0d6}
.ml-tabhint.done{background:rgba(43,212,184,.14);border-color:rgba(95,240,214,.75)}
.ml-tabhint.done .ml-th-t{color:#c9fff4}
.vfa .ml-tabhint+.mv-tabs{padding-top:1.5rem}
/* tabs: unseen = pulsing coral rim + dot, seen = teal tick, next = shiny gradient + TAP ME bubble */
.ml-player .vfa .mv-tabs button.ml-unseen:not(.on){border:2px solid #ff8f6b!important;color:#fff!important;background:rgba(255,103,77,.16)!important;animation:mlRim 1.6s ease-in-out infinite}
.ml-player .vfa .mv-tabs button.ml-unseen:not(.on)::before{content:"";position:absolute;right:-4px;top:-4px;width:12px;height:12px;border-radius:50%;background:#ff674d;box-shadow:0 0 0 2px #07101c,0 0 10px #ff674d}
.ml-player .vfa .mv-tabs button{position:relative!important;overflow:visible!important}
.ml-player .vfa .mv-tabs button.ml-seen:not(.on)::before{content:"\2713  ";color:#5ff0d6;font-weight:900}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on){color:#1d0700!important;background:linear-gradient(90deg,#ffcf6b,#ff8f3d,#ff6fd8,#ffcf6b)!important;background-size:300% 100%!important;border:2px solid #fff!important;transform:scale(1.06);animation:mlShine 2s linear infinite,mlGlow2 1.2s ease-in-out infinite}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on)::before{display:none}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on)::after{content:"TAP ME";left:50%;top:-2.1rem;font:900 12px/1 'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;padding:.42rem .6rem;border-radius:8px;background:#fff;color:#ff4d2e;box-shadow:0 6px 16px -4px rgba(0,0,0,.6)}
@keyframes mlRim{0%,100%{box-shadow:0 0 0 0 rgba(255,103,77,0)}50%{box-shadow:0 0 0 4px rgba(255,103,77,.35)}}
@keyframes mlGlow2{0%,100%{box-shadow:0 0 0 0 rgba(255,140,60,.0),0 0 0 0 rgba(255,111,216,0)}50%{box-shadow:0 0 0 5px rgba(255,140,60,.45),0 0 30px 6px rgba(255,111,216,.5)}}
@media(max-width:640px){.mlp-down{padding:.4rem 1rem .4rem .4rem;gap:.55rem}.mlp-orb{width:44px;height:44px}.mlp-down-t b{font-size:1.1rem}.ml-th-pips{margin-left:0}}
@media(max-height:500px){.mlp-down{bottom:60px}.mlp-orb{width:38px;height:38px}.mlp-orb i{width:12px;height:12px;margin-left:-6px}}

/* round 4 fix: the rainbow rim flows along the edge (no rotating blob); labels stay on one line */
.mlp-down::before{inset:-4px;animation:mlShine 2.2s linear infinite;background:linear-gradient(90deg,#5ff0d6,#8fb6ff,#ff6fd8,#ffcf6b,#5ff0d6,#8fb6ff);background-size:300% 100%;filter:none;transform:none}
.mlp-down-t b,.mlp-down-t small{white-space:nowrap}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on)::after{white-space:nowrap}

/* ===== round 5 ===== */
/* scroll cue: small, round, at the right edge, never across the text */
.mlp-down{left:auto!important;right:14px;bottom:calc(92px + env(safe-area-inset-bottom));transform:none!important;flex-direction:column;gap:.15rem;padding:.4rem .4rem .45rem;border-radius:999px;animation:mlBobY 1.4s ease-in-out infinite}
.mlp-down .mlp-orb{width:46px;height:46px}
.mlp-down-t{align-items:center}
.mlp-down-t b{font-size:.92rem!important;line-height:1}
.mlp-down-t small{font-size:.66rem!important;text-transform:uppercase;letter-spacing:.1em}
@keyframes mlBobY{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(min-width:1180px){.mlp-down{right:calc((100vw - 1060px) / 2 - 92px)}}
@media(max-height:500px){.mlp-down{bottom:58px}.mlp-down .mlp-orb{width:36px;height:36px}.mlp-down-t small{display:none}}
/* tabs: the current one is gold; every tab not opened yet keeps its normal colour and says TAP ME */
.ml-player .vfa .mv-tabs{row-gap:2.2rem;padding-top:1.6rem}
.ml-player .vfa .mv-tabs button.ml-unseen:not(.on),.ml-player .vfa .mv-tabs button.ml-pointme:not(.on){border:1px solid rgba(207,224,243,.55)!important;color:#e8f0fa!important;background:rgba(15,32,54,.8)!important;animation:none!important;transform:none!important;box-shadow:none}
.ml-player .vfa .mv-tabs button.ml-unseen:not(.on)::before{display:none!important}
.ml-player .vfa .mv-tabs button.ml-unseen:not(.on)::after,.ml-player .vfa .mv-tabs button.ml-pointme:not(.on)::after{content:"TAP ME"!important;position:absolute;left:50%;top:-1.75rem;transform:translateX(-50%);white-space:nowrap;font:900 11px/1 'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;padding:.36rem .55rem;border-radius:7px;background:#fff;color:#ff4d2e;box-shadow:0 5px 14px -4px rgba(0,0,0,.7);pointer-events:none;animation:none}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on){box-shadow:0 0 0 3px rgba(255,255,255,.35),0 0 22px 2px rgba(143,182,255,.55)!important}
.ml-player .vfa .mv-tabs button.ml-pointme:not(.on)::after{animation:mlBob .9s ease-in-out infinite!important;background:#ff4d2e;color:#fff}
@media(max-width:700px){
  .mlp-down{right:6px;padding:.25rem .25rem .3rem;opacity:.95}
  .mlp-down .mlp-orb{width:34px;height:34px}
  .mlp-down .mlp-orb i{width:11px;height:11px;margin-left:-5.5px;border-width:3px}
  .mlp-down .mlp-orb i:nth-child(1){top:6px}.mlp-down .mlp-orb i:nth-child(2){top:13px}
  .mlp-down-t b{font-size:.72rem!important}.mlp-down-t small{display:none}
  .ml-player .mlp-in{padding-right:2.6rem!important}
}

/* ===== round 6 ===== */
/* the bottom bar: Back | lesson title (small, to the side) | wide Scroll down | Next */
.ml-player .mlp-nav{gap:.9rem}
.ml-player .mlp-where{flex:0 1 auto;max-width:24%;text-align:left;font-size:.92rem}
.mlp-nav .mlp-scroll{all:unset;box-sizing:border-box;cursor:pointer;margin:0 auto;display:inline-flex;align-items:center;justify-content:center;gap:.9rem;min-width:min(380px,46vw);min-height:58px;padding:0 1.4rem;border-radius:18px;
  background:linear-gradient(100deg,#ff674d,#ff8f3d 50%,#ffb72f);color:#1d0700;box-shadow:0 0 0 2px #07101c,0 0 0 4px rgba(255,183,47,.6),0 10px 34px -8px rgba(255,103,77,.9),0 0 40px 2px rgba(255,140,60,.35);animation:mlPulseBar 1.6s ease-in-out infinite}
.mlp-nav .mlp-scroll[hidden]{display:none}
.mlp-scroll-t{display:flex;flex-direction:column;align-items:center;line-height:1.05}
.mlp-scroll-t b{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:900;font-size:1.3rem;white-space:nowrap}
.mlp-scroll-t small{font-weight:800;font-size:.8rem;opacity:.85;white-space:nowrap}
.mlp-chevs{position:relative;width:20px;height:30px;flex:none}
.mlp-chevs i{position:absolute;left:2px;width:13px;height:13px;border-right:4px solid #07101c;border-bottom:4px solid #07101c;transform:rotate(45deg);animation:mlChev 1.1s ease-in-out infinite}
.mlp-chevs i:nth-child(1){top:2px}.mlp-chevs i:nth-child(2){top:12px;animation-delay:.18s}
.mlp-nav .mlp-scroll:hover{filter:brightness(1.07)}
.mlp-nav .mlp-scroll.ml-flash{animation:mlFlash .45s ease-in-out 3!important}
@keyframes mlPulseBar{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.ml-player.has-more .mlp-where{opacity:.75}
@media(max-width:640px){
  .ml-player .mlp-nav{gap:.45rem}
  .mlp-nav .mlp-back{flex:0 0 56px!important;padding:0!important}
  .mlp-nav .mlp-back .tx{display:none}
  .mlp-nav .mlp-scroll{flex:1 1 auto;min-width:0;padding:0 .5rem;gap:.35rem;margin:0}
  .mlp-scroll-t b{font-size:1.02rem}.mlp-scroll-t small{display:none}
  .mlp-nav .mlp-next{flex:0 0 auto!important;padding:0 1rem!important}
  .ml-player.has-more .mlp-nav .mlp-next{flex:0 0 104px!important}
}
@media(max-height:500px){.mlp-nav .mlp-scroll{min-height:44px}.mlp-scroll-t small{display:none}}
/* side by side on wide screens: picture left, its words right */
.mlp-capset[hidden]{display:none!important}
.mlp-r>.mlp-capset .mv-cap{margin-top:0!important}
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .ml-player .mlp-in{max-width:1560px}
  .mlp-split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:1.4rem;align-items:start}
  .mlp-split.solo{display:block}
  .mlp-split .vfa{margin:0!important;--maxh:max(220px,calc(100vh - 390px))}
  .mlp-r{display:flex;flex-direction:column;gap:.9rem;position:sticky;top:0}
  .mlp-r .mlp-words,.mlp-r .ml-quiz{margin:0!important}
  .mlp-r .ml-fact{flex-basis:130px}
  .mlp-r .ml-quiz .ml-opts button{flex:1 1 100%}
  /* a quiz question: its animation left, the question and answers right */
  .ml-player .ml-quiz.paged .ml-qq:not([hidden]){display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:.5rem 1.4rem;align-items:start}
  .ml-player .ml-quiz.paged .ml-qq .ml-qmedia{grid-column:1;grid-row:1 / span 4;margin:0}
  .ml-player .ml-quiz.paged .ml-qq>.ml-q,.ml-player .ml-quiz.paged .ml-qq>.ml-opts,.ml-player .ml-quiz.paged .ml-qq>.ml-fb{grid-column:2}
  .ml-player .ml-quiz.paged .ml-qq .ml-qmedia .mv-frame{height:max(200px,calc(100vh - 420px))!important}
  .ml-player .ml-quiz.paged .ml-opts{flex-direction:column}
  .ml-player .ml-quiz.paged .ml-opts button{width:100%}
}
@media (max-height:500px) and (min-aspect-ratio:4/3){
  .mlp-split .vfa{--maxh:max(150px,calc(100vh - 200px))}
  .mlp-split{grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);gap:.9rem}
  .ml-player .ml-quiz.paged .ml-qq .ml-qmedia .mv-frame{height:calc(100vh - 190px)!important}
  .ml-player .mlp-where{display:none}
}

/* round 6b */
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-r .ml-quiz .ml-opts button{flex:0 1 auto!important;width:auto!important}
  .mlp-split .lab{margin:0!important}
  .mlp-split .lab .lab-body{grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr)!important}
  .mlp-split .lab .lab-stage svg{max-height:calc(100vh - 330px)!important}
  .mlp-split .lab .lab-stats{grid-template-columns:1fr!important}
  .mlp-split .mv:not(.vfa){--maxh:max(200px,calc(100vh - 380px));margin:0!important}
}
@media (max-height:500px){
  .mlp-tryhead h3{font-size:1.15rem!important;margin:.3rem 0 0!important}
  .mlp-tryhead p{display:none}
  .ml-player .ml-tabhint{padding:.3rem .6rem;margin-bottom:.2rem}
  .ml-player .ml-th-t{font-size:.85rem}.ml-player .ml-th-t b{font-size:.95rem}
  .ml-player .vfa .mv-tabs{padding-top:1.3rem;row-gap:1.6rem}
}
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-split .lab .lab-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.35rem}
  .mlp-split .lab .lab-stat{padding:.45rem .5rem}
  .mlp-split .lab .lab-stat b{font-size:1.15rem}
  .mlp-split .lab .lab-stat small{font-size:9.5px;letter-spacing:.06em}
  .mlp-split .lab .lab-chips button{min-width:2.5rem;padding:.65rem .5rem;font-size:15px}
  .mlp-split .lab .lab-head p{font-size:.98rem}
}

/* ===== round 7: the intro, one screen, one button ===== */
.ml-player.on-intro .mlp-nav{display:none}
.mlp-in>.mlp-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem;align-items:center;min-height:calc(100vh - 150px);width:100%}
.ml-player .mlp-step.mlp-intro .mlp-in{max-width:1600px}
.mlp-intro .mlp-hero{display:none}
.mlp-intro-txt h1{font-size:clamp(2.6rem,6vw,5rem)!important;background:linear-gradient(90deg,#fff,#ffcf6b 60%,#ff8f3d);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.mlp-intro-txt .rounded-2xl{margin-top:.8rem}
.mlp-intro .mlp-go{min-height:64px;font-size:1.3rem;padding:0 2.2rem;animation:mlPulseBar 1.6s ease-in-out infinite}
.mlp-intro-vis .mg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}
.mlp-intro-vis .mv-card{width:100%}
.mlp-intro-vis .mv-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:14px;border:1px solid rgba(255,183,47,.35)}
.mlp-intro-vis .mv-frame>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mlp-intro-vis .mv-fs{display:none}
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-in>.mlp-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:2.4rem}
}
@media (max-height:500px){.mlp-intro-txt h1{font-size:2rem!important}.mlp-intro-txt .rounded-2xl,.mlp-sub{display:none}.mlp-intro .mlp-go{min-height:48px}}

/* ===== round 8 ===== */
.ml-player .mlp-in{padding-bottom:.6rem}
.ml-player .mlp-stage::after{display:none}
/* one point at a time */
.ml-hide{display:none!important}
.ml-in{animation:mlSlideIn .45s cubic-bezier(.2,1.2,.4,1)}
@keyframes mlSlideIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.ml-more-btn{all:unset;box-sizing:border-box;cursor:pointer;margin-top:.8rem;display:inline-flex;align-items:center;gap:.7rem;min-height:54px;padding:.35rem 1.3rem .35rem .4rem;border-radius:999px;background:linear-gradient(180deg,#ffc24a,#ffa514);color:#07101c;font:800 1.05rem/1 'Bricolage Grotesque',sans-serif;box-shadow:0 5px 0 #a4650a;transition:filter .2s}
.ml-more-btn.wait{background:rgba(15,32,54,.9);color:#cfe0f3;box-shadow:inset 0 0 0 2px rgba(139,166,198,.35);cursor:default}
.ml-ring{position:relative;width:44px;height:44px;flex:none}
.ml-ring svg{width:44px;height:44px;transform:rotate(-90deg)}
.ml-ring circle{fill:none;stroke:rgba(139,166,198,.25);stroke-width:4}
.ml-ring circle.p{stroke:#5ff0d6;stroke-linecap:round;stroke-dasharray:94.2;stroke-dashoffset:calc(94.2 * (1 - var(--p,0)))}
.ml-more-btn:not(.wait) .ml-ring circle{stroke:#07101c}
.ml-ring i{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:1rem}
.ml-more-btn.ml-pointme{animation:mlPulseBar 1.2s ease-in-out infinite}
/* checks: one question at a time */
.stepq .ml-qq[hidden]{display:none!important}
.stepq .ml-qq{border-top:0!important;padding-top:.2rem!important}
.stepq .ml-qq.gone{animation:mlOut .45s forwards}
@keyframes mlOut{to{opacity:0;transform:translateX(-30px)}}
/* the end: a real celebration */
.mlp-celebrate{text-align:center;margin:.4rem auto 1.4rem;padding:1.6rem 1rem 1.4rem;border-radius:26px;background:radial-gradient(ellipse at 50% 0%,rgba(255,207,107,.28),rgba(10,23,38,.6) 65%);border:2px solid rgba(255,207,107,.55);max-width:820px}
.mlp-trophy{font-size:4.5rem;line-height:1;animation:mlWin .8s cubic-bezier(.3,1.6,.5,1) both}
.mlp-celebrate h2{margin:.4rem 0 .2rem;font:900 clamp(2.4rem,6vw,4rem)/1 'Bricolage Grotesque',sans-serif;background:linear-gradient(90deg,#fff,#ffcf6b,#ff8f3d);-webkit-background-clip:text;background-clip:text;color:transparent}
.mlp-celebrate p{margin:0!important;font-size:1.25rem!important;color:#e8f0fa!important}
.mlp-xpbig{display:inline-block;margin-top:.9rem;padding:.55rem 1.2rem;border-radius:999px;background:rgba(255,207,107,.15);border:2px solid #ffcf6b;color:#ffcf6b;font:800 1.4rem/1 'Bricolage Grotesque',sans-serif}
.mlp-end .ml-end{max-width:820px;margin:0 auto}
.mlp-end .ml-done{display:none}

/* ===== 2026-11-25 round 9 ===== */
/* a friendly, rounded, easy-to-read font for every sentence (headings keep Bricolage) */
.ml-player{font-family:'Nunito',Manrope,ui-sans-serif,system-ui,sans-serif}
.ml-player p:not(.font-mono),.ml-player li,.ml-player .mv-cap,.ml-player .lab-msg,.ml-player .ml-fb,.ml-player .ml-q,.ml-player .ml-opts button{font-family:'Nunito',Manrope,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.005em}
.ml-player .mlp-words p,.ml-player .mlp-words li span,.ml-player .vfa .mv-cap{font-weight:700!important;color:#f1f6ff!important}
.ml-player .vfa .mv-cap b{color:#ffcf6b}
/* word meanings = blue, real people = pink */
.ml-term{color:#6fd3ff!important;border-bottom:2px dotted #6fd3ff!important;font-weight:800}
.ml-term.ml-person{color:#ff8fd8!important;border-bottom:2px solid #ff8fd8!important}
.ml-term:hover{color:#fff!important}
.ml-tip-pop b{color:#6fd3ff!important}
.ml-tip-pop.person b{color:#ff8fd8!important}
.ml-fb .ml-term{font-size:inherit}
.mlp-key{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .9rem;margin:0 0 1rem;padding:.55rem .9rem;border-radius:14px;background:rgba(15,32,54,.7);border:1px solid rgba(139,166,198,.25);font:700 1rem/1.3 'Nunito',sans-serif;color:#dbe7f5;width:fit-content;max-width:100%}
.mlp-key>b{font:800 .78rem/1 'Bricolage Grotesque',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#8ba6c6}
.mlp-key i{font-style:normal}
.mlp-key small{font-size:.85rem;color:#8ba6c6}
/* "Next point": a little smaller, and the countdown is quiet (faded, thin ring, smooth) */
.ml-more-btn{min-height:44px!important;font-size:.95rem!important;padding:.25rem 1rem .25rem .3rem!important;gap:.5rem!important;box-shadow:0 4px 0 #a4650a!important}
.ml-more-btn .ml-ring,.ml-more-btn .ml-ring svg{width:34px;height:34px}
.ml-more-btn.wait{opacity:.55;box-shadow:inset 0 0 0 1px rgba(139,166,198,.3)!important;animation:none!important}
.ml-more-btn.wait .ml-ring circle{stroke-width:2.5}
.ml-more-btn.wait .ml-ring circle.p{stroke:rgba(143,214,255,.8)}
.ml-more-btn .ml-ring i{font-size:.8rem;font-weight:800}
.ml-ring circle.p{transition:none}
.ml-sent{display:block}
.ml-sent+.ml-sent{margin-top:.4rem}
/* the six machines, one at a time */
.ml-player .mgrid .mg-grid{position:relative}
.mg-cell.mg-wait{border:2px dashed rgba(139,166,198,.22);border-radius:14px}
.mg-cell.mg-wait>*{visibility:hidden}
.mg-next{all:unset;box-sizing:border-box;position:absolute;z-index:8;width:62px;height:62px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;cursor:pointer;
  background:radial-gradient(circle at 40% 35%,#1d3a63,#0a1626);box-shadow:0 0 0 3px rgba(255,207,107,.9),0 10px 26px -6px rgba(0,0,0,.8),0 0 26px rgba(255,160,60,.55);transition:opacity .4s,box-shadow .4s}
.mg-next .mg-arr{width:38px;height:24px;transform:rotate(var(--ang,0));transition:transform .3s}
.mg-next .ml-ring{position:absolute;inset:-5px;width:auto;height:auto}
.mg-next .ml-ring svg{width:100%;height:100%}
.mg-next .ml-ring circle{stroke-width:2;stroke:transparent}
.mg-next .ml-ring i{inset:auto -6px -6px auto;width:22px;height:22px;border-radius:50%;background:#0a1626;color:#8fb6ff;font-size:.72rem;box-shadow:0 0 0 1px rgba(139,166,198,.4)}
.mg-next.wait{opacity:.45;cursor:default;box-shadow:0 0 0 2px rgba(139,166,198,.35),0 8px 20px -8px rgba(0,0,0,.8)}
.mg-next.wait .ml-ring circle.p{stroke:rgba(143,214,255,.75)}
.mg-next.wait .mg-arr{filter:grayscale(.7)}
.mg-next:not(.wait){animation:mgPop 1.4s ease-in-out infinite}
.mg-next:not(.wait) .ml-ring i{display:none}
.mg-next.last{width:70px;height:70px}
@keyframes mgPop{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.12)}}
.mg-locked .mlp-r{opacity:0;pointer-events:none}
.mlp-r{transition:opacity .5s}
/* TAP ME waits 10 s: a thin bar fills under the next tab first */
.ml-player.tap-wait .vfa .mv-tabs button.ml-unseen:not(.on):not(.ml-pointme)::after{display:none!important}
.ml-player.tap-wait .vfa .mv-tabs button.ml-pointme:not(.on)::after{content:""!important;top:auto!important;bottom:-8px;left:12%!important;transform:none!important;height:3px;width:76%;padding:0!important;border-radius:2px;background:rgba(143,182,255,.55)!important;box-shadow:none!important;transform-origin:left;animation:mlTapFill 10s linear forwards!important}
.ml-player.tap-wait .vfa .mv-tabs button.ml-pointme:not(.on){box-shadow:none!important}
@keyframes mlTapFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* an optional tab: dashed, never says TAP ME, not needed for Next */
.ml-player .vfa .mv-tabs button[data-opt]:not(.on){border-style:dashed!important;opacity:.85}
.ml-player .vfa .mv-tabs button[data-opt]::after{display:none!important}
/* lever classes: the class name sits on the video, the words and examples right under it */
.ml-badge{position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:4;display:flex;align-items:baseline;gap:.5rem;white-space:nowrap;padding:.4rem .8rem;border-radius:12px;background:linear-gradient(90deg,#ffcf6b,#ff9a3d);color:#1a0d00;font:800 .95rem/1 'Nunito',sans-serif;box-shadow:0 6px 16px -6px rgba(0,0,0,.7)}
.ml-badge b{font:900 1.15rem/1 'Bricolage Grotesque',sans-serif;letter-spacing:.02em}
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-split .vfa.ml-capbelow{--maxh:max(170px,calc(100vh - 560px))}
  .mlp-split .vfa.ml-capbelow .mv-cap{margin-top:.5rem}
  .mlp-split.pair{grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr)}
  .mlp-split.pair .mv{margin:0!important;--maxh:max(200px,calc(100vh - 420px))}
}
/* the lever lab's words: bigger, brighter, friendlier */
.ml-player .lab-head p{font-size:1.12rem!important;line-height:1.45;color:#eef4ff!important;font-weight:700}
.ml-player .lab-head p b{color:#ffcf6b}
.ml-player .lab-unit{display:block;margin-top:.25rem;font:700 .85rem/1.3 'Nunito',sans-serif;color:#8fd3ff}
.ml-player .mlp-in .lab .lab-stat small{font:800 .8rem/1.15 'Nunito',sans-serif!important;letter-spacing:.01em!important;text-transform:none!important;color:#8fd3ff}
.ml-player .mlp-in .lab .lab-stat b{font-family:'Bricolage Grotesque',sans-serif;color:#fff}
.ml-player .mlp-in .lab .lab-stat.eff b{color:#ffcf6b}
.ml-player .lab-lbs{font:700 .78rem/1.2 'Nunito',sans-serif;color:#a9c3e0}
.ml-player .lab-msg{font-size:1.08rem!important;line-height:1.45!important;font-weight:700;color:#f1f6ff!important;background:linear-gradient(90deg,rgba(255,183,47,.14),rgba(255,183,47,.03));border-left:4px solid #ffb72f;padding:.6rem .85rem;border-radius:10px}
.ml-player .lab-msg b{color:#ffcf6b;font-family:'Bricolage Grotesque',sans-serif;font-size:1.15rem}
@media (min-width:700px) and (min-aspect-ratio:4/3){.mlp-step:has(.mlp-tryhead) .mlp-split .vfa{--maxh:max(170px,calc(100vh - 530px))}}
.mlp-key>b{font:700 .72rem/1 ui-monospace,Consolas,monospace!important;letter-spacing:.18em!important;color:#5ff0d6!important;border-right:1px solid rgba(139,166,198,.3);padding-right:.8rem}.mlp-key{border-radius:8px!important;border-left:3px solid #5ff0d6!important;font-size:.92rem!important}.mlp-key i.ml-term{font:800 .8rem/1 ui-monospace,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;margin-right:.35rem}
/* round 10: tabs in order (locked ones faded with a lock), the lever classes big first */
.ml-player .vfa .mv-tabs button.ml-tablock:not(.on){opacity:.45!important;cursor:not-allowed!important}
.ml-player .vfa .mv-tabs button.ml-tablock:not(.on)::after{content:"\1F512"!important;background:none!important;box-shadow:none!important;color:#fff!important;font-size:13px!important;animation:none!important;top:-1.4rem!important}
.ml-player.tap-wait .vfa .mv-tabs button.ml-pointme.ml-tablock:not(.on)::after{content:""!important}
.mlp-split.mlp-max{display:block!important}
.mlp-split.mlp-max>.mlp-r{display:none!important}
.mlp-split.mlp-max .vfa.ml-capbelow{--maxh:max(200px,calc(100vh - 420px))!important}
/* the six machines: the grid fills the screen while they appear, then shrinks back beside the words */
.mg-locked .mlp-split{display:block!important}
.mg-locked .mlp-split>.mlp-r{display:none!important}
.mg-locked .mgrid{max-width:min(100%,calc((100vh - 330px) * 2.55));margin:0 auto!important}
/* lever classes after Next: the words under the video were already read, so it goes back to the normal look with the points on the right */
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-split:not(.mlp-max) .vfa.ml-capbelow .mv-card>.mv-cap,.mlp-split:not(.mlp-max) .vfa.ml-capbelow .mv-card>.ml-facts,.mlp-split:not(.mlp-max) .vfa.ml-capbelow .mv-card>.ml-unit{display:none}
  .mlp-split:not(.mlp-max) .vfa.ml-capbelow{--maxh:max(220px,calc(100vh - 390px))!important}
}
/* references: one page, small previews in a tidy grid */
.ml-player .ml-refs .ml-part-body{gap:.8rem}
.ml-player .ml-refs .vg-card,.ml-player .ml-refs .vg-feature{max-width:360px}
.ml-player .ml-refs .vg-row{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem;overflow:visible!important}
.ml-player .ml-refs .th{max-height:150px}
/* lever classes, big view: the video on the left, its words and examples right beside it, so the whole thing fits one screen */
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-split.mlp-max .vfa.ml-capbelow{--maxh:max(220px,calc(100vh - 440px))!important}
  .mlp-split.mlp-max .vfa.ml-capbelow .mv-pair:not(.ml-labpair) .mv-card{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);column-gap:1.3rem;align-items:start;width:100%!important;max-width:none!important}
  .mlp-split.mlp-max .vfa.ml-capbelow .mv-pair:not(.ml-labpair) .mv-card>.mv-frame{grid-column:1;grid-row:1 / span 4;max-height:var(--maxh);width:auto;max-width:100%}
  .mlp-split.mlp-max .vfa.ml-capbelow .mv-pair:not(.ml-labpair) .mv-card>:not(.mv-frame){grid-column:2}
  .mlp-split.mlp-max .vfa.ml-capbelow .mv-card>.mv-cap{margin-top:0!important}
  .mlp-split.mlp-max .vfa.ml-capbelow .mv-pair:not(.ml-labpair){width:100%!important;max-width:none!important}
  .mlp-split.mlp-max .vfa.ml-capbelow .ml-facts{flex-wrap:wrap}
  .mlp-split.mlp-max .vfa.ml-capbelow .ml-fact{flex:1 1 100px}
  .mlp-split.mlp-max .vfa{max-width:none!important;width:100%}
}
@media (min-width:700px) and (min-aspect-ratio:4/3){.mlp-split.mlp-max .lab .lab-stage svg{max-height:calc(100vh - 530px)!important}.mlp-split.mlp-max .lab .lab-body{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)!important}.mlp-split.mlp-max .lab .lab-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.mlp-split .vfa.ml-capbelow .ml-labcard>.mv-cap{display:none!important}
/* references page: compact, everything on one page, small previews */
.ml-player .mlp-step:has(.ml-refs) .mlp-in{max-width:1560px!important}
.ml-player .ml-refs :has(> .ml-part){display:block!important;columns:3 420px;column-gap:.7rem}
.ml-player .ml-refs .ml-part{break-inside:avoid;display:inline-block!important;width:100%;margin:0 0 .7rem!important}
.ml-player .ml-refs .ml-part{margin:0!important;padding:.6rem .75rem!important}
.ml-player .ml-refs .ml-part-body{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:.5rem!important}
.ml-player .ml-refs .vg-row{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:.45rem!important}
.ml-player .ml-refs .vg-card{max-width:none!important;min-width:0!important;width:auto!important}
.ml-player .ml-refs .th{height:84px!important;max-height:84px!important;aspect-ratio:auto!important;min-height:0!important}
.ml-player .ml-refs .vg-card b,.ml-player .ml-refs .vg-card h4{font-size:.82rem!important;line-height:1.2!important}
.ml-player .ml-refs .vg-card p,.ml-player .ml-refs .vg-card small{font-size:.72rem!important}
.ml-player .ml-refs .vg-play{transform:scale(.6)}
.ml-player .ml-refs .ml-lbl{margin:.1rem 0 .3rem!important;font-size:.8rem!important}
.ml-player .ml-refs .vg-h{margin-bottom:.35rem!important}
.ml-player .ml-refs .ml-bcard{padding:.45rem!important}.ml-player .ml-refs .ml-bcard p{display:none!important}.ml-player .ml-refs .ml-bcard h4{font-size:.95rem!important}.ml-player .ml-refs .ml-bcard video,.ml-player .ml-refs .ml-bcard .mv-frame{max-height:110px!important}.ml-player .ml-refs .ml-bcard a{font-size:.75rem!important;padding:.3rem .5rem!important}
/* progress bar: one piece per page, with "Page 3 of 14" */
.ml-player .mlp-bar.mlp-segs{flex:none;display:flex;align-items:center;gap:.8rem;height:auto!important;padding:.45rem 1rem .5rem;background:rgba(7,16,28,.85)!important;border-bottom:1px solid rgba(139,166,198,.15)}
.mlp-segrow{flex:1;display:flex;gap:5px}



@keyframes mlSegPulse{50%{filter:brightness(1.25)}}
.mlp-segt{flex:none;font:800 .95rem/1 'Nunito',sans-serif;color:#cfe0f3;white-space:nowrap;padding:.35rem .7rem;border-radius:999px;background:rgba(15,32,54,.9);border:1px solid rgba(139,166,198,.3)}
.mlp-segt strong{color:#ffcf6b;font-size:1.1rem}
.ml-player .mlp-count{display:none}
@media (max-width:640px){.mlp-segrow{gap:3px}.mlp-segrow i{height:9px}.mlp-segt{font-size:.8rem}}
/* a lab screen: the lab fills the screen until it has been used; then the words, then Next shows the quick check */
.mlp-split.mlp-qwait .mlp-r .ml-quiz{display:none!important}
@media (min-width:700px) and (min-aspect-ratio:4/3){
  .mlp-split.mlp-max>.mlp-l>.lab .lab-stage svg{max-height:calc(100vh - 430px)!important}
  .mlp-split.mlp-max>.mlp-l>.lab .lab-body{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)!important}
}
/* lab choice buttons in order: lock / 4 s clock / flashing arrow */
.ml-player .lab-chips button{position:relative;overflow:visible!important}
.ml-player .lab-chips button.ml-chlock{opacity:.4;cursor:not-allowed}
.ml-player .lab-chips button.ml-chlock::after{content:"\1F512";position:absolute;top:-.85rem;left:50%;transform:translateX(-50%);font-size:11px;line-height:1}
.ml-player .lab-chips button.ml-chclock{opacity:.7;cursor:wait;box-shadow:inset 0 0 0 2px rgba(143,214,255,.5)}
.ml-player .lab-chips button.ml-chclock::after{content:attr(data-t);position:absolute;top:-1.05rem;left:50%;transform:translateX(-50%);min-width:1.2rem;height:1.2rem;border-radius:50%;display:grid;place-items:center;font:800 .68rem/1 'Nunito',sans-serif;color:#8fd3ff;background:#0a1626;box-shadow:0 0 0 2px rgba(143,214,255,.6)}
.ml-player .lab-chips button.ml-chgo{box-shadow:0 0 0 3px #ffcf6b,0 0 16px rgba(255,170,60,.7)!important;animation:mlPulseBar 1.2s ease-in-out infinite}
.ml-player .lab-chips button.ml-chgo::after{content:"\2193";position:absolute;top:-1.35rem;left:50%;transform:translateX(-50%);font:900 1.1rem/1 'Nunito',sans-serif;color:#ffcf6b;animation:mlChBob .8s ease-in-out infinite;text-shadow:0 0 8px rgba(255,170,60,.8)}
@keyframes mlChBob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,5px)}}
.ml-player .lab-chips{padding-top:1.2rem;overflow:visible!important}
/* the blue "ANIMATION" tag on videos: removed */
.mv-lbl.diagram{display:none!important}

/* a tab's words that just came up: yellow, with a quick glow */
.mlp-capset.ml-new .mv-cap{color:#ffcf6b!important}
.mlp-capset.ml-new .mv-cap b{color:#fff!important}
.mlp-capset.ml-new{animation:mlNewCap 1.2s ease-out}
@keyframes mlNewCap{0%{filter:drop-shadow(0 0 0 rgba(255,207,107,0))}30%{filter:drop-shadow(0 0 14px rgba(255,207,107,.8))}100%{filter:none}}
.mlp-intro-txt h1.long{font-size:clamp(2rem,3.6vw,3.4rem)!important}
@media (min-width:700px) and (min-aspect-ratio:4/3){.mlp-step:has(.ml-deeper) .mlp-split .vfa{--maxh:max(200px,calc(100vh - 480px))!important}}
/* the quick check is on: the points were read, the check takes their place */
.mlp-split.ml-quizon .mlp-r > .mlp-words{display:none!important}
/* chapter quiz finished: the score takes the place of the last question (no scrolling) */
.ml-player .ml-final.ml-quizdone .ml-qq{display:none!important}
.ml-player .ml-final.ml-quizdone .ml-score{font:800 1.35rem/1.35 'Nunito',sans-serif;color:#ffcf6b;margin-top:1rem}
@media (min-width:700px) and (min-aspect-ratio:4/3){.ml-player .ml-quiz.paged .ml-qq .ml-qmedia .mv-frame{height:max(200px,calc(100vh - 500px))!important}}

/* ---------------------------------------------------------------- point pictures (2026-11-29): a picture tab, its points come one at a time and pop markers onto the parts */
.ml-htmlcard .pp-pic{position:relative;min-width:0}
.pp-frame{position:relative;width:min(100%,calc(64vh * var(--ar)));aspect-ratio:var(--ar);margin:0 auto;border-radius:14px;overflow:hidden;background:#f4eee4}
.pp-frame img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;margin:0!important;float:none!important}
.pp-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.pp-lines line{stroke:#ffb020;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linecap:round;opacity:0;transition:opacity .3s}
.pp-mk{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
.pp-dot{position:absolute;left:var(--x);top:var(--y);width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:#ffb020;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.45);display:grid;place-items:center;font:900 .78rem/1 'Nunito',sans-serif;color:#07101c;transform:scale(0);transition:transform .35s cubic-bezier(.3,1.6,.5,1);pointer-events:auto;cursor:pointer}
.pp-lb{position:absolute;left:var(--lx);top:var(--ly);transform:translate(-50%,-50%) scale(0);padding:.35rem .7rem;border-radius:10px;background:#07101c;color:#fff;font:800 clamp(.8rem,1.5vw,1.05rem)/1.15 'Bricolage Grotesque',sans-serif;white-space:nowrap;box-shadow:0 0 0 2px #ffb020,0 4px 14px rgba(0,0,0,.5);transition:transform .35s cubic-bezier(.3,1.6,.5,1) .1s;pointer-events:auto;cursor:pointer}
.pp-mk.on .pp-dot{transform:scale(.8);background:#5ff0d6}
.pp-mk.on .pp-lb{transform:translate(-50%,-50%) scale(.85);opacity:.75;box-shadow:0 0 0 2px #5ff0d6}
.pp-mk.on line{opacity:.35;stroke:#5ff0d6}
.pp-mk.now .pp-dot{transform:scale(1.15);background:#ffb020;animation:ppPulse 1.3s ease-out infinite}
.pp-mk.now .pp-lb{transform:translate(-50%,-50%) scale(1);opacity:1;box-shadow:0 0 0 3px #ffb020,0 6px 18px rgba(0,0,0,.55)}
.pp-mk.now line{opacity:1;stroke:#ffb020}
@keyframes ppPulse{0%{box-shadow:0 0 0 0 rgba(255,176,32,.75)}100%{box-shadow:0 0 0 22px rgba(255,176,32,0)}}
.pp-src{margin:.45rem 0 0;text-align:center;font:600 .68rem/1.3 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:rgba(207,224,243,.5)}
.mv-cap.ml-pp{display:block;margin-top:.6rem}
.ml-pp .pp-title{display:block;margin:0 0 .5rem;font:800 1.2rem/1.2 'Bricolage Grotesque',sans-serif;color:#fff}
.pp-pts{list-style:none;margin:0;padding:0;display:grid;gap:.4rem;min-width:0}
.pp-pt{display:none;gap:.6rem;align-items:flex-start;padding:.55rem .75rem;border-radius:12px;background:rgba(15,32,54,.7);color:#cfe0f3;font:600 1.02rem/1.4 'Nunito',sans-serif;cursor:pointer;min-width:0}
.pp-pt span{min-width:0}
.pp-pt.on{display:flex;opacity:.6}
.pp-pt.now{display:flex;opacity:1;color:#fff;box-shadow:0 0 0 2px #ffb020;background:rgba(40,30,8,.55);animation:ppIn .4s ease-out}
.pp-pt i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#5ff0d6;color:#07101c;font:900 .8rem/1 'Nunito',sans-serif;font-style:normal;margin-top:.05rem}
.pp-pt.now i{background:#ffb020}
.pp-pt b{color:#ffcf6b}
@keyframes ppIn{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
.ml-player .pp-pt.on:not(.now){padding:.3rem .7rem;font-size:.9rem}
.ml-player .pp-pt.on:not(.now) span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ml-player .pp-pt.on:not(.now) i{width:22px;height:22px}
/* the one-page summary: every point and marker shown */
.ml-pp.pp-all .pp-pt{display:flex;opacity:1}
.pp-pic.pp-all .pp-mk .pp-dot{transform:scale(.9)}
.pp-pic.pp-all .pp-mk .pp-lb{transform:translate(-50%,-50%) scale(.85)}
.pp-pic.pp-all .pp-mk line{opacity:.7}
.pp-pic.pp-all .pp-mk.now .pp-dot{transform:scale(1.15)}
.ml-quiz.pp-wait{display:none!important}
.ml-player .pp-frame{width:min(100%,calc((100vh - 440px) * var(--ar)))}
@media (max-width:860px){.ml-player .pp-frame{width:min(100%,calc(42vh * var(--ar)))}.ml-player .pp-pt.on:not(.now){display:none}.ml-player .pp-src{font-size:.6rem;margin-top:.25rem}}
.mlp-r:has(.mlp-capset:not([hidden]) .ml-pp:not(.done)) .mlp-words .ml-more-btn{display:none!important}
/* 2026-11-29: every new point gets a bright green BORDER that pulses three times, then stops (no fill) */
@keyframes mlNewRing{0%{box-shadow:0 0 0 0 rgba(255,207,59,0)}25%{box-shadow:0 0 0 2px #ffcf3b,0 0 16px 1px rgba(255,207,59,.55)}100%{box-shadow:0 0 0 0 rgba(255,207,59,0)}}
.ml-player .mlp-words .ml-pt,.ml-player .mlp-words p > .ml-sent{display:block;padding:.3rem .6rem;margin:.25rem -.6rem;border-radius:12px}
.ml-player .mlp-words .ml-pt .ml-sent{display:inline;padding:0;margin:0}
.ml-player .mlp-words li{border-radius:12px}
.ml-player .mlp-words .ml-in{animation:mlSlideIn .45s cubic-bezier(.2,1.2,.4,1),mlNewRing 1.4s ease-out .2s 1}
.ml-player .pp-pt.now{animation:ppIn .4s ease-out,mlNewRing 1.4s ease-out .2s 1}
.vc-cue .pp-lb small{display:block;font:700 .72em/1.2 'Nunito',sans-serif;color:#cfe0f3;margin-top:.1rem}
.vc-cue{pointer-events:none}
.vc-cue .pp-dot{width:18px;height:18px;margin:-9px 0 0 -9px}
/* small "used in" tiles (more than four facts): half size, four in a row */
.ml-facts.sm{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.4rem!important;margin-top:.5rem!important}
.ml-facts.sm .ml-fact{padding:.35rem .55rem!important;min-height:0!important;border-radius:10px!important}
.ml-facts.sm .ml-fact b{font-size:.82rem!important;line-height:1.15!important}
.ml-facts.sm .ml-fact span{font-size:.7rem!important;line-height:1.2!important}
@media (max-width:860px){.ml-facts.sm{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:860px){.pp-lb{left:clamp(3.2rem,var(--lx),calc(100% - 3.2rem));font-size:.66rem!important;padding:.2rem .4rem!important;white-space:normal;max-width:6.2rem;text-align:center}.vc-cue .pp-lb small{font-size:.85em}}
/* ---------------------------------------------------------------- FLOW pages (2026-11-29): one point at a time, new ones at the bottom */
.flow-box{display:flex;flex-direction:column;gap:.55rem;max-height:calc(100vh - 410px);overflow-y:auto;padding:.15rem .4rem .15rem .1rem;scrollbar-width:thin;scroll-behavior:smooth}
.flow-box[hidden]{display:none!important}
.flow-pt{flex:none;padding:.7rem .9rem;border-radius:14px;background:rgba(15,32,54,.78);box-shadow:inset 0 0 0 1px rgba(139,166,198,.18);color:#e8f0fa;font:600 1.04rem/1.55 'Nunito',sans-serif;animation:mlSlideIn .4s cubic-bezier(.2,1.2,.4,1)}
.flow-pt b{color:#ffcf6b}
.flow-pt.gone{display:none}
.flow-pt.new{animation:mlSlideIn .4s cubic-bezier(.2,1.2,.4,1),mlNewRing 1.4s ease-out .2s 1}
.flow-pt .ml-facts{margin-top:.55rem!important}
.flow-n,.ml-flow .flow-n{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffb020;color:#07101c;font:900 .78rem/1 'Nunito',sans-serif;font-style:normal;margin-right:.45rem;vertical-align:1px}
.flow-next{align-self:flex-start;margin-top:.6rem!important}
.flow-next[hidden]{display:none!important}
.ml-quiz.flow-wait{display:none!important}
.ml-flowstep .ml-tabhint{display:none!important}
.ml-flowstep .mv-tabs{gap:.3rem!important;margin-bottom:.5rem!important}
.ml-flowstep .mv-tabs button{padding:.3rem .65rem!important;font-size:.6rem!important;min-height:0!important}
.ml-flowstep .pp-frame{width:min(100%,calc((100vh - 395px) * var(--ar)))!important}
.ml-flowstep .mv-cap b:empty{display:none}
@media (max-width:860px){.flow-box{max-height:34vh}.ml-flowstep .pp-frame{width:min(100%,calc(40vh * var(--ar)))!important}}
/* the one-page summary: the points as a plain list */
.ml-flow{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.5rem}
.ml-flow li{padding:.6rem .85rem;border-radius:12px;background:rgba(15,32,54,.5);color:#dbe6f3;line-height:1.6}
.ml-flow li b{color:#ffcf6b}

.ml-player .ml-flowstep .vfa .mv-tabs button::after{content:none!important;display:none!important}
.ml-player .ml-flowstep .vfa .mv-tabs button{animation:none!important}
/* 2026-11-30: coloured key words (no background), a picture under a point, "?" tips on a picture, pictures in checks */
.kw{color:#6fd3ff;font-weight:800}
.flow-pt .kw{color:#6fd3ff}
.flow-img{display:block;margin:.65rem auto 0;max-width:min(70%,300px);border-radius:10px;box-shadow:0 0 0 1px rgba(139,166,198,.25)}
.ml-flow .flow-img{max-width:240px}
.pp-frame.has-q{overflow:visible}
.pp-frame.has-q img{border-radius:14px}
.pp-q{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:28px;height:28px;padding:0;border-radius:50%;background:#0b1a2e;color:#ffcf6b;border:2px solid #ffcf6b;font:900 .9rem/1 'Nunito',sans-serif;cursor:pointer;z-index:3;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.pp-q:hover,.pp-q.open{background:#ffcf6b;color:#07101c}
.pp-q.open::after{content:attr(data-tip);position:absolute;top:125%;left:50%;transform:translateX(-50%);width:min(250px,62vw);padding:.55rem .7rem;border-radius:10px;background:#07101c;color:#fff;font:600 .8rem/1.4 'Nunito',sans-serif;text-align:left;box-shadow:0 0 0 2px #ffcf6b,0 8px 20px rgba(0,0,0,.6);white-space:normal;z-index:6}
.pp-q.r.open::after{left:auto;right:-6px;transform:none}
.pp-q.up.open::after{top:auto;bottom:125%}
.ml-flowstep .pp-frame.big{width:min(100%,calc((100vh - 368px) * var(--ar)))!important}
.ml-qimg{margin:0 0 .6rem}
.ml-qimg img{display:block;max-height:210px;max-width:100%;margin:0 auto;border-radius:10px;box-shadow:0 0 0 1px rgba(139,166,198,.25)}
.ml-qmedia img{display:block;max-height:220px;max-width:100%;margin:0 auto;border-radius:10px}

/* PREVIEW ONLY (2026-11-30): the owner's fast-next button */
.ml-player .mlp-nav .mlp-fast{all:unset;box-sizing:border-box;cursor:pointer;margin-left:.5rem!important;padding:.6rem .95rem!important;border-radius:999px!important;background:#7c4dff!important;color:#fff!important;font:800 .85rem/1 'Bricolage Grotesque',sans-serif!important;box-shadow:0 4px 0 #4a2aa8!important;flex:none}
.mlp-fast:active{transform:translateY(2px);box-shadow:0 2px 0 #4a2aa8}

/* 2026-11-30: flow tabs are clickable once reached (locked ones look dim) */
.ml-player .ml-flowstep .vfa .mv-tabs button{cursor:pointer}
.ml-player .ml-flowstep .vfa .mv-tabs button.ml-tablock{opacity:.45;cursor:not-allowed}
.ml-player .ml-flowstep .vfa .mv-tabs button.ml-seen:not(.on):hover{box-shadow:0 0 0 2px #5ff0d6}
/* PREVIEW ONLY: editor-mode switch */
.ml-player .mlp-nav .mlp-edit{all:unset;box-sizing:border-box;cursor:pointer;margin-left:.4rem!important;padding:.6rem .85rem!important;border-radius:999px!important;background:#2a3c55!important;color:#cfe0f3!important;font:800 .8rem/1 'Bricolage Grotesque',sans-serif!important;box-shadow:0 4px 0 #142133!important;flex:none}
.ml-player .mlp-nav .mlp-edit.on{background:#ff4fa3!important;color:#fff!important;box-shadow:0 4px 0 #a52366!important}

/* 2026-11-30 (v2): the progress bar: hexagon nodes on a line, every page titled; finished = teal tick, current = yellow dot */
.ml-player .mlp-bar.mlp-segs{padding:.5rem 1rem .45rem!important;gap:1rem!important;background:#06111f!important;border-bottom:1px solid rgba(139,166,198,.14)}
.ml-player .mlp-segrow{flex:1;display:flex!important;gap:0!important;padding:.15rem .4rem .1rem;border:1px solid rgba(139,166,198,.28);border-radius:10px;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);background:rgba(10,24,40,.55)}
.ml-player .mlp-segrow i{position:relative;flex:1;min-width:0;height:auto!important;background:none!important;box-shadow:none!important;border-radius:0;display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.2rem 0 .15rem;font-style:normal;cursor:default;animation:none!important}
.ml-player .mlp-segrow i::before{content:"";position:absolute;top:calc(.2rem + 13px);right:50%;width:100%;height:3px;margin-top:-1.5px;background:rgba(139,166,198,.3);z-index:0}
.ml-player .mlp-segrow i:first-child::before{width:50%}
.ml-player .mlp-segrow i.done::before,.ml-player .mlp-segrow i.now::before{background:#33e6c4;box-shadow:0 0 8px rgba(51,230,196,.6)}
.ml-player .mlp-segrow i .hx{position:relative;z-index:1;width:30px;height:27px;display:grid;place-items:center;font-weight:900}
.ml-player .mlp-segrow i .hx svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ml-player .mlp-segrow i .hx polygon{fill:#0a1828;stroke:rgba(139,166,198,.45);stroke-width:2.5;stroke-linejoin:round}
.ml-player .mlp-segrow i .hx em{position:relative;font-style:normal;line-height:1}
.ml-player .mlp-segrow i span{display:block!important;max-width:100%;padding:0 .2rem;font:800 .74rem/1.15 'Nunito',sans-serif;color:#8ea3bb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.ml-player .mlp-segrow i.done .hx polygon{stroke:#33e6c4;filter:drop-shadow(0 0 4px rgba(51,230,196,.8))}
.ml-player .mlp-segrow i.done .hx em::before{content:"\2713";color:#5ff0d6;font-size:.95rem}
.ml-player .mlp-segrow i.done span{color:#5ff0d6}
.ml-player .mlp-segrow i.now .hx polygon{stroke:#ffcf3b;filter:drop-shadow(0 0 6px rgba(255,207,59,.9))}
.ml-player .mlp-segrow i.now .hx em{width:9px;height:9px;border-radius:50%;background:#ffcf3b;box-shadow:0 0 8px #ffcf3b}
.ml-player .mlp-segrow i.now span{color:#ffcf3b}
.ml-player .mlp-segrow i.open{cursor:pointer}
.ml-player .mlp-segrow i.done:hover .hx polygon{fill:#0f2e34}
.ml-player.ml-editor .mlp-segrow i:not(.done):not(.now) .hx polygon{stroke:rgba(255,79,163,.6)}
.ml-player .mlp-segt{flex:none;padding:.4rem .85rem!important;border-radius:999px!important;background:rgba(255,207,59,.08)!important;border:2px solid #ffcf3b!important;color:#ffcf3b!important;font:900 1rem/1 'Nunito',sans-serif!important;letter-spacing:.04em;box-shadow:0 0 10px rgba(255,207,59,.25)}
@media (max-width:760px){.ml-player .mlp-segrow i span{display:none!important}.ml-player .mlp-segrow i.now span{display:block!important;position:absolute;top:100%;white-space:nowrap;overflow:visible;font-size:.66rem;z-index:3}
  .ml-player .mlp-segrow i .hx{width:18px;height:16px}.ml-player .mlp-segrow i::before{top:calc(.2rem + 8px)}.ml-player .mlp-segrow i.done .hx em::before{font-size:.6rem}.ml-player .mlp-segrow i.now .hx em{width:6px;height:6px}
  .ml-player .mlp-segrow{padding-bottom:.9rem}.ml-player .mlp-segt{font-size:.8rem!important;padding:.3rem .55rem!important}}
/* pop-ups (references, For the nerds) */
.ml-pop-ov{position:fixed;inset:0;z-index:2147483000;background:rgba(3,8,16,.72);display:grid;place-items:center;padding:4vh 3vw;animation:mlSlideIn .25s ease-out}
.ml-pop-box{position:relative;width:min(980px,100%);max-height:92vh;overflow:auto;border-radius:18px;background:#0c1a2c;box-shadow:0 0 0 1px rgba(139,166,198,.25),0 20px 60px rgba(0,0,0,.6);padding:1.4rem 1.4rem 1.2rem}
.ml-pop-x{position:sticky;top:0;float:right;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ffcf3b;color:#07101c;font:900 1.5rem/1 sans-serif;cursor:pointer;z-index:2}
.ml-pop-body h3.nerd-h{margin:0 0 .8rem;font:800 1.35rem/1.2 'Bricolage Grotesque',sans-serif;color:#fff}
.ml-pop-body .nerd p{margin:.55rem 0;color:#dbe6f3;font:600 1.02rem/1.6 'Nunito',sans-serif}
.ml-pop-body .nerd .eq{display:block;margin:.7rem 0;padding:.7rem .9rem;border-radius:12px;background:#07101c;color:#ffcf6b;font:700 1.1rem/1.4 'JetBrains Mono',monospace;box-shadow:inset 0 0 0 1px rgba(255,207,59,.4)}
.nerd-link{color:#ffcf3b!important;font-weight:900;text-decoration:none;border-bottom:2px dashed #ffcf3b;cursor:pointer}
.ref-link{color:#6fd3ff!important;font-weight:900;text-decoration:none;border-bottom:2px solid #6fd3ff;cursor:pointer}

/* hex bar fixes: no old bar fill behind the hexagons; the row may shrink; a bit slimmer */
.ml-player .mlp-segrow{min-width:0;overflow:hidden}
.ml-player .mlp-segrow i{flex:1 1 0!important;padding:.12rem 0 .08rem!important}
.ml-player .mlp-segrow i .hx{display:grid!important;width:27px!important;height:24px!important;background:none!important;transition:none!important}
.ml-player .mlp-segrow i::before{top:calc(.12rem + 12px)!important}
.ml-player .mlp-segrow i span{font-size:.7rem!important}
.ml-player .mlp-bar.mlp-segs{padding:.35rem 1rem .3rem!important}
@media (max-width:760px){.ml-player .mlp-segrow i .hx{width:18px!important;height:16px!important}.ml-player .mlp-segrow i::before{top:calc(.12rem + 8px)!important}}

/* ================================================================ 2026-11-30 THEME v2 (the owner's ChatGPT mock-up): deep blue waves,
   glowing blue panels, gold / purple / pink pill buttons, pink future hexagons. Shared by every lesson (chapters 1 and 2). */
.ml-player{background:
  radial-gradient(120% 60% at 85% -10%,rgba(64,140,255,.32),transparent 60%),
  radial-gradient(90% 55% at -10% 110%,rgba(40,110,230,.28),transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M0 640 C 300 560 520 720 820 650 S 1320 520 1600 600 L1600 900 L0 900Z' fill='%231a4a92' fill-opacity='.35'/%3E%3Cpath d='M0 720 C 360 650 600 800 930 730 S 1380 640 1600 700 L1600 900 L0 900Z' fill='%23123a7a' fill-opacity='.45'/%3E%3Cpath d='M900 0 C 1100 90 1300 40 1600 120 L1600 0Z' fill='%232f6fd0' fill-opacity='.22'/%3E%3C/svg%3E") center/100% 100% no-repeat,
  linear-gradient(180deg,#0a2350 0%,#0b2a5c 45%,#081e44 100%)!important}
.ml-player .mlp-top{background:rgba(6,20,46,.72)!important;border-bottom:1px solid rgba(90,150,240,.28)!important;padding:.7rem 1.1rem!important;backdrop-filter:blur(6px)}
.ml-player .mlp-home{border:1px solid rgba(120,170,240,.45)!important;border-radius:14px!important;color:#e8f0fb!important;background:rgba(10,30,64,.6)}
.ml-player .mlp-ch{font-size:1.15rem!important;color:#fff!important;font-weight:700}
.ml-player .mlp-ch b{color:#ffc23a!important;font:900 .95rem/1 'Nunito',sans-serif!important;letter-spacing:.06em!important;margin-right:.7rem!important}
.ml-player .mlp-xp{border:2px solid #ffc23a!important;background:rgba(255,194,58,.12)!important;color:#ffd36b!important;border-radius:999px!important;font-weight:900!important}
.ml-player .mlp-sum{border:1.5px solid rgba(200,220,255,.55)!important;color:#fff!important;font-weight:800!important;padding:0 1.2rem!important;background:rgba(10,30,64,.4)}
.ml-player .mlp-bar.mlp-segs{background:rgba(6,20,46,.6)!important;border-bottom:1px solid rgba(90,150,240,.22)!important}
.ml-player .mlp-segrow{border:none!important;clip-path:none!important;background:none!important}
.ml-player .mlp-segrow i span{color:#e8f0fb!important;font-size:.76rem!important}
.ml-player .mlp-segrow i.done span{color:#5ff0d6!important}
.ml-player .mlp-segrow i.now span{color:#ffc23a!important}
.ml-player .mlp-segrow i:not(.done):not(.now) .hx polygon{stroke:#ff4fa3!important;fill:#0b2350!important;filter:drop-shadow(0 0 3px rgba(255,79,163,.55))}
.ml-player .mlp-segrow i.now .hx polygon{stroke:#ffc23a!important}
.ml-player .mlp-segrow i::before{background:rgba(170,190,230,.45)!important}
.ml-player .mlp-segrow i.done::before,.ml-player .mlp-segrow i.now::before{background:#33e6c4!important}
.ml-player .mlp-segt{border:2.5px solid #ffc23a!important;color:#ffd36b!important;background:rgba(255,194,58,.06)!important;font-size:1.15rem!important;padding:.5rem 1rem!important}
/* the picture / video panel and the point cards */
.ml-player .mv.vfa,.ml-player .mgrid{background:linear-gradient(180deg,rgba(22,58,112,.55),rgba(14,40,84,.55))!important;border:1.5px solid rgba(90,150,240,.55)!important;border-radius:22px!important;box-shadow:0 0 22px rgba(60,130,240,.18),inset 0 1px 0 rgba(255,255,255,.06)!important}
.ml-player .flow-pt{background:linear-gradient(180deg,rgba(24,60,116,.8),rgba(16,44,92,.8))!important;box-shadow:inset 0 0 0 1.5px rgba(90,150,240,.55)!important;border-radius:16px!important;color:#f2f6fc!important}
.ml-player .flow-pt b{color:#ffc23a!important}
.ml-player .flow-pt.key{box-shadow:inset 0 0 0 2px #ffc23a,0 0 14px rgba(255,194,58,.25)!important}
.ml-player .flow-box{scrollbar-color:rgba(200,220,255,.6) rgba(10,30,64,.4)}
/* buttons */
.ml-player .ml-more-btn:not(.wait){background:linear-gradient(180deg,#ffd04f,#ffae1a)!important;color:#0b1a33!important;box-shadow:0 5px 0 #b06e08,0 10px 24px -10px rgba(255,174,26,.8)!important;border-radius:999px!important;font-size:1.15rem!important;min-height:54px!important;padding:.35rem 1.4rem .35rem .45rem!important}
.ml-player .ml-more-btn:not(.wait) .ml-ring circle{stroke:#0b1a33!important}
.ml-player .ml-more-btn.wait{background:rgba(14,40,84,.85)!important;box-shadow:inset 0 0 0 1.5px rgba(120,170,240,.45)!important}
.ml-player .mlp-nav{background:rgba(6,20,46,.72)!important;border-top:1px solid rgba(90,150,240,.28)!important}
.ml-player .mlp-nav .mlp-back{border:1.5px solid rgba(200,220,255,.55)!important;background:rgba(10,30,64,.4)!important;color:#fff!important;border-radius:999px!important}
.ml-player .mlp-nav .mlp-next.locked{background:rgba(120,140,170,.35)!important;color:rgba(230,238,250,.7)!important;box-shadow:none!important}
.ml-player .mlp-nav .mlp-next:not(.locked){background:linear-gradient(180deg,#ffd04f,#ffae1a)!important;color:#0b1a33!important}
.ml-player .mlp-nav .mlp-fast{background:linear-gradient(180deg,#8a5cff,#6a3ef0)!important;box-shadow:0 4px 0 #4322a8!important;padding:.7rem 1.1rem!important;font-size:.95rem!important}
.ml-player .mlp-nav .mlp-edit.on{background:linear-gradient(180deg,#ff5fb1,#ff3d96)!important;box-shadow:0 4px 0 #a5195a!important;padding:.7rem 1.1rem!important;font-size:.95rem!important}
.ml-player .mlp-nav .mlp-edit:not(.on){padding:.7rem 1.1rem!important;font-size:.95rem!important}
/* level chip next to the title */
.ml-player .mlp-in > div:first-child > span:first-child{border-color:#33e6c4!important;color:#5ff0d6!important;background:rgba(51,230,196,.08)!important}
/* small transparent pictures next to a point (oil can, pendulum clock) */
.flow-ic{float:right;width:64px;height:64px;object-fit:contain;margin:-.2rem -.2rem .2rem .6rem;filter:drop-shadow(0 3px 6px rgba(0,0,0,.4))}
.ml-flow .flow-ic{width:56px;height:56px}
/* the point box scrolls so the newest point always lands whole, with no half-cut point at the top */
.flow-box{position:relative}
.flow-box::after{content:"";display:block;flex:none;height:var(--sp,0px)}
/* references: a 3-column grid; the springs group (with its LEGO build) spans two columns, its videos in two columns */
.ml-player .ml-refs :has(> .ml-part){display:grid!important;columns:auto!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:start}
.ml-player .ml-refs .ml-part{display:block!important;width:auto!important}
.ml-player .ml-refs .ml-part:not(.nolego){grid-column:span 2}
.ml-player .ml-refs .ml-part:not(.nolego) .ml-part-body{grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important}
.ml-player .ml-refs .ml-part:not(.nolego) .vg-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media (max-width:1100px){.ml-player .ml-refs :has(> .ml-part){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.ml-player .ml-refs :has(> .ml-part){grid-template-columns:1fr}.ml-player .ml-refs .ml-part:not(.nolego){grid-column:auto}}
/* 2026-12-03: the References tab is two labelled blocks, "References" (videos used in the lesson) and "Extra help" (good explainers per mechanism) */
.ml-refhead{display:flex;align-items:center;gap:.85rem;margin:1.2rem 0 .65rem;padding:.6rem .9rem;border-radius:14px;border:1px solid rgba(139,166,198,.2);background:rgba(10,23,38,.55)}
.ml-refhead:first-child{margin-top:0}
.ml-refhead .vg-chip{font-size:10px;padding:.48rem .7rem}
.ml-refhead.help{border-color:rgba(255,207,107,.28);background:linear-gradient(90deg,rgba(255,207,107,.08),rgba(10,23,38,.55) 60%)}
.ml-refhead.help .vg-chip{border-color:rgba(255,207,107,.55);background:rgba(255,207,107,.12);color:#ffcf6b}
.ml-refhead h3{margin:0;font:800 1.05rem/1.2 'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;letter-spacing:-.015em;color:#fff}
.ml-refhead p{margin:.15rem 0 0;font-size:.8rem;line-height:1.35;color:rgba(207,224,243,.75)}
.ml-refs .vg-groups{margin-top:0}
.ml-refs .vg-groups+.vg-sources{margin-top:1.2rem}
@media (min-width:1101px){.ml-player .ml-refs .ml-refhead.help~.vg-groups .vg-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}   /* three explainers per mechanism: one row of three */
@media (max-width:760px){.ml-refhead{align-items:flex-start;gap:.6rem;padding:.55rem .7rem}.ml-refhead .vg-chip{margin-top:.15rem}}
/* 2026-11-30: the main page background goes back to the original dark navy; panels, point cards and buttons keep the new blue style */
.ml-player{background:radial-gradient(ellipse at 30% 0%,#13284a 0%,#07101c 55%) #07101c!important}
.ml-player .mlp-top,.ml-player .mlp-nav{background:rgba(7,16,28,.88)!important;border-color:rgba(139,166,198,.18)!important}
.ml-player .mlp-bar.mlp-segs{background:rgba(7,16,28,.85)!important;border-bottom:1px solid rgba(139,166,198,.15)!important}
.ml-player{background:radial-gradient(ellipse at 30% 0%,#13284a 0%,transparent 60%),radial-gradient(ellipse at 85% 100%,#11264a 0%,transparent 60%),linear-gradient(180deg,#0b1a30,#0a182c) #0a182c!important}

/* 2026-11-30: a chapter cover grid of everything it teaches (up to 12 tiles) */
.ml-cover{display:none}
.mlp-intro-vis .ml-cover{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}
.ml-cover .cv{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#0d1d33;box-shadow:inset 0 0 0 1.5px rgba(120,170,240,.45)}
.ml-cover .cv img,.ml-cover .cv video{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block}
.ml-cover .cv span{position:absolute;left:.35rem;bottom:.35rem;padding:.2rem .5rem;border-radius:8px;background:rgba(7,16,28,.85);color:#fff;font:800 .72rem/1.1 'Nunito',sans-serif;box-shadow:inset 0 0 0 1px rgba(255,194,58,.6)}
@media (max-width:760px){.mlp-intro-vis .ml-cover{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ml-player .pp-src,.ml-player .mlp-in p.pp-src{font-size:.68rem!important;line-height:1.3!important;letter-spacing:.06em}

/* 2026-11-30: chapter 3 only, gear-shaped progress nodes (lesson.js GEARBAR) */
.ml-player .mlp-gears .mlp-segrow i .hx{width:31px!important;height:31px!important}
.ml-player .mlp-gears .mlp-segrow i::before{top:calc(.12rem + 15.5px)!important}
.ml-player .mlp-gears .mlp-segrow i .hx polygon{stroke-width:2.2}
.ml-player .mlp-gears .mlp-segrow i .hx circle{fill:none;stroke:#ff4fa3;stroke-width:2.2}
.ml-player .mlp-gears .mlp-segrow i.now .hx circle{stroke:#ffc23a}
.ml-player .mlp-gears .mlp-segrow i.done .hx circle{display:none}
/* finished = a solid teal cog with a dark tick, no glow (the glowing spiky outline looked like a virus) */
.ml-player .mlp-gears .mlp-segrow i.done .hx polygon{fill:#33e6c4!important;stroke:#1fb89c!important;stroke-width:1!important;filter:none!important}
.ml-player .mlp-gears .mlp-segrow i.done:hover .hx polygon{fill:#5ff0d6!important}
.ml-player .mlp-gears .mlp-segrow i.done .hx em::before{color:#06222a!important;font-size:.9rem;font-weight:900}
.ml-player .mlp-gears .mlp-segrow i.now .hx em{width:7px;height:7px}
@media (max-width:760px){.ml-player .mlp-gears .mlp-segrow i .hx{width:20px!important;height:20px!important}.ml-player .mlp-gears .mlp-segrow i::before{top:calc(.12rem + 10px)!important}}
/* a type's opening sentence: plain text under the renamed title, no card border (lesson.js pageTitle) */
.ml-player .flow-pt.plain{border-color:transparent!important;background:none!important;box-shadow:none!important;padding-left:.15rem!important;font-size:1.2rem!important;line-height:1.45!important}
.ml-player .flow-pt.plain::before,.ml-player .flow-pt.plain::after{display:none!important}
.pg-t,.pg-p,.pg-g{display:none}
.ml-player .flow-pt.gap{margin-bottom:1.5rem!important}
/* 2026-12-01: the type's name starts its sentence, in yellow ("Flat belt: a wide, smooth band...") */
.ml-player .flow-pt .pg-n{color:#ffc23a!important;font-weight:900}
/* every new point flashes its border yellow once; an outline, because the cards' box-shadow is locked with !important */
@keyframes mlNewOutline{0%{outline-color:rgba(255,207,59,0)}22%{outline-color:#ffcf3b}100%{outline-color:rgba(255,207,59,0)}}
.ml-player .flow-pt.new{outline:3px solid rgba(255,207,59,0);outline-offset:2px;animation:mlSlideIn .4s cubic-bezier(.2,1.2,.4,1),mlNewOutline 1.5s ease-out .15s 1}
.ml-player h2.pg-new{animation:pgNew .4s ease-out}
@keyframes pgNew{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* four answers: a neat 2 x 2 grid instead of 3 + 1 (wide screens) */
@media (min-width:761px){.ml-player .ml-quiz .ml-opts:has(> button:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}.ml-player .ml-quiz .ml-opts:has(> button:nth-child(4):last-child) > button{width:auto!important;max-width:none!important}}
/* a key phrase in yellow inside a point card */
.yl,.flow-pt .yl{color:#ffc23a;font-weight:900}
/* 2026-12-02: answers with a picture of the part (coupling check) */
.ml-player .ml-opts button:has(.opt-pic){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:.75rem!important;text-align:left!important;padding:.45rem .8rem .45rem .45rem!important}
.ml-player .ml-opts .opt-pic{flex:none;display:block;line-height:0}
.ml-player .ml-opts .opt-pic img{width:90px!important;height:60px!important;max-width:none!important;object-fit:cover;border-radius:10px;display:block;box-shadow:0 0 0 2px rgba(255,255,255,.18)}
.ml-player .ml-opts .opt-t{flex:1 1 auto}
/* 2026-12-02: chapter 4 progress bar = the owner's metal icons. Coming up: dim grey. Now: full metal + gold glow. Done: teal-tinted. */
.ml-player .mlp-icons .mlp-segrow i .hx{width:42px!important;height:42px!important;background:none!important;border:0!important;box-shadow:none!important;clip-path:none!important}
.ml-player .mlp-icons .mlp-segrow i .hx em{display:none!important}
.ml-player .mlp-icons .mlp-segrow i::before{top:calc(.12rem + 21px)!important}
.ml-player .mlp-icons .mlp-segrow i .bi{width:42px;height:42px;display:block;object-fit:contain;filter:grayscale(1) brightness(.55) opacity(.75);transition:filter .3s,transform .3s}
.ml-player .mlp-icons .mlp-segrow i.open .bi{filter:grayscale(1) brightness(.75)}
.ml-player .mlp-icons .mlp-segrow i.done .bi{filter:sepia(1) hue-rotate(125deg) saturate(2.4) brightness(1.08) drop-shadow(0 0 4px rgba(51,230,196,.55))}
.ml-player .mlp-icons .mlp-segrow i.now .bi{filter:drop-shadow(0 0 7px rgba(255,194,58,.95)) drop-shadow(0 0 2px #ffc23a);transform:scale(1.18)}
.ml-player .mlp-icons .mlp-segrow i:hover .bi{transform:scale(1.12)}
@media (max-width:760px){.ml-player .mlp-icons .mlp-segrow i .hx,.ml-player .mlp-icons .mlp-segrow i .bi{width:19px!important;height:19px!important}.ml-player .mlp-icons .mlp-segrow i::before{top:calc(.12rem + 9.5px)!important}.ml-player .mlp-icons .mlp-segrow i.now .bi{transform:scale(1.35)}}
.ml-player a.ml-ext{color:#5fd8ff;font-weight:800;text-decoration:underline;text-underline-offset:3px}

/* 2026-12-02: the three kinds of motion (chapter 5) get their own colour, not the vocab style */
.mo,.ml-player .flow-pt b.mo,.ml-player b.mo{color:#5ef08f!important;font-weight:900}

/* 2026-12-02: a point that points at a grid tile: the tile flashes yellow and an arrow points at it for 2 s */
.pg-f{display:none}
.mg-cell{position:relative}
@keyframes mgFlash{0%,100%{box-shadow:0 0 0 0 rgba(255,207,59,0)}20%,70%{box-shadow:0 0 0 5px #ffcf3b,0 0 26px 6px rgba(255,207,59,.65)}}
.mg-cell.mg-flash{animation:mgFlash 2s ease-in-out 1;border-radius:14px;z-index:3}
@keyframes mgArrow{0%,100%{transform:translateY(-50%) translateX(0)}50%{transform:translateY(-50%) translateX(12px)}}
.mg-cell .mg-arrow{position:absolute;right:-58px;top:50%;width:54px;height:40px;z-index:5;pointer-events:none;animation:mgArrow .5s ease-in-out 4;
  background:#ffcf3b;clip-path:polygon(0 50%,45% 0,45% 28%,100% 28%,100% 72%,45% 72%,45% 100%);filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
/* 2026-12-03: Deep dive button (every kind ever made, in detail) next to "Read as one page", and in-text deep dive links */
.ml-player .mlp-deep{flex:none;display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0 1.1rem;margin-right:.5rem;border-radius:999px;text-decoration:none;font-weight:800;font-size:.92rem;color:#1b1203;background:linear-gradient(180deg,#ffd76a,#f4b232);box-shadow:0 0 0 1.5px rgba(255,214,106,.6),0 4px 14px rgba(244,178,50,.25)}
.ml-player .mlp-deep:hover{filter:brightness(1.08)}
@media (max-width:760px){.ml-player .mlp-deep{min-height:36px;padding:0 .7rem;font-size:.8rem}}
@media (max-width:520px){.ml-player .mlp-deep{font-size:0;padding:0 .5rem;margin-right:.3rem;justify-content:center}.ml-player .mlp-deep:before{content:"\1F4DA";font-size:1.05rem}}   /* phones: the book icon only, so "Read as one page" still fits */
a.ml-deeplink{color:#ffd76a;font-weight:800;text-decoration:underline dotted;text-underline-offset:3px}

/* 2026-12-03 v4: course clips inside a pop-up (the 'More: the clutch in a real car' extra) */
.ml-pop-body .nerd .pop2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem;margin:.8rem 0}
.ml-pop-body .nerd figure{margin:0;min-width:0}
.ml-pop-body .nerd video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;border-radius:12px;background:#07101c;box-shadow:0 0 0 1px rgba(139,166,198,.25)}
.ml-pop-body .nerd figcaption{margin:.35rem 0 0;color:#9fb4cc;font:700 .9rem/1.3 'Nunito',sans-serif}
@media (max-width:640px){.ml-pop-body .nerd .pop2{grid-template-columns:1fr}}
