/* /schools/?stu=a (lab A, Tsec1): the window holds the real demo-video screen for each feature, in a frame scaled to fit (page-schools-va.js). Current previews at every viewport. */
@media (min-width: 1025px) {
  body.page-schools #students.v-a .stu-slide .fcard .mini.vw {
    zoom: 1 !important;
    height: 500px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.page-schools #students.v-a .mini.vw .zfr {
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
    margin: 0;
    padding: 0;
    transform-origin: 0 0;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
  }
  body.page-schools #students.v-a .mini.vw .zfr.on {
    opacity: 1;
  }
}
/* Learning games (lab A): the question card drawn in the jumper's own art, a wooden sign with the platforms' grass on top, plank answers, coin letters */
@media (min-width: 1025px) {
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-q {
    width: min(78%, 330px);
    max-width: none;
    padding: 16px 14px 14px;
    border-radius: 16px;
    border: 3px solid #5a3418;
    color: #fff3dc;
    background: repeating-linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0 27px,
        rgba(90, 52, 24, 0.28) 27px 29px
      ),
      linear-gradient(180deg, #c88a4f, #a96a36);
    box-shadow:
      0 6px 0 #5a3418,
      0 22px 34px -14px rgba(40, 20, 0, 0.55);
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-q::before {
    content: '';
    position: absolute;
    left: -7px;
    right: -7px;
    top: -9px;
    height: 15px;
    border-radius: 9px;
    border: 3px solid #3f6a1d;
    background:
      radial-gradient(circle at 8px 15px, #6fb23c 6px, transparent 6.5px) 0 0/16px 15px repeat-x,
      linear-gradient(180deg, #9fdc5c, #6fb23c);
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-qh {
    color: #fff3dc;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-qh span {
    background: #5a3418;
    border: 0;
    color: #ffe3a6;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-tm {
    background: #5a3418;
    border: 2px solid #5a3418;
    width: 52px;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-tm i {
    background: linear-gradient(180deg, #9fdc5c, #6fb23c);
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-q p {
    margin: 9px 2px 11px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #fdf1d6;
    color: #4a2a12;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: inset 0 -2px 0 rgba(90, 52, 24, 0.18);
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-os {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 8px;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-os span {
    height: 34px;
    padding: 0 9px 0 6px;
    border-radius: 9px;
    border: 2.5px solid #4a2a12;
    border-top: 6px solid #7cc04a;
    background: #8a5426;
    color: #fff3dc;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 3px 0 #4a2a12;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game] .g-os span::before {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff1a0, #ffcc2e 55%, #e09a12);
    color: #6b4100;
    box-shadow: inset 0 0 0 1.5px #a86a00;
    font-size: 10.5px;
    font-weight: 800;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game].tap .g-os .ok {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #4a2a12;
    background: #9a5f2c;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game].ok .g-os .ok {
    background: #ffcf3a;
    color: #4a2a12;
    border-top-color: #9fdc5c;
    box-shadow:
      0 3px 0 #4a2a12,
      0 0 0 4px rgba(255, 214, 70, 0.45);
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game].ok .g-os .ok::before {
    background: #5aa133;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px #3f6a1d;
  }
  body.page-schools #students.v-a #slide-stu .mini.gx[data-game].ok .g-os span:not(.ok) {
    opacity: 0.55;
  }
}

/* The phone uses the same current product screens as the desktop showcase. */
@media (max-width: 1024px) {
  body.page-schools #students.v-a .stu-slide:not(.is-on) {
    display: none;
  }
  body.page-schools #students.v-a .stu-slide .fcards {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  body.page-schools #students.v-a .stu-slide .fcards > .fcard {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  body.page-schools #students.v-a .stu-slide .fcards > .fcard.is-act {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    opacity: 1;
    visibility: visible;
  }
  body.page-schools #students.v-a .stu-slide .fcard > h3 {
    display: none;
  }
  body.page-schools #students.v-a .stu-slide .fcard > p {
    order: -1;
    margin: 0 0 20px !important;
    font-size: 16px;
    line-height: 1.5;
  }
  body.page-schools #students.v-a .turn-frame {
    display: none !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini.vw {
    zoom: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: 560px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    background: #faf8f5 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }
  body.page-schools #students.v-a .mini.vw .zfr {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background: transparent;
    opacity: 0;
  }
  body.page-schools #students.v-a .mini.vw .zfr.on {
    opacity: 1;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='test'] {
    height: 620px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='vocab'] {
    height: 620px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='assistant'] {
    height: 620px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='classdata'] {
    height: 790px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='textbook'] {
    height: 730px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='live'] {
    height: 740px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='assign'] {
    height: 880px !important;
  }
}
@media (max-width: 1024px) {
  body.page-schools #students.v-a .stu-slide .fcard .mini.vw:not(.preview-narrow) {
    height: 500px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-schools #students.v-a .mini.vw .zfr {
    transition: none;
  }
}

@media (max-width: 380px) {
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='test'] {
    height: 680px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='vocab'] {
    height: 760px !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini[data-preview='textbook'] {
    height: 790px !important;
  }
}

@media (max-width: 1024px) {
  body.page-schools #students.v-a .stu-slide .fcard .mini.preview-narrow[data-preview='assign'] {
    height: var(--content-height, 880px) !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini.preview-narrow[data-preview='classdata'] {
    height: var(--content-height, 790px) !important;
  }
  body.page-schools #students.v-a .stu-slide .fcard .mini.preview-narrow[data-preview='textbook'] {
    height: var(--content-height, 730px) !important;
  }
}
