/* 第二版科技主视觉：只覆盖代币广场，控件与行情仍使用真实 DOM。 */
.redesign-page .launch-market-lattice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
  height: clamp(240px, calc(100svh - 390px - env(safe-area-inset-bottom)), 560px);
  margin: 12px calc(-1 * var(--page-gutter)) 20px;
  padding-top: 8px;
  overflow: hidden;
  background: var(--bg);
}
.redesign-page .launch-market-lattice > div {
  padding-left: var(--page-gutter);
  text-align: left;
}
.redesign-page .launch-market-lattice h1 {
  font-size: 32px;
  line-height: 1.3;
}
.redesign-page .launch-market-lattice .launch-banner-create {
  position: static;
  align-self: center;
  height: auto;
  min-height: 36px;
  margin-right: var(--page-gutter);
  padding: 7px 12px;
  white-space: nowrap;
}
.redesign-page .launch-market-lattice p {
  margin: 0;
  padding-inline: var(--page-gutter);
  font-size: 14px;
  line-height: 1.6;
}
.redesign-page .launch-market-lattice .market-lattice-art {
  position: relative;
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.market-cube-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.market-cube-canvas { visibility: hidden; }
.is-animated .market-cube-canvas { visibility: visible; }
/* 底栏上方恰好保留首条完整记录，后续行情继续随页面滚动。 */
.redesign-page .launch-market-lattice ~ .launch-search input {
  padding-left: 13px;
  padding-right: 44px; /* 末端留给搜索按钮，文字不与图标重叠 */
}
@media (max-width: 359px) {
  .redesign-page .launch-market-lattice h1 { font-size: 28px; }
  .redesign-page .launch-market-lattice p { font-size: 12px; }
  .redesign-page .launch-market-lattice .launch-banner-create {
    padding-inline: 8px;
    font-size: 11px;
  }
}
