/* Mô phỏng ôn — desktop: trái 4 cột số, phải video 16:9 + câu */
@media (min-width: 992px) {
  body.sch.sch-on {
    display: grid !important;
    grid-template-columns: 340px minmax(0, 1fr) !important;
    grid-template-rows: 56px 48px minmax(0, 1fr) !important;
    height: 100dvh;
    overflow: hidden;
    background: #f3f4f6;
  }

  body.sch.sch-on .sch-top {
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative !important;
    top: auto !important;
  }

  body.sch.sch-on .sch-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 4px 16px 0 !important;
  }

  body.sch.sch-on .ch-scroll {
    grid-column: 1;
    grid-row: 3;
    margin: 10px 8px 12px 12px !important;
    max-height: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 12px !important;
  }

  body.sch.sch-on .chap {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.sch.sch-on .nums {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body.sch.sch-on .nums button {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
  }

  body.sch.sch-on .sch-main {
    grid-column: 2;
    grid-row: 3;
    min-height: 0;
    overflow: auto;
    padding: 10px 28px 40px 16px;
  }

  body.sch.sch-on .pin {
    position: relative !important;
    top: auto !important;
    padding: 0 !important;
    background: transparent !important;
    max-width: 960px;
  }

  body.sch.sch-on .qs {
    padding: 0 0 24px !important;
    max-width: 960px;
  }

  body.sch.sch-on .vid-wrap {
    width: min(100%, 960px);
    max-width: 960px;
    aspect-ratio: 16 / 9;
    height: auto !important;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
  }

  body.sch.sch-on video,
  body.sch video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
    background: #111;
    display: block;
  }

  body.sch.sch-on .q,
  body.sch.sch-on .opt,
  body.sch.sch-on .watch,
  body.sch.sch-on .sit {
    max-width: 960px;
  }
}

/* Thi mô phỏng — căn giữa 960px, video 16:9 */
@media (min-width: 992px) {
  body.sch:not(.sch-on) #app {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px 40px;
  }
  body.sch:not(.sch-on) .sch-bar {
    margin-left: 0;
    margin-right: 0;
  }
  body.sch:not(.sch-on) .pin {
    position: relative !important;
    top: auto !important;
    padding: 0 0 8px !important;
    background: transparent !important;
  }
  body.sch:not(.sch-on) .vid-wrap {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    height: auto !important;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
  }
  body.sch:not(.sch-on) video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
    background: #111;
    display: block;
  }
  body.sch:not(.sch-on) .qs {
    padding: 0 0 32px !important;
  }
  body.sch:not(.sch-on) .guide,
  body.sch:not(.sch-on) .watch,
  body.sch:not(.sch-on) .q,
  body.sch:not(.sch-on) .opt {
    max-width: 960px;
  }
}
