/* assets/labs-posters.css — the Labs posters on the homepage (9 Nov 2026). Markup: includes/labs_posters.php.
   Every poster shows its FINISHED picture by default (that is what still / reduce-motion / weak phones see).
   The moving version only runs inside .lp-grid.run (on screen). Only transform and opacity move, so it stays smooth. */

.lp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; perspective: 900px; }
/* 22 Nov 2026: the Tools (Labs) grid has 12 cards with Shadowing + Translate: 4 across on a computer = 3 full rows */
@media (min-width: 1001px) { .lp-grid.lp-labs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.lp { --k: #6d4ee0; --t: #fff; position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 262px; border-radius: 22px; overflow: hidden;
  background: var(--k); color: var(--t); text-decoration: none; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 34px -22px var(--k), 0 2px 6px -2px rgba(18,16,46,.25);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; will-change: transform; -webkit-tap-highlight-color: transparent; }
.lp:hover { --ty: -6px; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 28px 44px -22px var(--k), 0 4px 10px -4px rgba(18,16,46,.3); }
.lp:active { transform: scale(.97); transition-duration: .12s; }
.lp:focus-visible { outline: 3px solid #f0b429; outline-offset: 3px; }

/* the picture area: a soft moving colour blob behind the drawing */
.lp-art { position: relative; height: 152px; flex: none; overflow: hidden; }
.lp-blob { position: absolute; width: 190px; height: 160px; right: -50px; top: -60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.34), rgba(255,255,255,0)); }
.lp::before { content: ""; position: absolute; z-index: -1; left: -60px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.09); }
.lp-sc { position: absolute; left: 50%; top: 50%; width: 180px; height: 130px; margin: -62px 0 0 -90px; }
.lp-sc i, .lp-sc span, .lp-sc b, .lp-sc svg { position: absolute; display: block; font-style: normal; }
@media (max-width: 620px) { .lp { min-height: 236px; border-radius: 18px; } .lp-art { height: 132px; } .lp-sc { transform: scale(.8); } }
@media (max-width: 360px) { .lp-sc { transform: scale(.7); } }

.lp-tx { position: relative; display: grid; gap: 3px; padding: 4px 16px 18px; }
.lp-tx b { font: 800 17px/1.2 Inter, system-ui, sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.lp-tx small { font-size: 12.5px; line-height: 1.38; opacity: .86; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 620px) { .lp-tx { padding: 2px 12px 14px; } .lp-tx b { font-size: 15px; } .lp-tx small { font-size: 12px; -webkit-line-clamp: 2; } }
.lp-go { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.2); color: var(--t); transform: translateX(-4px); opacity: 0; transition: opacity .25s, transform .25s; }
.lp:hover .lp-go, .lp:focus-visible .lp-go { opacity: 1; transform: none; }
@media (hover: none) { .lp-go { opacity: .9; transform: none; width: 26px; height: 26px; } }
/* the shine that follows the mouse */
.lp-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px 180px at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.28), rgba(255,255,255,0) 70%); }
.lp:hover .lp-shine { opacity: 1; }

