.root-course-game {
  position: relative;
  width: 100%;
  background: #173f32;
  color: #173f32;
  overflow: hidden;
}

html.root-course-page,
html.root-course-page body {
  width: 100%;
  min-width: 320px;
  height: auto;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #173f32;
  color: #173f32;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.root-course-page *,
html.root-course-page *::before,
html.root-course-page *::after {
  box-sizing: border-box;
}

html.root-course-page button,
html.root-course-page a {
  font: inherit;
  letter-spacing: 0;
}

html.root-course-page button:focus-visible,
html.root-course-page a:focus-visible {
  outline: 3px solid #fff4a8;
  outline-offset: 2px;
}

.root-course-only-page {
  background: #eef3e8;
}

.root-course-only-page .site-shell {
  min-height: 100svh;
  background: #173f32;
}

.root-course-only-main {
  display: block;
  min-height: 0;
}

.root-course-only-page .root-course-game-shell {
  height: 100svh;
}

.root-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 18px clamp(22px, 5vw, 96px);
  border-top: 1px solid #cad3c4;
  background: #fffaf0;
  color: #315345;
}

.root-course-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.root-course-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.root-course-footer strong {
  color: #173f32;
  font: 700 22px/1 Georgia, "Times New Roman", serif;
}

.root-course-footer span,
.root-course-footer p {
  margin: 0;
  font-size: 13px;
}

.root-course-game[hidden],
.root-course-lesson-modal[hidden],
.root-course-access-modal[hidden],
.root-course-reward-modal[hidden],
.root-course-checkin-modal[hidden],
.root-course-checkin-reward-modal[hidden],
.root-course-access-window [hidden] {
  display: none !important;
}

.root-course-game-shell {
  position: relative;
  width: 100%;
  min-height: 720px;
  height: min(82svh, 900px);
  background: #173f32;
  overflow: hidden;
}

.root-course-game-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

