/* students section terminal (Tsec2). Hero buttons come from the shared school-hero rule in site.css */
/* phone: each headline line stays on one line, both buttons on one row */
@media (max-width: 1024px) {
  body.page-students .band-hero.side h1 {
    font-size: clamp(36px, 10.6vw, 46px);
  }
  body.page-students .band-hero.side h1 span {
    display: block;
    white-space: nowrap;
  }
  body.page-students .band-hero.side .actions {
    flex-wrap: nowrap;
  }
}
/* hero diagram: six tools, larger type (feedback 11-05) */

/* six tools as 2 x 3 so every title and subtitle stays on one line */

/* centred hero: headline on top, materials flow left to right into the tools underneath (Max 11-05) */
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero .hero-split {
    grid-template-columns: 1fr;
    gap: 44px;
    justify-items: center;
    text-align: center;
  }
  body.page-students .st-hero .hero-split > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
  }
  body.page-students .st-hero h1 {
    font-size: clamp(52px, 4.6vw, 72px);
  }
  body.page-students .st-hero h1 span {
    display: inline;
  }
  body.page-students .st-hero .lede {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  body.page-students .st-hero .actions {
    justify-content: center;
  }
}
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero {
    padding-top: 104px;
    padding-bottom: 64px;
  }
  body.page-students .st-hero .hero-split > div:first-child {
    max-width: 1120px;
  }
  body.page-students .st-hero h1 {
    white-space: nowrap;
    font-size: clamp(52px, 4.7vw, 74px);
  }
  body.page-students .st-hero .label {
    margin-bottom: 14px;
  }
  body.page-students .st-hero .lede {
    max-width: 640px;
    margin-top: 20px;
  }
  body.page-students .st-hero .actions {
    margin-top: 28px;
  }
  body.page-students .band-hero.side.st-hero .hero-split {
    gap: 40px;
  }
}
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero h1 span {
    display: inline;
  }
  body.page-students .st-hero .lede {
    max-width: 760px;
  }
}
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero .lede {
    max-width: 720px;
  }
}

/* ===== hero cards v2 (Max 11-05): quiet inputs on white, the tools on a solid Capyo-orange panel ===== */
/* materials: plain files */

/* tools: the payoff */

/* plus plenty more: glass strip across the bottom row */

/* full-window hero on desktop */
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero {
    min-height: calc(100svh / 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 40px;
  }
  body.page-students .band-hero.side.st-hero > .wrap {
    width: 100%;
  }
}

/* ===== hero flow v5 (Max 11-05, from his reference): three numbered steps. Materials -> Capyo -> tools ===== */

/* 1. materials: one soft shelf holding four white rows */

/* 2. Capyo in the middle */

@keyframes fl-run {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(36px);
  }
}

/* 3. tools: the tutor leads, four white tiles under it */

@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero .hero-split {
    gap: 34px;
  }
}
/* phone: steps stack, arrows turn downward */

/* ===== hero flow v6 (11-05, hero terminal): one surface. No shelf box, no tile borders, arrows bridge the columns, darker small text ===== */

/* materials: plain rows on the card */

/* arrows: a CSS shaft that runs from the materials edge to the tools edge, svg is only the head */

@keyframes fl-run {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-12px);
  }
}

/* tools: tutor stays the one highlighted row, the four tools sit on the card with no edges */

/* ===== hero v14 (11-05, Max: "use the iPad and put Maple Run on it"): one iPad playing real Maple Run gameplay with a class question (tutor beside it removed 11-05). ===== */
body.page-students .hv {
  position: relative;
  width: clamp(520px, 40vw, 600px);
  margin: 26px auto 0;
}
body.page-students .hv-ipad {
  position: relative;
  border-radius: clamp(26px, 2.6vw, 38px);
  background: #1b1a19;
  padding: clamp(11px, 1.05vw, 15px);
  box-shadow:
    inset 0 0 0 1.5px #3d3a37,
    inset 0 0 0 4px #100f0e,
    0 60px 100px -56px rgba(120, 52, 0, 0.55),
    0 22px 40px -26px rgba(120, 52, 0, 0.4);
}
body.page-students .hv-ipad::before {
  content: '';
  position: absolute;
  top: calc(clamp(11px, 1.05vw, 15px) / 2 - 3px);
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #2e2c2a;
  box-shadow: inset 0 0 0 1.5px #44403c;
}
body.page-students .hv-scr {
  position: relative;
  aspect-ratio: 1268/900;
  border-radius: clamp(15px, 1.6vw, 24px);
  overflow: hidden;
  background: #d98a4e;
}
@media (max-width: 1024px) {
  body.page-students .band-hero.side.st-hero {
    justify-content: flex-start;
    min-height: 0;
    padding-bottom: 64px;
  }
  body.page-students .hv {
    width: 100%;
    margin-top: 30px;
  }
  body.page-students .hv-ipad {
    border-radius: 24px;
    padding: 9px;
  }
  body.page-students .hv-scr {
    border-radius: 16px;
  }
}
/* ===== hero v16 (11-05, Max: "remake Maple Run in HTML so it renders nicer"): live Three.js runner + HTML question card ===== */
body.page-students .rn {
  --u: 1cqw;
  container-type: inline-size;
  background: linear-gradient(180deg, #f9d9b4 0%, #f7c49a 30%, #f3b48a 52%, #e9a27a 100%);
  font-family: inherit;
}
body.page-students .rn canvas,
body.page-students .rn-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
body.page-students .rn-poster {
  object-fit: cover;
  transition: opacity 0.4s;
}
body.page-students .rn.is-live .rn-poster {
  opacity: 0;
}
body.page-students .rn-hud {
  position: absolute;
  left: calc(var(--u) * 2.4);
  right: calc(var(--u) * 2.4);
  top: calc(var(--u) * 2.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: calc(var(--u) * 2.3);
  font-weight: 500;
  letter-spacing: 0.01em;
  pointer-events: none;
}
body.page-students .rn-hud > span {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 0.8);
  padding: calc(var(--u) * 0.9) calc(var(--u) * 1.8);
  border-radius: 99px;
  background: rgba(74, 36, 16, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.page-students .rn-hud b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
body.page-students .rn-hud > span:nth-child(2) {
  font-variant-numeric: tabular-nums;
  min-width: calc(var(--u) * 9);
  justify-content: center;
}
body.page-students .rn-hud svg {
  width: calc(var(--u) * 2.6);
  height: calc(var(--u) * 2.6);
}
body.page-students .rn-jump {
  position: absolute;
  left: 50%;
  top: calc(var(--u) * 9);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.2);
  padding: calc(var(--u) * 0.8) calc(var(--u) * 1.2) calc(var(--u) * 0.8) calc(var(--u) * 1.8);
  border-radius: 99px;
  background: rgba(74, 36, 16, 0.42);
  color: #fff;
  font-size: calc(var(--u) * 1.9);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
body.page-students .rn-jump b {
  display: block;
  width: calc(var(--u) * 16);
  height: calc(var(--u) * 1.3);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
body.page-students .rn-jump b span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffd15a, #ffb02e);
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
}
body.page-students .rn-dim {
  position: absolute;
  inset: 0;
  background: rgba(58, 26, 10, 0.42);
  opacity: 0;
  pointer-events: none;
}
body.page-students .rn-card {
  position: absolute;
  left: 50%;
  top: 53%;
  width: calc(var(--u) * 62);
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
  background: #fffaf2;
  border-radius: calc(var(--u) * 2.2);
  overflow: hidden;
  box-shadow: 0 calc(var(--u) * 2.4) calc(var(--u) * 5) -calc(var(--u) * 1.6) rgba(60, 22, 4, 0.5);
  color: #2a1d14;
}
body.page-students .rn-head {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.4);
  padding: calc(var(--u) * 1.6) calc(var(--u) * 2.2);
  background: #f2871d;
  color: #fff;
  font-size: calc(var(--u) * 2.5);
  font-weight: 700;
}
body.page-students .rn-head svg {
  width: calc(var(--u) * 3.4);
  height: calc(var(--u) * 3.4);
}
body.page-students .rn-timer {
  margin-left: auto;
  min-width: calc(var(--u) * 5.4);
  padding: calc(var(--u) * 0.4) calc(var(--u) * 1.2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  text-align: center;
  font-size: calc(var(--u) * 2.1);
  font-variant-numeric: tabular-nums;
}
body.page-students .rn-q {
  margin: 0;
  padding: calc(var(--u) * 4) calc(var(--u) * 3) calc(var(--u) * 3.4);
  text-align: center;
  font-size: calc(var(--u) * 3.3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
body.page-students .rn-opts {
  display: grid;
  gap: calc(var(--u) * 1.1);
  padding: 0 calc(var(--u) * 2.4) calc(var(--u) * 2.4);
}
body.page-students .rn-opt {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.8);
  padding: calc(var(--u) * 0.9);
  border-radius: calc(var(--u) * 1.4);
  background: #f1e7da;
  font-size: calc(var(--u) * 2.6);
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
body.page-students .rn-l {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 4.4);
  height: calc(var(--u) * 4.4);
  border-radius: calc(var(--u) * 1);
  background: #f2871d;
  color: #fff;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}
body.page-students .rn-opt.ok {
  background: #2fae5a;
  color: #fff;
}
body.page-students .rn-opt.ok .rn-l {
  background: #fff;
  color: #2fae5a;
}
body.page-students .rn-opt.off {
  opacity: 0.45;
}
body.page-students .rn-tap {
  position: absolute;
  width: calc(var(--u) * 7);
  height: calc(var(--u) * 7);
  border-radius: 50%;
  border: calc(var(--u) * 0.5) solid #fff;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  pointer-events: none;
}
/* ===== hero v18 (11-05, Max: "this layout looks like shit"): on desktop the live game fills the hero and the headline sits in its sky, like Apple and Tesla product heroes. Phone keeps the iPad. ===== */
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero {
    position: relative;
    min-height: calc(100svh / 0.95);
    justify-content: flex-start;
    padding: calc(var(--head) + clamp(28px, 5.4vh, 64px)) 0 0;
    background: #fff1e0;
    overflow: hidden;
  }
  body.page-students .band-hero.side.st-hero > .wrap {
    position: static;
    max-width: 1200px;
  }
  body.page-students .band-hero.side.st-hero .hero-split {
    display: block;
    text-align: center;
  }
  body.page-students .st-hero .hero-split > div:first-child {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
  }
  body.page-students .band-hero.side.st-hero .label {
    margin: 0 0 16px;
  }
  body.page-students .band-hero.side.st-hero h1 {
    white-space: nowrap;
    font-size: clamp(50px, 4.6vw, 80px);
    line-height: 1.02;
  }
  body.page-students .band-hero.side.st-hero h1 span {
    display: inline;
    white-space: nowrap;
  }
  body.page-students .band-hero.side.st-hero .lede {
    margin: 20px auto 0;
    max-width: 34em;
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.5;
    text-wrap: balance;
  }
  body.page-students .band-hero.side.st-hero .actions {
    justify-content: center;
    margin-top: 28px;
  }
  body.page-students .hv {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: auto;
    max-width: none;
    margin: 0;
  }
  body.page-students .hv-ipad {
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  body.page-students .hv-ipad::before {
    display: none;
  }
  body.page-students .hv-scr {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
  }
  body.page-students .rn {
    --u: min(1cqw, 7px);
    background: linear-gradient(
      180deg,
      #fff1e0 0%,
      #fff1e0 22%,
      #fde3c6 40%,
      #f9cfa8 54%,
      #f5bd93 64%,
      #e9a27a 100%
    );
  }
  body.page-students .rn-hud {
    display: none;
  }
  body.page-students .rn::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 56%;
    background: linear-gradient(
      180deg,
      #fff1e0 0%,
      rgba(255, 241, 224, 0.92) 42%,
      rgba(255, 241, 224, 0.55) 70%,
      rgba(255, 241, 224, 0) 100%
    );
    pointer-events: none;
  }
  body.page-students .rn-dim {
    z-index: 1;
  }
  body.page-students .rn-card,
  body.page-students .rn-tap,
  body.page-students .rn-jump {
    z-index: 2;
  }
  body.page-students .rn-jump {
    top: auto;
    bottom: calc(var(--u) * 4);
  }
  body.page-students .rn-card {
    top: 73%;
  }
  body.page-students .rn-dim {
    background: linear-gradient(180deg, rgba(58, 26, 10, 0) 38%, rgba(58, 26, 10, 0.5) 70%);
  }
}

/* tutor: talk it through, the three spoken points pop in with an icon each (the /schools/ tutor card's history answer) */
body.page-students #tutor .tz-pts {
  margin: 10px 0 2px;
  gap: 8px;
}
body.page-students #tutor .tz-pts li.tz-pt {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
body.page-students #tutor .tz-pts li.tz-pt::before {
  content: none;
}
body.page-students #tutor .tz-ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fffdf9;
  display: grid;
  place-items: center;
  color: var(--ink);
}
body.page-students #tutor .tz-ic svg {
  width: 20px;
  height: 20px;
  display: block;
}
body.page-students #tutor .tz-win.t-run .tz-pts li.tz-pt {
  animation: tz-in 0.5s var(--ease) both;
  animation-delay: var(--d, 0s);
}
body.page-students #tutor .tz-win.t-run .tz-pt .tz-ic {
  animation: tz-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes tz-pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #tutor .tz-win .tz-pts li.tz-pt,
  body.page-students #tutor .tz-win .tz-pt .tz-ic {
    animation: none;
  }
}
body.page-students #tutor .tz-ex b {
  text-wrap: balance;
}
/* talk it through: the question back is its own bubble under the answer */
body.page-students #tutor .tz-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
body.page-students #tutor .tz-stack > .tz-bub:first-child {
  align-self: stretch;
}
body.page-students #tutor .tz-bub2 {
  font-weight: 600;
}
body.page-students #tutor .tz-a .tz-bub2 {
  flex: none;
  border-radius: 6px 18px 18px 18px;
}
body.page-students #tutor .tz-win.t-dots .tz-bub2 {
  display: none;
}
body.page-students #tutor .tz-win.t-run .tz-bub2 {
  animation: tz-in 0.6s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #tutor .tz-win .tz-bub2 {
    animation: none;
  }
}

