/* gpt-app-scroll-layout-override-v1 */
.gpt-workspace {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.gpt-workspace:has(.web3-app-explorer) > div:nth-child(2),
.gpt-workspace > .gpt-main-panel.gpt-explore-panel {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
  scrollbar-gutter: stable;
}

.gpt-workspace:has(.web3-app-explorer) > div:nth-child(2)::-webkit-scrollbar,
.gpt-workspace > .gpt-main-panel.gpt-explore-panel::-webkit-scrollbar { width: 8px; }
.gpt-workspace:has(.web3-app-explorer) > div:nth-child(2)::-webkit-scrollbar-thumb,
.gpt-workspace > .gpt-main-panel.gpt-explore-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139,105,255,.72), rgba(48,196,137,.48));
  border-radius: 999px;
}

.web3-app-explorer {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  align-items: flex-start !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.web3-app-explorer .mainBox {
  width: min(1380px, 100%) !important;
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}
.web3-app-explorer .explore-hero,
.web3-app-explorer .mainBox > div:first-child {
  width: 100% !important;
  margin: 72px auto 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.web3-app-explorer .explore-hero > div,
.web3-app-explorer .mainBox > div:first-child > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.web3-app-explorer .mainTitle {
  margin: 0 !important;
  font-size: clamp(38px, 2.7vw, 52px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  color: #faf9ff !important;
  text-shadow: 0 0 30px rgba(126, 92, 255, .38) !important;
}
.web3-app-explorer .mainSubtitle {
  max-width: 920px !important;
  margin: 16px auto 0 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #bdb7ce !important;
  letter-spacing: .02em !important;
}
.web3-app-explorer .mainBox > .inpBox {
  width: min(1040px, calc(100% - 48px)) !important;
  height: 68px !important;
  margin: 34px auto 0 !important;
  padding: 8px 10px 8px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid rgba(139, 105, 255, .46) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(18,16,30,.98), rgba(11,14,24,.98)) !important;
  box-shadow: 0 18px 56px rgba(0,0,0,.4), 0 0 0 1px rgba(108,84,255,.08), 0 0 36px rgba(101,74,255,.1) !important;
  box-sizing: border-box !important;
}
.web3-app-explorer .mainBox > .inpBox > img {
  width: 22px !important;
  height: 22px !important;
  opacity: .88 !important;
}
.web3-app-explorer .mainBox > .inpBox .inp {
  min-width: 0 !important;
  height: 48px !important;
  flex: 1 1 auto !important;
  padding: 0 4px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #f7f5ff !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
.web3-app-explorer .mainBox > .inpBox .inp::placeholder {
  color: #9f99b5 !important;
  opacity: 1 !important;
}
.web3-app-explorer .explore-search-button,
.web3-app-explorer .mainBox > .inpBox > div:last-child {
  width: 106px !important;
  height: 48px !important;
  line-height: 48px !important;
  flex: 0 0 106px !important;
  border-radius: 12px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7b61ff 0%, #337dff 56%, #20b985 100%) !important;
  box-shadow: 0 10px 26px rgba(70,100,255,.3) !important;
}
.web3-app-explorer .contentBox {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 88px !important;
}
.web3-app-explorer .contentRight {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.web3-app-explorer .secondClass {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 0 20px !important;
}
.web3-app-explorer .secondClass > div {
  width: auto !important;
  min-width: 82px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  background: rgba(25,22,37,.96) !important;
  border: 1px solid rgba(139,105,255,.28) !important;
  color: #d9d4e7 !important;
  box-sizing: border-box !important;
}
.web3-app-explorer .secondClass > div[class*="bg-[#E5EEFF]"] {
  background: linear-gradient(135deg, #7659f2, #377dff) !important;
  color: #fff !important;
  border-color: rgba(152,132,255,.9) !important;
}
.web3-app-explorer .appBox {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 1px 4px 36px 1px !important;
}
.web3-app-explorer .appBox > .contentItem {
  width: 100% !important;
  min-width: 0 !important;
  height: 176px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}
.web3-app-explorer .appBox .app-logo {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}
@media (max-width: 1800px) { .web3-app-explorer .appBox { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 1440px) { .web3-app-explorer .appBox { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 1050px) { .web3-app-explorer .appBox { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 768px) {
  .web3-app-explorer { padding: 0 14px !important; }
  .web3-app-explorer .app-primary-tabs { overflow-x: auto !important; justify-content: flex-start !important; }
  .web3-app-explorer .appBox { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .web3-app-explorer .explore-hero,
  .web3-app-explorer .mainBox > div:first-child { margin-top: 42px !important; padding: 0 12px !important; }
  .web3-app-explorer .mainTitle { font-size: 32px !important; }
  .web3-app-explorer .mainSubtitle { margin-top: 10px !important; font-size: 14px !important; line-height: 1.6 !important; }
  .web3-app-explorer .mainBox > .inpBox { width: calc(100% - 12px) !important; height: 58px !important; margin-top: 24px !important; padding: 6px 7px 6px 14px !important; border-radius: 15px !important; }
  .web3-app-explorer .mainBox > .inpBox .inp { font-size: 15px !important; }
  .web3-app-explorer .explore-search-button,
  .web3-app-explorer .mainBox > .inpBox > div:last-child { width: 82px !important; height: 44px !important; line-height: 44px !important; flex-basis: 82px !important; font-size: 15px !important; }
}
@media (max-width: 520px) { .web3-app-explorer .appBox { grid-template-columns: 1fr !important; } }
