@media only screen and (max-width: 1024px) {
  .mob {
    display: none !important;
  }

  .sign-in {
    padding-right: 271px !important;
  }

  footer {
    width: 1200px;
  }

  .hidden-block {
    right: 251px;
  }

  body.frontis-shell .sign-in {
    padding-right: 0 !important;
  }

  body.frontis-shell footer {
    width: auto;
  }

  body.frontis-shell .hidden-block {
    right: 0;
  }
}

@media only screen and (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body.frontis-shell {
    min-width: 0;
    overflow-x: hidden;
  }

  body.frontis-shell .wrapper,
  body.frontis-shell .topPanel-wrapper,
  body.frontis-shell .frontis-portal {
    width: 100%;
    max-width: 100%;
  }

  body.frontis-shell .topPanel {
    position: relative;
    min-height: 0;
  }

  body.frontis-shell .topPanel-wrapper {
    min-height: 0;
    padding: 6px 8px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }

  body.frontis-shell .topPanel-left {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow: hidden;
  }

  body.frontis-shell .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 4px 10px;
    white-space: nowrap;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.frontis-shell .nav::-webkit-scrollbar {
    display: none;
  }

  body.frontis-shell .nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body.frontis-shell .nav li a {
    height: 38px;
    line-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.frontis-shell .topPanel-right {
    position: static;
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    padding: 0;
    z-index: 12;
  }

  body.frontis-shell .sign-in {
    min-width: 116px;
    height: 34px;
    line-height: 34px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.frontis-shell .account-menu {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
  }

  body.frontis-shell .asteria-hero {
    width: 100%;
    min-height: 360px;
    background-size: cover;
    background-position: center top;
  }

  body.frontis-shell .replaceable-logo {
    left: 50%;
    right: auto;
    top: 34px;
    width: min(250px, 68vw);
    margin-left: 0;
    transform: translateX(-50%);
  }

  body.frontis-shell .donate-chest.wiki-shortcut {
    left: 18px;
    top: 108px;
    width: 74px;
  }

  body.frontis-shell .asteria-actions {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    max-width: 360px;
    margin: -56px auto 20px;
    transform: none;
  }

  body.frontis-shell .asteria-action {
    min-height: 82px;
  }

  body.frontis-shell .online-orb {
    width: 98px;
    height: 98px;
    margin: 8px auto 0;
  }

  body.frontis-shell .asteria-body {
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 20px);
    margin: 0 auto;
  }

  body.frontis-shell .asteria-feed {
    order: 1;
  }

  body.frontis-shell .asteria-rail {
    order: 2;
  }

  body.frontis-shell .asteria-widgets {
    order: 3;
  }

  body.frontis-shell .frontis-image-slider {
    width: 100%;
    max-width: 100%;
    min-height: 190px;
  }

  body.frontis-shell .frontis-section-separator {
    font-size: 24px;
  }

  body.frontis-shell .frontis-guide-panel,
  body.frontis-shell .frontis-blackjack-panel,
  body.frontis-shell .frontis-info-panel {
    width: 100%;
  }

  body.frontis-shell .frontis-blackjack-entry img {
    max-height: 180px;
  }

  body.frontis-shell .frontis-blackjack-entry span {
    right: 10px;
    bottom: 10px;
    padding: 7px 12px;
    font-size: 11px;
  }

  body.frontis-shell .floating-socials {
    display: none;
  }

  body.frontis-shell .leftBodyLinks {
    display: none;
  }

  .donate-methods__grid,
  .webdev .row {
    grid-template-columns: 1fr;
  }

  .donate-methods__note {
    flex-direction: column;
  }
}