/* practice tests v2: two-column head, orange picks, results pane in the platform's results structure
   (score ring, every question with its mark, the missed one open with your answer / correct answer / why / review) */
body.page-students .pf-hd {
  margin-bottom: clamp(32px, 3.6vw, 52px);
}
body.page-students #practice .pf-chips span {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students #practice .pf-chips span.sel {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
body.page-students #practice .pf-res {
  padding: 18px 20px;
  gap: 12px;
  overflow: hidden;
}
body.page-students .pf-rhd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
}
body.page-students .pf-ring {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
body.page-students .pf-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
body.page-students .pf-ring circle {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}
body.page-students .pf-ring .bg {
  stroke: #f1e7da;
}
body.page-students .pf-ring .fg {
  stroke: var(--orange);
  stroke-dasharray: 169.6;
  stroke-dashoffset: 169.6;
  transition: stroke-dashoffset 1s var(--ease) 0.35s;
}
body.page-students .pf-ring b {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.page-students .pf-rhx {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.page-students .pf-rhx b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
body.page-students .pf-rhx small {
  font-size: 13.5px;
  color: var(--muted);
}
body.page-students .pf-rq {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
body.page-students .pf-rq li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 10px;
  padding: 7px 12px;
  border-radius: 11px;
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-students .pf-rn {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
body.page-students .pf-rt2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .pf-rq .mk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
}
body.page-students .pf-rq .mk svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .pf-rq .mk.ok {
  background: #3f8a2c;
}
body.page-students .pf-rq .mk.no {
  background: #e3a21a;
}
body.page-students .pf-rq li.open {
  padding: 10px 12px 14px;
  box-shadow: inset 0 0 0 1.5px #f0dcc4;
}
body.page-students .pf-rq li.open .pf-rt2 {
  font-weight: 700;
  font-size: 15.5px;
}
body.page-students .pf-rdet {
  grid-column: 2 / 4;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.page-students .pf-rab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.page-students .pf-rab div {
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
body.page-students .pf-rab em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}
body.page-students .pf-rab .ya {
  background: #fbece8;
  color: #a8321f;
}
body.page-students .pf-rab .ca {
  background: #ebf4e6;
  color: #2f7a21;
}
body.page-students .pf-rdet p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(18, 24, 21, 0.78);
}
body.page-students .pf-rbtn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
body.page-students .pf-rbtn img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #fbe3c9;
}
body.page-students .pf-rbtn.press {
  transform: scale(0.94);
}
body.page-students .pf-win.s-res .pf-rhd,
body.page-students .pf-win.s-res .pf-rq li {
  opacity: 1;
  transform: none;
}
body.page-students .pf-win.s-res .pf-rq li {
  transition-delay: calc(0.45s + var(--n) * 0.12s);
}
body.page-students .pf-win.s-res .pf-rq .mk {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.75s + var(--n) * 0.12s);
}
body.page-students .pf-win.s-res .pf-ring .fg {
  stroke-dashoffset: 84.8;
}
body.page-students .pf-win.s-res .pf-rdet {
  opacity: 1;
  transition-delay: 1.6s;
}
@media (max-width: 1024px) {
  body.page-students #practice .pf-win.s-res .pf-pane {
    height: auto;
  }
  body.page-students #practice .pf-res {
    position: relative;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .pf-rhd,
  body.page-students .pf-rq li,
  body.page-students .pf-rq .mk,
  body.page-students .pf-rdet,
  body.page-students .pf-ring .fg {
    transition: none !important;
  }
}
@media (min-width: 1025px) {
  body.page-students #practice .pf-main {
    height: 574px;
  }
}
body.page-students .pf-rq li.open .pf-rt2 {
  white-space: normal;
}
body.page-students .pf-rab em {
  white-space: nowrap;
}
@media (max-width: 600px) {
  body.page-students .pf-rab div {
    padding: 7px 9px;
  }
  body.page-students .pf-rab em {
    font-size: 11px;
  }
}
body.page-students .pf-rbtn {
  background: var(--ink);
}

/* test week: one line per day, no paragraph */
body.page-students #road .rd-copy h3 {
  margin-top: 14px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.05;
  max-width: 12em;
  hyphens: none;
}
/* learn while gaming: smaller cards */
@media (min-width: 1025px) {
  body.page-students #after .lg-media {
    height: 420px;
  }
  body.page-students #after .rw-ring {
    max-width: 132px;
  }
  body.page-students #after .rw-shop {
    padding: 20px 20px 16px;
    gap: 12px;
  }
  body.page-students #after .rw-av {
    gap: 12px;
  }
  body.page-students #after .lg-text {
    padding: 20px 22px 14px;
  }
}

/* test week v2: the same panel as the tutor section. Head and the seven days as a list on the left, the day's screen in the wash well on the right.
   The month grid, the per-day headlines and the chip boxes are gone. */
body.page-students #road .rd {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: 12px 12px 12px clamp(28px, 3.4vw, 52px);
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #road .rd-side {
  align-self: center;
  padding: 36px 0;
}
body.page-students #road .rd-side h2 {
  margin-top: 14px;
  max-width: 560px;
}
body.page-students #road .rd-side .lede {
  max-width: 440px;
  margin-top: 20px;
}
body.page-students #road .rd-week {
  margin-top: 26px;
  padding: 0;
}
body.page-students #road .rd-cal {
  display: none;
}
body.page-students #road .rd-days {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
body.page-students #road .rd-day,
body.page-students #road .rd-day:hover,
body.page-students #road .rd-day.is-on,
body.page-students #road .rd-day.is-next,
body.page-students #road .rd-day:last-child,
body.page-students #road .rd-day.is-test {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 0;
  margin: 0;
  padding: 6px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 0.45;
  transition: opacity 0.45s ease;
}
body.page-students #road .rd-day.is-on {
  opacity: 1;
}
body.page-students #road .rd-day:hover {
  opacity: 0.8;
}
body.page-students #road .rd-dn,
body.page-students #road .rd-day.is-next .rd-dn {
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  width: 46px;
  padding: 0;
}
body.page-students #road .rd-dn small {
  display: none;
}
body.page-students #road .rd-dn b {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f6ead9;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
body.page-students #road .rd-day.is-on .rd-dn b {
  background: var(--orange);
  color: #fff;
}
body.page-students #road .rd-day.is-test .rd-dn b {
  box-shadow: inset 0 0 0 2px var(--orange);
}
body.page-students #road .rd-day.is-test.is-on .rd-dn b {
  box-shadow: none;
}
body.page-students #road .rd-chip,
body.page-students #road .rd-chip[data-n],
body.page-students #road .rd-chip[data-n].in,
body.page-students #road .rd-chip[data-n]:not(.in),
body.page-students #road .rd-chip.rd-test,
body.page-students #road .rd-day.is-test .rd-chip {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  white-space: normal;
}
body.page-students #road .rd-chip > * {
  display: none !important;
}
body.page-students #road .rd-chip::before {
  content: attr(data-day);
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
body.page-students #road .rd-fill {
  display: none;
}
body.page-students #road .rd-well {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  min-height: 600px;
  margin: 0;
  padding: 40px clamp(28px, 3.2vw, 52px);
  border-radius: 18px;
  background: #fbe4c8 url('/assets/img/schools/hero-background.webp') 30% 100% / auto 230% no-repeat;
}
body.page-students #road .rd-copies {
  display: none;
}
body.page-students #road .rd-stage {
  width: 100%;
  max-width: 520px;
  min-height: 0;
}
@media (max-width: 1024px) {
  body.page-students #road .rd {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students #road .rd-side {
    padding: 22px 12px 0;
  }
  body.page-students #road .rd-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }
  body.page-students #road .rd-chip,
  body.page-students #road .rd-chip[data-n],
  body.page-students #road .rd-chip.rd-test {
    font-size: 16px;
  }
  body.page-students #road .rd-dn b {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  body.page-students #road .rd-dn {
    width: 36px;
  }
  body.page-students #road .rd-day {
    gap: 10px;
  }
  body.page-students #road .rd-well {
    min-height: 0;
    padding: 22px 12px;
    border-radius: 14px;
  }
}
body.page-students #road .rd-side h2 em {
  display: block;
}
@media (max-width: 1024px) {
  body.page-students #road .rd-days {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  body.page-students #road .rd-chip,
  body.page-students #road .rd-chip[data-n],
  body.page-students #road .rd-chip[data-n].in,
  body.page-students #road .rd-chip[data-n]:not(.in),
  body.page-students #road .rd-chip.rd-test,
  body.page-students #road .rd-day.is-test .rd-chip {
    font-size: 16.5px;
  }
  body.page-students #road .rd-chip::before {
    font-size: 12.5px;
  }
  body.page-students #road .rd-dn,
  body.page-students #road .rd-day.is-next .rd-dn {
    width: 38px;
    flex: none;
  }
  body.page-students #road .rd-day,
  body.page-students #road .rd-day:hover,
  body.page-students #road .rd-day.is-on,
  body.page-students #road .rd-day.is-next,
  body.page-students #road .rd-day:last-child,
  body.page-students #road .rd-day.is-test {
    gap: 12px;
    padding: 4px 0;
  }
}

/* languages v2: same panel as the tutor section, small; the window is the real Vocab practice read-aloud screen (assets/embeds/vb/vocab.html, the /schools/ lab A screen) */
body.page-students #lang .lx {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: 12px 12px 12px clamp(28px, 3.4vw, 52px);
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #lang .lx-copy {
  align-self: center;
  padding: 36px 0;
}
body.page-students #lang .lx-copy h2 {
  margin-top: 14px;
  max-width: 560px;
}
body.page-students #lang .lx-copy .lede {
  max-width: 440px;
  margin-top: 20px;
}
body.page-students #lang .lx-well {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(24px, 3vw, 44px);
  border-radius: 18px;
  background: #fbe4c8 url('/assets/img/schools/hero-background.webp') 30% 100% / auto 230% no-repeat;
}
body.page-students #lang .lx-win {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(500px * var(--k, 1));
  margin: 0;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 28px 70px -24px rgba(120, 50, 0, 0.32);
  overflow: hidden;
}
body.page-students #lang .lx-win iframe {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 560px;
  height: 500px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-students #lang .lx-win.on iframe {
  opacity: 1;
}
@media (max-width: 1024px) {
  body.page-students #lang .lx {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students #lang .lx-copy {
    padding: 22px 12px 0;
  }
  body.page-students #lang .lx-well {
    padding: 22px 12px;
    border-radius: 14px;
  }
  body.page-students #lang .lx-win {
    border-radius: 14px;
  }
}

/* one rhythm: every section after the hero sits the same distance from the one before (the site's .section gap) */
body.page-students #after {
  padding: 0 0 clamp(64px, 7vw, 112px);
}
body.page-students #lang {
  padding-top: 0;
}
/* games head like every other head on the page: headline left, subline right on the baseline */
body.page-students #after .band-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  justify-items: stretch;
  align-items: end;
  text-align: left;
  gap: 48px;
}
body.page-students #after .band-head h2 {
  max-width: none;
  margin-inline: 0;
}
body.page-students #after .band-head .lede {
  max-width: none;
  margin: 0 0 6px;
  text-wrap: pretty;
}
body.page-students #after .lg {
  margin-top: 0;
}
@media (max-width: 1024px) {
  body.page-students #after .band-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
body.page-students #after .band-head h2 {
  color: var(--ink);
}

/* one head for every section: headline left, subline in the same 420px column on the right, on the baseline */
body.page-students :is(.hb-head, .rd-head, .tbt-head) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: end;
  max-width: none;
  margin-inline: 0;
}
body.page-students :is(.hb-head, .rd-head, .tbt-head) .lede {
  max-width: none;
  margin: 0 0 6px;
  font-size: 18px;
  text-wrap: pretty;
}
/* textbook at the page's full width like every other section */
body.page-students #textbook .tbt-cards {
  max-width: none;
}
/* progress cards sit in the same paper panel and wash well as the tutor, test week and languages windows */
body.page-students #progress .pg-well {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #progress .pg-stack {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 18px;
  background: #fbe4c8 url('/assets/img/schools/hero-background.webp') 30% 100% / auto 230% no-repeat;
}
@media (max-width: 1024px) {
  body.page-students :is(.hb-head, .rd-head, .tbt-head) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.page-students #progress .pg-well {
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students #progress .pg-stack {
    padding: 14px;
    border-radius: 14px;
  }
}
/* same space between every head and what follows it */
body.page-students :is(.hb-head, .rd-head, .tbt-head) {
  margin-bottom: clamp(32px, 3.6vw, 52px);
}
body.page-students
  :is(#class .hb-cards, #progress .pg-well, #textbook .tbt-cards, #practice .pf-frame, #after .lg) {
  margin-top: 0;
}

