body.mobile-build {
  overflow-x: hidden;
}

.mobile-build .app-drag-region,
.mobile-build .app-titlemark,
.mobile-build .settings-button,
.mobile-build .settings-modal {
  display: none;
}

.mobile-build .hero {
  min-height: clamp(360px, 58vh, 620px);
}

.mobile-build .hero__content {
  width: auto;
  max-width: min(820px, calc(100% - 24px));
  margin-right: 12px;
  margin-top: clamp(96px, 16vh, 150px);
  box-sizing: border-box;
}

.mobile-build .topbar {
  top: 10px;
  left: 10px;
  right: 10px;
  width: auto;
  max-width: none;
  transform: none;
  box-sizing: border-box;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-build .topbar::-webkit-scrollbar {
  display: none;
}

.mobile-build .topbar a {
  flex: 0 0 auto;
  min-width: max-content;
}

.mobile-build .reset-timer {
  top: 58px;
  right: 10px;
  max-width: calc(100vw - 20px);
}

.mobile-build .section,
.mobile-build .toolband__inner,
.mobile-build .resultline,
.mobile-build footer {
  width: min(100% - 20px, var(--content));
}

.mobile-build .section {
  padding: clamp(16px, 4vw, 26px);
}

.mobile-build .method-live-panel,
.mobile-build .trial-atlas,
.mobile-build .landsraad-roster,
.mobile-build .quest-solutions,
.mobile-build .mentor-series {
  padding: clamp(14px, 4vw, 22px);
}

.mobile-build .method-map {
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-build .method-map-stage {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.mobile-build .method-map-pin {
  width: clamp(24px, 6vw, 44px);
  height: clamp(24px, 6vw, 44px);
}

.mobile-build .method-map-pin img {
  width: clamp(20px, 5vw, 38px);
  height: clamp(20px, 5vw, 38px);
}

.mobile-build .method-axis {
  font-size: clamp(0.58rem, 2.2vw, 0.78rem);
}

.mobile-build .method-axis--left {
  left: 4px;
}

.mobile-build .method-axis--right {
  right: 4px;
}

.mobile-build .method-map-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px;
}

.mobile-build .method-map-filters span {
  min-width: 0;
  font-size: 0.76rem;
}

.mobile-build .method-map-zoom {
  top: 22px;
  right: 22px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.mobile-build .map-lightbox {
  padding: 58px 8px 12px;
  place-items: start center;
}

.mobile-build .map-lightbox__stage {
  width: calc(100vw - 16px);
  max-height: calc(100vh - 70px);
}

.mobile-build .map-lightbox__scroller {
  max-height: calc(100vh - 128px);
  width: 100%;
  overscroll-behavior: contain;
}

.mobile-build .map-lightbox__stage .method-map {
  width: 100%;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

.mobile-build .map-lightbox__stage .method-map-stage {
  width: 100%;
  max-width: none;
  min-width: 320px;
  flex: 0 0 auto;
}

.mobile-build .map-lightbox__stage .method-map-pin {
  width: 44px;
  height: 44px;
}

.mobile-build .map-lightbox__stage .method-map-pin img {
  width: 44px;
  height: 44px;
}

.mobile-build .hagga-map,
.mobile-build .station-map,
.mobile-build .trial-map {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-build .hagga-map img,
.mobile-build .station-map img,
.mobile-build .trial-map img,
.mobile-build .landsraad-card img,
.mobile-build .mentor-location-card img,
.mobile-build .trial-card img {
  cursor: zoom-in;
}

.mobile-build .method-loot-items {
  grid-template-columns: 1fr;
}

.mobile-build .method-loot-item {
  min-height: 74px;
}

.mobile-build .image-lightbox__frame {
  width: calc(100vw - 18px);
  height: calc(100vh - 36px);
}

.mobile-build .image-lightbox__frame img {
  max-width: 100%;
  max-height: calc(100vh - 82px);
  object-fit: contain;
}

@media (max-width: 760px) {
  .mobile-build .hero__content {
    margin-right: 12px;
    margin-left: 12px;
  }

  .mobile-build .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mobile-build .button,
  .mobile-build .clear-button,
  .mobile-build .method-toggle button {
    min-height: 44px;
  }

  .mobile-build .reset-timer {
    left: 10px;
    right: auto;
  }

  .mobile-build .topbar {
    padding: 4px;
  }

  .mobile-build .topbar a {
    height: 34px;
    padding: 0 12px;
  }
}