.root-course-game-stage,
.root-course-game-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.root-course-game-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.root-course-camera button {
  min-height: 38px;
  border: 1px solid #b8c5b6;
  border-radius: 6px;
  background: #fffdf7;
  color: #173f32;
  padding: 0 14px;
  font: 800 12px/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.root-course-camera button:hover {
  border-color: #315f45;
  background: #eaf1df;
}

.root-course-status {
  position: absolute;
  z-index: 11;
  left: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 110px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 12px 34px rgba(21, 49, 36, 0.28);
}

.root-course-status > span {
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-status strong,
.root-course-status small {
  display: block;
}

.root-course-status strong {
  margin-top: 7px;
  font: 700 23px/1.05 Georgia, serif;
}

.root-course-status small {
  margin-top: 7px;
  color: #506252;
  font: 600 12px/1.35 Arial, sans-serif;
}

.root-course-progress {
  position: absolute;
  z-index: 11;
  right: 24px;
  top: 92px;
  min-width: 88px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 7px;
  background: rgba(23, 63, 50, 0.9);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(21, 49, 36, 0.24);
}

.root-course-progress span,
.root-course-progress strong {
  display: block;
}

.root-course-progress span {
  font: 800 9px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-progress strong {
  margin-top: 5px;
  font: 700 19px/1 Georgia, serif;
}

.root-course-mobile-daily {
  display: none;
}

.root-course-camera {
  position: absolute;
  z-index: 11;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 6px;
}

.root-course-camera button {
  min-width: 42px;
  width: 42px;
  padding: 0;
  font-size: 18px;
}

.root-course-camera button:first-child {
  width: auto;
  grid-column: span 3;
  font-size: 11px;
}

.root-course-area-nav {
  position: absolute;
  z-index: 11;
  left: 50%;
  bottom: 24px;
  width: min(360px, calc(100% - 760px));
  min-width: 290px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 12px 34px rgba(21, 49, 36, 0.28);
  backdrop-filter: blur(12px);
}

.root-course-area-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid #b9c7b6;
  border-radius: 50%;
  background: #315f45;
  color: #ffffff;
  font: 800 21px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-area-nav button:disabled {
  border-color: #d8d9cf;
  background: #e7e8df;
  color: #9aa198;
  cursor: default;
}

.root-course-area-nav div,
.root-course-area-nav span,
.root-course-area-nav strong,
.root-course-area-nav small {
  min-width: 0;
  display: block;
  letter-spacing: 0;
  text-align: center;
}

.root-course-area-nav span {
  color: #c9533f;
  font: 800 9px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-area-nav strong {
  margin-top: 4px;
  overflow: hidden;
  font: 700 17px/1 Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.root-course-area-nav small {
  margin-top: 4px;
  overflow: hidden;
  color: #5d705f;
  font: 700 10px/1 Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.root-course-game-canvas {
  transition: filter 260ms ease, transform 260ms ease;
  transform-origin: center;
}

.root-course-game-stage.is-area-transitioning .root-course-game-canvas {
  filter: blur(5px) saturate(0.9);
  transform: scale(1.015);
}

.root-course-lesson-modal,
.root-course-access-modal,
.root-course-reward-modal,
.root-course-checkin-modal,
.root-course-checkin-reward-modal {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 84px 22px 22px;
  background: rgba(15, 45, 34, 0.72);
  backdrop-filter: blur(7px);
}

.root-course-access-modal {
  z-index: 35;
}

.root-course-access-window {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 25px 70px rgba(11, 37, 27, 0.46);
}

.root-course-access-window > span {
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-access-window h2 {
  margin: 9px 48px 12px 0;
  color: #173f32;
  font: 700 30px/1.08 Georgia, serif;
}

.root-course-access-window > p {
  margin: 0;
  color: #4d6253;
  font: 600 14px/1.55 Arial, sans-serif;
}

.root-course-access-eligibility {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #bdcbb8;
  border-radius: 6px;
  background: #eef3e8;
  color: #173f32;
  font: 800 13px/1.35 Arial, sans-serif;
}

.root-course-access-eligibility input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #315f45;
}

.root-course-access-window > small {
  display: block;
  margin-top: 13px;
  color: #69766a;
  font: 700 11px/1.4 Arial, sans-serif;
}

.root-course-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.root-course-access-actions button,
.root-course-access-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #315f45;
  border-radius: 6px;
  background: #315f45;
  color: #ffffff;
  padding: 0 17px;
  font: 800 12px/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.root-course-access-actions [data-course-access-return] {
  background: #ffffff;
  color: #315f45;
}

.root-course-access-actions button:hover,
.root-course-access-actions a:hover {
  border-color: #c9533f;
  background: #c9533f;
  color: #ffffff;
}

.root-course-checkin-window {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100% - 10px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 25px 70px rgba(11, 37, 27, 0.42);
  text-align: center;
}

.root-course-checkin-window > span {
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-checkin-window h2 {
  margin: 8px 28px 10px;
  color: #173f32;
  font: 700 30px/1.05 Georgia, serif;
}

.root-course-checkin-window > p {
  margin: 0 auto;
  max-width: 390px;
  color: #536555;
  font: 600 14px/1.5 Arial, sans-serif;
}

.root-course-checkin-calendar {
  margin: 20px 0 14px;
  padding: 14px;
  border: 1px solid #c8d1c4;
  border-radius: 7px;
  background: #f4f7ef;
  text-align: left;
}

.root-course-checkin-calendar > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.root-course-checkin-calendar > header div {
  display: grid;
  gap: 4px;
}

.root-course-checkin-calendar > header span {
  color: #c9533f;
  font: 800 9px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-checkin-calendar > header strong {
  color: #173f32;
  font: 700 20px/1 Georgia, serif;
}

.root-course-checkin-calendar > header small {
  max-width: 280px;
  color: #5d705f;
  font: 700 11px/1.3 Arial, sans-serif;
  text-align: right;
}

.root-course-checkin-windows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 12px;
}

.root-course-checkin-windows button {
  min-height: 34px;
  border: 1px solid #bfcabc;
  border-radius: 5px;
  background: #ffffff;
  color: #315f45;
  font: 800 11px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-checkin-windows button.is-active {
  border-color: #315f45;
  background: #315f45;
  color: #ffffff;
}

.root-course-checkin-slider {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: stretch;
  gap: 7px;
  margin-top: 9px;
}

.root-course-checkin-slider > button {
  border: 1px solid #bfcabc;
  border-radius: 5px;
  background: #ffffff;
  color: #315f45;
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-checkin-slider > button:disabled {
  color: #aeb8aa;
  cursor: default;
}

.root-course-checkin-track {
  display: grid;
  grid-template-columns: repeat(var(--reward-days, 7), minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.root-course-checkin-day {
  position: relative;
  min-width: 0;
  min-height: 74px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid #d7ddd2;
  border-radius: 5px;
  background: #ffffff;
  color: #6d786b;
  text-align: center;
}

.root-course-checkin-day > span {
  font: 800 9px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-checkin-day > strong {
  color: #315f45;
  font: 700 18px/1 Georgia, serif;
}

.root-course-checkin-day > small {
  font: 700 9px/1 Arial, sans-serif;
}

.root-course-checkin-day.is-claimed {
  border-color: #8aa27f;
  background: #e6efe0;
}

.root-course-checkin-day.is-claimed::after {
  position: absolute;
  top: 4px;
  right: 5px;
  content: "\2713";
  color: #315f45;
  font: 900 11px/1 Arial, sans-serif;
}

.root-course-checkin-day.is-current {
  border: 2px solid #cf5d47;
  background: #fff3ec;
  box-shadow: 0 5px 16px rgba(151, 65, 45, 0.16);
}

.root-course-checkin-day.is-milestone {
  background: #fff2c9;
}

.root-course-checkin-day.is-milestone > span::after {
  content: " bonus";
  color: #a36e18;
}

.root-course-mood-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 22px 0 14px;
  padding: 4px;
  border: 1px solid #c5cfbf;
  border-radius: 7px;
  background: #eef3e8;
}

.root-course-mood-picker legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.root-course-mood-picker label {
  cursor: pointer;
}

.root-course-mood-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.root-course-mood-picker span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #315f45;
  font: 800 12px/1 Arial, sans-serif;
}

.root-course-mood-picker input:checked + span {
  border-color: #315f45;
  background: #315f45;
  color: #ffffff;
}

.root-course-mood-picker input:focus-visible + span {
  outline: 3px solid #e2b957;
  outline-offset: 2px;
}

.root-course-checkin-streak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #d9d5c7;
  border-radius: 6px;
  background: #ffffff;
  color: #173f32;
  font: 800 12px/1 Arial, sans-serif;
}

.root-course-checkin-window > button[data-course-checkin-submit] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #315f45;
  border-radius: 6px;
  background: #315f45;
  color: #ffffff;
  font: 800 13px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-checkin-window > button[data-course-checkin-submit]:disabled {
  border-color: #9bac9b;
  background: #9bac9b;
  cursor: default;
}

.root-course-checkin-window > small,
.root-course-checkin-window > a {
  display: block;
  margin-top: 11px;
  color: #5d705f;
  font: 700 11px/1.35 Arial, sans-serif;
}

.root-course-checkin-window > a {
  color: #315f45;
}

.root-course-checkin-reward-modal {
  z-index: 36;
}

.root-course-checkin-reward-window {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  padding: 36px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 26px 76px rgba(11, 37, 27, 0.5);
  text-align: center;
  animation: root-course-reward-rise 420ms ease-out;
}

.root-course-checkin-reward-window::before,
.root-course-checkin-reward-window::after {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px dotted #e0b24e;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
}

.root-course-checkin-reward-window::before {
  top: -82px;
  left: -44px;
}

.root-course-checkin-reward-window::after {
  right: -40px;
  bottom: -86px;
}

.root-course-checkin-reward-window > span {
  color: #c9533f;
  font: 900 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-checkin-reward-window h2 {
  margin: 9px 0 16px;
  color: #173f32;
  font: 700 31px/1.05 Georgia, serif;
}

.root-course-checkin-reward-wallet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.root-course-checkin-reward-seeds {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 auto 15px;
  color: #315f45;
}

.root-course-checkin-reward-seeds.is-focus {
  color: #246a66;
}

.root-course-checkin-reward-seeds strong {
  font: 700 52px/0.95 Georgia, serif;
}

.root-course-checkin-reward-seeds span {
  font: 900 11px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-checkin-reward-window p {
  color: #5d705f;
  font: 700 13px/1.45 Arial, sans-serif;
}

.root-course-checkin-reward-window button {
  width: 100%;
  min-height: 45px;
  margin-top: 18px;
  border: 1px solid #315f45;
  border-radius: 6px;
  background: #315f45;
  color: #ffffff;
  font: 900 12px/1 Arial, sans-serif;
  cursor: pointer;
}

@keyframes root-course-reward-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.root-course-lesson-window {
  position: relative;
  width: min(1190px, 100%);
  height: calc(100% - 16px);
  max-height: calc(100% - 16px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(200px, 230px) minmax(0, 1fr) minmax(270px, 310px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 25px 70px rgba(11, 37, 27, 0.38);
}

.root-course-game-shell:fullscreen .root-course-lesson-window {
  width: min(1480px, calc(100% - 20px));
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(280px, 340px);
}

.root-course-reader-rail {
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-color: #76916f #dce5d7;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  padding: 28px 20px;
  border-right: 1px solid #cad3c4;
  background: #eef3e8;
  color: #173f32;
}

.root-course-reader-rail > span {
  display: block;
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reader-rail > strong {
  display: block;
  margin-top: 8px;
  font: 700 21px/1.08 Georgia, serif;
}

.root-course-reader-meter {
  height: 7px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 4px;
  background: #d4ddcc;
}

.root-course-reader-meter i {
  display: block;
  width: 33%;
  height: 100%;
  background: #c9533f;
  transition: width 180ms ease;
}

.root-course-reader-rail nav {
  display: grid;
  gap: 8px;
}

.root-course-reader-rail nav button {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #315343;
  padding: 9px;
  text-align: left;
  cursor: pointer;
}

.root-course-reader-rail nav button:hover,
.root-course-reader-rail nav button.is-active {
  border-color: #b7c6ad;
  background: #fffdf7;
}

.root-course-reader-rail nav button > span:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce6d5;
  font: 800 11px/1 Arial, sans-serif;
}

.root-course-reader-rail nav button.is-active > span:first-child {
  background: #315f45;
  color: #ffffff;
}

.root-course-reader-rail nav button strong,
.root-course-reader-rail nav button small {
  display: block;
  letter-spacing: 0;
}

.root-course-reader-rail nav button strong {
  font: 800 12px/1.18 Arial, sans-serif;
}

.root-course-reader-rail nav button small {
  margin-top: 4px;
  color: #6b796c;
  font: 600 10px/1.25 Arial, sans-serif;
}

.root-course-reader-rail > blockquote {
  margin: 22px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #c8d2c0;
  color: #4b6855;
  font: italic 700 13px/1.45 Georgia, serif;
}

.root-course-reader-main {
  position: relative;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-color: #76916f #eee8dc;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  background: #fffaf0;
}

.root-course-lesson-media {
  position: relative;
  min-height: 240px;
  background: #264f38;
  overflow: hidden;
}

.root-course-lesson-media video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.root-course-lesson-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(18, 53, 39, 0.9), rgba(18, 53, 39, 0));
  pointer-events: none;
}

.root-course-lesson-media > div {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: #ffffff;
}

.root-course-lesson-media > div span {
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-lesson-media h2 {
  max-width: 520px;
  margin: 7px 50px 0 0;
  color: #ffffff;
  font: 700 29px/1.04 Georgia, serif;
  letter-spacing: 0;
}

.root-course-lesson-guide {
  border-bottom: 1px solid #d6ddcf;
  background: #f8f7ed;
}

.root-course-lesson-guide > summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  color: #173f32;
  cursor: pointer;
  list-style: none;
}

.root-course-lesson-guide > summary::-webkit-details-marker {
  display: none;
}

.root-course-lesson-guide > summary::after {
  content: "+";
  flex: 0 0 auto;
  font: 700 22px/1 Georgia, serif;
}

.root-course-lesson-guide[open] > summary::after {
  content: "\2212";
}

.root-course-lesson-guide > summary span,
.root-course-lesson-guide-content section > span {
  display: block;
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-lesson-guide > summary strong {
  margin-left: auto;
  color: #4f6655;
  font: 800 12px/1.3 Arial, sans-serif;
  text-align: right;
}

.root-course-lesson-guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e0e2d7;
}

.root-course-lesson-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 15px 28px;
  border-bottom: 1px solid #e0e2d7;
}

.root-course-lesson-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #d4c290;
  border-radius: 5px;
  background: #fff9e8;
  color: #644e19;
  font: 800 11px/1.2 Arial, sans-serif;
}

.root-course-lesson-guide-content section {
  min-width: 0;
  padding: 22px 28px 24px;
}

.root-course-lesson-simple-guide[hidden] {
  display: none;
}

.root-course-lesson-simple-guide {
  grid-column: 1 / -1;
  border-bottom: 1px solid #d5ddcc;
  background: #f1f6e9;
}

.root-course-lesson-simple-guide + .root-course-lesson-outcomes {
  border-left: 0;
}

.root-course-lesson-simple-guide > p {
  max-width: 850px;
}

.root-course-lesson-simple-guide .root-course-lesson-simple-why {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid #89a85d;
  color: #294c3b;
  font-weight: 750;
}

.root-course-lesson-worked-example {
  margin-top: 20px;
  padding: 18px 0 20px;
  border-top: 1px solid #ced9c5;
  border-bottom: 1px solid #ced9c5;
}

.root-course-lesson-worked-example > strong,
.root-course-lesson-mixup > strong,
.root-course-lesson-small-practice > strong,
.root-course-lesson-finish-line > strong {
  display: block;
  margin-bottom: 7px;
  color: #173f32;
  font: 800 12px/1.2 Arial, sans-serif;
}

.root-course-lesson-worked-example > p {
  max-width: 850px;
}

.root-course-lesson-worked-example ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rooted-method-step;
}

.root-course-lesson-simple-guide .root-course-lesson-worked-example li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  margin-top: 0;
  padding: 12px 0 0;
  border-top: 1px solid #dbe3d4;
  counter-increment: rooted-method-step;
}

.root-course-lesson-simple-guide .root-course-lesson-worked-example li::before {
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #64864c;
  border-radius: 50%;
  color: #315c35;
  background: #ffffff;
  font: 850 12px/1 Arial, sans-serif;
  content: counter(rooted-method-step);
}

.root-course-lesson-simple-guide .root-course-lesson-worked-example li strong {
  grid-column: 2;
  grid-row: 1;
  color: #1d4938;
  font: 850 12px/1.25 Arial, sans-serif;
}

.root-course-lesson-simple-guide .root-course-lesson-worked-example li span {
  grid-column: 2;
  grid-row: 2;
  color: #415b4a;
  font: 600 13px/1.45 Arial, sans-serif;
}

.root-course-lesson-mixup,
.root-course-lesson-small-practice {
  margin-top: 17px !important;
  padding-top: 0;
}

.root-course-lesson-mixup span,
.root-course-lesson-small-practice span {
  display: block;
}

.root-course-lesson-finish-line {
  display: grid;
  grid-template-columns: minmax(110px, 0.24fr) minmax(0, 1fr);
  gap: 12px 24px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #ced9c5;
}

.root-course-lesson-finish-line > strong {
  margin: 1px 0 0;
}

.root-course-lesson-finish-line ul {
  margin: 0;
}

.root-course-lesson-guide-content section + section {
  border-left: 1px solid #e0e2d7;
}

.root-course-lesson-guide-content h3 {
  margin: 7px 0 13px;
  color: #173f32;
  font: 700 22px/1.08 Georgia, serif;
  letter-spacing: 0;
}

.root-course-lesson-guide-content p {
  margin: 0;
  color: #415b4a;
  font: 600 13px/1.5 Arial, sans-serif;
}

.root-course-lesson-guide-content ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.root-course-lesson-guide-content li {
  position: relative;
  padding-left: 24px;
  color: #315343;
  font: 600 13px/1.45 Arial, sans-serif;
}

.root-course-lesson-guide-content li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  color: #6f984e;
  font-weight: 900;
}

.root-course-lesson-guide-content li + li {
  margin-top: 8px;
}

.root-course-lesson-advanced-tool > p:last-child {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #d7ddcf;
  font-weight: 700;
}

.root-course-lesson-body {
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-color: #9b8067 #eadfce;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  padding: 30px 24px;
  border-left: 1px solid #e1d7c8;
  background: #f8efe2;
}

.root-course-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #b7c2b4;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.94);
  color: #173f32;
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-reader-rail::-webkit-scrollbar,
.root-course-reader-main::-webkit-scrollbar,
.root-course-lesson-body::-webkit-scrollbar,
.root-course-lesson-window::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.root-course-reader-rail::-webkit-scrollbar-track {
  background: #dce5d7;
}

.root-course-reader-main::-webkit-scrollbar-track {
  background: #eee8dc;
}

.root-course-lesson-body::-webkit-scrollbar-track,
.root-course-lesson-window::-webkit-scrollbar-track {
  background: #eadfce;
}

.root-course-reader-rail::-webkit-scrollbar-thumb,
.root-course-reader-main::-webkit-scrollbar-thumb,
.root-course-lesson-body::-webkit-scrollbar-thumb,
.root-course-lesson-window::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  background-color: #6f8b68;
}

.root-course-lesson-body > span,
.root-course-reward-window > span {
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reward-window h2 {
  margin: 9px 48px 16px 0;
  color: #173f32;
  font: 700 31px/1.05 Georgia, serif;
  letter-spacing: 0;
}

.root-course-lesson-body h3 {
  margin: 8px 0 15px;
  color: #173f32;
  font: 700 25px/1.08 Georgia, serif;
  letter-spacing: 0;
}

.root-course-reading-stage {
  padding: 26px 28px 20px;
}

.root-course-reading-stage > span {
  color: #c9533f;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reading-stage h3 {
  margin: 8px 0 12px;
  color: #173f32;
  font: 700 25px/1.08 Georgia, serif;
  letter-spacing: 0;
}

.root-course-reading-body {
  color: #415b4a;
  font: 600 15px/1.58 Arial, sans-serif;
}

.root-course-reading-body > p {
  margin: 0 0 15px;
}

.root-course-reading-body > p:last-child {
  margin-bottom: 0;
}

.root-course-reading-key-points {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid #d7a053;
  background: #fff5df;
}

.root-course-reading-key-points > strong {
  display: block;
  color: #173f32;
  font: 800 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reading-key-points ul {
  margin: 9px 0 0;
  padding-left: 19px;
}

.root-course-reading-key-points li + li {
  margin-top: 7px;
}

.root-course-reading-stage > blockquote {
  margin: 18px 0 0;
  padding: 14px 17px;
  border-left: 4px solid #d7a053;
  background: #fff2d8;
  color: #4b5e4c;
  font: italic 700 15px/1.45 Georgia, serif;
}

.root-course-reading-tool {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #c7d3bd;
  border-radius: 6px;
  background: #eef3e8;
}

.root-course-reading-tool-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.root-course-reading-tool-heading > span {
  flex: 0 0 auto;
  color: #48614f;
  font: 800 11px/1 Arial, sans-serif;
}

.root-course-reading-tool strong,
.root-course-reading-tool-text,
.root-course-reading-tool small {
  display: block;
}

.root-course-reading-tool strong {
  color: #173f32;
  font: 800 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reading-tool-text {
  margin: 7px 0 12px;
  color: #315343;
  font: 600 14px/1.5 Arial, sans-serif;
}

.root-course-reading-tool-text ol {
  margin: 0;
  padding-left: 20px;
}

.root-course-reflection-prompts {
  margin: 18px 0;
}

.root-course-reflection-prompts > span {
  display: block;
  margin-bottom: 8px;
  color: #735d34;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reflection-prompts > div {
  display: grid;
  gap: 7px;
}

.root-course-reflection-prompts button {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid #d7cdbb;
  border-radius: 5px;
  background: rgba(255, 253, 247, 0.72);
  color: #315343;
  text-align: left;
  cursor: pointer;
}

.root-course-reflection-prompts button:hover,
.root-course-reflection-prompts button.is-active {
  border-color: #83a474;
  background: #eef3e8;
}

.root-course-reflection-prompts button small {
  color: #c9533f;
  font: 800 9px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-reflection-prompts button span {
  font: 700 12px/1.35 Arial, sans-serif;
}

.root-course-support-boundary {
  margin: 15px 0 0;
  padding: 12px 13px;
  border-left: 3px solid #d7a053;
  background: #fff5df;
  color: #5c623d;
  font: 700 12px/1.45 Arial, sans-serif;
}

.root-course-evidence {
  margin-top: 16px;
  border-top: 1px solid #d8cdbc;
  border-bottom: 1px solid #d8cdbc;
}

.root-course-evidence > summary {
  padding: 13px 0;
  color: #173f32;
  font: 800 12px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.root-course-evidence > div {
  display: grid;
  gap: 8px;
  padding: 0 0 14px;
}

.root-course-evidence article {
  padding: 10px 11px;
  border-left: 3px solid #8baa79;
  background: rgba(255, 253, 247, 0.72);
}

.root-course-evidence article a,
.root-course-evidence article span,
.root-course-evidence article p {
  display: block;
}

.root-course-evidence article a {
  color: #173f32;
  font: 800 12px/1.3 Arial, sans-serif;
}

.root-course-evidence article span {
  margin-top: 3px;
  color: #5a705f;
  font: 700 10px/1.3 Arial, sans-serif;
}

.root-course-evidence article p {
  margin: 5px 0 0;
  color: #596b5a;
  font: 600 10px/1.4 Arial, sans-serif;
}

.root-course-reading-tool-text li + li {
  margin-top: 7px;
}

.root-course-reading-tool-text p {
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid #c7d3bd;
}

.root-course-reading-tool-text p strong {
  display: inline;
  color: inherit;
  font: inherit;
  text-transform: none;
}

.root-course-reading-tool button,
.root-course-reading-actions button {
  min-height: 36px;
  border: 1px solid #315f45;
  border-radius: 5px;
  background: #ffffff;
  color: #315f45;
  padding: 0 13px;
  font: 800 11px/1 Arial, sans-serif;
  cursor: pointer;
}

.root-course-reading-tool button:hover,
.root-course-reading-actions button:hover:not(:disabled) {
  background: #315f45;
  color: #ffffff;
}

.root-course-reading-tool small {
  margin-top: 8px;
  color: #687569;
  font: 600 10px/1.3 Arial, sans-serif;
}

.root-course-reading-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 28px 24px;
}

.root-course-reading-actions span {
  color: #687569;
  font: 800 10px/1 Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
}

.root-course-reading-actions button:disabled {
  border-color: #d0d6cc;
  color: #a4ada2;
  cursor: default;
}

.root-course-lesson-prompt {
  padding: 14px 0;
  border-top: 1px solid #d8d5c5;
  border-bottom: 1px solid #d8d5c5;
  color: #304d3c;
  font: 700 17px/1.42 Georgia, serif;
}

.root-course-pacing {
  display: grid;
  gap: 8px;
  margin: 15px 0 4px;
  padding: 12px 0 13px;
  border-bottom: 1px solid #d8d5c5;
}

.root-course-pacing > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.root-course-pacing > div:first-child span {
  color: #5c6c60;
  font: 800 10px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-pacing > div:first-child strong {
  color: #173f32;
  font: 800 18px/1 Georgia, serif;
}

.root-course-pacing > div:nth-child(2) {
  height: 9px;
  overflow: hidden;
  border: 1px solid #b6c3a8;
  border-radius: 5px;
  background: #dce4d4;
}

.root-course-pacing > div:nth-child(2) i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7153 0%, #d8aa3b 100%);
  transition: width 600ms ease;
}

.root-course-pacing p {
  margin: 0;
  color: #687569;
  font: 600 10px/1.4 Arial, sans-serif;
}

.root-course-pacing.is-reached > div:first-child strong,
.root-course-pacing.is-reached p {
  color: #256143;
}

.root-course-lesson-body label {
  display: block;
  margin-top: 17px;
  color: #173f32;
  font: 800 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

.root-course-lesson-body textarea {
  width: 100%;
  min-height: 92px;
  margin-top: 8px;
  resize: vertical;
  border: 1px solid #aeb9aa;
  border-radius: 6px;
  background: #ffffff;
  color: #173f32;
  padding: 12px;
  font: 600 14px/1.4 Arial, sans-serif;
}

.root-course-reflection-note {
  display: block;
  margin-top: 7px;
  color: #627066;
  font: 600 11px/1.45 Arial, sans-serif;
}

.root-course-learning-boundary {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #d8d5c5;
  color: #667469;
  font: 600 10px/1.45 Arial, sans-serif;
}

.root-course-practice {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  padding: 13px;
  border: 1px solid #c7d3bd;
  border-radius: 6px;
  background: #eef3e8;
  text-transform: none !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.root-course-practice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #c9533f;
}

.root-course-lesson-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}

.root-course-lesson-actions button,
.root-course-reward-window button,
.root-course-reward-window a {
  min-height: 44px;
  border: 1px solid #315f45;
  border-radius: 6px;
  background: #315f45;
  color: #ffffff;
  padding: 0 18px;
  font: 800 12px/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.root-course-lesson-actions button:disabled {
  border-color: #b7c0b5;
  background: #b7c0b5;
  cursor: default;
}

.root-course-lesson-actions button:hover,
.root-course-reward-window button:hover,
.root-course-reward-window a:hover {
  background: #c9533f;
  border-color: #c9533f;
}

.root-course-lesson-actions .is-done {
  background: #ffffff;
  color: #315f45;
}

.root-course-reward-window {
  width: min(620px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 25px 70px rgba(11, 37, 27, 0.42);
  text-align: center;
}

.root-course-reward-window h2 {
  margin-right: 0;
}

.root-course-reward-window p {
  margin: 0 auto;
  max-width: 500px;
  color: #506252;
  font: 600 14px/1.5 Arial, sans-serif;
}

.root-course-reward-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.root-course-reward-items span {
  padding: 9px 12px;
  border: 1px solid #d1b36e;
  border-radius: 6px;
  background: #fff2cd;
  color: #684c19;
  font: 800 12px/1 Arial, sans-serif;
}

.root-course-reward-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.root-course-reward-window a {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #315f45;
}

.root-course-toast {
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  max-width: min(520px, calc(100% - 36px));
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 17px;
  border-radius: 6px;
  background: #173f32;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 45, 34, 0.34);
  font: 800 12px/1.3 Arial, sans-serif;
  transition: opacity 160ms ease, transform 160ms ease;
}

.root-course-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.root-garden-detail-page .garden-product-hero {
  display: none;
}

@media (max-width: 2100px) {
  .root-course-progress {
    top: calc(var(--hud-top) + var(--hud-height) + 14px);
  }
}

@media (max-width: 850px) {
  .root-course-game-shell,
  .root-course-only-page .root-course-game-shell {
    min-height: 670px;
    height: 100svh;
  }

  .root-course-area-nav {
    width: min(340px, calc(100% - 40px));
    min-width: 0;
  }

  .root-course-lesson-window {
    grid-template-columns: 1fr;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    scrollbar-color: #76916f #eadfce;
    scrollbar-gutter: stable;
  }

  .root-course-game-shell:fullscreen .root-course-lesson-window {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .root-course-reader-rail {
    grid-column: 1;
    grid-row: 1;
    min-height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #cad3c4;
  }

  .root-course-lesson-window > .root-course-close {
    position: sticky;
    top: 12px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    z-index: 20;
    margin: 12px 12px 0 0;
  }

  .root-course-reader-rail nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .root-course-reader-main,
  .root-course-lesson-body {
    min-height: auto;
    overflow: visible;
  }

  .root-course-lesson-media {
    min-height: 220px;
  }

  .root-course-lesson-body {
    padding: 24px;
  }

  .root-course-lesson-guide-content {
    grid-template-columns: 1fr;
  }

  .root-course-lesson-guide-content section + section {
    border-top: 1px solid #e0e2d7;
    border-left: 0;
  }

  .root-course-lesson-worked-example ol {
    grid-template-columns: 1fr;
  }

  .root-course-lesson-media h2,
  .root-course-reward-window h2 {
    font-size: 26px;
  }
}

@media (max-width: 760px) {
  html.root-course-page .root-course-game-wallet button {
    font-size: 0;
  }

  .root-course-game-wallet .root-course-daily-button::before {
    content: "\2600";
    font-size: 16px;
  }

  .root-course-progress {
    top: calc(var(--hud-top) + var(--hud-height) + 12px);
  }
}

@media (max-width: 560px) {
  .root-course-game-shell,
  .root-course-only-page .root-course-game-shell {
    min-height: 0;
    height: 100svh;
  }

  .root-course-game-shell:has(.root-course-lesson-modal:not([hidden])) .lrl-member-shell--game,
  .root-course-game-shell:has(.root-course-access-modal:not([hidden])) .lrl-member-shell--game,
  .root-course-game-shell:has(.root-course-reward-modal:not([hidden])) .lrl-member-shell--game,
  .root-course-game-shell:has(.root-course-checkin-modal:not([hidden])) .lrl-member-shell--game,
  .root-course-game-shell:has(.root-course-checkin-reward-modal:not([hidden])) .lrl-member-shell--game {
    visibility: hidden;
    pointer-events: none;
  }

  .root-course-game-wallet {
    gap: 4px;
  }

  .root-course-game-wallet > .root-game-wallet-currency {
    grid-template-columns: 16px auto;
    min-width: 44px;
    padding-inline: 4px;
  }

  .root-course-game-wallet .root-game-currency-icon {
    width: 16px;
    height: 16px;
  }

  .root-course-game-wallet small {
    display: none;
  }

  .root-course-game-wallet button {
    width: 34px;
  }

  .root-course-game-wallet .root-course-daily-button {
    display: inline-flex;
  }

  .root-course-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
    pointer-events: none;
  }

  .root-course-progress {
    top: calc(var(--hud-top) + var(--hud-height) + 12px);
    right: 12px;
  }

  .root-course-mobile-daily {
    display: none;
  }

  .root-course-camera {
    top: calc(var(--hud-top) + var(--hud-height) + 12px);
    right: auto;
    bottom: auto;
    left: 12px;
  }

  .root-course-area-nav {
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .root-course-lesson-modal,
  .root-course-access-modal,
  .root-course-reward-modal,
  .root-course-checkin-modal,
  .root-course-checkin-reward-modal {
    padding: 82px 10px 10px;
  }

  .root-course-checkin-window {
    padding: 25px 14px 20px;
  }

  .root-course-checkin-window h2 {
    font-size: 25px;
  }

  .root-course-checkin-calendar {
    padding: 11px;
  }

  .root-course-checkin-calendar > header {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .root-course-checkin-calendar > header small {
    max-width: none;
    text-align: left;
  }

  .root-course-checkin-windows button {
    min-height: 32px;
    padding: 0 3px;
    font-size: 10px;
  }

  .root-course-checkin-track {
    grid-template-columns: repeat(var(--reward-days, 7), 70px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .root-course-checkin-day {
    min-height: 70px;
  }

  .root-course-reward-window {
    padding: 25px 18px;
  }

  .root-course-reader-rail {
    padding: 18px 14px 14px;
  }

  .root-course-lesson-guide > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 13px 16px;
  }

  .root-course-lesson-guide > summary strong {
    margin-left: 0;
    padding-right: 24px;
    text-align: left;
  }

  .root-course-lesson-guide > summary::after {
    position: absolute;
    right: 18px;
  }

  .root-course-lesson-meta,
  .root-course-lesson-guide-content section {
    padding-inline: 16px;
  }

  .root-course-lesson-meta {
    padding-block: 12px;
  }

  .root-course-lesson-guide-content section {
    padding-block: 18px 20px;
  }

  .root-course-lesson-finish-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .root-course-reader-rail > strong {
    margin-top: 6px;
    font-size: 18px;
  }

  .root-course-reader-meter {
    margin: 12px 0;
  }

  .root-course-reader-rail nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
  }

  .root-course-reader-rail nav button {
    flex: 0 0 148px;
    min-height: 56px;
    padding: 7px;
  }

  .root-course-reader-rail nav button small,
  .root-course-reader-rail > blockquote {
    display: none;
  }

  .root-course-reward-actions,
  .root-course-lesson-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .root-course-game-shell,
  .root-course-only-page .root-course-game-shell {
    min-height: 0;
    height: 100svh;
  }

  .root-course-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
    pointer-events: none;
  }

  .root-course-progress {
    top: calc(var(--hud-top) + var(--hud-height) + 12px);
    right: 12px;
  }

  .root-course-camera {
    top: calc(var(--hud-top) + var(--hud-height) + 12px);
    right: auto;
    bottom: auto;
    left: 12px;
  }

  .root-course-area-nav {
    bottom: 12px;
  }
}

@media (max-width: 700px) {
  .root-course-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 18px;
  }

  .root-course-footer > div {
    flex-wrap: wrap;
  }

  .root-course-footer strong {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .root-course-toast {
    transition: none;
  }
}