/* test week v4 (Max 11-05): the platform's real student calendar (assets/platform/student-calendar) rebuilt for the card:
   month toolbar, two weeks, small tinted event chips with a coloured left edge. Mei's plan chips land day by day, today walks to the test. */
body.page-students .wk-panel {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students .wk-well {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 18px;
  background: #fbe4c8 url('/assets/img/schools/hero-background.webp') 30% 100% / auto 230% no-repeat;
}
body.page-students .cv {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px -24px rgba(120, 50, 0, 0.32);
  overflow: hidden;
  color: #1d1a17;
}
body.page-students .cv-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 20px;
}
body.page-students .cv-nav {
  display: flex;
  gap: 14px;
}
body.page-students .cv-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #1d1a17;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .cv-today {
  font-size: 17px;
  font-weight: 600;
}
body.page-students .cv-m {
  font-size: 17px;
  font-weight: 600;
}
body.page-students .cv-seg {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border-radius: 12px;
  background: #f4f1ec;
  font-size: 14px;
  font-weight: 500;
  color: #6b645c;
}
body.page-students .cv-seg span {
  padding: 7px 16px;
  border-radius: 9px;
}
body.page-students .cv-seg .on {
  background: #fff;
  color: #1d1a17;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
body.page-students .cv-h {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fbfaf8;
  box-shadow:
    inset 0 1px #eeebe6,
    inset 0 -1px #eeebe6;
}
body.page-students .cv-h span {
  padding: 11px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b645c;
}
body.page-students .cv-g {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #eeebe6;
  gap: 1px;
}
body.page-students .cv-d {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 118px;
  padding: 8px 7px 10px;
  background: #fff;
  transition: background 0.4s;
}
body.page-students .cv-d.past {
  background: #fcfbf9;
}
body.page-students .cv-n {
  position: relative;
  align-self: flex-end;
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  isolation: isolate;
  transition: color 0.3s;
}
body.page-students .cv-n::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #1d1a17;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
body.page-students .cv-d.today .cv-n {
  color: #fff;
}
body.page-students .cv-d.today .cv-n::before {
  opacity: 1;
  transform: none;
}
body.page-students .cv-d.past .cv-n {
  color: #a9a29a;
}
body.page-students .cv-ev {
  --c: 120, 110, 100;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  height: 24px;
  padding: 0 6px 0 9px;
  border: 1px solid rgba(var(--c), 0.33);
  border-radius: 6px;
  background: rgba(var(--c), 0.1);
  box-shadow: inset 3px 0 rgb(var(--c));
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .cv-ev img {
  flex: none;
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.8;
}
body.page-students .cv-cls {
  border-style: dashed;
  background: rgba(var(--c), 0.06);
  box-shadow: none;
  color: #6b645c;
  font-weight: 500;
}
body.page-students .cv-plan {
  --c: 211, 84, 0;
}
body.page-students .cv-plan img {
  border-radius: 50%;
  object-fit: cover;
  opacity: 1;
}
body.page-students .cv-test {
  --c: 220, 52, 52;
}
body.page-students .cv.js .cv-plan {
  opacity: 0;
  transform: scale(0.85);
  transform-origin: left center;
  transition:
    opacity 0.3s,
    transform 0.45s var(--ease);
}
body.page-students .cv.js.plan .cv-plan {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--n) * 260ms);
}
body.page-students .cv-d.past .cv-ev {
  opacity: 0.55;
}
@media (max-width: 1024px) {
  body.page-students .wk-panel {
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students .wk-well {
    padding: 12px 8px;
    border-radius: 14px;
  }
  body.page-students .cv {
    border-radius: 12px;
  }
  body.page-students .cv-bar {
    gap: 12px;
    padding: 12px;
  }
  body.page-students .cv-nav,
  body.page-students .cv-today {
    display: none;
  }
  body.page-students .cv-m {
    font-size: 15px;
  }
  body.page-students .cv-seg {
    font-size: 12px;
    padding: 3px;
  }
  body.page-students .cv-seg span {
    padding: 5px 9px;
  }
  body.page-students .cv-h span {
    font-size: 10.5px;
    letter-spacing: 0.03em;
  }
  body.page-students .cv-d {
    min-height: 82px;
    padding: 5px 3px 6px;
    gap: 4px;
  }
  body.page-students .cv-n {
    min-width: 24px;
    height: 24px;
    font-size: 12.5px;
    align-self: center;
  }
  body.page-students .cv-ev {
    justify-content: center;
    height: 20px;
    padding: 0 2px 0 4px;
    font-size: 0;
    box-shadow: inset 2px 0 rgb(var(--c));
  }
  body.page-students .cv-cls {
    box-shadow: none;
  }
  body.page-students .cv-ev img {
    width: 13px;
    height: 13px;
  }
}

/* tutor window keeps one height (the chat grows inside it, the input stays at the bottom), so the section never
   changes height while the loop plays and the practice section under it stops jumping on scroll (Max 11-05: glitch) */
@media (min-width: 1025px) {
  body.page-students .tz-win {
    height: 580px;
  }
}
body.page-students .tz-win .tz-in {
  margin-top: auto;
}
/* calendar grid lines drawn per cell so no column line drops out at fractional widths */
body.page-students .cv-g {
  gap: 0;
  background: none;
}
body.page-students .cv-d {
  box-shadow:
    inset -1px 0 #eeebe6,
    inset 0 -1px #eeebe6;
}
body.page-students .cv-d:nth-child(7n) {
  box-shadow: inset 0 -1px #eeebe6;
}
body.page-students .cv-d:nth-child(n + 8) {
  box-shadow: inset -1px 0 #eeebe6;
}
body.page-students .cv-d:nth-child(14) {
  box-shadow: none;
}
@media (min-width: 1025px) {
  body.page-students .cv-d {
    min-height: 108px;
    padding: 8px 8px 10px;
  }
}
@media (max-width: 1024px) {
  body.page-students .cv-seg span:last-child {
    display: none;
  }
  body.page-students .cv-cls {
    display: none;
  }
  body.page-students .cv-m {
    white-space: nowrap;
  }
}
@media (min-width: 1025px) {
  body.page-students .cv-d:nth-child(n + 8) {
    min-height: 92px;
  }
}

/* flashcards (Max 11-05: "a very small section, smart flashcards from your class materials"): the languages panel mirrored,
   window left, copy right; the window is the Vocab practice screen in Flashcards mode (assets/embeds/vb/flash.html, 560x420) */
body.page-students #cards .lx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: 12px clamp(28px, 3.4vw, 52px) 12px 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #cards .lx-copy {
  order: 2;
  align-self: center;
  padding: 28px 0;
}
body.page-students #cards .lx-copy h2 {
  margin-top: 14px;
  max-width: 560px;
}
body.page-students #cards .lx-copy h2 em {
  display: block;
}
body.page-students #cards .lx-copy .lede {
  max-width: 440px;
  margin-top: 20px;
}
body.page-students #cards .lx-well {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(24px, 3vw, 44px);
  border-radius: 18px;
  background: #fbe4c8 url('/assets/img/schools/hero-background.webp') 70% 100% / auto 230% no-repeat;
}
body.page-students #cards .lx-win {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(420px * var(--k, 1));
  margin: 0;
  border-radius: 16px;
  background: #faf8f5;
  box-shadow: 0 28px 70px -24px rgba(120, 50, 0, 0.32);
  overflow: hidden;
}
body.page-students #cards .lx-win iframe {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 560px;
  height: 420px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-students #cards .lx-win.on iframe {
  opacity: 1;
}
@media (max-width: 1024px) {
  body.page-students #cards .lx {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students #cards .lx-copy {
    order: 0;
    padding: 22px 12px 0;
  }
  body.page-students #cards .lx-well {
    padding: 22px 12px;
    border-radius: 14px;
  }
  body.page-students #cards .lx-win {
    border-radius: 14px;
  }
}
@media (min-width: 1025px) {
  body.page-students #cards .lx {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr);
  }
  body.page-students #cards .lx-well {
    padding: 32px;
  }
}

/* test week is one week, not two (Max 11-06): Week view on, a single row of taller days, no bottom line inside the card */
body.page-students .cv-d {
  box-shadow: inset -1px 0 #eeebe6;
}
body.page-students .cv-d:nth-child(7) {
  box-shadow: none;
}
@media (min-width: 1025px) {
  body.page-students .cv-d {
    min-height: 148px;
    padding: 10px 9px 12px;
    gap: 7px;
  }
}
@media (max-width: 1024px) {
  body.page-students .cv-d {
    min-height: 96px;
  }
}

/* Mei's nudge opens the test week (Max 11-06): the card comes up first on its own, one rounded row (Mei, the line,
   Map it out), nothing behind it; Map it out is tapped, the card leaves, the calendar comes in and the plan lands */
