/* assets/tour.css — THE SITE TOUR (/tour, tour.php), 11 Nov 2026.
   Its own look: a "story player". A row of thin bars on top (one per stop, in six coloured groups), a big stage with a
   moving picture on one side and the words on the other, three round buttons, and under it the whole list on six shelves.
   Every stop has its colour (--c); the stage takes the colour of the stop that is on.
   PARTS:  1 page + heading   2 chapters   3 stage + bars   4 picture panel   5 words   6 buttons   7 the list
           8 the eighteen pictures drawn for this page (.tr-cv.k-…, 8b: the six of 24 Nov 2026)   9 phones, dark, no-motion
   Pictures move only inside ".run" (the stop that is on). Only transform / opacity move. */

/* 1 ── page + heading */
.tr { max-width: 1180px; margin: 0 auto; padding: 96px 20px 64px; }
.tr-top { text-align: center; }
.tr-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--brand, #6d4ee0); }
.tr-kick i { width: 9px; height: 9px; border-radius: 50%; background: #ffb648; box-shadow: 0 0 0 4px rgba(255,182,72,.25); }
.tr-top h1 { margin: 10px 0 8px; font: 800 clamp(28px, 5vw, 46px)/1.06 "Bricolage Grotesque", Inter, system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink, #14122b); text-wrap: balance; }
.tr-sub { margin: 0 auto; max-width: 52ch; font-size: 16px; line-height: 1.5; color: var(--body, #45426a); }

/* 2 ── chapters */
.tr-chaps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 16px; }
.tr-chap { --c: #6d4ee0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 5px; border-radius: 999px; border: 1.5px solid var(--line, #e7e4f5); background: var(--card, #fff); color: var(--ink, #14122b);
  font: 700 13.5px/1.1 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: transform .18s, background .2s, color .2s, border-color .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.tr-chap b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 400 15px/1 Anton, Impact, sans-serif; transition: background .2s, color .2s; }
.tr-chap small { font-size: 11.5px; font-weight: 800; color: var(--mute, #6b6890); transition: color .2s; }
.tr-chap:hover { transform: translateY(-2px); border-color: var(--c); }
.tr-chap.on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 12px 20px -14px var(--c); }
.tr-chap.on b { background: #fff; color: var(--c); } .tr-chap.on small { color: rgba(255,255,255,.8); }
.tr-chap:focus-visible, .tr-b:focus-visible, .tr-box:focus-visible, .tr-open:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

/* 3 ── stage + the thin bars */
.tr-stage { --c: #6d4ee0; position: relative; padding: 14px 14px 12px; border-radius: 30px; background: var(--card, #fff); border: 1px solid var(--line, #e7e4f5); overflow: hidden; box-shadow: 0 40px 60px -46px var(--c); transition: box-shadow .6s; }
.tr-bar { display: flex; gap: 9px; padding: 2px 4px 12px; }
.tr-bar > span { --c: #6d4ee0; display: flex; gap: 3px; flex: 1 1 0; min-width: 0; }
.tr-bar i { flex: 1; min-width: 0; height: 5px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--c) 22%, var(--line, #e7e4f5)); }
.tr-bar i b { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--c); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .tr-bar i b { transform-origin: right center; }
.tr-bar i.done b { transform: none; }
.tr-bar i.now b { animation: tr-fill var(--dur, 7s) linear forwards; }
.tr-stage.paused .tr-bar i.now b { animation-play-state: paused; }
.tr-stage.still .tr-bar i.now b { animation: none; transform: none; }
@keyframes tr-fill { to { transform: none; } }

.tr-slides { position: relative; touch-action: pan-y; }
.tr-stop { --c: #6d4ee0; --gc: #6d4ee0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.tr-stop[hidden] { display: none; }

/* 4 ── the picture panel */
.tr-pic { --z: 2; direction: ltr; position: relative; height: 410px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 80% at 100% 0%, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), linear-gradient(150deg, color-mix(in srgb, var(--c) 86%, #fff), var(--c) 50%, color-mix(in srgb, var(--c) 72%, #000)); }
.tr-pic::after { content: ""; position: absolute; left: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.09); pointer-events: none; }
.tr-badge { position: absolute; z-index: 5; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--c); box-shadow: 0 8px 14px -8px rgba(0,0,0,.5); }
[dir="rtl"] .tr-badge { left: auto; right: 14px; }
/* a homepage poster used as a picture */
.tr-pic .lp { position: absolute; inset: 0; display: block; min-height: 0; border-radius: 0; box-shadow: none; opacity: 1 !important; transform: none !important; animation: none !important; }
.tr-pic .lp::before { display: none; }
.tr-pic .lp-art { position: absolute; inset: 0; height: auto; }
.tr-pic .lp-blob { width: 380px; height: 320px; right: -110px; top: -130px; }
.tr-pic .lp-sc { transform: scale(var(--z)) !important; }
/* a "Practise your way" picture */
.tr-pic .pr { position: absolute; inset: 0; display: grid; place-items: center; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; transform: none !important; }
.tr-prw { position: relative; display: block; width: 252px; padding: 8px 0; transform: scale(calc(var(--z) * .78)); }
.tr-prw .pr-qt-sheet { margin: 18px 22px 0 4px; }
.tr-prw .pr-qp-ring, .tr-prw .pr-sp-week, .tr-prw .pr-sp-wk, .tr-prw .pr-gm-scr { margin-top: 0; margin-bottom: 0; }
.tr-prw .pr-qp-ring { margin-inline: auto; }
.tr-prw .pr-sp-tape { display: none; }
/* a picture drawn for this page */
.tr-own { position: absolute; inset: 0; display: grid; place-items: center; }
.tr-cv { position: relative; display: block; width: 180px; height: 130px; transform: scale(var(--z)); }
.tr-cv i, .tr-cv b, .tr-cv span, .tr-cv svg { position: absolute; display: block; font-style: normal; }
.tr-plain { color: #fff; opacity: .95; }

/* 5 ── the words */
.tr-tx { position: relative; min-width: 0; padding: 10px 22px 10px 0; }
[dir="rtl"] .tr-tx { padding: 10px 0 10px 22px; }
.tr-where { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 800 12px/1.1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--gc) 80%, var(--ink, #14122b)); }
.tr-where b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gc); color: #fff; font: 400 13px/1 Anton, Impact, sans-serif; letter-spacing: 0; }
.tr-num { position: absolute; top: 0; right: 20px; margin: 0; display: flex; align-items: baseline; gap: 6px; color: color-mix(in srgb, var(--c) 30%, transparent); }
[dir="rtl"] .tr-num { right: auto; left: 20px; }
.tr-num b { font: 400 56px/1 Anton, Impact, sans-serif; }
.tr-num small { font: 800 13px/1 Inter, system-ui, sans-serif; color: var(--mute, #6b6890); }
.tr-tx h2 { margin: 18px 0 10px; font: 800 clamp(28px, 3.6vw, 44px)/1.06 "Bricolage Grotesque", Inter, system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink, #14122b); text-wrap: balance; }
.tr-use { margin: 0 0 22px; max-width: 40ch; font-size: 17.5px; line-height: 1.5; color: var(--body, #45426a); }
.tr-open { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 54px; padding: 6px 7px 6px 8px; border-radius: 999px; background: var(--c); color: #fff !important; text-decoration: none; font: 800 15.5px/1.15 Inter, system-ui, sans-serif;
  box-shadow: 0 16px 24px -14px var(--c); transition: transform .2s, box-shadow .2s; }
.tr-open .tr-o-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.tr-open .tr-o-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-open .tr-o-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c); transition: transform .2s; }
.tr-open:hover { transform: translateY(-2px); box-shadow: 0 20px 28px -14px var(--c); } .tr-open:hover .tr-o-go { transform: translateX(3px); } .tr-open:active { transform: scale(.97); }
[dir="rtl"] .tr-open .tr-o-go svg, [dir="rtl"] .tr-b svg { transform: scaleX(-1); }
/* each stop comes in: the picture slides from the side it came from, the words rise one after another */
.tr-stage { --dx: 46px; } .tr-stage[data-dir="-1"] { --dx: -46px; }
.tr-stop.on .tr-pic { animation: tr-pic .6s cubic-bezier(.2,.8,.2,1) both; }
.tr-stop.on .tr-tx > * { animation: tr-up .55s cubic-bezier(.2,.8,.2,1) both; }
.tr-stop.on .tr-tx > :nth-child(2) { animation-delay: .04s; } .tr-stop.on .tr-tx > h2 { animation-delay: .1s; } .tr-stop.on .tr-tx > .tr-use { animation-delay: .17s; } .tr-stop.on .tr-tx > .tr-open { animation-delay: .25s; }
.tr-stop.on .tr-badge { animation: tr-pop .5s cubic-bezier(.3,1.5,.5,1) .3s both; }
@keyframes tr-pic { from { opacity: 0; transform: translateX(var(--dx)) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tr-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes tr-pop { from { opacity: 0; transform: scale(.3) rotate(-20deg); } to { opacity: 1; transform: none; } }

/* 6 ── the buttons */
.tr-ctl { display: flex; align-items: center; gap: 10px; padding: 14px 4px 2px; }
.tr-b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1.5px solid var(--line, #e7e4f5); background: var(--card, #fff); color: var(--ink, #14122b); transition: transform .18s, border-color .2s, background .3s; -webkit-tap-highlight-color: transparent; }
.tr-b:hover { transform: scale(1.07); border-color: var(--c); } .tr-b:active { transform: scale(.93); }
.tr-play { width: 54px; height: 54px; border-color: var(--c); background: var(--c); color: #fff; box-shadow: 0 14px 20px -12px var(--c); }
.tr-play span { display: none; } .tr-play .i-pause { display: grid; }
.tr-stage.paused .tr-play .i-pause { display: none; } .tr-stage.paused .tr-play .i-play { display: grid; }
.tr-stage.ended .tr-play .i-play { display: none; } .tr-stage.ended .tr-play .i-again { display: grid; }
.tr-stage.still .tr-play { display: none; }
.tr-seen { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: color-mix(in srgb, #0f9d6e 12%, transparent); color: #0b7a55; font: 800 13px/1 Inter, system-ui, sans-serif; }
.tr-seen[hidden] { display: none; }
.tr-seen small { font-size: 11.5px; opacity: .8; }
html.dark .tr-seen { color: #6ee7b7; }
.tr-seen.all { background: #0f9d6e; color: #fff; animation: tr-pop .5s cubic-bezier(.3,1.5,.5,1); }
.tr-cf { position: absolute; z-index: 9; top: -12px; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: tr-cf 2.4s cubic-bezier(.3,.6,.6,1) forwards; }
@keyframes tr-cf { to { transform: translate(var(--x, 0), 620px) rotate(var(--r, 540deg)); opacity: 0; } }

/* 7 ── the whole list */
.tr-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.tr-shelf { --c: #6d4ee0; min-width: 0; padding: 14px 12px 12px; border-radius: 20px; background: var(--card, #fff); border: 1px solid var(--line, #e7e4f5); border-top: 4px solid var(--c); }
html.lk-js .tr-index:not(.in) .tr-shelf { opacity: 0; transform: translateY(20px); }
.tr-index.in .tr-shelf { transition: opacity .5s ease calc(var(--d, 0) * .07s), transform .6s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0) * .07s); }
.tr-shelf h3 { display: flex; align-items: center; gap: 9px; margin: 0 2px 10px; font: 800 15px/1.2 Inter, system-ui, sans-serif; color: var(--ink, #14122b); }
.tr-shelf h3 b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 400 14px/1 Anton, Impact, sans-serif; }
.tr-boxes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.tr-box { --c: #6d4ee0; position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 13px; border: 1.5px solid transparent; background: transparent; color: var(--ink, #14122b); text-align: start; cursor: pointer; font: inherit; transition: background .18s, border-color .18s, transform .18s; -webkit-tap-highlight-color: transparent; }
.tr-box .tr-x-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); transition: background .2s, color .2s, transform .25s; }
.tr-box .tr-x-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tr-box .tr-x-t b { font: 750 14px/1.2 Inter, system-ui, sans-serif; }
.tr-box .tr-x-t small { font-size: 12px; line-height: 1.3; color: var(--mute, #6b6890); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-box .tr-x-ok { margin-inline-start: auto; flex: none; width: 18px; height: 18px; border-radius: 50%; display: none; place-items: center; background: #0f9d6e; color: #fff; font: 800 10px/1 Inter, system-ui, sans-serif; font-style: normal; }
.tr-box.seen .tr-x-ok { display: grid; }
.tr-box:hover { background: color-mix(in srgb, var(--c) 7%, transparent); transform: translateX(3px); } [dir="rtl"] .tr-box:hover { transform: translateX(-3px); }
.tr-box:hover .tr-x-ic { transform: rotate(-8deg) scale(1.06); }
.tr-box.on { background: color-mix(in srgb, var(--c) 9%, transparent); border-color: var(--c); }
.tr-box.on .tr-x-ic { background: var(--c); color: #fff; }
html.dark .tr-box .tr-x-ic { background: color-mix(in srgb, var(--c) 26%, transparent); color: color-mix(in srgb, var(--c) 50%, #fff); }
html.dark .tr-box.on .tr-x-ic { background: var(--c); color: #fff; }

/* 8 ── the twelve pictures drawn for this page (the canvas is 180 × 130, enlarged by --z) */
/* IELTS Guide: a road with four stops and a flag */
.k-guide svg { inset: 0; width: 180px; height: 130px; overflow: visible; }
.k-guide .dots { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 8; }
.k-guide .line { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.k-guide .pin { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--c); font: 800 11px/22px Inter, sans-serif; text-align: center; box-shadow: 0 5px 9px -4px rgba(0,0,0,.5); }
.k-guide .pin.a { left: 5px; top: 101px; } .k-guide .pin.b { left: 39px; top: 83px; } .k-guide .pin.c { left: 71px; top: 63px; } .k-guide .pin.d { left: 107px; top: 43px; }
.k-guide .flag { left: 140px; top: 2px; padding: 6px 8px 5px; border-radius: 8px 8px 8px 2px; background: #ffd23f; color: #1a1400; font: 400 17px/1 Anton, Impact, sans-serif; transform-origin: 0 100%; box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.run .k-guide .line { animation: k-draw 5.5s ease-in-out infinite; }
.run .k-guide .pin { animation: k-pin 5.5s infinite both; } .run .k-guide .pin.b { animation-delay: .55s; } .run .k-guide .pin.c { animation-delay: 1.1s; } .run .k-guide .pin.d { animation-delay: 1.65s; }
.run .k-guide .flag { animation: k-flag 5.5s infinite both 2.2s; }
@keyframes k-draw { 0% { stroke-dashoffset: 100; } 48%, 100% { stroke-dashoffset: 0; } }
@keyframes k-pin { 0% { opacity: 0; transform: scale(0); } 7% { opacity: 1; transform: scale(1.3); } 12%, 100% { opacity: 1; transform: none; } }
@keyframes k-flag { 0% { opacity: 0; transform: scale(0) rotate(-30deg); } 8% { opacity: 1; transform: scale(1.15) rotate(6deg); } 14%, 100% { opacity: 1; transform: none; } 30% { transform: rotate(-5deg); } 46% { transform: rotate(4deg); } }
/* Find my level: five steps, yours lights up */
.k-level .bars { left: 22px; bottom: 26px; width: 136px; height: 84px; display: flex; align-items: flex-end; gap: 8px; }
.k-level .bars i { position: static; flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.38); transform-origin: 50% 100%; }
.k-level .bars i:nth-child(1) { height: 30%; } .k-level .bars i:nth-child(2) { height: 48%; } .k-level .bars i:nth-child(3) { height: 64%; } .k-level .bars i:nth-child(4) { height: 82%; } .k-level .bars i:nth-child(5) { height: 100%; }
.k-level .bars .me { background: #ffd23f; }
.k-level .base { left: 16px; bottom: 20px; width: 148px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.65); }
.k-level .you { left: 73px; top: 21px; padding: 4px 7px; border-radius: 8px; background: #fff; color: var(--c); font: 800 12.5px/1.1 Inter, sans-serif; box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.k-level .q { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--c); font: 800 11px/20px Inter, sans-serif; text-align: center; }
.k-level .q1 { left: 20px; top: 24px; } .k-level .q2 { left: 44px; top: 6px; } .k-level .q3 { right: 4px; top: 2px; background: #0f9d6e; color: #fff; }
.run .k-level .bars i { animation: k-grow 5s infinite both; } .run .k-level .bars i:nth-child(2) { animation-delay: .15s; } .run .k-level .bars i:nth-child(3) { animation-delay: .3s; } .run .k-level .bars i:nth-child(4) { animation-delay: .45s; } .run .k-level .bars i:nth-child(5) { animation-delay: .6s; }
.run .k-level .you { animation: k-drop 5s infinite both 1.3s; }
.run .k-level .q1 { animation: k-pin 5s infinite both .2s; } .run .k-level .q2 { animation: k-pin 5s infinite both .6s; } .run .k-level .q3 { animation: k-pin 5s infinite both 1.8s; }
@keyframes k-grow { 0% { transform: scaleY(0); } 14%, 100% { transform: none; } }
@keyframes k-drop { 0% { opacity: 0; transform: translateY(-16px); } 9% { opacity: 1; transform: translateY(3px); } 13%, 100% { opacity: 1; transform: none; } }
/* My dashboard: a streak, a ring, three ticked rows */
.k-dash .card { left: 14px; top: 8px; width: 152px; height: 114px; border-radius: 14px; background: #fff; box-shadow: 0 14px 24px -12px rgba(0,0,0,.5); }
.k-dash .fl { left: 26px; top: 17px; font-size: 24px; line-height: 1; transform-origin: 50% 90%; }
.k-dash .dn { left: 57px; top: 16px; font: 400 28px/1 Anton, Impact, sans-serif; color: #14122b; }
.k-dash .rg { right: 24px; top: 14px; width: 38px; height: 38px; transform: rotate(-90deg); }
.k-dash .rg circle { fill: none; stroke-width: 5; } .k-dash .rg .bg { stroke: #ece9fb; } .k-dash .rg .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; }
.k-dash .row { left: 46px; height: 7px; border-radius: 4px; background: #e4e1f5; } .k-dash .r1 { top: 66px; width: 96px; } .k-dash .r2 { top: 84px; width: 74px; } .k-dash .r3 { top: 102px; width: 88px; }
.k-dash .tk { left: 26px; width: 13px; height: 13px; border-radius: 4px; background: #0f9d6e; color: #fff; font: 800 9px/13px Inter, sans-serif; text-align: center; } .k-dash .t1 { top: 63px; } .k-dash .t2 { top: 81px; } .k-dash .t3 { top: 99px; }
.run .k-dash .fl { animation: k-flame 1.1s ease-in-out infinite; }
.run .k-dash .rg .fg { animation: k-ring 5s ease-out infinite; }
.run .k-dash .tk { animation: k-pin 5s infinite both .6s; } .run .k-dash .t2 { animation-delay: 1.3s; } .run .k-dash .t3 { animation-delay: 2s; }
@keyframes k-flame { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.14) rotate(4deg); } }
@keyframes k-ring { 0% { stroke-dashoffset: 100; } 45%, 100% { stroke-dashoffset: 28; } }
/* Listening tests: headphones, the sound, answers 1 2 3 */
.k-lis .arc { left: 38px; top: 8px; width: 104px; height: 96px; border-radius: 52px 52px 0 0; border: 8px solid #fff; border-bottom: 0; }
.k-lis .cup { top: 64px; width: 24px; height: 46px; border-radius: 10px; background: #ffd23f; box-shadow: inset 0 -7px 0 rgba(0,0,0,.13), 0 8px 12px -8px rgba(0,0,0,.5); } .k-lis .cup.l { left: 28px; } .k-lis .cup.r { left: 128px; }
.k-lis .eq { left: 66px; top: 58px; width: 48px; height: 44px; display: flex; align-items: flex-end; gap: 4px; }
.k-lis .eq i { position: static; flex: 1; height: 100%; border-radius: 3px; background: #fff; transform-origin: 50% 100%; transform: scaleY(.55); }
.k-lis .eq i:nth-child(2) { transform: scaleY(.9); } .k-lis .eq i:nth-child(4) { transform: scaleY(.75); } .k-lis .eq i:nth-child(5) { transform: scaleY(.4); }
.k-lis .ans { padding: 3px 7px; border-radius: 8px; background: #fff; color: var(--c); font: 800 10.5px/1.25 Inter, sans-serif; box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); }
.k-lis .a1 { left: 0; top: 22px; } .k-lis .a2 { right: 0; top: 6px; } .k-lis .a3 { right: 4px; top: 106px; }
.run .k-lis .eq i { animation: k-eq .9s ease-in-out infinite alternate; } .run .k-lis .eq i:nth-child(2) { animation-delay: -.3s; } .run .k-lis .eq i:nth-child(3) { animation-delay: -.6s; } .run .k-lis .eq i:nth-child(4) { animation-delay: -.15s; } .run .k-lis .eq i:nth-child(5) { animation-delay: -.45s; }
.run .k-lis .ans { animation: k-pin 5s infinite both .7s; } .run .k-lis .a2 { animation-delay: 1.6s; } .run .k-lis .a3 { animation-delay: 2.5s; }
.run .k-lis .cup { animation: k-nod 1.8s ease-in-out infinite; }
@keyframes k-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes k-nod { 0%, 100% { transform: none; } 50% { transform: translateY(2px); } }
/* Reading tests: a page, the marker finds the line, TRUE */
.k-rea .pg, .k-wri .pg { left: 30px; top: 4px; width: 120px; height: 122px; border-radius: 10px; background: #fff; box-shadow: 0 14px 24px -12px rgba(0,0,0,.5); }
.k-rea .hd { left: 44px; top: 16px; width: 60px; height: 9px; border-radius: 4px; background: #14122b; }
.k-rea .ln { left: 44px; height: 6px; border-radius: 3px; background: #d9d6ee; }
.k-rea .ln.a { top: 36px; width: 92px; } .k-rea .ln.b { top: 50px; width: 84px; } .k-rea .ln.c { top: 64px; width: 92px; } .k-rea .ln.d { top: 78px; width: 70px; } .k-rea .ln.e { top: 92px; width: 88px; }
.k-rea .hl { left: 42px; top: 47px; width: 88px; height: 12px; border-radius: 4px; background: rgba(255,210,63,.78); transform-origin: 0 50%; }
.k-rea .chip { left: 88px; top: 103px; padding: 5px 8px; border-radius: 9px; background: #0f9d6e; color: #fff; font: 800 10.5px/1.1 Inter, sans-serif; transform: rotate(-4deg); box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.run .k-rea .hl { animation: k-mark 5s ease-in-out infinite; }
.run .k-rea .chip { animation: k-stamp 5s infinite both 1.5s; }
@keyframes k-mark { 0%, 6% { transform: scaleX(0); } 26%, 100% { transform: none; } }
@keyframes k-stamp { 0% { opacity: 0; transform: scale(2) rotate(-14deg); } 7% { opacity: 1; transform: scale(.94) rotate(-4deg); } 11%, 100% { opacity: 1; transform: rotate(-4deg); } }
/* Writing tests: the lines write themselves, 250 words */
.k-wri .ln { left: 44px; height: 6px; border-radius: 3px; background: #4a3aa8; opacity: .75; transform-origin: 0 50%; }
.k-wri .ln.a { top: 22px; width: 92px; } .k-wri .ln.b { top: 38px; width: 84px; } .k-wri .ln.c { top: 54px; width: 92px; } .k-wri .ln.d { top: 70px; width: 76px; } .k-wri .ln.e { top: 86px; width: 48px; }
.k-wri .pen { left: 96px; top: 96px; width: 62px; height: 11px; border-radius: 3px 6px 6px 3px; transform: rotate(-40deg); transform-origin: 0 50%; background: linear-gradient(90deg, #1b1b1b 0 7px, #f6d9a8 7px 17px, #ffd23f 17px 50px, #c9c9d6 50px 55px, #ff8fa8 55px 62px); box-shadow: 0 6px 8px -5px rgba(0,0,0,.6); }
.k-wri .wc { right: 0; top: 2px; padding: 6px 8px 5px; border-radius: 9px; background: #ffd23f; color: #1a1400; font: 400 15px/1 Anton, Impact, sans-serif; transform: rotate(6deg); box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.k-wri .wc::after { content: " words"; font: 800 9px/1 Inter, sans-serif; }
.run .k-wri .ln { animation: k-write 6s ease-out infinite both; } .run .k-wri .ln.b { animation-delay: .6s; } .run .k-wri .ln.c { animation-delay: 1.2s; } .run .k-wri .ln.d { animation-delay: 1.8s; } .run .k-wri .ln.e { animation-delay: 2.4s; }
.run .k-wri .pen { animation: k-pen 1.2s ease-in-out infinite; }
.run .k-wri .wc { animation: k-stamp2 6s infinite both 3s; }
@keyframes k-write { 0% { transform: scaleX(0); } 10%, 100% { transform: none; } }
@keyframes k-pen { 0%, 100% { transform: rotate(-40deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(-8px, -3px); } }
@keyframes k-stamp2 { 0% { opacity: 0; transform: scale(1.8) rotate(16deg); } 6% { opacity: 1; transform: scale(.94) rotate(6deg); } 10%, 100% { opacity: 1; transform: rotate(6deg); } }
/* Speaking tests: the examiner asks, you answer */
.k-spk .av { width: 42px; height: 42px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 8px 12px -8px rgba(0,0,0,.5); }
.k-spk .av b { left: 13px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.k-spk .av::after { content: ""; position: absolute; left: 6px; bottom: -3px; width: 30px; height: 17px; border-radius: 15px 15px 0 0; background: var(--c); }
.k-spk .av.ex { left: 8px; top: 74px; } .k-spk .av.me { right: 8px; top: 74px; background: #ffd23f; }
.k-spk .av.me b, .k-spk .av.me::after { background: #14122b; }
.k-spk .bub.q { left: 22px; top: 30px; padding: 7px 11px; border-radius: 13px 13px 13px 3px; background: #fff; color: #14122b; font: 800 12.5px/1.1 Inter, sans-serif; transform-origin: 0 100%; box-shadow: 0 8px 12px -8px rgba(0,0,0,.5); }
.k-spk .bub.a { right: 22px; top: 12px; width: 66px; height: 32px; border-radius: 13px 13px 3px 13px; background: #14122b; display: flex; align-items: center; justify-content: center; gap: 5px; transform-origin: 100% 100%; box-shadow: 0 8px 12px -8px rgba(0,0,0,.5); }
.k-spk .bub.a i { position: static; width: 5px; height: 16px; border-radius: 3px; background: #ffd23f; }
.k-spk .tm { left: 64px; top: 98px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.28); color: #fff; font: 800 10px/1 Inter, sans-serif; letter-spacing: .04em; }
.run .k-spk .bub.q { animation: k-say 5s infinite both; }
.run .k-spk .bub.a { animation: k-say2 5s infinite both; }
.run .k-spk .bub.a i { animation: k-eq .5s ease-in-out infinite alternate; } .run .k-spk .bub.a i:nth-child(2) { animation-delay: -.2s; } .run .k-spk .bub.a i:nth-child(3) { animation-delay: -.35s; }
@keyframes k-say { 0% { opacity: 0; transform: scale(0); } 7%, 38% { opacity: 1; transform: none; } 45%, 100% { opacity: .35; transform: scale(.92); } }
@keyframes k-say2 { 0%, 38% { opacity: 0; transform: scale(0); } 46%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.9); } }
/* Mock exams: a stopwatch, then L R W S one after another */
.k-mock .knob { left: 82px; top: 0; width: 16px; height: 10px; border-radius: 3px 3px 0 0; background: #fff; }
.k-mock .face { left: 50px; top: 9px; width: 80px; height: 80px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.3), 0 14px 22px -12px rgba(0,0,0,.55); }
.k-mock .hand { left: 38px; top: 9px; width: 4px; height: 33px; border-radius: 2px; background: #e11d48; transform-origin: 50% 94%; transform: rotate(40deg); }
.k-mock .dot { left: 35px; top: 35px; width: 10px; height: 10px; border-radius: 50%; background: #14122b; }
.k-mock .secs { left: 22px; top: 101px; width: 136px; display: flex; gap: 6px; }
.k-mock .secs i { position: static; flex: 1; height: 26px; border-radius: 8px; background: #fff; color: var(--c); font: 800 12px/26px Inter, sans-serif; text-align: center; }
.run .k-mock .hand { animation: k-spin 6s linear infinite; }
.run .k-mock .secs i { animation: k-sec 6s infinite both; } .run .k-mock .secs i:nth-child(2) { animation-delay: 1.5s; } .run .k-mock .secs i:nth-child(3) { animation-delay: 3s; } .run .k-mock .secs i:nth-child(4) { animation-delay: 4.5s; }
@keyframes k-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes k-sec { 0% { background: rgba(255,255,255,.3); color: #fff; transform: none; } 3% { background: #fff; color: var(--c); transform: scale(1.14); } 8%, 100% { background: #fff; color: var(--c); transform: none; } }
/* Grammar: the wrong word goes, the right one comes */
.k-gram .card { left: 8px; top: 40px; width: 164px; height: 58px; border-radius: 14px; background: #fff; box-shadow: 0 14px 24px -12px rgba(0,0,0,.5); }
.k-gram .sen { left: 22px; top: 59px; font: 700 15.5px/1.3 Inter, sans-serif; color: #14122b; white-space: nowrap; }
.k-gram .sen b { position: static; display: inline-block; color: #e11d48; text-decoration: line-through; text-decoration-thickness: 2px; }
.k-gram .good { left: 46px; top: 16px; padding: 5px 10px; border-radius: 10px; background: #0f9d6e; color: #fff; font: 800 14px/1.1 Inter, sans-serif; transform: rotate(-5deg); box-shadow: 0 8px 12px -7px rgba(0,0,0,.5); }
.k-gram .ok { right: 0; top: 26px; width: 28px; height: 28px; border-radius: 50%; background: #ffd23f; color: #1a1400; font: 800 15px/28px Inter, sans-serif; text-align: center; box-shadow: 0 8px 12px -7px rgba(0,0,0,.5); }
.run .k-gram .sen b { animation: k-shake 5s infinite; }
.run .k-gram .good { animation: k-fall 5s infinite both 1.2s; }
.run .k-gram .ok { animation: k-pin 5s infinite both 2s; }
@keyframes k-shake { 0%, 8%, 20%, 100% { transform: none; } 10%, 14%, 18% { transform: translateX(-2px) rotate(-3deg); } 12%, 16% { transform: translateX(2px) rotate(3deg); } }
@keyframes k-fall { 0% { opacity: 0; transform: translateY(-22px) rotate(-18deg); } 8% { opacity: 1; transform: translateY(3px) rotate(-3deg); } 12%, 100% { opacity: 1; transform: rotate(-5deg); } }
/* Vocabulary: a card turns over */
.tr-cv.k-voc { perspective: 520px; }
.k-voc .stk { left: 34px; top: 26px; width: 112px; height: 76px; border-radius: 14px; background: rgba(255,255,255,.34); } .k-voc .s2 { transform: rotate(-9deg); } .k-voc .s1 { transform: rotate(6deg); background: rgba(255,255,255,.55); }
.k-voc .fc { left: 30px; top: 24px; width: 120px; height: 80px; transform-style: preserve-3d; }
.k-voc .fc b { inset: 0; border-radius: 14px; display: grid; place-items: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; font: 800 16px/1.1 Inter, sans-serif; box-shadow: 0 14px 22px -12px rgba(0,0,0,.55); }
.k-voc .fc .f { background: #fff; color: #14122b; } .k-voc .fc .bk { background: #14122b; color: #ffd23f; font-size: 14px; transform: rotateY(180deg); }
.k-voc .pl { right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: #ffd23f; color: #1a1400; font: 800 12px/30px Inter, sans-serif; text-align: center; box-shadow: 0 8px 12px -7px rgba(0,0,0,.5); }
.run .k-voc .fc { animation: k-flip 5s cubic-bezier(.5,0,.3,1) infinite; }
.run .k-voc .pl { animation: k-pin 5s infinite both 2.4s; }
@keyframes k-flip { 0%, 22% { transform: rotateY(0deg); } 36%, 76% { transform: rotateY(180deg); } 90%, 100% { transform: rotateY(360deg); } }
/* Community: messages arrive, somebody likes one */
.k-comm .av { width: 22px; height: 22px; border-radius: 50%; } .k-comm .a1 { left: 6px; top: 14px; background: #ffd23f; } .k-comm .a2 { right: 6px; top: 52px; background: #fff; } .k-comm .a3 { left: 6px; top: 92px; background: #7fe3ff; }
.k-comm .b { height: 28px; background-repeat: no-repeat; box-shadow: 0 8px 12px -8px rgba(0,0,0,.5); }
.k-comm .b1 { left: 34px; top: 11px; width: 98px; border-radius: 14px 14px 14px 4px; background: #fff linear-gradient(#cfcbe8, #cfcbe8) 12px 11px / 62px 6px no-repeat; transform-origin: 0 100%; }
.k-comm .b2 { right: 34px; top: 49px; width: 80px; border-radius: 14px 14px 4px 14px; background: #14122b linear-gradient(#6f69a8, #6f69a8) 12px 11px / 48px 6px no-repeat; transform-origin: 100% 100%; }
.k-comm .b3 { left: 34px; top: 89px; width: 112px; border-radius: 14px 14px 14px 4px; background: #fff linear-gradient(#cfcbe8, #cfcbe8) 12px 11px / 78px 6px no-repeat; transform-origin: 0 100%; }
.k-comm .hrt { left: 138px; top: 78px; width: 24px; height: 24px; border-radius: 50%; background: #ff5c8a; color: #fff; font: 400 13px/24px Inter, sans-serif; text-align: center; box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.run .k-comm .b, .run .k-comm .av { animation: k-pin 6s infinite both; } .run .k-comm .a2, .run .k-comm .b2 { animation-delay: 1s; } .run .k-comm .a3, .run .k-comm .b3 { animation-delay: 2s; }
.run .k-comm .hrt { animation: k-pin 6s infinite both 3s; }
/* My class: the board, the homework, the group */
.k-class .board { left: 18px; top: 6px; width: 144px; height: 76px; border-radius: 10px; background: #14122b; box-shadow: 0 0 0 4px #fff, 0 16px 22px -10px rgba(0,0,0,.55); }
.k-class .l { left: 32px; height: 6px; border-radius: 3px; background: #fff; transform-origin: 0 50%; } .k-class .l1 { top: 22px; width: 70px; background: #ffd23f; } .k-class .l2 { top: 38px; width: 96px; opacity: .75; } .k-class .l3 { top: 54px; width: 56px; opacity: .75; }
.k-class .tick { left: 128px; top: 48px; width: 22px; height: 22px; border-radius: 50%; background: #0f9d6e; color: #fff; font: 800 12px/22px Inter, sans-serif; text-align: center; }
.k-class .ppl { left: 26px; top: 98px; width: 128px; display: flex; justify-content: center; gap: 8px; }
.k-class .ppl i { position: static; width: 24px; height: 26px; border-radius: 12px 12px 8px 8px; background: #fff; box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); } .k-class .ppl i:nth-child(1) { background: #ffd23f; } .k-class .ppl i:nth-child(3) { background: #7fe3ff; } .k-class .ppl i:nth-child(4) { background: #ffb3c7; }
.run .k-class .l { animation: k-write 6s ease-out infinite both; } .run .k-class .l2 { animation-delay: .6s; } .run .k-class .l3 { animation-delay: 1.2s; }
.run .k-class .tick { animation: k-pin 6s infinite both 2s; }
.run .k-class .ppl i { animation: k-hop 1.6s ease-in-out infinite; } .run .k-class .ppl i:nth-child(2) { animation-delay: .2s; } .run .k-class .ppl i:nth-child(3) { animation-delay: .4s; } .run .k-class .ppl i:nth-child(4) { animation-delay: .6s; }
@keyframes k-hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }

/* 8b ── six more pictures (24 Nov 2026): Study by level, Make it yours, Daily grammar, My mistakes, Word duels, Teachers' Room */
/* Study by level: a lift goes up four floors, each floor jumps when the lift arrives */
.k-levels .shaft { left: 24px; top: 2px; width: 62px; height: 126px; border-radius: 12px; border: 3px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); box-sizing: border-box; }
.k-levels .fl { left: 98px; width: 62px; height: 24px; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--c); font: 800 13px/24px Inter, sans-serif; text-align: center; box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); }
.k-levels .f4 { top: 6px; } .k-levels .f3 { top: 37px; } .k-levels .f2 { top: 68px; } .k-levels .f1 { top: 99px; }
.k-levels .lift { left: 33px; top: 99px; width: 44px; height: 24px; border-radius: 7px; background: #ffd23f; box-shadow: 0 6px 10px -5px rgba(0,0,0,.5); }
.k-levels .lift b { left: 17px; top: 5px; width: 10px; height: 14px; border-radius: 5px 5px 3px 3px; background: #1a1400; }
.run .k-levels .lift { animation: k-lift 6s cubic-bezier(.5,0,.3,1) infinite; }
.run .k-levels .fl { animation: k-flr 6s infinite; } .run .k-levels .f2 { animation-delay: 1.32s; } .run .k-levels .f3 { animation-delay: 2.64s; } .run .k-levels .f4 { animation-delay: 3.96s; }
@keyframes k-lift { 0%, 12% { transform: none; } 22%, 34% { transform: translateY(-31px); } 44%, 56% { transform: translateY(-62px); } 66%, 80% { transform: translateY(-93px); } 94%, 100% { transform: none; } }
@keyframes k-flr { 0% { transform: none; } 4% { transform: scale(1.16); } 10%, 100% { transform: none; } }
/* Make it yours: the same screen by day and by night, the letters grow */
.k-look .scr { left: 50px; top: 4px; width: 80px; height: 122px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 16px 22px -10px rgba(0,0,0,.55); }
.k-look .day { background: #fff; } .k-look .night { background: #14122b; opacity: 0; }
.k-look .hd { left: 12px; top: 16px; width: 56px; height: 8px; border-radius: 4px; } .k-look .day .hd { background: #d9d4f5; } .k-look .night .hd { background: #4b4580; }
.k-look .aa { left: 12px; top: 38px; font: 800 26px/1 "Bricolage Grotesque", Inter, sans-serif; transform-origin: 0 0; } .k-look .day .aa { color: #14122b; } .k-look .night .aa { color: #fff; }
.k-look .sun { left: 8px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 6px rgba(255,210,63,.3); }
.k-look .moon { left: 144px; top: 18px; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset -8px -3px 0 0 #fff; opacity: .4; transform: rotate(-20deg); }
.run .k-look .night { animation: k-dark 6s ease-in-out infinite; } .run .k-look .aa { animation: k-big 6s ease-in-out infinite; }
.run .k-look .sun { animation: k-sun 6s ease-in-out infinite; } .run .k-look .moon { animation: k-moon 6s ease-in-out infinite; }
@keyframes k-dark { 0%, 30% { opacity: 0; } 40%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes k-big { 0%, 10% { transform: none; } 18%, 88% { transform: scale(1.45); } 96%, 100% { transform: none; } }
@keyframes k-sun { 0%, 30%, 90%, 100% { opacity: 1; transform: none; } 40%, 80% { opacity: .3; transform: scale(.8); } }
@keyframes k-moon { 0%, 30%, 90%, 100% { opacity: .4; transform: rotate(-20deg) scale(.85); } 40%, 80% { opacity: 1; transform: rotate(-20deg) scale(1.1); } }
/* Daily grammar: today's page, five questions done one by one, a flame */
.k-daily .cal { left: 34px; top: 4px; width: 96px; height: 100px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 16px 22px -10px rgba(0,0,0,.55); }
.k-daily .top { left: 0; top: 0; width: 96px; height: 26px; background: #ff5c5c; color: #fff; font: 800 11px/26px Inter, sans-serif; letter-spacing: .14em; text-align: center; }
.k-daily .big { left: 0; top: 34px; width: 96px; color: #14122b; font: 400 54px/1 Anton, Impact, sans-serif; text-align: center; }
.k-daily .dots { left: 30px; top: 112px; display: flex; gap: 6px; }
.k-daily .dots i { position: static; width: 16px; height: 16px; border-radius: 50%; background: #ffd23f; box-shadow: 0 4px 8px -4px rgba(0,0,0,.5); }
.k-daily .fl { left: 128px; top: 0; font: 400 30px/1 sans-serif; transform-origin: 50% 100%; }
.run .k-daily .big { animation: k-pin 6s infinite both .1s; } .run .k-daily .fl { animation: k-flame 1.6s ease-in-out infinite; }
.run .k-daily .dots i { animation: k-pin 6s infinite both .6s; } .run .k-daily .dots i:nth-child(2) { animation-delay: 1s; } .run .k-daily .dots i:nth-child(3) { animation-delay: 1.4s; } .run .k-daily .dots i:nth-child(4) { animation-delay: 1.8s; } .run .k-daily .dots i:nth-child(5) { animation-delay: 2.2s; }
/* My mistakes: the wrong answer shakes, the right one is stamped, the proof in the text is marked */
.k-mist .card { left: 16px; top: 8px; width: 148px; height: 114px; border-radius: 16px; background: #fff; box-shadow: 0 16px 22px -10px rgba(0,0,0,.55); }
.k-mist .hl { left: 28px; top: 39px; width: 90px; height: 13px; border-radius: 4px; background: rgba(255,210,63,.8); transform-origin: 0 50%; }
.k-mist .ln { left: 32px; height: 7px; border-radius: 4px; background: #d9d4f5; } .k-mist .a { top: 25px; width: 104px; } .k-mist .b { top: 42px; width: 82px; }
.k-mist .bad { left: 30px; top: 76px; padding: 6px 10px; border-radius: 10px; background: #ffe1e6; color: #d1243f; font: 800 15px/1 Inter, sans-serif; text-decoration: line-through; }
.k-mist .good { left: 94px; top: 72px; padding: 8px 12px; border-radius: 12px; background: #0f9d6e; color: #fff; font: 800 17px/1 Inter, sans-serif; transform: rotate(-4deg); box-shadow: 0 8px 12px -6px rgba(0,0,0,.45); }
.run .k-mist .bad { animation: k-shake 6s infinite; } .run .k-mist .good { animation: k-stamp 6s infinite both 1.4s; } .run .k-mist .hl { animation: k-mark 6s ease-out infinite both 2.2s; }
/* Word duels: two players, VS, two bars race, a crown for the winner */
.k-duel .p { top: 8px; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 8px 12px -6px rgba(0,0,0,.5); }
.k-duel .p1 { left: 14px; background: #ffd23f; } .k-duel .p2 { left: 126px; background: #fff; }
.k-duel .vs { left: 70px; top: 13px; width: 40px; height: 30px; border-radius: 10px; background: #14122b; color: #fff; font: 400 18px/30px Anton, Impact, sans-serif; text-align: center; }
.k-duel .bar { left: 14px; height: 14px; border-radius: 7px; transform-origin: 0 50%; box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); }
.k-duel .b1 { top: 72px; width: 150px; background: #ffd23f; } .k-duel .b2 { top: 98px; width: 108px; background: #fff; }
.k-duel .crown { left: 22px; top: -14px; font: 400 24px/1 sans-serif; }
.run .k-duel .vs { animation: k-vs 1.2s ease-in-out infinite; } .run .k-duel .bar { animation: k-race 6s cubic-bezier(.3,.7,.4,1) infinite both; } .run .k-duel .b2 { animation-delay: .25s; }
.run .k-duel .crown { animation: k-pin 6s infinite both 2.6s; }
@keyframes k-vs { 0%, 100% { transform: none; } 50% { transform: scale(1.12) rotate(-4deg); } }
@keyframes k-race { 0% { transform: scaleX(0); } 42%, 100% { transform: none; } }
/* Teachers' Room: a plan, a test and a lesson fan out; an apple for the teacher */
.k-teach .sh { left: 48px; top: 8px; width: 84px; height: 112px; border-radius: 12px; transform-origin: 50% 100%; box-shadow: 0 14px 20px -10px rgba(0,0,0,.5);
  background: #fff linear-gradient(#e3e0f3, #e3e0f3) 10px 40px / 62px 6px no-repeat; }
.k-teach .sh::after { content: ""; position: absolute; left: 10px; top: 54px; width: 48px; height: 6px; border-radius: 3px; background: #e3e0f3; box-shadow: 0 14px 0 #e3e0f3, 0 28px 0 #e3e0f3; }
.k-teach .sh b { top: 12px; padding: 4px 7px; border-radius: 6px; font: 800 10px/1 Inter, sans-serif; letter-spacing: .08em; color: #fff; }
.k-teach .s1 { transform: rotate(-18deg) translateX(-26px); } .k-teach .s1 b { left: 8px; background: #2563eb; }
.k-teach .s2 { transform: rotate(-2deg); } .k-teach .s2 b { left: 10px; background: #db2777; }
.k-teach .s3 { transform: rotate(15deg) translateX(26px); } .k-teach .s3 b { right: 8px; background: #0f9d6e; }
.k-teach .apl { left: 128px; top: 90px; font: 400 30px/1 sans-serif; transform: rotate(-5deg); }
.run .k-teach .s1 { animation: k-fan1 6s cubic-bezier(.3,1.3,.5,1) infinite both; } .run .k-teach .s2 { animation: k-fan2 6s cubic-bezier(.3,1.3,.5,1) infinite both; } .run .k-teach .s3 { animation: k-fan3 6s cubic-bezier(.3,1.3,.5,1) infinite both; }
.run .k-teach .apl { animation: k-fall 6s infinite both 1.2s; }
@keyframes k-fan1 { 0%, 4% { transform: none; } 16%, 100% { transform: rotate(-18deg) translateX(-26px); } }
@keyframes k-fan2 { 0%, 4% { transform: none; } 16%, 100% { transform: rotate(-2deg); } }
@keyframes k-fan3 { 0%, 4% { transform: none; } 16%, 100% { transform: rotate(15deg) translateX(26px); } }
/* the "New" tag (24 Nov 2026): on the stage next to the shelf name, and in the list next to the name */
.tr-new { display: inline-flex; align-items: center; margin-inline-start: 6px; padding: 3px 7px; border-radius: 999px; background: #ffd23f; color: #1a1400; font: 800 10px/1.1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; vertical-align: 2px; }
.tr-box .tr-x-t b .tr-new { margin-inline-start: 4px; padding: 2px 6px; font-size: 9px; vertical-align: 1px; }
.tr-stop.on .tr-where .tr-new { animation: tr-pop .5s cubic-bezier(.3,1.5,.5,1) .45s both; }
.tr-where { flex-wrap: wrap; row-gap: 4px; max-width: calc(100% - 118px); }   /* the shelf name and the tag never run under the big number */
@media (max-width: 760px) { .tr-where { max-width: calc(100% - 92px); } }
/* the lock (25 Nov 2026): visitors who are not signed in see it on the stops that need an account */
.tr-lock { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 6px; padding: 3px 8px 3px 6px; border-radius: 999px; background: color-mix(in srgb, var(--ink, #14122b) 9%, transparent); color: var(--ink, #14122b); font: 800 10px/1.1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
html.dark .tr-lock { background: rgba(255,255,255,.13); color: #fff; }
.tr-box .tr-x-lk { margin-inline-start: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: var(--mute, #6b6890); background: color-mix(in srgb, var(--mute, #6b6890) 13%, transparent); }
.tr-box .tr-x-lk + .tr-x-ok { margin-inline-start: 6px; }

/* 9 ── phones, dark, no motion */
@media (max-width: 1000px) { .tr-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-pic { --z: 1.7; height: 360px; } }
@media (max-width: 760px) {
  .tr { padding: 84px 14px 44px; }
  .tr-sub { font-size: 14.5px; }
  .tr-chaps { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 16px -14px 12px; padding: 2px 14px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tr-chaps::-webkit-scrollbar { display: none; }
  .tr-chap { flex: none; }
  .tr-stage { padding: 10px 10px 10px; border-radius: 24px; }
  .tr-bar { gap: 5px; padding: 2px 2px 10px; } .tr-bar > span { gap: 2px; } .tr-bar i { height: 4px; }
  .tr-stop { grid-template-columns: 1fr; gap: 12px; }
  .tr-pic { --z: 1.35; height: 236px; border-radius: 18px; }
  .tr-pic .lp-blob { width: 260px; height: 220px; right: -80px; top: -100px; }
  .tr-tx, [dir="rtl"] .tr-tx { padding: 2px 6px 4px; }
  .tr-num { top: -2px; right: 6px; } [dir="rtl"] .tr-num { left: 6px; } .tr-num b { font-size: 38px; }
  .tr-tx h2 { margin: 12px 0 6px; font-size: 27px; }
  .tr-use { margin-bottom: 14px; font-size: 15.5px; min-height: 3em; }
  .tr-open { min-height: 50px; font-size: 14.5px; } .tr-open .tr-o-ic, .tr-open .tr-o-go { width: 36px; height: 36px; }
  .tr-ctl { padding: 12px 2px 0; }
  .tr-index { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
}
@media (max-width: 360px) { .tr-pic { --z: 1.2; height: 214px; } }
html.dark .tr-stage { box-shadow: 0 40px 60px -46px #000; }
html.lk-lite .tr-stop.on .tr-pic, html.lk-lite .tr-stop.on .tr-tx > *, html.lk-lite .tr-stop.on .tr-badge { animation: none !important; }
html.lk-lite .tr-index .tr-shelf { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tr-stop.on .tr-pic, .tr-stop.on .tr-tx > *, .tr-stop.on .tr-badge, .tr-cf, .tr-stop.on .tr-where .tr-new { animation: none !important; }
  .tr-index .tr-shelf { opacity: 1 !important; transform: none !important; transition: none; }
  .tr-chap, .tr-b, .tr-box, .tr-open { transition: none; }
}