/* the colours (white text on all but the gold one) */
.p1 { --k: #6d4ee0; } .p2 { --k: #d6246e; } .p3 { --k: #0b7fb0; } .p4 { --k: #4f46e5; } .p5 { --k: #c2570c; }
.p6 { --k: #f0b429; --t: #1a1400; } .p7 { --k: #0f8a5f; } .p8 { --k: #0d8a86; } .p9 { --k: #e11d48; } .p10 { --k: #241f5c; }
html.dark .lp, html[data-theme="dark"] .lp { box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 18px 34px -20px rgba(0,0,0,.7); }

/* ═══ the pictures (finished state first) ═══ */
/* 1 · AI writing checker: a page is scanned, a mistake is found and fixed, then the band badge pops */
.p1 .pg { left: 16px; top: 4px; width: 112px; height: 118px; border-radius: 9px; background: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); }
.p1 .ln { left: 30px; height: 6px; border-radius: 3px; background: rgba(42,26,110,.2); }
.p1 .ln.a { top: 24px; width: 82px; } .p1 .ln.b { top: 42px; width: 64px; } .p1 .ln.c { top: 60px; width: 84px; } .p1 .ln.d { top: 78px; width: 52px; }
.p1 .beam { left: 16px; top: 4px; width: 112px; height: 18px; border-radius: 6px; background: linear-gradient(180deg, rgba(109,78,224,0), rgba(109,78,224,.38)); opacity: 0; }
.p1 .wave { left: 64px; top: 50px; width: 32px; height: 4px; border-bottom: 3px dotted #e11d48; opacity: 0; }
.p1 .ok { left: 98px; top: 36px; width: 18px; height: 18px; border-radius: 50%; background: #0f9d6e; color: #fff; font: 800 11px/18px Inter, sans-serif; text-align: center; }
.p1 .band { right: 2px; bottom: 6px; padding: 8px 10px 6px; border-radius: 12px; background: #f0b429; color: #1a1400; font: 400 26px/1 Anton, Impact, "Arial Narrow", sans-serif; transform: rotate(-6deg); box-shadow: 0 10px 18px -8px rgba(0,0,0,.5); }
.p1 .ring { right: -6px; bottom: -4px; width: 74px; height: 62px; border-radius: 50%; border: 2px solid #ffe28a; opacity: 0; }
.run .p1 .beam { animation: p1beam 5.2s ease-in-out infinite; }
.run .p1 .wave { animation: p1wave 5.2s infinite; }
.run .p1 .ok { animation: p1ok 5.2s infinite; }
.run .p1 .band { animation: p1band 5.2s cubic-bezier(.3,1.6,.5,1) infinite; }
.run .p1 .ring { animation: p1ring 5.2s ease-out infinite; }
@keyframes p1beam { 0% { opacity: 0; transform: translateY(0); } 6% { opacity: 1; } 34% { opacity: 1; transform: translateY(100px); } 40%, 100% { opacity: 0; transform: translateY(100px); } }
@keyframes p1wave { 0%, 18% { opacity: 0; } 22%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes p1ok { 0%, 42% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.25); } 56%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes p1band { 0%, 56% { transform: scale(0) rotate(-30deg); } 66% { transform: scale(1.18) rotate(-10deg); } 74%, 95% { transform: scale(1) rotate(-6deg); } 100% { transform: scale(0) rotate(-6deg); } }
@keyframes p1ring { 0%, 62% { opacity: 0; transform: scale(.6); } 66% { opacity: 1; } 84%, 100% { opacity: 0; transform: scale(1.5); } }

/* 2 · Writing Lab: the four parts of an essay drop into place, one by one */
.p2 .blk { left: 24px; width: 122px; height: 23px; border-radius: 8px; background: #fff; color: #b0124f; font: 800 11px/23px Inter, sans-serif; padding-left: 26px;
  box-shadow: 0 6px 12px -8px rgba(0,0,0,.45); }
.p2 .blk::before { content: ""; position: absolute; left: 8px; top: 7px; width: 10px; height: 9px; border-radius: 3px; background: #f0b429; }
.p2 .b1 { top: 4px; } .p2 .b2 { top: 34px; width: 140px; } .p2 .b3 { top: 64px; width: 140px; } .p2 .b4 { top: 94px; width: 104px; }
.p2 .nib { right: 2px; top: 6px; width: 12px; height: 34px; border-radius: 3px 3px 7px 7px; background: #1a1400; transform: rotate(18deg); }
.p2 .nib::after { content: ""; position: absolute; left: 2px; bottom: -7px; border: 4px solid transparent; border-top: 7px solid #f0b429; }
.run .p2 .blk { animation: p2drop 5.4s cubic-bezier(.3,1.5,.5,1) infinite both; }
.run .p2 .b2 { animation-delay: .35s; } .run .p2 .b3 { animation-delay: .7s; } .run .p2 .b4 { animation-delay: 1.05s; }
.run .p2 .nib { animation: p2nib 5.4s ease-in-out infinite; }
@keyframes p2drop { 0% { opacity: 0; transform: translateY(-46px) rotate(-6deg); } 10% { opacity: 1; transform: translateY(4px) rotate(1deg); } 15%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(26px); } }
@keyframes p2nib { 0%, 100% { transform: translateY(0) rotate(18deg); } 20% { transform: translateY(30px) rotate(18deg); } 40% { transform: translateY(60px) rotate(18deg); } 60%, 80% { transform: translateY(88px) rotate(18deg); } }

/* 3 · Speaking Lab: the mic pulses, the voice bars dance, speech bubbles float up */
.p3 .mic { left: 77px; top: 18px; width: 26px; height: 44px; border-radius: 13px; background: #fff; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.p3 .mic::after { content: ""; position: absolute; left: -9px; top: 22px; width: 40px; height: 26px; border: 3px solid #fff; border-top: 0; border-radius: 0 0 22px 22px; }
.p3 .pulse { left: 60px; top: 10px; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); opacity: 0; }
.p3 .eq { left: 46px; bottom: 6px; width: 88px; height: 34px; display: flex !important; align-items: flex-end; gap: 6px; }
.p3 .eq i { position: static; width: 7px; height: 100%; border-radius: 4px; background: #9ef0ff; transform-origin: 50% 100%; }
.p3 .eq i:nth-child(1) { transform: scaleY(.35); } .p3 .eq i:nth-child(2) { transform: scaleY(.7); } .p3 .eq i:nth-child(3) { transform: scaleY(1); } .p3 .eq i:nth-child(4) { transform: scaleY(.55); }
.p3 .eq i:nth-child(5) { transform: scaleY(.85); } .p3 .eq i:nth-child(6) { transform: scaleY(.45); } .p3 .eq i:nth-child(7) { transform: scaleY(.25); }
.p3 .bub { padding: 6px 9px; border-radius: 12px; background: #fff; color: #0b5d80; font: 800 10.5px/1 Inter, sans-serif; white-space: nowrap; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4); }
.p3 .q1 { left: 0; top: 10px; border-bottom-left-radius: 3px; } .p3 .q2 { right: -6px; top: 44px; border-bottom-right-radius: 3px; background: #f0b429; color: #1a1400; }
.run .p3 .pulse { animation: p3pulse 2.4s ease-out infinite; } .run .p3 .r2 { animation-delay: 1.2s; }
.run .p3 .eq i { animation: p3eq .9s ease-in-out infinite alternate; }
.run .p3 .eq i:nth-child(2) { animation-delay: -.3s; } .run .p3 .eq i:nth-child(3) { animation-delay: -.6s; } .run .p3 .eq i:nth-child(4) { animation-delay: -.15s; }
.run .p3 .eq i:nth-child(5) { animation-delay: -.45s; } .run .p3 .eq i:nth-child(6) { animation-delay: -.75s; } .run .p3 .eq i:nth-child(7) { animation-delay: -.2s; }
.run .p3 .q1 { animation: p3bub 4.8s ease-out infinite; } .run .p3 .q2 { animation: p3bub 4.8s ease-out 2.4s infinite both; }
@keyframes p3pulse { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes p3eq { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
@keyframes p3bub { 0% { opacity: 0; transform: translateY(14px) scale(.6); } 10% { opacity: 1; transform: translateY(0) scale(1.06); } 16%, 40% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-14px); } }

/* 4 · Spelling Lab: hear the word, the letters flip in, one wrong letter shakes red and turns green */
.p4 .spk { left: 66px; top: 0; font-size: 30px; line-height: 1; }
.p4 .tiles { left: 0; top: 50px; width: 180px; display: flex !important; gap: 5px; justify-content: center; }
.p4 .tiles i { position: static; width: 25px; height: 32px; border-radius: 7px; background: #fff; color: #2f2a8f; font: 800 18px/32px Inter, sans-serif; text-align: center; text-transform: uppercase;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.5); }
.p4 .tiles i.x { background: #0f9d6e; color: #fff; }
.run .p4 .spk { animation: p4spk 5s ease-in-out infinite; }
.run .p4 .tiles i { animation: p4flip 5s ease-out infinite both; }
.run .p4 .tiles i:nth-child(2) { animation-delay: .15s; } .run .p4 .tiles i:nth-child(4) { animation-delay: .45s; } .run .p4 .tiles i:nth-child(5) { animation-delay: .6s; } .run .p4 .tiles i:nth-child(6) { animation-delay: .75s; }
.run .p4 .tiles i.x { animation: p4x 5s ease-out .3s infinite both; }
@keyframes p4spk { 0%, 100% { transform: scale(1); } 6% { transform: scale(1.25) rotate(-8deg); } 12% { transform: scale(1); } }
@keyframes p4flip { 0%, 8% { opacity: 0; transform: rotateX(90deg); } 16%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(10px); } }
@keyframes p4x { 0%, 8% { opacity: 0; transform: rotateX(90deg); background: #e11d48; color: #fff; } 16% { opacity: 1; transform: none; background: #e11d48; }
  22% { transform: translateX(-4px); } 26% { transform: translateX(4px); } 30% { transform: translateX(-3px); } 34% { transform: none; background: #e11d48; }
  40% { transform: rotateY(90deg); background: #e11d48; } 41% { background: #0f9d6e; } 48%, 88% { opacity: 1; transform: none; background: #0f9d6e; } 96%, 100% { opacity: 0; } }

/* 5 · Typing Academy: words appear on the screen as the keys go down */
.p5 .scr { left: 10px; top: 0; width: 160px; height: 36px; border-radius: 9px; background: rgba(0,0,0,.24); padding: 9px 10px; }
.p5 .scr b { position: relative; display: inline-block; font: 700 13.5px/18px ui-monospace, Menlo, Consolas, monospace; color: #fff; white-space: nowrap; overflow: hidden; vertical-align: top; width: 14ch; }
.p5 .car { position: relative !important; display: inline-block !important; width: 2px; height: 16px; background: #f0b429; vertical-align: top; margin-left: 1px; }
.p5 .kb { left: 10px; top: 46px; width: 160px; display: grid !important; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.p5 .kb i { position: static; height: 16px; border-radius: 4px; background: rgba(255,255,255,.9); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.p5 .kb .sp { grid-column: 3 / 8; }
.p5 .wpm { right: 2px; bottom: 0; padding: 6px 9px; border-radius: 10px; background: #1a1400; color: #f0b429; font: 800 11px/1 Inter, sans-serif; }
.run .p5 .scr b { animation: p5type 4.6s steps(14) infinite; }
.run .p5 .car { animation: p5car .7s steps(1) infinite; }
.run .p5 .kb i { animation: p5key 1.15s ease-in-out infinite; }
.run .p5 .kb i:nth-child(3n) { animation-delay: .2s; } .run .p5 .kb i:nth-child(4n+1) { animation-delay: .5s; } .run .p5 .kb i:nth-child(5n+2) { animation-delay: .8s; } .run .p5 .kb i:nth-child(7n) { animation-delay: .35s; }
.run .p5 .kb .sp { animation-duration: 1.6s; }
.run .p5 .wpm { animation: p5wpm 4.6s ease-out infinite; }
@keyframes p5type { 0% { width: 0; } 70%, 100% { width: 14ch; } }
@keyframes p5car { 50% { opacity: 0; } }
@keyframes p5key { 0%, 60%, 100% { transform: none; box-shadow: 0 2px 0 rgba(0,0,0,.25); background: rgba(255,255,255,.9); } 70% { transform: translateY(2px); box-shadow: none; background: #ffe28a; } }
@keyframes p5wpm { 0%, 66% { opacity: 0; transform: translateY(8px) scale(.8); } 74% { opacity: 1; transform: scale(1.1); } 80%, 100% { opacity: 1; transform: none; } }

/* 6 · Score calculator: the correct answers roll, the band rolls with them */
.p6 .calc { left: 6px; top: 26px; width: 168px; height: 62px; border-radius: 16px; background: #fff; box-shadow: 0 12px 22px -12px rgba(0,0,0,.45); display: flex !important; align-items: center; justify-content: center; gap: 6px; }
.p6 .raw, .p6 .bd { position: relative !important; height: 36px; overflow: hidden; border-radius: 9px; }
.p6 .raw { width: 38px; background: #fff3d1; } .p6 .bd { width: 52px; background: #1a1400; }
.p6 .raw span, .p6 .bd span { position: static; font: 400 26px/36px Anton, Impact, "Arial Narrow", sans-serif; text-align: center; }
.p6 .raw span { color: #1a1400; } .p6 .bd span { color: #f0b429; }
.p6 .of, .p6 .eq { position: static !important; font: 800 14px/1 Inter, sans-serif; color: #6b5a12; }
.run .p6 .raw span, .run .p6 .bd span { animation: p6roll 5s cubic-bezier(.5,0,.3,1) infinite; }
.run .p6 .bd span { animation-delay: .15s; }
.run .p6 .calc { animation: p6pop 5s ease-in-out infinite; }
@keyframes p6roll { 0%, 14% { transform: translateY(0); } 24%, 38% { transform: translateY(-36px); } 48%, 62% { transform: translateY(-72px); } 74%, 100% { transform: translateY(-108px); } }
@keyframes p6pop { 0%, 72% { transform: none; } 78% { transform: scale(1.06) rotate(-1.5deg); } 86%, 100% { transform: none; } }

/* 7 · Study materials: the papers fan open and a PDF tag drops on top */
.p7 .doc { left: 54px; top: 8px; width: 72px; height: 96px; border-radius: 8px; background: #fff; box-shadow: 0 10px 18px -10px rgba(0,0,0,.45); transform-origin: 50% 100%; }
.p7 .d3 { background: #c9f2de; transform: rotate(-16deg) translateX(-14px); } .p7 .d2 { background: #e8fbf2; transform: rotate(-6deg) translateX(-4px); } .p7 .d1 { transform: rotate(9deg) translateX(14px); }
.p7 .d1 b { position: absolute; left: 12px; height: 5px; border-radius: 3px; background: rgba(15,138,95,.35); }
.p7 .d1 b:nth-child(1) { top: 18px; width: 44px; } .p7 .d1 b:nth-child(2) { top: 32px; width: 36px; } .p7 .d1 b:nth-child(3) { top: 46px; width: 42px; }
.p7 .pdf { left: 104px; top: 70px; padding: 6px 8px; border-radius: 8px; background: #e11d48; color: #fff; font: 800 11px/1 Inter, sans-serif; transform: rotate(8deg); box-shadow: 0 6px 12px -6px rgba(0,0,0,.5); }
.run .p7 .d3 { animation: p7d3 5s ease-in-out infinite; } .run .p7 .d2 { animation: p7d2 5s ease-in-out infinite; } .run .p7 .d1 { animation: p7d1 5s ease-in-out infinite; }
.run .p7 .pdf { animation: p7pdf 5s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes p7d3 { 0%, 100% { transform: rotate(0); } 20%, 80% { transform: rotate(-16deg) translateX(-14px); } }
@keyframes p7d2 { 0%, 100% { transform: rotate(0); } 20%, 80% { transform: rotate(-6deg) translateX(-4px); } }
@keyframes p7d1 { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(9deg) translateX(14px); } 45% { transform: rotate(9deg) translate(14px, -10px); } 60%, 80% { transform: rotate(9deg) translateX(14px); } }
@keyframes p7pdf { 0%, 30% { opacity: 0; transform: translateY(-40px) rotate(-20deg); } 40%, 82% { opacity: 1; transform: rotate(8deg); } 92%, 100% { opacity: 0; transform: rotate(8deg) scale(.6); } }

/* 8 · Tips & strategies: a light bulb switches on and its rays turn */
.p8 .rays { left: 50px; top: 0; width: 80px; height: 80px; }
.p8 .rays i { left: 38px; top: -6px; width: 4px; height: 16px; border-radius: 2px; background: #ffe27a; transform-origin: 2px 46px; }
.p8 .rays i:nth-child(2) { transform: rotate(45deg); } .p8 .rays i:nth-child(3) { transform: rotate(90deg); } .p8 .rays i:nth-child(4) { transform: rotate(135deg); }
.p8 .rays i:nth-child(5) { transform: rotate(180deg); } .p8 .rays i:nth-child(6) { transform: rotate(225deg); } .p8 .rays i:nth-child(7) { transform: rotate(270deg); } .p8 .rays i:nth-child(8) { transform: rotate(315deg); }
.p8 .glow { left: 50px; top: 0; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,226,122,.75), rgba(255,226,122,0)); }
.p8 .bulb { left: 68px; top: 16px; width: 44px; height: 46px; border-radius: 50% 50% 46% 46%; background: #ffe27a; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.p8 .base { left: 78px; top: 62px; width: 24px; height: 16px; border-radius: 3px 3px 8px 8px; background: repeating-linear-gradient(180deg, #e6ecf2 0 4px, #b9c4ce 4px 6px); }
.run .p8 .rays { animation: p8spin 9s linear infinite; }
.run .p8 .glow { animation: p8glow 2.6s ease-in-out infinite; }
.run .p8 .bulb { animation: p8on 5.2s steps(1) infinite; }
@keyframes p8spin { to { transform: rotate(360deg); } }
@keyframes p8glow { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes p8on { 0%, 8% { background: #ffe27a; } 9%, 12% { background: #cfd8e0; } 13%, 16% { background: #ffe27a; } 17%, 19% { background: #cfd8e0; } 20%, 100% { background: #ffe27a; } }

/* 9 · My progress: the bars grow and the line climbs to the top */
.p9 .bars { left: 8px; bottom: 6px; width: 164px; height: 92px; display: flex !important; align-items: flex-end; gap: 14px; padding: 0 6px; }
.p9 .bars i { position: static; flex: 1; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.26); transform-origin: 50% 100%; }
.p9 .bars i:nth-child(1) { height: 26%; } .p9 .bars i:nth-child(2) { height: 40%; } .p9 .bars i:nth-child(3) { height: 36%; } .p9 .bars i:nth-child(4) { height: 62%; } .p9 .bars i:nth-child(5) { height: 84%; }
.p9 .line { left: 0; top: 4px; width: 180px; height: 110px; overflow: visible; }
.p9 .line polyline { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 230; stroke-dashoffset: 0; }
.p9 .line circle { fill: #f0b429; stroke: #fff; stroke-width: 3; transform-origin: 174px 18px; }
.run .p9 .bars i { animation: p9bar 5s cubic-bezier(.3,1.4,.5,1) infinite both; }
.run .p9 .bars i:nth-child(2) { animation-delay: .12s; } .run .p9 .bars i:nth-child(3) { animation-delay: .24s; } .run .p9 .bars i:nth-child(4) { animation-delay: .36s; } .run .p9 .bars i:nth-child(5) { animation-delay: .48s; }
.run .p9 .line polyline { animation: p9draw 5s ease-in-out infinite; }
.run .p9 .line circle { animation: p9dot 5s cubic-bezier(.3,1.8,.5,1) infinite; }
@keyframes p9bar { 0% { transform: scaleY(0); } 14%, 86% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@keyframes p9draw { 0%, 12% { stroke-dashoffset: 230; } 52%, 88% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 230; } }
@keyframes p9dot { 0%, 50% { transform: scale(0); } 58% { transform: scale(1.5); } 64%, 88% { transform: scale(1); } 96%, 100% { transform: scale(0); } }

/* 10 · Leaderboard: the podium rises, the cup jumps and confetti falls */
.p10 .pod { bottom: 4px; width: 46px; border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,.9); color: #241f5c; font: 400 22px/1 Anton, Impact, sans-serif; text-align: center; padding-top: 8px; transform-origin: 50% 100%; }
.p10 .s1 { left: 67px; height: 64px; background: #f0b429; color: #1a1400; } .p10 .s2 { left: 19px; height: 46px; } .p10 .s3 { left: 115px; height: 32px; background: #ffd9b8; }
.p10 .cup { left: 72px; top: 8px; font-size: 34px; line-height: 1; }
.p10 .cf { width: 7px; height: 10px; border-radius: 2px; top: -8px; opacity: 0; }
.p10 .cf:nth-of-type(5) { left: 14px; background: #f0b429; } .p10 .cf:nth-of-type(6) { left: 40px; background: #ff6b9a; } .p10 .cf:nth-of-type(7) { left: 64px; background: #9ef0ff; } .p10 .cf:nth-of-type(8) { left: 92px; background: #fff; }
.p10 .cf:nth-of-type(9) { left: 112px; background: #f0b429; } .p10 .cf:nth-of-type(10) { left: 136px; background: #a7f3d0; } .p10 .cf:nth-of-type(11) { left: 156px; background: #ff6b9a; } .p10 .cf:nth-of-type(12) { left: 28px; background: #c4b5fd; }
.run .p10 .pod { animation: p10rise 5s cubic-bezier(.3,1.5,.5,1) infinite both; } .run .p10 .s2 { animation-delay: .15s; } .run .p10 .s3 { animation-delay: .3s; }
.run .p10 .cup { animation: p10cup 5s cubic-bezier(.3,1.6,.5,1) infinite; }
.run .p10 .cf { animation: p10fall 2.6s linear infinite; }
.run .p10 .cf:nth-of-type(6) { animation-delay: .4s; } .run .p10 .cf:nth-of-type(7) { animation-delay: 1.1s; } .run .p10 .cf:nth-of-type(8) { animation-delay: .7s; }
.run .p10 .cf:nth-of-type(9) { animation-delay: 1.6s; } .run .p10 .cf:nth-of-type(10) { animation-delay: .2s; } .run .p10 .cf:nth-of-type(11) { animation-delay: 1.3s; } .run .p10 .cf:nth-of-type(12) { animation-delay: 1.9s; }
@keyframes p10rise { 0% { transform: scaleY(0); } 14%, 88% { transform: scaleY(1); } 98%, 100% { transform: scaleY(0); } }
@keyframes p10cup { 0%, 22% { opacity: 0; transform: translateY(-30px) scale(.4); } 32% { opacity: 1; transform: translateY(4px) scale(1.15); } 38% { transform: none; } 50% { transform: translateY(-8px) rotate(-8deg); } 58%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes p10fall { 0% { opacity: 0; transform: translateY(0) rotate(0); } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(130px) rotate(540deg); } }

/* ═══ IMMERSION posters (10 Nov 2026): films, documentaries, books, articles, podcasts, music — includes/labs_posters.php lp_media() ═══ */
.lp-grid.lp-media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .lp-grid.lp-media { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-media .lp { min-height: 240px; }
.mv1 { --k: #b4232f; } .mv2 { --k: #0a7d8c; } .mv3 { --k: #9a4b12; } .mv4 { --k: #2547a8; } .mv5 { --k: #7b2fc9; } .mv6 { --k: #17153a; }

/* m1 · Films: the film strip runs, the clapper snaps, a subtitle line appears */
.mv1 .strip { left: -20px; top: 2px; width: 240px; height: 30px; display: flex !important; gap: 6px; padding: 5px 0; background: rgba(0,0,0,.35); transform: rotate(-4deg); }
.mv1 .strip i { position: static; flex: none; width: 22px; height: 20px; border-radius: 3px; background: rgba(255,255,255,.75); }
.mv1 .scr { left: 30px; top: 40px; width: 120px; height: 62px; border-radius: 10px; background: linear-gradient(160deg, #ffd76a, #f08a29); box-shadow: 0 10px 20px -10px rgba(0,0,0,.55); }
.mv1 .clap { left: 6px; top: 70px; width: 52px; height: 40px; border-radius: 4px; background: #1a1a1a; }
.mv1 .clap::before { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 3px; background: rgba(255,255,255,.6); box-shadow: 0 8px 0 rgba(255,255,255,.4), 0 16px 0 rgba(255,255,255,.3); }
.mv1 .clap b { left: -2px; top: -12px; width: 56px; height: 11px; border-radius: 3px; background: repeating-linear-gradient(-45deg, #fff 0 7px, #1a1a1a 7px 14px); transform-origin: 2px 11px; transform: rotate(-18deg); }
.mv1 .cc { left: 64px; top: 108px; padding: 4px 7px; border-radius: 5px; background: rgba(0,0,0,.65); color: #fff; font: 700 10px/1 Inter, sans-serif; white-space: nowrap; }
.run .mv1 .strip { animation: mv1run 3s linear infinite; }
.run .mv1 .clap b { animation: mv1clap 3.6s cubic-bezier(.5,0,.3,1.4) infinite; }
.run .mv1 .cc { animation: mv1cc 3.6s ease-out infinite; }
@keyframes mv1run { from { transform: rotate(-4deg) translateX(0); } to { transform: rotate(-4deg) translateX(-28px); } }
@keyframes mv1clap { 0%, 10% { transform: rotate(-18deg); } 16% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 24%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(-18deg); } }
@keyframes mv1cc { 0%, 20% { opacity: 0; transform: translateY(6px); } 28%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* m2 · Documentaries: the globe turns, a satellite circles, the play button breathes */
.mv2 .globe { left: 56px; top: 12px; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #5fd3e6; box-shadow: inset -12px -8px 0 rgba(0,0,0,.18), 0 12px 22px -12px rgba(0,0,0,.6); }
.mv2 .globe b { left: 0; top: 0; width: 228px; height: 76px;
  background: radial-gradient(18px 13px at 20px 26px, #1f9d5c 98%, transparent), radial-gradient(14px 18px at 58px 52px, #1f9d5c 98%, transparent), radial-gradient(20px 12px at 96px 20px, #1f9d5c 98%, transparent),
              radial-gradient(18px 13px at 96px 26px, #1f9d5c 98%, transparent), radial-gradient(14px 18px at 134px 52px, #1f9d5c 98%, transparent), radial-gradient(20px 12px at 172px 20px, #1f9d5c 98%, transparent),
              radial-gradient(18px 13px at 172px 26px, #1f9d5c 98%, transparent), radial-gradient(14px 18px at 210px 52px, #1f9d5c 98%, transparent); }
.mv2 .orb { left: 36px; top: 34px; width: 116px; height: 34px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.55); transform: rotate(-14deg); }
.mv2 .sat { left: 142px; top: 30px; width: 12px; height: 12px; border-radius: 3px; background: #f0b429; box-shadow: -8px 0 0 -3px #fff, 8px 0 0 -3px #fff; }
.mv2 .play { left: 112px; top: 74px; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 10px 18px -8px rgba(0,0,0,.55); }
.mv2 .play::after { content: ""; position: absolute; left: 17px; top: 13px; border: 9px solid transparent; border-left: 14px solid #0a7d8c; border-right: 0; }
.run .mv2 .globe b { animation: mv2spin 6s linear infinite; }
.run .mv2 .sat { animation: mv2sat 4s ease-in-out infinite; }
.run .mv2 .play { animation: mv2play 2.4s ease-in-out infinite; }
@keyframes mv2spin { from { transform: translateX(0); } to { transform: translateX(-76px); } }
@keyframes mv2sat { 0% { transform: translate(0, 0); } 25% { transform: translate(-56px, 20px) scale(1.15); } 50% { transform: translate(-112px, 16px); opacity: 1; } 55% { opacity: 0; } 70% { transform: translate(-60px, -10px) scale(.7); opacity: 0; } 85% { opacity: 1; } 100% { transform: translate(0, 0); } }
@keyframes mv2play { 0%, 100% { transform: scale(1); box-shadow: 0 10px 18px -8px rgba(0,0,0,.55), 0 0 0 0 rgba(255,255,255,.5); } 50% { transform: scale(1.08); box-shadow: 0 10px 18px -8px rgba(0,0,0,.55), 0 0 0 10px rgba(255,255,255,0); } }

/* m3 · Books: a row of books on a shelf, one comes out and opens a little, a bookmark drops */
.mv3 .books { left: 22px; top: 18px; width: 140px; height: 90px; display: flex !important; align-items: flex-end; gap: 4px; }
.mv3 .books i { position: relative; flex: none; width: 18px; border-radius: 3px 3px 1px 1px; background: #ffe2b8; box-shadow: inset 0 6px 0 rgba(0,0,0,.08), inset 0 -10px 0 rgba(0,0,0,.08); transform-origin: 50% 100%; }
.mv3 .books i:nth-child(1) { height: 72px; background: #ffd76a; } .mv3 .books i:nth-child(2) { height: 84px; background: #ffffff; width: 22px; }
.mv3 .books i:nth-child(3) { height: 78px; background: #f0b429; width: 24px; } .mv3 .books i:nth-child(4) { height: 66px; background: #ffb48a; }
.mv3 .books i:nth-child(5) { height: 88px; background: #fde7c7; width: 20px; } .mv3 .books i:nth-child(6) { height: 60px; background: #ffd0a0; transform: rotate(14deg); transform-origin: 0 100%; }
.mv3 .shelf { left: 10px; top: 108px; width: 160px; height: 8px; border-radius: 3px; background: #5a2a08; box-shadow: 0 6px 10px -4px rgba(0,0,0,.5); }
.mv3 .mark { left: 74px; top: 14px; width: 8px; height: 22px; background: #e11d48; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%); }
.run .mv3 .pick { animation: mv3pick 4.6s cubic-bezier(.3,1.3,.5,1) infinite; }
.run .mv3 .mark { animation: mv3mark 4.6s ease-in-out infinite; }
@keyframes mv3pick { 0%, 10% { transform: none; } 30%, 70% { transform: translateY(-26px) rotate(-10deg); } 85%, 100% { transform: none; } }
@keyframes mv3mark { 0%, 28% { opacity: 0; transform: translateY(-16px); } 38%, 70% { opacity: 1; transform: translateY(-26px) rotate(-10deg); } 80%, 100% { opacity: 0; transform: translateY(-26px); } }

/* m4 · Articles: a newspaper, a highlighter marks the key line, a "5 min" tag pops */
.mv4 .np { left: 26px; top: 4px; width: 128px; height: 118px; border-radius: 8px; background: #fff; box-shadow: 0 12px 22px -12px rgba(0,0,0,.55); transform: rotate(-3deg); }
.mv4 .hd { left: 38px; top: 16px; width: 92px; height: 11px; border-radius: 3px; background: #17153a; transform: rotate(-3deg); }
.mv4 .ph { left: 40px; top: 36px; width: 38px; height: 34px; border-radius: 5px; background: #c7d5ff; transform: rotate(-3deg); }
.mv4 .ln { height: 5px; border-radius: 3px; background: rgba(23,21,58,.18); transform: rotate(-3deg); }
.mv4 .ln.a { left: 86px; top: 38px; width: 50px; } .mv4 .ln.b { left: 86px; top: 50px; width: 42px; } .mv4 .ln.c { left: 42px; top: 82px; width: 98px; } .mv4 .ln.d { left: 43px; top: 96px; width: 74px; }
.mv4 .hl { left: 40px; top: 78px; width: 102px; height: 12px; border-radius: 3px; background: rgba(255,214,10,.75); transform: rotate(-3deg); transform-origin: 0 50%; mix-blend-mode: multiply; }
.mv4 .tag { right: 4px; top: 4px; padding: 6px 8px; border-radius: 9px; background: #f0b429; color: #1a1400; font: 800 11px/1 Inter, sans-serif; transform: rotate(8deg); box-shadow: 0 6px 12px -6px rgba(0,0,0,.5); }
.run .mv4 .hl { animation: mv4hl 4.4s ease-in-out infinite; }
.run .mv4 .tag { animation: mv4tag 4.4s cubic-bezier(.3,1.7,.5,1) infinite; }
.run .mv4 .np { animation: mv4np 4.4s ease-in-out infinite; }
@keyframes mv4hl { 0%, 14% { transform: rotate(-3deg) scaleX(0); } 40%, 86% { transform: rotate(-3deg) scaleX(1); } 96%, 100% { transform: rotate(-3deg) scaleX(0); opacity: 0; } }
@keyframes mv4tag { 0%, 42% { opacity: 0; transform: scale(0) rotate(-30deg); } 52% { opacity: 1; transform: scale(1.2) rotate(12deg); } 58%, 90% { opacity: 1; transform: rotate(8deg); } 100% { opacity: 0; } }
@keyframes mv4np { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(-1deg) translateY(-3px); } }

/* m5 · Podcasts: headphones, sound waves going out, "ON AIR" blinks */
.mv5 .arc { left: 52px; top: 12px; width: 76px; height: 70px; border: 9px solid #fff; border-bottom: 0; border-radius: 40px 40px 0 0; }
.mv5 .cup { top: 62px; width: 24px; height: 40px; border-radius: 10px; background: #f0b429; box-shadow: 0 8px 14px -6px rgba(0,0,0,.5); }
.mv5 .cup.l { left: 44px; } .mv5 .cup.r { left: 112px; }
.mv5 .wv { top: 58px; width: 40px; height: 48px; border-radius: 50%; border: 3px solid rgba(255,255,255,.7); border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; opacity: 0; }
.mv5 .w1 { left: 128px; } .mv5 .w2 { left: 136px; } .mv5 .w3 { left: 6px; transform: scaleX(-1); }
.mv5 .air { left: 52px; top: -2px; padding: 4px 8px; border-radius: 99px; background: #e11d48; color: #fff; font: 800 9.5px/1 Inter, sans-serif; letter-spacing: .06em; white-space: nowrap; opacity: 0; }
.mv5 .wv { opacity: .7; }
.mv5 .air { opacity: 1; }
.run .mv5 .wv { animation: mv5wave 1.8s ease-out infinite; } .run .mv5 .w2 { animation-delay: .6s; } .run .mv5 .w3 { animation: mv5wavel 1.8s ease-out .3s infinite; }
.run .mv5 .air { animation: mv5air 1.6s steps(1) infinite; }
.run .mv5 .arc, .run .mv5 .cup { animation: mv5bob 3.2s ease-in-out infinite; }
@keyframes mv5wave { 0% { opacity: .9; transform: translateX(0) scale(.6); } 100% { opacity: 0; transform: translateX(16px) scale(1.2); } }
@keyframes mv5wavel { 0% { opacity: .9; transform: scaleX(-1) translateX(0) scale(.6); } 100% { opacity: 0; transform: scaleX(-1) translateX(16px) scale(1.2); } }
@keyframes mv5air { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .35; } }
@keyframes mv5bob { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }

/* m6 · Music: the record spins, the arm drops, notes float up, a missing word waits to be filled */
.mv6 .vinyl { left: 22px; top: 6px; width: 104px; height: 104px; border-radius: 50%; background: repeating-radial-gradient(circle, #0b0a1e 0 3px, #2a2752 3px 4px); box-shadow: 0 12px 22px -10px rgba(0,0,0,.7); }
.mv6 .vinyl::after { content: ""; position: absolute; left: 18px; top: 14px; width: 30px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.1); transform: rotate(-30deg); }
.mv6 .vinyl b { left: 34px; top: 34px; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle, #17153a 0 3px, #ff5fa2 4px); }
.mv6 .arm { left: 118px; top: 4px; width: 6px; height: 64px; border-radius: 3px; background: #d7d9ef; transform-origin: 3px 3px; transform: rotate(28deg); }
.mv6 .arm::after { content: ""; position: absolute; left: -3px; bottom: -6px; width: 12px; height: 12px; border-radius: 3px; background: #d7d9ef; }
.mv6 .nt { font: 800 22px/1 Inter, sans-serif; color: #ff9cc9; }
.mv6 .n1 { left: 138px; top: 74px; } .mv6 .n2 { left: 150px; top: 40px; color: #ffd76a; } .mv6 .n3 { left: 136px; top: 10px; color: #9ef0ff; }
.mv6 .gap { left: 34px; top: 112px; padding: 4px 8px; border-radius: 7px; background: #fff; color: #17153a; font: 800 10.5px/1 Inter, sans-serif; white-space: nowrap; }
.run .mv6 .vinyl { animation: mv6spin 2.2s linear infinite; }
.run .mv6 .arm { animation: mv6arm 6s ease-in-out infinite; }
.run .mv6 .nt { animation: mv6note 3s ease-out infinite; } .run .mv6 .n2 { animation-delay: 1s; } .run .mv6 .n3 { animation-delay: 2s; }
@keyframes mv6spin { to { transform: rotate(360deg); } }
@keyframes mv6arm { 0%, 100% { transform: rotate(10deg); } 15%, 85% { transform: rotate(28deg); } }
@keyframes mv6note { 0% { opacity: 0; transform: translateY(20px) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px) translateX(10px) rotate(20deg) scale(1.1); } }

/* the posters arrive one after another the first time the section is seen */
.lp-grid.in .lp { animation: lpIn .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i) * 60ms); }
@keyframes lpIn { 0% { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(10deg) scale(.96); } 100% { opacity: 1; transform: perspective(900px); } }
/* the colour blob drifts slowly */
.run .lp-blob { animation: lpBlob 9s ease-in-out infinite alternate; }
.run .lp:nth-child(2n) .lp-blob { animation-duration: 11s; animation-direction: alternate-reverse; }
@keyframes lpBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-70px, 40px) scale(1.25); } }

/* still: reduce motion, weak phones, or the script did not run — every picture stays finished */
.lp-grid.still *, html.lk-lite .lp-grid * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lp-grid *, .lp { animation: none !important; transition: none !important; } .lp { transform: none !important; } }

/* ═══ m7 · SHADOWING (22 Nov 2026, owner: "include it among the immersion cards"): a wide card in front of the six.
   A speaker on a video screen, the word being said pops under it, the speaker's sound (blue) and yours a moment later (red). ═══ */
.mv7 { --k: #3346c9; }
.lp-media .lp-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 200px; }
.lp-wide .lp-art { flex: 0 0 48%; height: 190px; }
.lp-wide .lp-sc { transform: scale(1.18); }
.lp-wide .lp-tx { padding: 18px 26px 18px 6px; }
.lp-wide .lp-tx b { font-size: 24px; }
.lp-wide .lp-tx small { font-size: 14px; -webkit-line-clamp: 4; }
@media (max-width: 620px) { .lp-media .lp-wide { flex-direction: column; align-items: stretch; min-height: 0; } .lp-wide .lp-art { flex: none; height: 150px; } .lp-wide .lp-sc { transform: scale(.92); } .lp-wide .lp-tx { padding: 2px 14px 16px; } .lp-wide .lp-tx b { font-size: 18px; } .lp-wide .lp-tx small { font-size: 12.5px; } }
.mv7 .scr { left: 0; top: 4px; width: 112px; height: 72px; border-radius: 11px; overflow: hidden; background: linear-gradient(160deg, #1b2250, #0b0e16); box-shadow: 0 12px 22px -10px rgba(0,0,0,.6); }
.mv7 .hd { left: 43px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: #f2c29a; }
.mv7 .bd { left: 28px; top: 42px; width: 56px; height: 34px; border-radius: 28px 28px 0 0; background: #e8ecff; }
.mv7 .lv { right: 6px; top: 6px; padding: 2px 5px; border-radius: 99px; background: #ffd54a; color: #3b2a00; font: 800 7.5px/1 Inter, sans-serif; }
.mv7 .say { left: 12px; top: 64px; width: 88px; height: 22px; }
.mv7 .say i { left: 0; top: 0; width: 100%; padding: 5px 0; border-radius: 8px; background: rgba(11,14,22,.88); color: #fff; font: 800 10.5px/1 Inter, sans-serif; text-align: center; box-shadow: inset 0 -2px 0 #ffd54a; opacity: 0; }
.mv7 .say .s3 { opacity: 1; }
.mv7 .bars { left: 124px; width: 56px; height: 34px; display: flex !important; align-items: center; gap: 2px; }
.mv7 .bars.o { top: 6px; } .mv7 .bars.e { top: 46px; }
.mv7 .bars i { position: static !important; flex: 1; height: 100%; border-radius: 2px; background: #a9b8ff; transform: scaleY(.45); }
.mv7 .bars.e i { background: #ff8f96; }
.mv7 .bars i:nth-child(3n) { transform: scaleY(.8); } .mv7 .bars i:nth-child(4n+1) { transform: scaleY(.3); }
.mv7 .acc { left: 0; top: 96px; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font: 800 10px/1 Inter, sans-serif; white-space: nowrap; }
.run .mv7 .say .s1 { animation: mv7w 6s infinite; } .run .mv7 .say .s2 { animation: mv7w 6s 2s infinite; } .run .mv7 .say .s3 { opacity: 0; animation: mv7w 6s 4s infinite; }
.run .mv7 .bars i { animation: mv7bar 1.2s ease-in-out infinite; }
.run .mv7 .bars i:nth-child(2n) { animation-delay: .15s; } .run .mv7 .bars i:nth-child(3n) { animation-delay: .3s; } .run .mv7 .bars i:nth-child(5n) { animation-delay: .45s; }
.run .mv7 .bars.e i { animation-name: mv7bare; }
.run .mv7 .hd { animation: mv7nod 2.4s ease-in-out infinite; }
@keyframes mv7w { 0% { opacity: 0; transform: translateY(5px) scale(.9); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes mv7bar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes mv7bare { 0%, 30%, 100% { transform: scaleY(.25); } 70% { transform: scaleY(.95); } }
@keyframes mv7nod { 0%, 100% { transform: none; } 50% { transform: translateY(2px) rotate(-4deg); } }
.mv7 .acc .hl-t { position: static !important; display: inline !important; }   /* tt() wraps the words in a span: keep it inside the pill */
.lp-wide .lp-blob { right: auto; left: 10%; }
.lp-wide .lp-art { overflow: visible; }

/* Immersion · Translate (22 Nov 2026): a corner of a squared school exercise book — the student's blue ink, the teacher's red pen.
   A wide card under Shadowing (owner: "Only homepage. Among immersion zone."). Green = a school exercise-book cover. */
.mv8 { --k: #1e6b3a; }
.mv8 .pg { left: 4px; top: 4px; width: 172px; height: 112px; border-radius: 8px; background-color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45);
  background-image: linear-gradient(rgba(66,116,204,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(66,116,204,.16) 1px, transparent 1px); background-size: 11px 11px; }
.mv8 .mg { left: 24px; top: 4px; width: 2px; height: 112px; background: #ec8c8c; }
.mv8 .src { left: 34px; top: 16px; width: 134px; font: 600 9.5px/1.35 Inter, system-ui, sans-serif; color: #566078; }
.mv8 .ans { left: 34px; top: 44px; width: 120px; font: 700 11px/1.9 Inter, system-ui, sans-serif; color: #2246b6; }
.mv8 .ans s { text-decoration-color: #cf2637; text-decoration-thickness: 2px; color: #8b93a8; }
.mv8 .ans em { display: inline; position: static; font: 700 15px/1 Caveat, "Segoe Print", cursive; font-style: normal; color: #cf2637; }
.mv8 .gr { right: 6px; bottom: -2px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #cf2637; background: #fff; color: #cf2637;
  font: italic 800 22px/34px Georgia, "Times New Roman", serif; text-align: center; transform: rotate(-12deg); box-shadow: 0 8px 14px -8px rgba(0,0,0,.4); }
.mv8 .ar { left: 4px; bottom: -6px; padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.2); color: #fff; font: 800 9.5px/1 Inter, sans-serif; white-space: nowrap; }
.run .mv8 .ans em { animation: mv8pen 5s infinite; }
.run .mv8 .gr { animation: mv8gr 5s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes mv8pen { 0%, 24% { opacity: 0; } 34%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mv8gr { 0%, 40% { opacity: 0; transform: rotate(-40deg) scale(1.6); } 50%, 92% { opacity: 1; transform: rotate(-12deg) scale(1); } 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }

/* 23 Nov 2026 (G2): the Writing warm-up poster — a red running track, three lanes, three runners */
.mv9 { --k: #b4472f; }
.mv9 .ln { left: 0; width: 180px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.85); }
.mv9 .ln.a { top: 6px; } .mv9 .ln.b { top: 44px; } .mv9 .ln.c { top: 82px; } .mv9 .ln.d { top: 120px; }
.mv9 .n { left: 4px; font: 400 26px/1 Anton, Impact, sans-serif; color: rgba(255,255,255,.92); }
.mv9 .n1 { top: 13px; } .mv9 .n2 { top: 51px; } .mv9 .n3 { top: 89px; }
.mv9 .r { left: 30px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 4px 8px -2px rgba(0,0,0,.45); }
.mv9 .r1 { top: 16px; transform: translateX(96px); } .mv9 .r2 { top: 54px; transform: translateX(58px); } .mv9 .r3 { top: 92px; transform: translateX(118px); }
.mv9 .fl { right: 0; top: 6px; width: 12px; height: 117px; background: repeating-conic-gradient(#fff 0 25%, #1d2a24 0 50%) 0 0 / 12px 12px; opacity: .92; }
.run .mv9 .r1 { animation: mv9a 4.6s ease-in-out infinite; } .run .mv9 .r2 { animation: mv9b 4.6s ease-in-out infinite; } .run .mv9 .r3 { animation: mv9c 4.6s ease-in-out infinite; }
@keyframes mv9a { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(96px); } }
@keyframes mv9b { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(58px); } }
@keyframes mv9c { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(118px); } }
/* 23 Nov 2026 (G3): the Reading drills — a sheet of drafting paper, the yellow word "it" and the arrow drawn back to the words it means */
.mv10 { --k: #17467f; }
.mv10 .pg { left: 4px; top: 6px; width: 172px; height: 108px; border-radius: 6px; background-color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45);
  background-image: linear-gradient(rgba(27,78,148,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(27,78,148,.11) 1px, transparent 1px); background-size: 12px 12px; }
.mv10 .l1, .mv10 .l2 { left: 14px; width: 160px; font: 500 12px/1.3 Georgia, "Noto Serif", serif; color: #132640; white-space: nowrap; }
.mv10 .l1 { top: 30px; } .mv10 .l2 { top: 78px; }
.mv10 .l1 u { text-decoration: none; padding: 1px 3px; border-radius: 3px; background-color: #dff4ea; box-shadow: inset 0 -2px 0 #0f7f55; }
.mv10 .l2 em { font-style: normal; font-weight: 700; padding: 1px 4px; border-radius: 3px; background: #ffe35a; color: #2e2500; }
.mv10 .ar { left: 0; top: 0; width: 180px; height: 130px; overflow: visible; }
.mv10 .ar path { fill: none; stroke: #2d66b3; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mv10 .tg { right: 2px; bottom: -4px; padding: 4px 9px; border-radius: 99px; background: #ffe35a; color: #2e2500; font: 800 10px/1 Inter, sans-serif; white-space: nowrap; }
.run .mv10 .ar .c { stroke-dasharray: 60; animation: mv10a 4.8s ease-in-out infinite; }
.run .mv10 .ar .h { animation: mv10h 4.8s ease-in-out infinite; }
.run .mv10 .l1 u { animation: mv10u 4.8s ease-in-out infinite; }
@keyframes mv10a { 0%, 14% { stroke-dashoffset: 60; } 44%, 100% { stroke-dashoffset: 0; } }
@keyframes mv10h { 0%, 40% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes mv10u { 0%, 46% { background-color: transparent; box-shadow: inset 0 -2px 0 transparent; } 58%, 100% { background-color: #dff4ea; box-shadow: inset 0 -2px 0 #0f7f55; } }
/* 23 Nov 2026 (G4): the Topic packs — a statement and two voices in speech bubbles: one says yes, one says no */
.mv11 { --k: #3d2f8f; }
.mv11 .st { left: 8px; top: 0; width: 164px; padding: 7px 10px; border-radius: 14px 14px 14px 4px; background: #fff; color: #1e1a33; font: 700 11.5px/1.25 Inter, system-ui, sans-serif; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.mv11 .y, .mv11 .n { padding: 6px 10px; font: 700 10.5px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.mv11 .y { left: 0; color: #065f55; background: #d9f4ef; border-radius: 12px 12px 12px 3px; }
.mv11 .n { right: 0; color: #9c1f4d; background: #fce1eb; border-radius: 12px 12px 3px 12px; }
.mv11 .y1 { top: 50px; } .mv11 .n1 { top: 74px; } .mv11 .y2 { top: 98px; }
.mv11 .dots { right: 4px; top: 102px; width: 38px; height: 20px; border-radius: 11px 11px 3px 11px; background: rgba(255,255,255,.22); }
.mv11 .dots u { position: absolute; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #fff; text-decoration: none; }
.mv11 .dots u:nth-child(1) { left: 9px; } .mv11 .dots u:nth-child(2) { left: 17px; } .mv11 .dots u:nth-child(3) { left: 25px; }
.run .mv11 .y1 { animation: mv11m 5.4s ease-out infinite; } .run .mv11 .n1 { animation: mv11m 5.4s ease-out infinite 1s; } .run .mv11 .y2 { animation: mv11m 5.4s ease-out infinite 2s; }
.run .mv11 .dots u { animation: mv11d 1.2s ease-in-out infinite; } .run .mv11 .dots u:nth-child(2) { animation-delay: .15s; } .run .mv11 .dots u:nth-child(3) { animation-delay: .3s; }
@keyframes mv11m { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 10%, 100% { opacity: 1; transform: none; } }
@keyframes mv11d { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
/* 23 Nov 2026 (G5): the Task 1 kit — a small transport map: three lines (maps, process, charts) drawn one after another, then their stops */
.mv12 { --k: #0f2338; }
.mv12 .net { left: 0; top: 0; width: 180px; height: 130px; overflow: visible; }
.mv12 .net .l { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.mv12 .net .g { stroke: #2fcb82; } .mv12 .net .o { stroke: #ff9442; } .mv12 .net .b { stroke: #5ea8ff; }
.mv12 .net .s circle, .mv12 .net .hub { fill: #0f2338; stroke: #fff; stroke-width: 2.6; }
.mv12 .tg { padding: 4px 8px; border-radius: 6px; font: 800 10px/1 Inter, system-ui, sans-serif; color: #0f2338; white-space: nowrap; }
.mv12 .t1 { left: 2px; top: 6px; background: #2fcb82; } .mv12 .t2 { right: 2px; top: 94px; background: #ff9442; } .mv12 .t3 { left: 98px; top: 6px; background: #5ea8ff; }
.run .mv12 .net .l { stroke-dasharray: 300; animation: mv12a 6.4s ease-in-out infinite; } .run .mv12 .net .o { animation-delay: .35s; } .run .mv12 .net .b { animation-delay: .7s; }
.run .mv12 .net .s circle { transform-box: fill-box; transform-origin: center; animation: mv12s 6.4s ease-out infinite; }
@keyframes mv12a { 0% { stroke-dashoffset: 300; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes mv12s { 0%, 30% { transform: scale(0); } 40%, 100% { transform: scale(1); } }
/* 23 Nov 2026 (G6): the placement test — a yellow measuring tape with the five levels; the red pointer runs along it and stops at a level */
.mv13 { --k: #1b1b1b; }
.mv13 .tp { left: 0; top: 52px; width: 180px; height: 46px; border: 2px solid #000; border-radius: 4px; background-color: #ffd21f; box-shadow: inset 0 -5px 0 #e0a800;
  background-image: linear-gradient(90deg, #161616 2px, transparent 2px), linear-gradient(90deg, rgba(22,22,22,.75) 1px, transparent 1px); background-size: 35.2px 17px, 7.04px 9px; background-repeat: repeat-x; }
.mv13 .l { top: 76px; font: 800 12.5px/1 Inter, system-ui, sans-serif; color: #161616; }
.mv13 .l1 { left: 7px; } .mv13 .l2 { left: 42px; } .mv13 .l3 { left: 77px; } .mv13 .l4 { left: 112px; } .mv13 .l5 { left: 148px; }
.mv13 .pt { left: 134px; top: 42px; width: 5px; height: 66px; border-radius: 3px; background: #e5352b; box-shadow: 0 0 0 1.5px #fff; }
.mv13 .tg { right: 2px; top: 8px; padding: 6px 10px; border-radius: 6px; background: #ffd21f; color: #161616; font: 800 11px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.run .mv13 .pt { animation: mv13p 5.8s cubic-bezier(.3, 1.2, .5, 1) infinite; }
.run .mv13 .tg { animation: mv13t 5.8s ease-out infinite; }
@keyframes mv13p { 0%, 8% { left: 4px; } 46%, 100% { left: 134px; } }
@keyframes mv13t { 0%, 44% { opacity: 0; transform: scale(.8); } 54%, 100% { opacity: 1; transform: none; } }

/* ===== o8i (25 Nov 2026): no lonely poster in the last row of Labs. The last poster grows to fill the empty places
   (it works for any number of tools: 4 columns on a computer, 3 on a tablet, 2 on a phone). ===== */
@media (min-width: 1001px) {
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 200px; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-art { flex: 0 0 48%; height: 190px; overflow: visible; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-blob { right: auto; left: 10%; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-sc { transform: scale(1.18); }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-tx { padding: 18px 26px 18px 6px; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-tx b { font-size: 24px; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+1) .lp-tx small { font-size: 14px; -webkit-line-clamp: 4; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+2) { grid-column: span 3; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(4n+3) { grid-column: span 2; }
}
@media (min-width: 621px) and (max-width: 1000px) {
  .lp-grid.lp-labs > .lp:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .lp-grid.lp-labs > .lp:last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (max-width: 620px) {
  .lp-grid.lp-labs > .lp:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}

/* ═══ hpd1 (28 Nov 2026, owner: "Please organized the cards … Do something with leaderboard card. IT IS TOO LONG"):
   SHELVES. The posters stand in small groups, each with a title (includes/labs_posters.php lp_shelves()).
   Labs: one shelf under the other, three posters in a row (6 small columns, a poster takes 2); the last two of a shelf
   share their row (3 + 3, picture beside the words); a single last one takes the row. Phones: two in a row, an odd last
   one takes the row. Immersion: three shelves side by side (Watch · Listen · Read), two posters under each other. ═══ */
.lp-shelves { display: grid; gap: 26px; }
.lp-shelf { min-width: 0; }
.lp-sh-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0 2px; font: 800 16px/1.2 Inter, system-ui, sans-serif; letter-spacing: -.01em; color: var(--ink, #14122b); }
.lp-sh-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--sk); box-shadow: 0 8px 14px -8px var(--sk), inset 0 1px 0 rgba(255,255,255,.3); }
.lp-sh-t { min-width: 0; }
.lp-sh-n { flex: none; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 800;
  color: color-mix(in srgb, var(--sk) 72%, #000); background: color-mix(in srgb, var(--sk) 13%, transparent); }
.lp-sh-h::after { content: ""; flex: 1; min-width: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--sk) 45%, transparent), transparent); }
[dir="rtl"] .lp-sh-h::after { background: linear-gradient(270deg, color-mix(in srgb, var(--sk) 45%, transparent), transparent); }
html.dark .lp-sh-h, html[data-theme="dark"] .lp-sh-h { color: var(--ink, #f2f0ff); }
html.dark .lp-sh-n, html[data-theme="dark"] .lp-sh-n { color: color-mix(in srgb, var(--sk) 45%, #fff); background: color-mix(in srgb, var(--sk) 24%, transparent); }

.lp-grid.lp-sh { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lp-grid.lp-sh > .lp { grid-column: span 2; }
.lp-grid.lp-sh > .lp.lp-half { grid-column: span 3; }
.lp-grid.lp-sh > .lp.lp-full { grid-column: 1 / -1; }
@media (min-width: 621px) {
  .lp-sh > .lp.lp-half, .lp-sh > .lp.lp-full { flex-direction: row; align-items: center; }
  .lp-sh > .lp.lp-half .lp-art, .lp-sh > .lp.lp-full .lp-art { flex: 0 0 46%; height: 190px; overflow: visible; }
  .lp-sh > .lp.lp-half .lp-blob, .lp-sh > .lp.lp-full .lp-blob { right: auto; left: 8%; }
  .lp-sh > .lp.lp-half .lp-sc, .lp-sh > .lp.lp-full .lp-sc { transform: scale(1.08); }
  .lp-sh > .lp.lp-half .lp-tx, .lp-sh > .lp.lp-full .lp-tx { padding: 16px 24px 16px 4px; }
  .lp-sh > .lp.lp-half .lp-tx b, .lp-sh > .lp.lp-full .lp-tx b { font-size: 21px; }
  .lp-sh > .lp.lp-half .lp-tx small, .lp-sh > .lp.lp-full .lp-tx small { font-size: 13.5px; -webkit-line-clamp: 4; }
  [dir="rtl"] .lp-sh > .lp.lp-half .lp-tx, [dir="rtl"] .lp-sh > .lp.lp-full .lp-tx { padding: 16px 4px 16px 24px; }
}
@media (min-width: 621px) and (max-width: 1000px) {
  .lp-sh > .lp.lp-half .lp-art { flex-basis: 44%; height: 160px; } .lp-sh > .lp.lp-half .lp-sc { transform: scale(.92); }
  .lp-sh > .lp.lp-half .lp-tx b { font-size: 17px; } .lp-sh > .lp.lp-half .lp-tx small { font-size: 12.5px; }
}
@media (max-width: 620px) {
  .lp-shelves { gap: 22px; }
  .lp-grid.lp-sh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-grid.lp-sh > .lp, .lp-grid.lp-sh > .lp.lp-half, .lp-grid.lp-sh > .lp.lp-full { grid-column: auto; }
  .lp-grid.lp-sh > .lp:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; }
  .lp-grid.lp-sh > .lp:last-child:nth-child(odd) .lp-art { flex: 0 0 44%; height: 128px; }
  .lp-grid.lp-sh > .lp:last-child:nth-child(odd) .lp-tx { padding: 12px 14px 12px 0; }
  [dir="rtl"] .lp-grid.lp-sh > .lp:last-child:nth-child(odd) .lp-tx { padding: 12px 0 12px 14px; }
  .lp-grid.lp-sh > .lp:last-child:nth-child(odd) .lp-tx small { -webkit-line-clamp: 3; }
  .lp-sh-h { font-size: 15px; margin-bottom: 10px; } .lp-sh-ic { width: 28px; height: 28px; border-radius: 9px; }
}
.lp-shelves.lp-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-cols .lp-grid.lp-sh { grid-template-columns: minmax(0, 1fr); }
.lp-cols .lp-grid.lp-sh > .lp { grid-column: auto; }
@media (max-width: 620px) {
  .lp-shelves.lp-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp-cols .lp-grid.lp-sh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