body.page-students .wk-well {
  position: relative;
}
body.page-students .cv {
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
body.page-students .wk-well.ask .cv,
body.page-students .wk-well.pre .cv {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
}
body.page-students .cv-nudge {
  display: none;
}
body.page-students .cv.js ~ .cv-nudge {
  display: flex;
  align-items: center;
  gap: 14px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 10px 10px 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: #1d1a17;
  box-shadow: 0 18px 44px -18px rgba(120, 50, 0, 0.34);
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.97);
  transition:
    opacity 0.4s var(--ease),
    transform 0.55s var(--ease);
  pointer-events: none;
}
body.page-students .wk-well.ask .cv-nudge {
  opacity: 1;
  transform: translate(-50%, -50%);
}
body.page-students .cv-nudge img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  background: #efe6da;
}
body.page-students .cv-nudge p {
  margin: 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
body.page-students .cv-yes {
  flex: none;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--orange, #d35400);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}
body.page-students .wk-well.tap .cv-yes {
  transform: scale(0.94);
}
@media (max-width: 1024px) {
  body.page-students .cv-d {
    min-height: 132px;
  }
  body.page-students .cv.js ~ .cv-nudge {
    flex-wrap: wrap;
    width: calc(100% - 28px);
    gap: 10px 12px;
    padding: 14px;
    border-radius: 22px;
  }
  body.page-students .cv-nudge img {
    width: 36px;
    height: 36px;
  }
  body.page-students .cv-nudge p {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    font-size: 14.5px;
  }
  body.page-students .cv-yes {
    flex: 1 0 100%;
    height: 40px;
    font-size: 14px;
  }
}
/* Max 11-06: less of a pill, a rounded rectangle, shorter (the line wraps to two inside the row) */
body.page-students .cv.js ~ .cv-nudge {
  width: min(540px, calc(100% - 40px));
  gap: 16px;
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
}
body.page-students .cv-nudge p {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  text-wrap: balance;
}
body.page-students .cv-yes {
  border-radius: 12px;
  padding: 0 18px;
}
@media (max-width: 1024px) {
  body.page-students .cv.js ~ .cv-nudge {
    width: calc(100% - 28px);
    padding: 14px;
    border-radius: 16px;
  }
  body.page-students .cv-yes {
    border-radius: 10px;
  }
}
/* Max 11-06: class chips gone; one plain line under the calendar says what it is */
body.page-students .cv-cap {
  margin: 22px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  color: #5a4636;
  transition: opacity 0.5s var(--ease);
}
body.page-students .wk-well.pre .cv-cap {
  opacity: 0;
}
@media (max-width: 1024px) {
  body.page-students .cv-cap {
    margin-top: 14px;
    padding: 0 8px;
    font-size: 14.5px;
  }
}
body.page-students .cv-cap {
  text-wrap: balance;
}
@media (min-width: 1025px) {
  body.page-students .cv-d {
    min-height: 112px;
  }
}
@media (max-width: 1024px) {
  body.page-students .cv-d {
    min-height: 96px;
  }
}
/* Max 11-06: a little explanation inside each calendar day, under its step (replaces the caption under the calendar) */
body.page-students .cv-tx {
  padding: 0 3px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #6b645c;
  text-wrap: pretty;
}
body.page-students .cv.js .cv-tx:not(.cv-tx-on) {
  opacity: 0;
  transition: opacity 0.35s;
}
body.page-students .cv.js.plan .cv-tx {
  opacity: 1;
  transition-delay: calc(var(--n) * 260ms + 150ms);
}
body.page-students .cv-d.past .cv-tx {
  opacity: 0.55;
}
@media (min-width: 1025px) {
  body.page-students .cv-d {
    min-height: 128px;
  }
}
@media (max-width: 1024px) {
  body.page-students .cv-tx {
    display: none;
  }
}

/* hero 11-10 (Max): no buttons on a student page, the nav carries "Talk to us"; headline block sits lower in the sky */
@media (min-width: 1025px) {
  body.page-students .band-hero.side.st-hero {
    padding-top: calc(var(--head) + clamp(48px, 8.5vh, 96px));
  }
}
/* hero 11-10 (Max): header melts into the hero sky at the top; frosted bar comes back once scrolled */
body.page-students .site-header .bar {
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    backdrop-filter 0.25s;
}
body.page-students .site-header:not(.scrolled) .bar:not(#_) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* tutor 11-10 (Max): the language pill flips to the answer's language on "Any language" */
body.page-students #tutor .tz-lang.flip b {
  display: inline-block;
  animation: tz-lang-flip 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.page-students #tutor .tz-lang.flip {
  animation: tz-lang-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes tz-lang-flip {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tz-lang-pop {
  0% {
    transform: scale(0.94);
  }
  60% {
    transform: scale(1.04);
  }
  100% {
    transform: none;
  }
}

/* practice 11-10 rework (Max: "rework it", too big, card does not fill the corners, fix the question screens too).
   One window, three screens, one look: white window, cool grey pane to the corners, white cards.
   Results = score strip on top, question list left, the open question right. Sized so head + window fit 1450x758. */
@media (min-width: 1025px) {
  body.page-students #practice .pf-hd {
    margin-bottom: 32px;
  }
  body.page-students #practice {
    padding-top: 72px;
  }
}
body.page-students #practice .pf-well {
  padding: 24px clamp(16px, 4vw, 64px) 44px;
}
body.page-students #practice .pf-win {
  max-width: 1000px;
  height: auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
body.page-students #practice .tz-top {
  padding: 11px 18px;
  background: #fff;
}
body.page-students #practice .pf-win:not(.s-chat) .tz-top {
  box-shadow: none;
}
body.page-students #practice .pf-win:not(.s-chat) .pt-lang {
  visibility: hidden;
}
body.page-students #practice .pf-main {
  height: 400px;
}
body.page-students #practice .pf-win:is(.s-test, .s-res) .pf-pane {
  margin: 0;
  border-radius: 0;
  background: #f5f5f4;
}
/* question screens */
body.page-students #practice .pf-win.s-test .pf-test {
  padding: 22px max(20px, calc((100% - 640px) / 2)) 20px;
}
body.page-students #practice .pf-meta {
  font-size: 14px;
}
body.page-students #practice .pf-seg {
  gap: 6px;
  margin-top: 12px;
}
body.page-students #practice .pf-seg i {
  height: 6px;
  border-radius: 6px;
  background: #e4e2df;
}
body.page-students #practice .pf-seg i.on {
  background: var(--orange);
}
body.page-students #practice .pf-q {
  margin: 22px 0 16px;
  font-size: 27px;
}
body.page-students #practice .pf-o {
  gap: 8px;
}
body.page-students #practice .pf-o span {
  height: 56px;
  padding: 0 18px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e9e6e2;
  font-size: 17.5px;
}
body.page-students #practice .pf-o span.sel {
  background: #fff;
  box-shadow: inset 0 0 0 1px #e9e6e2;
}
/* 11-10 Max: a pick turns only the little box orange, never the whole row */
body.page-students #practice .pf-o.tf span {
  flex-direction: column;
  gap: 12px;
}
body.page-students #practice .pf-o.tf span::before {
  display: block;
}
body.page-students #practice .pf-o.tf span.sel {
  color: var(--ink);
}
body.page-students #practice .pf-o span::before {
  border-color: #cfcbc6;
}
body.page-students #practice .pf-o span.sel::before {
  border-color: var(--orange);
  background: var(--orange);
}
body.page-students #practice .pf-o.ck span.sel::before,
body.page-students #practice .pf-o.od span.sel::before {
  background-color: var(--orange);
}
body.page-students #practice .pf-o.tf span {
  height: 150px;
  font-size: 26px;
}
body.page-students #practice .pf-box {
  min-height: 64px;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px #e9e6e2;
}
body.page-students #practice .pf-box.long {
  min-height: 176px;
  font-size: 17.5px;
}
body.page-students #practice .pf-box.on {
  box-shadow: inset 0 0 0 2px var(--orange);
}
body.page-students #practice .pf-foot {
  font-size: 14px;
}
body.page-students #practice .pf-chk {
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--orange);
  font-size: 15px;
}
/* results */
body.page-students #practice .pf-res {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}
body.page-students #practice :is(.px-sum, .px-rev, .px-d) {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 25, 20, 0.05);
}
body.page-students #practice .px-sum {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 16px;
}
body.page-students #practice .px-ring {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
}
body.page-students #practice .px-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
body.page-students #practice .px-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
body.page-students #practice .px-ring .bg {
  stroke: #eeece9;
}
body.page-students #practice .px-ring .fg {
  stroke: var(--orange);
  stroke-dasharray: 238.76;
  stroke-dashoffset: 238.76;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s;
}
body.page-students #practice .pf-win.s-res .px-ring .fg {
  stroke-dashoffset: 78.8;
}
body.page-students #practice .px-ring b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.page-students #practice .px-say {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.page-students #practice .px-say > b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students #practice .px-say p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
body.page-students #practice .px-say p .ok {
  font-weight: 700;
  color: #2f7d48;
}
body.page-students #practice .px-say p .no {
  font-weight: 700;
  color: #c62f2f;
}
body.page-students #practice .px-xp {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
body.page-students #practice .px-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 20px 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.4s ease 0.9s,
    transform 0.15s ease;
}
body.page-students #practice .px-go img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #fbe3c9;
}
body.page-students #practice .pf-win.s-res .px-go {
  opacity: 1;
}
body.page-students #practice .px-go.press {
  transform: scale(0.96);
}
body.page-students #practice .px-rev {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 14px 8px 8px;
}
body.page-students #practice .px-rh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 10px 8px;
}
body.page-students #practice .px-rh b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
body.page-students #practice .px-rh span {
  font-size: 13.5px;
  color: var(--muted);
}
body.page-students #practice .px-list {
  flex: 1;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-students #practice .px-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.25s ease;
  transition-delay: calc(0.35s + var(--n) * 0.07s), calc(0.35s + var(--n) * 0.07s), 0s;
}
body.page-students #practice .pf-win.s-res .px-list li {
  opacity: 1;
  transform: none;
}
body.page-students #practice .px-list li.sel {
  background: #f5f5f4;
}
body.page-students #practice .px-n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #e4e2df;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students #practice .px-list li.sel .px-n {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
body.page-students #practice .px-q {
  min-width: 0;
}
body.page-students #practice .px-q b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students #practice .px-list li.sel .px-q b {
  font-weight: 600;
}
body.page-students #practice .px-q small {
  display: none;
}
body.page-students #practice .px-b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
body.page-students #practice :is(.px-b, .px-o em, .px-a small) svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #practice .px-bt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body.page-students #practice li.ok .px-b {
  background: #e6f2e9;
  color: #2f7d48;
}
body.page-students #practice li.no .px-b {
  background: #fbe6e6;
  color: #c62f2f;
}
body.page-students #practice .px-det {
  display: grid;
  min-width: 0;
  min-height: 0;
}
body.page-students #practice .px-d {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 20px 16px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
body.page-students #practice .px-d.on {
  opacity: 1;
  transform: none;
}
body.page-students #practice .px-dq {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students #practice .px-dt {
  margin: 4px 0 14px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
body.page-students #practice .px-ch {
  display: grid;
  gap: 10px;
}
body.page-students #practice .px-o {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
}
body.page-students #practice .px-o i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0eeeb;
  font-size: 12.5px;
  font-weight: 700;
  font-style: normal;
  color: var(--muted);
}
body.page-students #practice .px-o em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  font-style: normal;
}
body.page-students #practice .px-o.pick i {
  background: #c62f2f;
  color: #fff;
}
body.page-students #practice .px-o.pick em {
  color: #c62f2f;
}
body.page-students #practice .px-o.right i {
  background: #2f7d48;
  color: #fff;
}
body.page-students #practice .px-o.right em {
  color: #2f7d48;
}
body.page-students #practice .px-ans {
  display: grid;
  gap: 12px;
}
body.page-students #practice .px-a {
  display: grid;
  gap: 2px;
  font-size: 15.5px;
  color: var(--ink);
}
body.page-students #practice .px-a small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
}
body.page-students #practice .px-a.pick small {
  color: #c62f2f;
}
body.page-students #practice .px-a.right small {
  color: #2f7d48;
}
body.page-students #practice .px-fb {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
}
body.page-students #practice .px-fb img {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #fbe3c9;
}
body.page-students #practice .px-fb p {
  margin: 0;
  padding: 9px 14px 10px;
  border-radius: 5px 16px 16px 16px;
  background: #f5f5f4;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}
body.page-students #practice .px-fb p b {
  display: none;
}
@media (max-width: 1024px) {
  /* phone: one fixed window height for all three screens so the page never jumps; the question list folds into six numbered marks */
  body.page-students #practice .pf-well {
    padding: 10px 10px 30px;
  }
  body.page-students #practice .pf-main {
    height: 548px;
  }
  body.page-students #practice .pf-win.s-chat .pf-col {
    height: auto;
  }
  body.page-students #practice .pf-win:is(.s-test, .s-res) .pf-pane {
    height: auto;
    margin: 0;
  }
  body.page-students #practice .pf-win.s-test .pf-test {
    padding: 18px 16px 16px;
  }
  body.page-students #practice .pf-q {
    font-size: 22px;
    margin: 18px 0 14px;
  }
  body.page-students #practice .pf-o span {
    height: 52px;
    font-size: 16.5px;
  }
  body.page-students #practice .pf-o.tf span {
    height: 120px;
    font-size: 22px;
  }
  body.page-students #practice .pf-box.long {
    min-height: 170px;
    font-size: 16px;
  }

  body.page-students #practice .pf-res {
    position: absolute;
    inset: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    padding: 10px;
    gap: 10px;
  }
  body.page-students #practice .px-sum {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 14px;
  }
  body.page-students #practice .px-say {
    flex: 1;
  }
  body.page-students #practice .px-go {
    flex: 1 1 100%;
    justify-content: center;
  }
  body.page-students #practice .px-rev {
    padding: 10px 12px;
  }
  body.page-students #practice .px-rh {
    display: none;
  }
  body.page-students #practice .px-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
  }
  body.page-students #practice .px-list li {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    padding: 0;
    background: none;
  }
  body.page-students #practice .px-list li :is(.px-q, .px-b) {
    display: none;
  }
  body.page-students #practice .px-n {
    width: 32px;
    height: 32px;
    font-size: 14px;
    box-shadow: none;
  }
  body.page-students #practice li.ok .px-n {
    background: #e6f2e9;
    color: #2f7d48;
  }
  body.page-students #practice li.no .px-n {
    background: #fbe6e6;
    color: #c62f2f;
  }
  body.page-students #practice .px-list li.sel .px-n {
    background: #c62f2f;
    color: #fff;
  }
  body.page-students #practice .px-d {
    padding: 16px;
  }
  body.page-students #practice .px-dt {
    font-size: 19px;
    margin-bottom: 12px;
  }
  body.page-students #practice .tz-top small {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #practice :is(.px-list li, .px-go, .px-d, .px-ring .fg) {
    transition: none;
  }
}
/* 11-10 Max round 2: picks are outlined, never solid orange; Back step on every question; score strip has no orange and the button sits by the score */
body.page-students #practice .pf-o span.sel::before {
  background: #fff;
  border-color: var(--orange);
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 10px var(--orange);
}
body.page-students #practice .pf-o.ck span.sel::before {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l3 3 5-6' fill='none' stroke='%23d35400' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
  border-color: var(--orange);
  box-shadow: none;
}
body.page-students #practice .pf-o.od span::before {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid #cfcbc6;
  box-sizing: border-box;
  font-size: 12.5px;
}
body.page-students #practice .pf-o.od span.sel::before {
  background: #fff;
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: none;
}
body.page-students #practice .pf-foot {
  justify-content: space-between;
}
body.page-students #practice .pf-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4e2df;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: opacity 0.3s ease;
}
body.page-students #practice .pf-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #practice .pf-back.off {
  opacity: 0.4;
}
body.page-students #practice .pf-chk {
  height: 40px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
}
body.page-students #practice .px-ring .fg {
  stroke: var(--ink);
}
body.page-students #practice .px-sum {
  gap: 18px;
}
body.page-students #practice .px-go {
  margin-left: 12px;
  background: var(--ink);
}
@media (max-width: 1024px) {
  body.page-students #practice .pf-foot {
    justify-content: space-between;
  }
  body.page-students #practice .px-go {
    margin-left: 0;
  }
}
@media (max-width: 1024px) {
  body.page-students #practice .px-say .px-xp {
    display: none;
  }
}
/* 11-10 Max: page order practice > games > languages > flashcards > textbook > test week. Games head centred.
   Flashcards no longer mirrors Languages: split head over one wide desk well, the deck window larger in the middle. */
body.page-students #after .band-head:not(#_) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 16px;
}
body.page-students #after .band-head h2 {
  max-width: none;
  text-wrap: balance;
}
body.page-students #after .band-head .lede {
  max-width: 560px;
  margin: 0 auto;
  text-wrap: balance;
}
body.page-students #cards .cd-frame {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #cards .lx-well:not(#_) {
  display: flex;
  justify-content: center;
  padding: 30px clamp(16px, 4vw, 64px) 44px;
  border-radius: 18px;
}
@media (min-width: 1025px) {
  body.page-students #cards .cd-head {
    margin-bottom: 32px;
  }
}
body.page-students #cards .lx-win:not(#_) {
  max-width: 616px;
  height: calc(420px * var(--k, 1));
}
@media (max-width: 1024px) {
  body.page-students #cards .cd-frame {
    padding: 8px;
    border-radius: 22px;
  }
  body.page-students #cards .lx-well:not(#_) {
    padding: 20px 12px 36px;
  }
}
/* 11-10 Max: "keep it simpler". Flashcards, class textbook and test week fold into one compact section (#more):
   three cards, each a still of the real screen cropped off the well's edge, a title and one line */
