.student-economy-shell-page {
  min-width: 760px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #8ee5ff url('/token-assets/page-background.png') center bottom / cover no-repeat fixed;
}

.student-economy-shell-page .student-economy-shell {
  display: grid;
  width: min(1420px, calc(100% - 36px));
  max-width: none;
  height: calc(100vh - 26px);
  height: calc(100dvh - 26px);
  min-height: 0;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  margin: 14px auto 12px;
  padding: 0;
}

.student-economy-shell-page .student-economy-sidebar-shell {
  position: relative;
  top: 20px;
  display: flex;
  width: auto;
  min-width: 0;
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
  min-height: 0;
  flex-direction: column;
  gap: 11px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  padding: 26px 18px 18px;
  overflow: hidden auto;
  overscroll-behavior: contain;
  background: url('/token-assets/sidebar-frame.png') center / 100% 100% no-repeat;
  box-shadow: none;
  scrollbar-color: #9a7649 transparent;
  scrollbar-width: thin;
}

.student-economy-shell-page .student-economy-sidebar-brand {
  display: grid;
  min-height: 88px;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 8px;
  padding: 7px;
  text-align: left;
}

.student-economy-shell-page .student-economy-sidebar-brand > img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.student-economy-shell-page .student-economy-sidebar-brand > span { display: grid; gap: 3px; }
.student-economy-shell-page .student-economy-sidebar-brand strong {
  display: grid;
  color: #226ff3;
  font-size: 25px;
  font-weight: 1000;
  line-height: 1.04;
}
.student-economy-shell-page .student-economy-sidebar-brand strong em { color: #f25c37; font-style: normal; }
.student-economy-shell-page .student-economy-sidebar-brand small {
  margin-top: 5px;
  color: #5d421f;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.25;
  white-space: nowrap;
}

.student-economy-shell-page .student-economy-sidebar-fullscreen {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(48, 40, 31, .72);
  padding: 0 12px;
  color: #fffdf1;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.student-economy-shell-page .student-economy-sidebar-fullscreen > :is(span, i) { font-size: 16px; }
.student-economy-shell-page .student-economy-sidebar-fullscreen > strong { font-size: 13px; }

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav {
  display: grid;
  gap: 7px;
  padding: 0 2px;
}

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a {
  display: grid;
  min-height: 43px;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: url('/token-assets/sidebar-button.png') center / 100% 100% no-repeat;
  padding: 5px 10px 6px;
  color: #49392a;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: none;
  text-decoration: none;
}

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a > :is(span[aria-hidden="true"], i) {
  display: grid;
  width: 31px;
  place-items: center;
  font-size: 20px;
}

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a > strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.15;
}

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a.is-active {
  background-image: url('/token-assets/sidebar-button-active.png');
  color: #fff;
}

.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a:hover,
.student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a:focus-visible,
.student-economy-shell-page .student-economy-sidebar-fullscreen:hover,
.student-economy-shell-page .student-economy-sidebar-fullscreen:focus-visible {
  filter: brightness(1.06);
  outline: 3px solid rgb(51 112 207 / 25%);
  outline-offset: -3px;
}

.student-economy-shell-page .student-economy-sidebar-medal {
  width: 92px;
  height: 98px;
  margin: auto auto 3px;
  object-fit: contain;
}

.student-economy-shell-page .student-economy-main-shell {
  min-width: 0;
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.student-learning-page > .student-learning-session {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  display: grid;
  min-width: 152px;
  gap: 4px;
  border: 1px solid #b98b46;
  border-radius: 12px;
  background: rgba(255, 249, 233, .95);
  padding: 8px;
  box-shadow: 0 8px 20px rgb(64 46 26 / 18%);
  text-align: center;
}

.student-learning-page > .student-learning-session span { font-size: 11px; }
.student-learning-page > .student-learning-session button { min-height: 36px; }

@media (max-width: 1399px) {
  .student-economy-shell-page .student-economy-shell {
    width: min(1192px, calc(100% - 34px));
    grid-template-columns: 234px minmax(0, 1fr);
  }

  .student-economy-shell-page .student-economy-sidebar-shell {
    top: 0;
    height: calc(100vh - 26px);
    height: calc(100dvh - 26px);
  }
}

@media (max-width: 1100px) {
  .student-economy-shell-page .student-economy-shell {
    width: calc(100% - 24px);
    grid-template-columns: 214px minmax(0, 1fr);
  }

  .student-economy-shell-page .student-economy-sidebar-brand {
    min-height: 78px;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .student-economy-shell-page .student-economy-sidebar-brand > img { width: 52px; height: 52px; }
  .student-economy-shell-page .student-economy-sidebar-brand strong { font-size: 21px; }
  .student-economy-shell-page .student-economy-sidebar-brand small { font-size: 9px; }
  .student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a { padding-right: 7px; padding-left: 7px; }
}

@media (max-width: 900px) {
  .student-economy-shell-page .student-economy-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .student-economy-shell-page .student-economy-sidebar-shell { padding-right: 14px; padding-left: 14px; }
  .student-economy-shell-page .student-economy-sidebar-brand {
    min-height: 72px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 3px;
    padding-left: 3px;
  }
  .student-economy-shell-page .student-economy-sidebar-brand > img { width: 46px; height: 46px; }
  .student-economy-shell-page .student-economy-sidebar-brand strong { font-size: 19px; }
  .student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a { grid-template-columns: 27px minmax(0, 1fr) auto; gap: 5px; }
  .student-economy-shell-page .student-economy-sidebar-shell .student-economy-sidebar-nav > a > :is(span[aria-hidden="true"], i) { width: 27px; font-size: 18px; }
}

.student-economy-view-link:not([hidden]) {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px;
  color: #205c9b; font-size: 13px; font-weight: 750;
}
