.shop-info-section-holder .elemental-section {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 28px);
  overflow: visible;
}
.shop-info-section-holder .elemental-section .text-column {
  width: 100%;
  height: auto;
  padding: 24px 0;
  align-items: center;
  overflow: visible;
}
.shop-info-section-holder .elemental-section .text-column img {
  display: block;
  width: clamp(64px, 12vw, 140px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  max-width: 100%;
}
.shop-info-section-holder .elemental-text {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 0 12px;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
.shop-info-section-holder img.tribe-img-explain {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto !important;
  aspect-ratio: 1200 / 1030;
  background: none !important;
  object-fit: contain;
  margin: 0 auto 24px;
}
.tooltip.center img[src*="original_element_assets"] {
  object-fit: contain;
  object-position: center;
}

/* SVG athletics scenery fills the viewport without stretching crowd artwork. */
.style_track__3mlZX .section,
.style_track__3mlZX .style_startPadding__1YD5s,
.style_track__3mlZX .style_endPadding__2Mz5w {
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat !important;
}
.style_track__3mlZX .banner {
  top: 0 !important;
  bottom: 0 !important;
  width: 64px !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}
.style_track__3mlZX .style_stand__3_cSw {
  background-size: auto 100% !important;
  background-repeat: repeat-x !important;
  background-position: left center !important;
  z-index: 3;
}
.style_track__3mlZX .mgp-stand-top {
  top: 0;
  bottom: auto;
}
.style_track__3mlZX .mgp-stand-bottom {
  top: auto;
  bottom: 0;
  box-shadow: 0 -3px 12px #0b263433;
}
body:has(.style_gamePage__Af004) {
  overflow: hidden;
}
.style_gamePage__Af004 .style_leaderboard__1fCQl {
  top: 14vh;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 24px));
  height: 3vh;
  min-height: 20px;
  min-width: 0;
  margin: 0;
  padding: 0 6px;
  border-width: 1px;
  border-radius: 4px;
  background: #163f63ee;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  z-index: 12;
}
.style_gamePage__Af004 .style_leaderboardTitle__3xjnG {
  flex: 0 0 auto;
  font-size: 10px;
  white-space: nowrap;
}
.style_gamePage__Af004 .style_leaderboardList__3VjIz {
  flex: 1;
  min-width: 0;
  margin: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  font-size: clamp(9px, 1.3vh, 13px);
}
.style_gamePage__Af004 .style_leaderboardList__3VjIz > div {
  min-width: 0;
  padding: 0 4px;
  border: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.style_gamePage__Af004 .style_leaderboardList__3VjIz > div:nth-child(n+7) {
  display: none;
}

.nav-item[href]{text-decoration:none;color:inherit}

@media(min-width:1000px) and (max-width:1450px){.nav-list .nav-item{white-space:nowrap;font-size:13px;padding-left:9px;padding-right:9px}}

.inventory-page .evolution-stone{background-image:url(/original_element_assets/evolution-stone.webp)!important}
.mgp-stone-remaining{display:block;text-align:center;color:#a736e4;font-weight:900;font-size:14px}
.mgp-stone-card{display:flex;align-items:center;justify-content:center;gap:28px;border:2px solid #ffbf2c;border-radius:24px;background:#ffffff55;padding:22px;margin:20px auto;max-width:900px;color:#174794}
.mgp-stone-card img{width:85px;height:85px;object-fit:contain}.mgp-stone-card h3{margin:0 0 10px}.mgp-stone-card p{margin:5px 0}.mgp-stone-card button{flex-shrink:0}.mgp-stone-card button:disabled{opacity:.6;cursor:wait}
.mgp-affinity-scroll{overflow-x:auto;max-width:900px;width:100%;margin:20px auto}.mgp-affinity-table{width:100%;border-collapse:collapse;color:#174794;background:#f5fcff;min-width:420px;font-size:14px}.mgp-affinity-table caption{padding:10px;color:#174794}.mgp-affinity-table th,.mgp-affinity-table td{padding:12px;border:1px solid #c8ddec;text-align:center}.mgp-affinity-table th{background:#174794;color:#fff}
@media(max-width:700px){.mgp-stone-card{flex-wrap:wrap;gap:16px;margin:15px}.mgp-stone-card small{font-size:12px}}

/* The live affinity table replaces the historical, divergent diagram. */
.shop-info-section-holder img.tribe-img-explain{display:none!important}

.mgp-reward-result{max-height:calc(100vh - 50px);overflow-y:auto!important;padding:24px 28px!important}.mgp-reward-result [class*="grid"]{font-size:clamp(12px,2vh,16px);row-gap:8px}