body.page-students #more .mo-head {
  margin-bottom: clamp(28px, 3vw, 44px);
}
body.page-students #more .mo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.page-students #more .mo-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students #more .mo-well {
  position: relative;
  height: 250px;
  border-radius: 18px;
  background: #f0e2cf;
  overflow: hidden;
}
body.page-students #more .mo-well img {
  position: absolute;
  left: 24px;
  top: 24px;
  width: calc(100% - 48px);
  max-width: none;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(60, 35, 10, 0.08),
    0 18px 40px -22px rgba(90, 50, 10, 0.4);
}
body.page-students #more .mo-wk {
  display: grid;
  place-items: center;
}
body.page-students #more .mo-wk img:not(#_) {
  position: static;
  width: calc(100% - 48px);
  background: #fff;
}
body.page-students #more .mo-text {
  padding: 22px 16px 14px;
}
body.page-students #more .mo-text h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
}
body.page-students #more .mo-text p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  body.page-students #more .mo {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.page-students #more .mo-card {
    padding: 8px;
    border-radius: 22px;
  }
  body.page-students #more .mo-well {
    height: 210px;
    border-radius: 16px;
  }
  body.page-students #more .mo-well img {
    left: 20px;
    top: 20px;
    width: calc(100% - 40px);
  }
  body.page-students #more .mo-wk img:not(#_) {
    width: calc(100% - 40px);
  }
}
/* 11-10 Max: games boxes too big. Cards narrower and shorter, lede on one line across */
body.page-students #after .band-head .lede:not(#_) {
  max-width: none;
  text-wrap: nowrap;
}
@media (min-width: 1025px) {
  body.page-students #after .lg:not(#_) {
    max-width: 940px;
    margin-inline: auto;
  }
  body.page-students #after .lg-media:not(#_) {
    height: 310px;
  }
  body.page-students #after .gl .lg-media.lg-shop:not(#_) {
    padding: 18px 20px 26px;
  }
  body.page-students #after .lg-text:not(#_) {
    padding: 18px 18px 12px;
  }
}
@media (max-width: 1024px) {
  body.page-students #after .band-head .lede:not(#_) {
    text-wrap: balance;
  }
}
@media (min-width: 1025px) {
  body.page-students #after .lg-media:not(#_) {
    height: 330px;
  }
  body.page-students #after .rw-av:not(#_) {
    justify-content: center;
    padding: 16px 12px;
    gap: 14px;
  }
  body.page-students #after .rw-cats {
    display: none;
  }
  body.page-students #after .rw-ring:not(#_) {
    max-width: 118px;
  }
  body.page-students #after .rw-top small {
    display: none;
  }
  body.page-students #after .rw-shop:not(#_) {
    padding: 16px 16px 14px;
    gap: 10px;
  }
}
/* 11-10 Max: languages without the paper panel around it, so the page breathes: copy sits on the page, only the window has its photo */
body.page-students #lang .lx:not(#_) {
  padding: 0;
  background: none;
  border-radius: 0;
  gap: clamp(40px, 5vw, 80px);
}
@media (min-width: 1025px) {
  body.page-students #lang .lx:not(#_) {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }
}
body.page-students #lang .lx-copy:not(#_) {
  padding: 0;
}
body.page-students #lang .lx-well:not(#_) {
  border-radius: 24px;
}
@media (max-width: 1024px) {
  body.page-students #lang .lx:not(#_) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.page-students #lang .lx-well:not(#_) {
    border-radius: 20px;
  }
}
/* 11-10 animation pass (Max: A to F, results "really high end").
   Screens slide left to right instead of blinking. Results build in order: ring and count, verdict, answer bar, rows, marks, button, then the open question and Amara's note. */
body.page-students #practice .pf-main {
  transition:
    opacity 0.3s ease-out,
    transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #practice .pf-win.t-swap .pf-main {
  opacity: 0;
  transform: translateX(-22px);
  transition:
    opacity 0.2s ease,
    transform 0.22s ease;
}
body.page-students #practice .pf-win.t-swap.t-pre .pf-main {
  transform: translateX(22px);
  transition: none;
}
body.page-students #practice .px-ring b {
  font-variant-numeric: tabular-nums;
}
body.page-students #practice .px-say {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease-out 1s,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 1s;
}
body.page-students #practice .pf-win.s-res .px-say {
  opacity: 1;
  transform: none;
}
body.page-students #practice .px-seg {
  display: flex;
  gap: 5px;
  width: 216px;
  margin-left: auto;
}
body.page-students #practice .px-seg i {
  flex: 1;
  height: 8px;
  border-radius: 8px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(1.15s + var(--n) * 0.07s);
}
body.page-students #practice .px-seg i.ok {
  background: #3f9a5c;
}
body.page-students #practice .px-seg i.no {
  background: #d9534f;
}
body.page-students #practice .pf-win.s-res .px-seg i {
  transform: none;
}
body.page-students #practice .px-list li {
  transition-delay: calc(0.5s + var(--n) * 0.07s), calc(0.5s + var(--n) * 0.07s), 0s;
}
body.page-students #practice .px-b {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.25s ease-out,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(1.3s + var(--n) * 0.09s);
}
body.page-students #practice .pf-win.s-res .px-b {
  opacity: 1;
  transform: none;
}
body.page-students #practice .px-go {
  transition:
    opacity 0.4s ease-out 1.7s,
    transform 0.16s ease-out;
}
body.page-students #practice .px-d :is(.px-dq, .px-dt, .px-o, .px-a, .px-fb) {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
body.page-students #practice .px-d.on :is(.px-dq, .px-dt, .px-o, .px-a, .px-fb) {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease-out,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #practice .px-d.on .px-dt {
  transition-delay: 0.06s;
}
body.page-students #practice .px-d.on :is(.px-o, .px-a):nth-child(1) {
  transition-delay: 0.16s;
}
body.page-students #practice .px-d.on :is(.px-o, .px-a):nth-child(2) {
  transition-delay: 0.26s;
}
body.page-students #practice .px-d.on .px-o:nth-child(3) {
  transition-delay: 0.36s;
}
body.page-students #practice .px-d.on .px-fb {
  transition-delay: 0.75s;
}
body.page-students #practice .px-d:not(#_) {
  transform: none;
}
body.page-students #practice .px-fb img {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s;
}
body.page-students #practice .px-d:not(.on) .px-fb img {
  transform: scale(0.7);
}
@media (max-width: 1024px) {
  body.page-students #practice .px-seg {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #practice :is(.pf-main, .px-say, .px-seg i, .px-b, .px-d *) {
    transition: none !important;
  }
}
/* the open-question card is always there; only what is in it changes */
body.page-students #practice .px-det {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 25, 20, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease-out 0.5s;
}
body.page-students #practice .pf-win.s-res .px-det {
  opacity: 1;
}
body.page-students #practice .px-d:not(#_):not(#_) {
  background: none;
  box-shadow: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #practice .px-det {
    transition: none;
  }
}
/* 11-10 Max: True/False tile fills orange with white text when picked (no radio); typed answers have no outline;
   select-all and put-in-order markers are solid orange with a white tick or number */
body.page-students #practice .pf-o.tf span::before {
  display: none;
}
body.page-students #practice .pf-o.tf span:not(#_) {
  transition:
    background-color 0.2s ease-out,
    color 0.2s ease-out,
    transform 0.16s ease-out;
}
body.page-students #practice .pf-o.tf span.sel:not(#_) {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
body.page-students #practice .pf-box:not(#_),
body.page-students #practice .pf-box.on:not(#_) {
  box-shadow: none;
}
body.page-students #practice .pf-o.ck span.sel:not(#_)::before {
  border-color: var(--orange);
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
  box-shadow: none;
}
body.page-students #practice .pf-o.od span.sel:not(#_)::before {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
/* 11-15 Max: multiple choice, a pick turns only the circle orange; the row stays white (replaces the 11-10 orange fill) */
body.page-students #practice .pf-o:not(.tf):not(.ck):not(.od) span:not(#_) {
  transition:
    background-color 0.2s ease-out,
    color 0.2s ease-out;
}
body.page-students #practice .pf-o:not(.tf):not(.ck):not(.od) span.sel:not(#_) {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #e9e6e2;
}
body.page-students #practice .pf-o:not(.tf):not(.ck):not(.od) span.sel:not(#_)::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 3px #fff;
}
/* 11-10 Max: score in green; Review with Amara becomes a soft panel in the strip's right corner (no pill, no answer bar);
   the open question is marked in the colour of a miss instead of a black number */
body.page-students #practice .px-ring .bg:not(#_) {
  stroke: #e3f1e7;
}
body.page-students #practice .px-ring .fg:not(#_) {
  stroke: #3f9a5c;
}
body.page-students #practice .px-ring b:not(#_),
body.page-students #practice .px-say > b:not(#_) {
  color: #2f7d48;
}
body.page-students #practice .px-seg:not(#_) {
  display: none;
}
body.page-students #practice .px-sum:not(#_) {
  padding: 10px 10px 10px 16px;
}
body.page-students #practice .px-go:not(#_) {
  margin-left: auto;
  height: auto;
  align-self: stretch;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 12px;
  background: #f5f5f4;
  color: var(--ink);
  font-size: 15px;
  transition:
    opacity 0.4s ease-out 1.7s,
    background-color 0.2s ease-out,
    transform 0.16s ease-out;
}
body.page-students #practice .px-go img:not(#_) {
  width: 42px;
  height: 42px;
}
body.page-students #practice .px-gt {
  display: grid;
  gap: 1px;
  line-height: 1.25;
}
body.page-students #practice .px-gt b {
  font-size: 15px;
  font-weight: 700;
}
body.page-students #practice .px-gt small {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
body.page-students #practice .px-ar {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #practice .px-go.press:not(#_) {
  transform: scale(0.97);
  background: #efeeec;
}
body.page-students #practice .px-list li.sel:not(#_) {
  background: #fdf1f0;
}
body.page-students #practice .px-list li.sel .px-n:not(#_) {
  background: #fff;
  color: #c62f2f;
  box-shadow: inset 0 0 0 1.5px #e9a3a1;
}
body.page-students #practice .px-list li.sel .px-q b:not(#_) {
  color: #9f2525;
}
@media (max-width: 1024px) {
  body.page-students #practice .px-go:not(#_) {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  body.page-students #practice .px-ar {
    margin-left: auto;
  }
}
@media (max-width: 1024px) {
  body.page-students #practice .px-list li.sel:not(#_) {
    background: none;
  }
  body.page-students #practice .px-list li.sel .px-n:not(#_) {
    background: #c62f2f;
    color: #fff;
    box-shadow: none;
  }
}
/* 11-10 Max: open question highlighted, but not in red: a soft grey row, number on white with an ink ring */
body.page-students #practice .px-list li.sel:not(#_):not(#_) {
  background: #f3f2f0;
}
body.page-students #practice .px-list li.sel .px-n:not(#_):not(#_) {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
body.page-students #practice .px-list li.sel .px-q b:not(#_):not(#_) {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 1024px) {
  body.page-students #practice .px-list li.sel:not(#_):not(#_) {
    background: none;
  }
  body.page-students #practice .px-list li.no.sel .px-n:not(#_):not(#_) {
    background: #fbe6e6;
    color: #c62f2f;
    box-shadow:
      0 0 0 2px #fff,
      0 0 0 3.5px var(--ink);
  }
}
/* 11-10 Max: green accent on Review with Amara: the arrow sits in a green circle */
body.page-students #practice .px-ar:not(#_) {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 8px;
  margin-left: 14px;
  border-radius: 50%;
  background: #3f9a5c;
  stroke: #fff;
  transition: transform 0.2s ease-out;
}
body.page-students #practice .px-go.press .px-ar {
  transform: translateX(2px);
}
@media (max-width: 1024px) {
  body.page-students #practice .px-list li.no.sel .px-n:not(#_):not(#_) {
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
}
body.page-students #practice .px-ar:not(#_):not(#_) {
  flex: none;
}

/* 11-10 T3491 per Max ("make it look nice"): open question stacks. Answers are full-width rows
   tinted by result (your pick red, correct green, the rest quiet), tag pinned right. The
   explanation lives inside the correct row, so the reason sits next to the right answer. */
body.page-students #practice .px-d:not(#_):not(#_) {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 18px;
}
body.page-students #practice .px-d .px-dt:not(#_) {
  margin: 3px 0 12px;
  font-size: 21px;
  text-wrap: balance;
}
body.page-students #practice .px-d :is(.px-ch, .px-ans):not(#_) {
  display: grid;
  gap: 6px;
  margin: 0;
}
body.page-students #practice .px-d :is(.px-o, .px-a):not(#_) {
  min-height: 42px;
  padding: 7px 8px 7px 7px;
  border-radius: 12px;
  background: #f7f6f4;
  font-size: 15.5px;
  line-height: 1.3;
}
body.page-students #practice .px-d .px-o:not(#_) {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
}
body.page-students #practice .px-d .px-o i:not(#_) {
  width: 28px;
  height: 28px;
  background: #fff;
  color: var(--muted);
}
body.page-students #practice .px-d .px-o em:not(#_) {
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  white-space: nowrap;
}
body.page-students #practice .px-d .pick:not(#_) {
  background: #fcefed;
}
body.page-students #practice .px-d .right:not(#_) {
  background: #ebf5ee;
}
body.page-students #practice .px-d .px-o.pick i:not(#_) {
  background: #c62f2f;
  color: #fff;
}
body.page-students #practice .px-d .px-o.right i:not(#_) {
  background: #2f7d48;
  color: #fff;
}
body.page-students #practice .px-d .px-why {
  display: block;
  grid-column: 2/-1;
  margin: 2px 0 3px;
  padding-right: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #3c5a45;
  text-wrap: pretty;
}
body.page-students #practice .px-d .px-a:not(#_) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px 11px;
}
body.page-students #practice .px-d .px-a small:not(#_) {
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
}
body.page-students #practice .px-d .px-a .px-why {
  margin: 0;
}
@media (max-width: 1024px) {
  body.page-students #practice .px-d:not(#_):not(#_) {
    padding: 16px;
  }
  body.page-students #practice .px-d .px-dt:not(#_) {
    font-size: 19px;
    margin-bottom: 12px;
  }
  body.page-students #practice .px-d :is(.px-o, .px-a):not(#_) {
    min-height: 44px;
    font-size: 15px;
  }
  body.page-students #practice .px-d .px-why {
    font-size: 13.5px;
  }
}

/* 11-10 T3491 per Max ("way too big, too much going on"; picked "game + small locker strip"):
   one card. The game on top at the smallest height it can be played at (its canvas never goes under
   400px), then a slim locker strip: avatar, one line, coin balance, four outfits. */
body.page-students #after .gx {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(120, 60, 10, 0.05),
    0 14px 30px -26px rgba(120, 60, 10, 0.24);
}
body.page-students #after .gx-game {
  position: relative;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #05060f;
}
body.page-students #after .gx-lock {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 22px 14px 14px 18px;
}
body.page-students #after .gx-me {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}
body.page-students #after .gx .rw-ring:not(#_) {
  flex: none;
  width: 112px;
  max-width: none;
  background: #f3ece3;
}
body.page-students #after .gx-say {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--body);
  text-wrap: pretty;
  max-width: 220px;
}
body.page-students #after .gx-say b {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
body.page-students #after .gx .lk-bal {
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: 112px;
  justify-content: center;
  padding: 6px 12px 6px 8px;
  box-shadow: none;
  background: #f8f4ef;
  font-size: 16px;
}
body.page-students #after .gx .lk-fly {
  top: auto;
  bottom: 100%;
  margin: 0 0 8px;
}
body.page-students #after .gx-items {
  display: flex;
  gap: 12px;
  flex: none;
}
body.page-students #after .gx .lk-item {
  flex-direction: column;
  gap: 6px;
  width: 104px;
}
body.page-students #after .gx .lk-pic {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 18px;
}
body.page-students #after .gx .lk-pic img {
  inset: 8%;
  width: 84%;
  height: 84%;
}
body.page-students #after .gx .lk-item b {
  font-size: 13.5px;
  font-weight: 600;
}
body.page-students #after .gx :is(.lk-price, .lk-own) {
  height: 24px;
  padding: 0 10px;
  font-size: 12.5px;
}
body.page-students #after .gx .lk-item.is-on .lk-own {
  background: var(--ink);
  color: #fff;
}
/* cover: full-bleed key art made with Codex (gpt image tool) from the mascot, no title text baked in.
   The right 40% of the art is calm navy, so the pitch and the Play button sit on the art itself. */
body.page-students #after .gx .gm-cover:not(#_) {
  padding: 0 0 28px;
  background: #07122e url('/assets/img/students/space-hopper-cover-a.webp') 24% center/cover
    no-repeat;
  transition: opacity 0.35s;
  overflow: hidden;
}
body.page-students #after .gx .gm-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 28, 0) 55%, rgba(4, 10, 28, 0.55));
}
body.page-students #after .gx-pitch {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  color: #fff;
  text-align: left;
}
body.page-students #after .gx-pitch small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f5a05f;
}
body.page-students #after .gx-pitch b {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
body.page-students #after .gx-pitch span {
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
  max-width: 250px;
}
body.page-students #after .gx .gm-cta:not(#_) {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: 58px;
  padding: 0 30px 0 12px;
  border-radius: 16px;
  background: #f0701f;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  filter: none;
  animation: none;
  box-shadow: 0 14px 30px -12px rgba(240, 112, 31, 0.8);
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.2s ease-out;
}
body.page-students #after .gx .gm-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 38px 4px rgba(240, 112, 31, 0.6);
  opacity: 0;
  z-index: -1;
  animation: gx-thrust 2.4s ease-in-out infinite;
}
@keyframes gx-thrust {
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #after .gx .gm-cta::after {
    animation: none;
    opacity: 0.55;
  }
}
body.page-students #after .gx .gm-cta i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a1535;
  color: #ffb067;
}
body.page-students #after .gx .gm-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}
body.page-students #after .gx .gm-cover:hover .gm-cta:not(#_) {
  transform: translateY(-2px);
  background: #ff7a2a;
}
body.page-students #after .gx .gm-cover:active .gm-cta:not(#_) {
  transform: scale(0.97);
}
@media (min-width: 1025px) {
  body.page-students #after .gx .gm-cover:not(#_) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 0 0 63%;
  }
}
@media (max-width: 1024px) {
  body.page-students #after .gx-pitch {
    display: none;
  }
  body.page-students #after .gx .gm-cover:not(#_) {
    background-position: 22% center;
  }
}
@media (max-width: 1024px) {
  body.page-students #after .gx {
    padding: 8px;
    border-radius: 24px;
  }
  body.page-students #after .gx-game {
    height: 440px;
    border-radius: 16px;
  }
  body.page-students #after .gx-lock {
    flex-wrap: wrap;
    gap: 14px 12px;
    padding: 16px 8px 10px;
  }
  body.page-students #after .gx .lk-bal {
    left: 8px;
    bottom: auto;
    top: auto;
    position: relative;
    width: auto;
    order: -1;
  }
  body.page-students #after .gx-me {
    flex: 1 1 100%;
    gap: 16px;
  }
  body.page-students #after .gx .rw-ring:not(#_) {
    width: 88px;
  }
  body.page-students #after .gx-say b {
    font-size: 19px;
  }
  body.page-students #after .gx-items {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  body.page-students #after .gx .lk-item {
    width: auto;
  }
  body.page-students #after .gx .lk-pic {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  body.page-students #after .gx .lk-item b {
    font-size: 12px;
  }
  body.page-students #after .gx :is(.lk-price, .lk-own) {
    padding: 0 7px;
    font-size: 11.5px;
  }
}

/* 11-10 T3491 per Max: orange highlight on the worn outfit; avatar sits fully inside its circle */
body.page-students #after .gx .lk-item.is-on .lk-pic:not(#_) {
  background: #fff3e8;
  box-shadow: inset 0 0 0 2.5px #e8631a;
}
body.page-students #after .gx .lk-item.is-on .lk-own:not(#_) {
  background: #e8631a;
  color: #fff;
}
body.page-students #after .gx .rw-ring img:not(#_) {
  inset: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: 50% 60%;
}
/* 11-10 Tcl01 per Max: Languages back as its own section, built like #tutor (copy + tool list, one live window), on the page, only the window has its classroom photo. */
body.page-students #lang .ln {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
body.page-students #lang .ln-copy h2 {
  margin-top: 14px;
  max-width: 520px;
}
body.page-students #lang .ln-copy .lede {
  max-width: 440px;
  margin-top: 20px;
}
body.page-students #lang .ln-exs {
  display: grid;
  gap: 4px;
  margin: 28px -20px 0;
}
body.page-students #lang .ln-ex {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 10px 20px;
  border: 0;
  border-radius: 18px;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-students #lang .ln-ex img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
body.page-students #lang .ln-ex b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(18, 24, 21, 0.6);
  transition: color 0.3s ease;
}
body.page-students #lang .ln-ex small {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--muted);
  opacity: 0.8;
}
body.page-students #lang .ln-ex:hover:not(.is-on) {
  background: rgba(255, 250, 242, 0.55);
}
body.page-students #lang .ln-ex:hover b,
body.page-students #lang .ln-ex.is-on b {
  color: var(--ink);
}
body.page-students #lang .ln-ex.is-on {
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.05),
    0 18px 36px -30px rgba(120, 50, 0, 0.35);
}
body.page-students #lang .ln-ex.is-on small {
  opacity: 1;
}
body.page-students #lang .ln-ex:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(18, 24, 21, 0.28);
}
body.page-students #lang .ln-well {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 44px clamp(24px, 3vw, 48px);
  border-radius: 24px;
  background: #e7cfae url(/assets/img/students/lang-classroom.webp) left bottom/cover no-repeat;
}
body.page-students #lang .ln-win {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(452px * var(--k, 1));
  margin: 0;
}
body.page-students #lang .ln-in {
  position: absolute;
  left: 0;
  top: 0;
  width: 560px;
  height: 452px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: #faf8f5;
  color: #252421;
  font-size: 14px;
  line-height: 1.35;
  box-shadow:
    0 0 0 1px rgba(90, 40, 0, 0.08),
    0 30px 60px -28px rgba(70, 30, 0, 0.5);
}
body.page-students #lang .lv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #ece8e1;
  border-radius: 14px;
}
body.page-students #lang .lv-top img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
}
body.page-students #lang .lv-top img.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #f1eee8;
}
body.page-students #lang .lv-top .gr {
  flex: 1;
  min-width: 0;
}
body.page-students #lang .lv-top h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #252421;
}
body.page-students #lang .lv-top p {
  margin: 1px 0 0;
  font-size: 12.5px;
  color: #77736c;
}
body.page-students #lang .lv-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 99px;
  background: #f1eee8;
  font-size: 12.5px;
}
body.page-students #lang .lv-seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: #f1eee8;
}
body.page-students #lang .lv-seg span {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #77736c;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
body.page-students #lang .lv-seg span.on {
  background: #fff;
  color: #252421;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
body.page-students #lang .ln-in .lv-voc {
  display: none;
}
body.page-students #lang .ln-in.voc .lv-voc {
  display: flex;
}
body.page-students #lang .ln-in.voc .lv-tut {
  display: none;
}
body.page-students #lang .lv-body {
  position: relative;
  flex: 1;
  background: #fff;
  border: 1px solid #ece8e1;
  border-radius: 14px;
  overflow: hidden;
}
body.page-students #lang .lv-sc {
  position: absolute;
  inset: 0;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
body.page-students #lang .lv-sc.on {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-sc.gone {
  opacity: 0;
  transform: translateX(-18px);
}
/* chat */
body.page-students #lang .lv-chat {
  gap: 10px;
  justify-content: flex-start;
}
body.page-students #lang .lv-b {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-b.in {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-b.me {
  align-self: flex-end;
  background: #252421;
  color: #fff;
  border-bottom-right-radius: 6px;
}
body.page-students #lang .lv-b.ai {
  align-self: flex-start;
  background: #f1eee8;
  border-bottom-left-radius: 6px;
}
body.page-students #lang .lv-b small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #77736c;
}
/* shared */
body.page-students #lang .lv-cn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #77736c;
}
body.page-students #lang .lv-cn i {
  flex: 1;
  height: 6px;
  border-radius: 9px;
  background: #f1eee8;
  overflow: hidden;
}
body.page-students #lang .lv-cn i::before {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 9px;
  background: #d35400;
  transform: scaleX(var(--p));
  transform-origin: 0 50%;
}
/* flashcard */
body.page-students #lang .lv-card {
  position: relative;
  flex: 1;
  margin: 16px 0 14px;
  perspective: 900px;
}
body.page-students #lang .lv-card > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ece8e1;
  border-radius: 14px;
  background: #fff;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
body.page-students #lang .lv-card small {
  font-size: 12.5px;
  color: #77736c;
}
body.page-students #lang .lv-card b {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
body.page-students #lang .lv-card .bk {
  transform: rotateY(180deg);
}
body.page-students #lang .lv-card.flip .f {
  transform: rotateY(-180deg);
}
body.page-students #lang .lv-card.flip .bk {
  transform: none;
}
body.page-students #lang .lv-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
body.page-students #lang .lv-btns span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #ece8e1;
  font-size: 13.5px;
  color: #77736c;
  transition: transform 0.2s ease;
}
body.page-students #lang .lv-btns .ok {
  background: #2f9a55;
  border-color: #2f9a55;
  color: #fff;
}
body.page-students #lang .lv-btns .ok.press {
  transform: scale(0.96);
}
body.page-students #lang .lv-btns svg,
body.page-students #lang .lv-in .ck svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* type it */
body.page-students #lang .lv-k {
  margin-top: 40px;
  font-size: 13px;
  color: #77736c;
  text-align: center;
}
body.page-students #lang .lv-w {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}
body.page-students #lang .lv-in {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 56px;
  margin-top: 28px;
  padding: 0 16px;
  border: 1.5px solid #ece8e1;
  border-radius: 12px;
  font-size: 22px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}
body.page-students #lang .lv-in .cr {
  width: 2px;
  height: 26px;
  background: #d35400;
  animation: lv-blink 1s steps(1) infinite;
}
@keyframes lv-blink {
  50% {
    opacity: 0;
  }
}
body.page-students #lang .lv-in .ck {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #22743f;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.page-students #lang .lv-in.ok {
  border-color: #2f9a55;
  background: #f2faf4;
}
body.page-students #lang .lv-in.ok .cr {
  display: none;
}
body.page-students #lang .lv-in.ok .ck {
  opacity: 1;
}
/* say it */
body.page-students #lang .lv-st {
  margin-top: 22px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
body.page-students #lang .lv-tr {
  margin-top: 6px;
  font-size: 14px;
  color: #77736c;
}
body.page-students #lang .lv-rec {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f3ee;
}
body.page-students #lang .lv-rec .mic {
  position: relative;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #d35400;
  display: grid;
  place-items: center;
}
body.page-students #lang .lv-rec .mic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #lang .lv-rec .mic::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid #d35400;
  opacity: 0;
}
body.page-students #lang .lv-say.hear .mic::after {
  animation: lv-ping 1s ease-out infinite;
}
@keyframes lv-ping {
  0% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}
body.page-students #lang .lv-chips {
  display: flex;
  gap: 6px;
}
body.page-students #lang .lv-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  background: #e7f4ea;
  color: #22743f;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 0.35s ease,
    color 0.35s ease;
}
body.page-students #lang .lv-chips small {
  font-size: 13px;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}
body.page-students #lang .lv-chips span.in {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-chips span.lo {
  background: #fdf1dc;
  color: #a35f00;
}
body.page-students #lang .lv-chips span.re {
  opacity: 0.45;
}
@media (max-width: 1024px) {
  body.page-students #lang .ln {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body.page-students #lang .ln-exs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 22px -10px 0;
  }
  body.page-students #lang .ln-ex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 12px;
  }
  body.page-students #lang .ln-ex img {
    width: 40px;
    height: 40px;
  }
  body.page-students #lang .ln-ex b {
    font-size: 16px;
  }
  body.page-students #lang .ln-ex small {
    display: none;
  }
  body.page-students #lang .ln-well {
    padding: 24px 14px 36px;
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #lang .lv-say.hear .mic::after,
  body.page-students #lang .lv-in .cr {
    animation: none;
  }
}
body.page-students #lang .ln-win:not(#_) {
  height: calc(392px * var(--k, 1));
}
body.page-students #lang .ln-in:not(#_) {
  height: 392px;
}
body.page-students #lang .lv-k:not(#_) {
  margin-top: 26px;
}
body.page-students #lang .lv-in:not(#_) {
  margin-top: 24px;
}
body.page-students #lang .lv-st:not(#_) {
  margin-top: 26px;
}
body.page-students #lang .lv-rec:not(#_) {
  margin-top: 30px;
}
body.page-students #lang .lv-card:not(#_) {
  margin: 14px 0 12px;
}
body.page-students #lang .lv-ft {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
}
body.page-students #lang .lv-ft span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #ece8e1;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: #252421;
}
body.page-students #lang .lv-ft span.or {
  background: #d35400;
  border-color: #d35400;
  color: #fff;
}
body.page-students #lang .lv-rec:not(#_):not(#__) {
  margin-top: 26px;
}
@media (max-width: 1024px) {
  body.page-students #lang .ln-in:not(#_) {
    width: 420px;
  }
  body.page-students #lang .lv-seg span {
    padding: 0 9px;
  }
  body.page-students #lang .lv-st:not(#_) {
    font-size: 26px;
  }
}
@media (min-width: 1025px) {
  body.page-students #lang .ln {
    align-items: stretch;
  }
  body.page-students #lang .ln-copy {
    align-self: center;
  }
}
/* 11-10 Tcl01 round 2 (Max): spoken chat with the student and Mei, real flashcard, the score shown, more room under the section */
body.page-students #lang:not(#_) {
  padding-bottom: clamp(96px, 11vw, 168px);
}
body.page-students #lang .lv-chat:not(#_) {
  gap: 12px;
  justify-content: center;
}
body.page-students #lang .lv-r {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-r.in {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-r.me {
  justify-content: flex-end;
}
body.page-students #lang .lv-ava {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  object-position: 50% 20%;
  background: #efe6da;
}
body.page-students #lang .lv-ava svg {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-students #lang .lv-chat .lv-b:not(#_) {
  opacity: 1;
  transform: none;
  display: grid;
  gap: 6px;
  max-width: 76%;
  padding: 10px 13px;
}
body.page-students #lang .lv-v {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.page-students #lang .lv-v small {
  flex: none;
  font-size: 12px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
body.page-students #lang .lv-play {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
}
body.page-students #lang .lv-b.ai .lv-play {
  background: #fff;
}
body.page-students #lang .lv-play svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
body.page-students #lang .lv-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  min-width: 90px;
}
body.page-students #lang .lv-wave i {
  flex: 1;
  max-width: 3px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.8;
  transform: scaleY(var(--h));
}
body.page-students #lang .lv-r.talk .lv-wave i {
  animation: lv-bar 0.45s ease-in-out calc(var(--i) * -60ms) infinite alternate;
}
@keyframes lv-bar {
  from {
    transform: scaleY(calc(var(--h) * 0.3));
  }
  to {
    transform: scaleY(var(--h));
  }
}
body.page-students #lang .lv-t {
  font-size: 14px;
  line-height: 1.35;
}
body.page-students #lang .lv-en {
  font-size: 12.5px;
  color: #77736c;
}
/* flashcard, as the real one */
body.page-students #lang .lv-cn span:last-child:not(:first-child) {
  flex: none;
}
body.page-students #lang .lv-card > div:not(#_) {
  gap: 10px;
  padding: 0 24px;
  text-align: center;
}
body.page-students #lang .lv-card .f b {
  font-size: 36px;
}
body.page-students #lang .lv-hear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid #ece8e1;
  font-size: 12.5px;
  color: #252421;
}
body.page-students #lang .lv-hear svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #d35400;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #lang .lv-card .bk small {
  font-size: 13px;
  color: #77736c;
}
body.page-students #lang .lv-card .bk b {
  font-size: 32px;
  line-height: 1;
}
body.page-students #lang .lv-card .bk p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #252421;
}
body.page-students #lang .lv-card .bk p span {
  color: #77736c;
}
body.page-students #lang .lv-btns span:not(#_) {
  height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: #252421;
}
body.page-students #lang .lv-btns .ok:not(#_) {
  color: #fff;
}
/* say it: the score */
body.page-students #lang .lv-st:not(#_) {
  margin-top: 18px;
}
body.page-students #lang .lv-rec:not(#_):not(#__):not(#___) {
  margin-top: 16px;
}
body.page-students #lang .lv-score {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 0 4px;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
body.page-students #lang .lv-say.done .lv-score {
  opacity: 1;
}
body.page-students #lang .lv-ring {
  position: relative;
  flex: none;
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body.page-students #lang .lv-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
body.page-students #lang .lv-ring circle {
  fill: none;
  stroke: #f1eee8;
  stroke-width: 7;
}
body.page-students #lang .lv-ring .fg {
  stroke: #2f9a55;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-say.done .lv-ring .fg {
  stroke-dasharray: var(--o, 0) 100;
}
body.page-students #lang .lv-ring b {
  position: relative;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.page-students #lang .lv-ring small {
  position: relative;
  font-size: 10.5px;
  color: #77736c;
  margin-top: 2px;
}
body.page-students #lang .lv-ms {
  flex: 1;
  display: grid;
  gap: 9px;
}
body.page-students #lang .lv-ms div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  row-gap: 4px;
  font-size: 12.5px;
  color: #77736c;
}
body.page-students #lang .lv-ms b {
  font-size: 13.5px;
  font-weight: 500;
  color: #252421;
  font-variant-numeric: tabular-nums;
}
body.page-students #lang .lv-ms i {
  grid-column: 1/-1;
  height: 5px;
  border-radius: 9px;
  background: #f1eee8;
  overflow: hidden;
}
body.page-students #lang .lv-ms u {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: #2f9a55;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-say.done .lv-ms u {
  transform: scaleX(var(--v));
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #lang .lv-r.talk .lv-wave i {
    animation: none;
  }
}
body.page-students #lang .lv-ms:not(#_) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.page-students #lang .lv-ring:not(#_) {
  width: 64px;
  height: 64px;
}
body.page-students #lang .lv-ring b:not(#_) {
  font-size: 20px;
}
body.page-students #lang .lv-score:not(#_) {
  margin-top: 14px;
  gap: 18px;
}
body.page-students #lang .lv-st:not(#_):not(#__) {
  margin-top: 14px;
  font-size: 28px;
}

/* ===== #lang round 3 (11-10 Tcl01, Max): silver window, voice first then words, calmer key terms, slow-down tip, ring label outside ===== */
/* silver canvas, white panels, like the teachers windows */
body.page-students #lang .ln-in:not(#_) {
  background: #e9e7e3;
  box-shadow:
    0 0 0 1px rgba(30, 25, 20, 0.1),
    0 2.8px 2.2px rgba(40, 30, 20, 0.02),
    0 6.7px 5.3px rgba(40, 30, 20, 0.03),
    0 30px 60px -28px rgba(40, 30, 20, 0.45);
}
body.page-students #lang .lv-top:not(#_) {
  background: #fafaf9;
  border-color: rgba(30, 25, 20, 0.07);
}
body.page-students #lang .lv-body:not(#_) {
  background: #f4f3f1;
  border-color: rgba(30, 25, 20, 0.07);
}
body.page-students #lang .lv-seg:not(#_),
body.page-students #lang .lv-pill:not(#_) {
  background: #ecebe8;
}
body.page-students #lang .lv-b.ai:not(#_) {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(30, 25, 20, 0.06);
}
body.page-students #lang .lv-b.ai .lv-play:not(#_) {
  background: #f1efec;
}
body.page-students #lang .lv-cn i:not(#_),
body.page-students #lang .lv-ms i:not(#_) {
  background: #e6e3de;
}
body.page-students #lang .lv-ring circle:not(#_) {
  stroke: #e6e3de;
}
body.page-students #lang .lv-ring .fg:not(#_) {
  stroke: #2f9a55;
}

/* voice note plays (wave fills, clock runs), then the words come in one by one */
body.page-students #lang .lv-wave i:not(#_) {
  opacity: 0.35;
  transition: opacity 0.2s ease;
}
body.page-students #lang .lv-r.talk .lv-wave i:not(#_) {
  opacity: 1;
  transition-delay: calc(var(--i) * var(--d, 1600ms) / 18);
}
body.page-students #lang .lv-r.said .lv-wave i:not(#_) {
  opacity: 0.8;
  transition-delay: 0s;
}
body.page-students #lang .lv-t .w,
body.page-students #lang .lv-en .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.28s ease,
    transform 0.36s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(var(--j) * 60ms);
}
body.page-students #lang .lv-en .w {
  transition-delay: calc(var(--j) * 25ms + 450ms);
}
body.page-students #lang .lv-r.said .w {
  opacity: 1;
  transform: none;
}

/* key terms: no counter row, one card on the silver */
body.page-students #lang .lv-flash:not(#_) {
  padding: 20px 22px;
}
body.page-students #lang .lv-card:not(#_) {
  margin: 0 0 14px;
}
body.page-students #lang .lv-card > div:not(#_) {
  border: 0;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(30, 25, 20, 0.07),
    0 14px 30px -22px rgba(40, 30, 20, 0.4);
}
body.page-students #lang .lv-btns span:not(#_) {
  background: #fff;
  border-color: rgba(30, 25, 20, 0.08);
}
body.page-students #lang .lv-btns .ok:not(#_) {
  background: #2f9a55;
  border-color: #2f9a55;
}

/* type it on the silver */
body.page-students #lang .lv-in:not(#_) {
  background: #fff;
  border-color: rgba(30, 25, 20, 0.1);
}
body.page-students #lang .lv-in.ok:not(#_) {
  background: #f2faf4;
  border-color: #2f9a55;
}
body.page-students #lang .lv-ft span:not(#_):not(.or) {
  background: #fff;
  border-color: rgba(30, 25, 20, 0.08);
}

/* say it: chips wrap, the tip and the score share one slot */
body.page-students #lang .lv-rec:not(#_) {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(30, 25, 20, 0.06);
}
body.page-students #lang .lv-chips:not(#_) {
  flex-wrap: wrap;
}
body.page-students #lang .lv-out {
  position: relative;
  height: 88px;
  margin-top: 14px;
}
body.page-students #lang .lv-out .lv-score:not(#_) {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-say.done .lv-out .lv-score:not(#_) {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-tip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff7ec;
  box-shadow: 0 0 0 1px rgba(211, 84, 0, 0.14);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-say.tip .lv-tip {
  opacity: 1;
  transform: none;
}
body.page-students #lang .lv-tip img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #f1eee8;
}
body.page-students #lang .lv-tip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #5f5b55;
}
body.page-students #lang .lv-tip b {
  font-weight: 600;
  color: #a34100;
}
body.page-students #lang .lv-ov {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
body.page-students #lang .lv-ring:not(#_) {
  width: 62px;
  height: 62px;
}
body.page-students #lang .lv-ring b:not(#_) {
  font-size: 21px;
}
body.page-students #lang .lv-ol {
  font-size: 11.5px;
  color: #77736c;
  line-height: 1;
}
/* the bubble opens for its words only once the voice note has played */
body.page-students #lang .lv-chat:not(#_) {
  justify-content: flex-start;
  padding-top: 22px;
}
body.page-students #lang .lv-chat .lv-b:not(#_) {
  gap: 0;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-students #lang .lv-r.said .lv-b:not(#_) {
  grid-template-rows: auto 1fr;
}
body.page-students #lang .lv-tx {
  min-height: 0;
  overflow: hidden;
}
body.page-students #lang .lv-tx > span {
  display: grid;
  gap: 4px;
  padding-top: 7px;
}
body.page-students #lang .lv-tip .nw {
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-students #lang .lv-chat:not(#_) {
    gap: 10px;
    padding: 16px 16px 0;
  }
  body.page-students #lang .lv-chat .lv-b:not(#_) {
    max-width: 86%;
  }
  body.page-students #lang .lv-chat .lv-en {
    display: none;
  }
  body.page-students #lang .lv-say:not(#_) {
    padding: 16px 18px;
  }
  body.page-students #lang .lv-rec:not(#_) {
    gap: 10px;
    padding: 10px;
  }
  body.page-students #lang .lv-rec .mic:not(#_) {
    width: 42px;
    height: 42px;
  }
  body.page-students #lang .lv-chips:not(#_) {
    flex-wrap: nowrap;
    gap: 5px;
  }
  body.page-students #lang .lv-chips span:not(#_) {
    gap: 5px;
    height: 32px;
    padding: 0 8px;
    font-size: 13.5px;
  }
  body.page-students #lang .lv-chips small:not(#_) {
    font-size: 11.5px;
  }
  body.page-students #lang .lv-ms:not(#_) {
    gap: 10px;
  }
  body.page-students #lang .lv-ms div:not(#_) {
    font-size: 11px;
  }
  body.page-students #lang .lv-ms b:not(#_) {
    font-size: 12px;
  }
  body.page-students #lang .lv-score:not(#_) {
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  body.page-students #lang .lv-ms:not(#_):not(#__) {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  body.page-students #lang .lv-ms div:not(#_) {
    row-gap: 3px;
  }
  body.page-students #lang .lv-ms i:not(#_) {
    height: 4px;
  }
}

/* #more flashcard: one card floating in the well, click turns it over (11-10 Tst4f) */
body.page-students #more .mo-fw {
  display: grid;
  place-items: center;
  perspective: 1100px;
}
body.page-students #more .mo-fc {
  position: relative;
  width: min(66%, 280px);
  aspect-ratio: 1.5;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transform: rotate(-3deg);
  animation: mo-float 5.5s ease-in-out infinite;
  animation-play-state: paused;
  -webkit-tap-highlight-color: transparent;
}
body.page-students #more .mo-fw.on .mo-fc {
  animation-play-state: running;
}
body.page-students #more .mo-fc:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: 16px;
}
body.page-students #more .mo-fc-in {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 1.25, 0.5, 1);
}
body.page-students #more .mo-fc:hover .mo-fc-in {
  transform: translateY(-4px) rotateX(4deg);
}
body.page-students #more .mo-fc.flip .mo-fc-in {
  transform: rotateY(180deg);
}
body.page-students #more .mo-fc:active .mo-fc-in {
  transition-duration: 0.15s;
}
body.page-students #more .mo-fc .f,
body.page-students #more .mo-fc .bk {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 0 0 1px rgba(60, 35, 10, 0.05),
    0 2px 4px rgba(60, 35, 10, 0.05),
    0 24px 40px -24px rgba(90, 50, 10, 0.45);
}
body.page-students #more .mo-fc .bk {
  transform: rotateY(180deg);
}
body.page-students #more .mo-fc small {
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 12px;
  color: #8a8379;
}
body.page-students #more .mo-fc .f b {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.page-students #more .mo-fc .bk b {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
body.page-students #more .mo-fc .hint,
body.page-students #more .mo-fc .src {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #8a8379;
}
body.page-students #more .mo-fc .hint svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students #more .mo-fc-sh {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 50%;
  height: 12px;
  margin-left: -27%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 65, 20, 0.22), transparent);
  animation: mo-shadow 5.5s ease-in-out infinite;
  animation-play-state: paused;
  pointer-events: none;
}
body.page-students #more .mo-fw.on .mo-fc-sh {
  animation-play-state: running;
}
@keyframes mo-float {
  0%,
  100% {
    transform: translateY(-6px) rotate(-3deg);
  }
  50% {
    transform: translateY(6px) rotate(-1.5deg);
  }
}
@keyframes mo-shadow {
  0%,
  100% {
    transform: scaleX(0.82);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  body.page-students #more .mo-fc {
    width: min(70%, 280px);
  }
  body.page-students #more .mo-fc-sh {
    bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #more .mo-fc,
  body.page-students #more .mo-fc-sh {
    animation: none;
  }
  body.page-students #more .mo-fc-in {
    transition: none;
  }
}

/* #more study plan: Friday's test lands first, then the tutor fills the days before it (11-10 Tst4f) */
body.page-students #more .mo-wk {
  display: grid;
  place-items: center;
}
body.page-students #more .mo-cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: calc(100% - 48px);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(60, 35, 10, 0.05),
    0 1px 2px rgba(60, 35, 10, 0.08),
    0 18px 40px -22px rgba(90, 50, 10, 0.4);
}
body.page-students #more .mo-cal .cd {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 0 8px 12px;
  box-shadow: inset 1px 0 0 #efebe5;
}
body.page-students #more .mo-cal .cd:first-child {
  box-shadow: none;
}
body.page-students #more .mo-cal .dn {
  margin: 0 -8px;
  padding: 9px 0;
  background: #faf8f5;
  box-shadow: inset 0 -1px 0 #efebe5;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f6a63;
}
body.page-students #more .mo-cal .dt {
  align-self: flex-end;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin: 7px 0 6px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #9a948b;
}
body.page-students #more .mo-cal .td .dt {
  background: #1f1e1c;
  color: #fff;
}
body.page-students #more .mo-cal .cd:last-child .dt {
  color: var(--ink);
}
body.page-students #more .mo-cal .ch {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 0.3s,
    transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
}
body.page-students #more .mo-cal .ch img {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  object-position: top;
}
body.page-students #more .mo-cal .ch b {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students #more .mo-cal .c1 {
  background: #fbe7e6;
  box-shadow:
    inset 3px 0 0 #d9463a,
    inset 0 0 0 1px #f0b9b4;
  color: #3a1714;
}
body.page-students #more .mo-cal .c2,
body.page-students #more .mo-cal .c3 {
  background: #fcefe4;
  box-shadow:
    inset 3px 0 0 var(--orange),
    inset 0 0 0 1px #f1cba9;
  color: #3a2412;
}
body.page-students #more .mo-cal p {
  margin: 7px 2px 0;
  font-size: 11px;
  line-height: 1.4;
  color: #6f6a63;
  opacity: 0;
  transition: opacity 0.4s 0.15s;
}
body.page-students #more .mo-cal .in .ch {
  opacity: 1;
  transform: none;
}
body.page-students #more .mo-cal .in p {
  opacity: 1;
}

/* #more short lessons: the week's streak fills, today's 5 minute lesson is started and done */
body.page-students #more .mo-ls {
  display: grid;
  place-items: center;
}
body.page-students #more .mo-les {
  width: calc(100% - 48px);
  max-width: 320px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 35, 10, 0.05),
    0 1px 2px rgba(60, 35, 10, 0.08),
    0 18px 40px -22px rgba(90, 50, 10, 0.4);
}
body.page-students #more .mo-les .sk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
body.page-students #more .mo-les .sk b {
  font-weight: 600;
  color: var(--ink);
}
body.page-students #more .mo-les .sr {
  color: #77736c;
}
body.page-students #more .mo-les .sr .n {
  font-weight: 600;
  color: var(--orange);
}
body.page-students #more .mo-les .sds {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 12px;
}
body.page-students #more .mo-les .sd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #9a948b;
}
body.page-students #more .mo-les .sd i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f3efe9;
  transition: background-color 0.3s;
}
body.page-students #more .mo-les .sd svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.2s,
    transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
body.page-students #more .mo-les .sd.on i {
  background: var(--orange);
}
body.page-students #more .mo-les .sd.on svg {
  opacity: 1;
  transform: none;
}
body.page-students #more .mo-les .sd.now:not(.on) i {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--orange);
}
body.page-students #more .mo-les .sd.now {
  color: var(--ink);
}
body.page-students #more .mo-les .up {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #faf6f0;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
body.page-students #more .mo-les .up img {
  width: 38px;
  height: 38px;
  flex: none;
}
body.page-students #more .mo-les .up div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
body.page-students #more .mo-les .up small {
  font-size: 10.5px;
  color: #8a8379;
}
body.page-students #more .mo-les .up b {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
body.page-students #more .mo-les .up div span {
  font-size: 11px;
  color: #6f6a63;
}
body.page-students #more .mo-les .go {
  flex: none;
  display: grid;
  place-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 9px;
  background: #252421;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  transition:
    transform 0.15s,
    background-color 0.3s;
}
body.page-students #more .mo-les .go.press {
  transform: scale(0.92);
}
body.page-students #more .mo-les .go.done {
  background: #2f7d4a;
}
@media (max-width: 1024px) {
  body.page-students #more .mo-cal,
  body.page-students #more .mo-les {
    width: calc(100% - 40px);
  }
  body.page-students #more .mo-ls:not(#_),
  body.page-students #more .mo-wk:not(#_) {
    height: auto;
    padding: 22px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students #more .mo-cal .ch,
  body.page-students #more .mo-cal p,
  body.page-students #more .mo-les * {
    transition: none;
  }
}
body.page-students #more .mo-well .mo-cal img,
body.page-students #more .mo-well .mo-les img {
  position: static;
  left: auto;
  top: auto;
  max-width: none;
  box-shadow: none;
}
body.page-students #more .mo-well .mo-cal .ch img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
body.page-students #more .mo-well .mo-les .up img {
  width: 38px;
  height: 38px;
  border-radius: 0;
}
body.page-students #more .mo-cal .ch {
  height: auto;
  min-height: 24px;
  padding: 4px 6px;
  white-space: normal;
  line-height: 1.2;
  align-items: flex-start;
}
body.page-students #more .mo-cal .ch b {
  overflow: visible;
}
body.page-students #more .mo-les .go {
  min-width: 64px;
}
body.page-students #more .mo-wk .mo-cal .ch img:not(#_) {
  width: 16px;
  height: 16px;
  flex: none;
}
body.page-students #more .mo-cal .ch {
  gap: 4px;
  padding: 4px 5px;
  font-size: 10.5px;
}
/* round 3: no week row, just the Up next tile on its own */
body.page-students #more .mo-les {
  padding: 0;
  background: none;
  box-shadow: none;
  max-width: 330px;
}
body.page-students #more .mo-les .up {
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 35, 10, 0.05),
    0 2px 4px rgba(60, 35, 10, 0.05),
    0 24px 40px -24px rgba(90, 50, 10, 0.45);
}
body.page-students #more .mo-well .mo-les .up img {
  width: 44px;
  height: 44px;
}
body.page-students #more .mo-les .up small {
  font-size: 11px;
}
body.page-students #more .mo-les .up b {
  font-size: 14px;
}
body.page-students #more .mo-les .up div span {
  font-size: 12px;
}
body.page-students #more .mo-les .up div {
  transition:
    opacity 0.3s,
    transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}
body.page-students #more .mo-les .up.swap div {
  opacity: 0;
  transform: translateY(6px);
}
/* round 4: lesson tiles scroll in from below, one every 5 seconds */
body.page-students #more .mo-les {
  height: 188px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
}
body.page-students #more .mo-les .trk {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 100%;
  padding: 0 6px 12px;
  box-sizing: border-box;
}
body.page-students #more .mo-les .trk.mv {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.page-students #more .mo-les .up {
  flex: none;
}
@media (max-width: 1024px) {
  body.page-students #more .mo-les {
    height: 180px;
  }
}
body.page-students #more .mo-les {
  position: relative;
  height: 214px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 70px);
}
body.page-students #more .mo-les .trk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 0;
  padding: 0 6px 22px;
}
@media (max-width: 1024px) {
  body.page-students #more .mo-les {
    height: 200px;
  }
  body.page-students #more .mo-ls:not(#_) {
    padding: 0;
  }
}
/* round 5 per Max: one lesson tile at a time, hard clip, no fade; flashcard straight, no float, no bounce */
body.page-students #more .mo-les {
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  -webkit-mask-image: none;
  mask-image: none;
  padding: 0;
}
body.page-students #more .mo-les .trk {
  position: relative;
  bottom: auto;
  gap: 0;
  padding: 0;
}
body.page-students #more .mo-les .up {
  box-shadow: none;
}
body.page-students #more .mo-ls .mo-les {
  box-shadow:
    0 0 0 1px rgba(60, 35, 10, 0.05),
    0 2px 4px rgba(60, 35, 10, 0.05),
    0 24px 40px -24px rgba(90, 50, 10, 0.45);
  background: #fff;
}
@media (max-width: 1024px) {
  body.page-students #more .mo-les {
    height: auto;
  }
  body.page-students #more .mo-ls:not(#_) {
    padding: 28px 0;
  }
}
body.page-students #more .mo-fc,
body.page-students #more .mo-fw.on .mo-fc {
  transform: none;
  animation: none;
}
body.page-students #more .mo-fc-sh {
  animation: none;
  transform: none;
  opacity: 0.8;
}
body.page-students #more .mo-fc-in {
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
body.page-students #more .mo-fc:hover:not(.flip) .mo-fc-in {
  transform: none;
}
/* 12 Nov (Max review): Launch button without the glow; "A little help" wells share the "Your classes" well colour */
body.page-students #after .gx .gm-cta:not(#_):not(#_) {
  box-shadow: none;
}
body.page-students #after .gx .gm-cta:not(#_)::after {
  content: none;
  animation: none;
}
body.page-students #more .mo-well:not(#_) {
  background: #f6efe6;
}
/* 12 Nov (Max review): even gap between sections on desktop, about 160px from one section's content to the next label */
@media (min-width: 1025px) {
  body.page-students main > section#tutor:not(#_):not(#_) {
    padding-top: 60px;
  }
  body.page-students main > section#practice:not(#_):not(#_) {
    padding-top: 58px;
  }
  body.page-students main > section#after:not(#_):not(#_) {
    padding-top: 52px;
  }
  body.page-students main > section#lang:not(#_):not(#_) {
    padding-top: 64px;
  }
  body.page-students main > section#more:not(#_):not(#_) {
    padding-top: 8px;
  }
  body.page-students main > section[aria-labelledby='faq-h']:not(#_):not(#_) {
    padding-top: 68px;
  }
}
