/* ASCEND 3 Hub — menu-switched sections (no page scroll) */

html:has(.hub-page),
body.hub-page {
  overflow: hidden;
  height: 100dvh;
  overscroll-behavior: none;
}

.hub-page {
  background: #000;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
  height: 100dvh;
  --hub-kicker-size: clamp(0.68rem, 2.2vw, 0.82rem);
  --hub-title-size: clamp(1.05rem, 2.6vw, 1.4rem);
  --hub-iframe-chrome: calc(
    var(--nav-h, 64px)
    + clamp(8px, 2vh, 20px)
    + 4.6rem
    + clamp(16px, 3vh, 28px)
  );
}

.hub-page .landing-nav__links a.is-active {
  color: var(--a3-cyan, #3ee8ff);
  text-shadow: 0 0 12px rgba(62, 232, 255, 0.35);
}

.hub-panel {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  min-height: 0;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  background: #000;
  pointer-events: none;
}

.hub-panel.is-nav-current {
  display: block;
  pointer-events: auto;
  z-index: 1;
}

/*
 * Official / JLM 含跨域 iframe：不要用 display:none 隱藏，
 * 否則切換頁面再回來時瀏覽器常會把 iframe 內部滾動條弄丟。
 * 保持 display:block，只用 visibility/opacity 藏起來。
 */
#official.hub-panel,
#jlm.hub-panel {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

#official.hub-panel.is-nav-current,
#jlm.hub-panel.is-nav-current {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 與一開始相同：面板用本站漸變滾動條（不要 hidden 掉 Official/JLM） */
.hub-panel::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.hub-panel::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, 0.55);
  border-radius: 0;
}
.hub-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3ee8ff 0%, #9b5cff 48%, #2ee6a8 100%);
  border-radius: 0;
}
.hub-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7af0ff 0%, #b98cff 48%, #5ef0c0 100%);
}

.hub-panel--hero {
  min-height: 100dvh;
  overflow: hidden;
}

.hub-panel__bg,
.landing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

/* Official + JLM — iframe fills remaining viewport under head */
#official .hub-panel__inner,
#jlm .hub-panel__inner {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

#official .hub-stage,
#jlm .hub-stage {
  flex: 1 1 auto;
  min-height: 180px;
  height: calc(100dvh - var(--hub-iframe-chrome));
  max-height: calc(100dvh - var(--hub-iframe-chrome));
}

#official .hub-stage__frame-wrap,
#jlm .hub-stage__frame-wrap {
  height: 100%;
  min-height: 0;
}

/* ── Panel enter animation (never transform iframe ancestors) ── */
.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-head {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-panel.is-entered:not(.hub-panel--hero) .hub-head {
  opacity: 1;
  transform: none;
}

/* iframe panels — no enter delay */
#official .hub-head,
#official .hub-stage,
#jlm .hub-head,
#jlm .hub-stage {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-strat-grid,
.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-partner-grid,
.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-exgrid,
.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-group,
.hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-connect-stack {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-panel.is-entered .hub-strat-grid,
.hub-panel.is-entered .hub-partner-grid,
.hub-panel.is-entered .hub-exgrid,
.hub-panel.is-entered .hub-group,
.hub-panel.is-entered .hub-connect-stack {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.hub-panel.is-entered .hub-strat,
.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon),
.hub-panel.is-entered .hub-ex {
  animation: hub-item-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hub-panel.is-entered .hub-connect-block:nth-of-type(1) { transition-delay: 0.08s; }
.hub-panel.is-entered .hub-connect-block:nth-of-type(2) { transition-delay: 0.14s; }
.hub-panel.is-entered .hub-connect-block:nth-of-type(3) { transition-delay: 0.2s; }

.hub-panel.is-entered .hub-connect-chip,
.hub-panel.is-entered .hub-wcard {
  animation: hub-item-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(0.12s + var(--i, 0) * 0.04s);
}

.hub-panel.is-entered .hub-strat:nth-child(1) { animation-delay: 0.12s; }
.hub-panel.is-entered .hub-strat:nth-child(2) { animation-delay: 0.16s; }
.hub-panel.is-entered .hub-strat:nth-child(3) { animation-delay: 0.2s; }
.hub-panel.is-entered .hub-strat:nth-child(4) { animation-delay: 0.24s; }
.hub-panel.is-entered .hub-strat:nth-child(5) { animation-delay: 0.28s; }
.hub-panel.is-entered .hub-strat:nth-child(6) { animation-delay: 0.32s; }
.hub-panel.is-entered .hub-strat:nth-child(n+7) { animation-delay: 0.36s; }

.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon) {
  animation: hub-item-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hub-panel.is-entered .hub-partner-tile--soon {
  animation: none !important;
  opacity: 0.55;
  transform: none;
}

.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon):nth-child(1) { animation-delay: 0.18s; }
.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon):nth-child(2) { animation-delay: 0.24s; }
.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon):nth-child(3) { animation-delay: 0.3s; }
.hub-panel.is-entered .hub-partner-tile:not(.hub-partner-tile--soon):nth-child(4) { animation-delay: 0.36s; }
.hub-panel.is-entered .hub-partner-tile--soon:nth-child(5) { animation-delay: 0s; }
.hub-panel.is-entered .hub-partner-tile--soon:nth-child(6) { animation-delay: 0s; }

.hub-panel.is-entered .hub-ex:nth-child(1) { animation-delay: 0.12s; }
.hub-panel.is-entered .hub-ex:nth-child(2) { animation-delay: 0.16s; }
.hub-panel.is-entered .hub-ex:nth-child(3) { animation-delay: 0.2s; }
.hub-panel.is-entered .hub-ex:nth-child(4) { animation-delay: 0.24s; }
.hub-panel.is-entered .hub-ex:nth-child(5) { animation-delay: 0.28s; }
.hub-panel.is-entered .hub-ex:nth-child(6) { animation-delay: 0.32s; }


.hub-panel.is-entered .hub-group {
  animation: hub-item-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hub-panel.is-entered .hub-group:nth-of-type(1) { animation-delay: 0.14s; }
.hub-panel.is-entered .hub-group:nth-of-type(2) { animation-delay: 0.22s; }
.hub-panel.is-entered .hub-group:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes hub-item-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hub-panel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding:
    calc(var(--nav-h, 64px) + clamp(8px, 2vh, 20px))
    clamp(12px, 3.5vw, 40px)
    clamp(24px, 4vh, 56px);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.hub-head {
  flex-shrink: 0;
  margin-bottom: clamp(16px, 3vw, 28px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hub-head__main {
  flex: 1;
  min-width: 0;
}

.hub-head__btn {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  padding: clamp(7px, 1.5vh, 10px) clamp(10px, 2vw, 16px);
  font-size: clamp(0.52rem, 1.4vw, 0.62rem);
}

.hub-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.hub-kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: var(--hub-kicker-size);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.75);
}

.hub-kicker--jlm {
  margin: 0;
  color: var(--jlm-gold, #d4af37);
}

.hub-title {
  margin: 0 0 6px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: var(--hub-title-size);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8e4f0;
  line-height: 1.25;
}

.hub-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
}

.hub-badge {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  color: #3ee8ff;
  border: 1px solid rgba(62, 232, 255, 0.35);
  background: rgba(62, 232, 255, 0.06);
}

.hub-badge--inline {
  margin-top: 0;
  font-size: clamp(0.34rem, 1.1vw, 0.42rem);
  letter-spacing: 0.12em;
  padding: 4px 8px;
  color: rgba(62, 232, 255, 0.72);
  border-color: rgba(62, 232, 255, 0.22);
  background: rgba(62, 232, 255, 0.04);
}

/* ── iframe stage ── */
.hub-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(155, 92, 255, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(62, 232, 255, 0.08), transparent 60%),
    rgba(8, 10, 16, 0.9);
  overflow: hidden;
}

.hub-stage__frame-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #05070c;
}

.hub-stage__frame-wrap iframe {
  position: absolute;
  inset: 0;
  z-index: 0;
  --iframe-zoom: 0.28;
  width: calc(100% / var(--iframe-zoom));
  height: calc(100% / var(--iframe-zoom));
  transform: scale(var(--iframe-zoom));
  transform-origin: 0 0;
  border: 0;
  pointer-events: none;
  background: #05070c;
}

/*
 * 非 iOS：iframe 剛好填滿 frame-wrap（100% 高，內容位置正確、不多空白），
 * 在 iframe 內部捲動，並保留 iframe 自己的滾動條（可見、可拖曳）。
 * 註：外站是跨網域，這條系統捲軸無法改成本站漸變色。
 */
.non-ios-iframe-interactive .hub-stage__frame-wrap {
  overflow: hidden;
}

.non-ios-iframe-interactive .hub-stage__frame-wrap iframe {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  --iframe-zoom: 1;
  width: 100%;
  height: 100%;
  transform: none;
  border: 0;
}

.hub-stage__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070c;
  pointer-events: none;
}

.hub-stage__fallback img {
  max-width: 42%;
  max-height: 42%;
  object-fit: contain;
  opacity: 0.85;
}

.non-ios-iframe-interactive .hub-stage__fallback {
  display: none;
}

.hub-stage__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-stage__hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #041018;
  background: linear-gradient(120deg, #3ee8ff, #9b5cff 55%, #2ee6a8);
  border: 0;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.hub-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hub-btn--shiny {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hub-btn--shiny::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -40%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 35%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-18deg);
  animation: hub-btn-shine 1.55s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hub-btn--shiny > * {
  position: relative;
  z-index: 2;
}

.hub-btn--shiny:hover::after {
  animation-duration: 0.85s;
}

@keyframes hub-btn-shine {
  0%, 18% { transform: translateX(-140%) skewX(-18deg); }
  48%, 100% { transform: translateX(320%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hub-btn--shiny::after {
    animation: none;
    display: none;
  }
}

.hub-btn--ghost {
  color: #d8e4f0;
  background: transparent;
  border: 1px solid rgba(62, 232, 255, 0.35);
}

.hub-btn--ghost:hover {
  border-color: rgba(62, 232, 255, 0.7);
  filter: none;
}

/* ── Connect — community hero + chip strips ── */
.hub-panel--connect {
  min-height: 100dvh;
}

.hub-panel__inner--connect {
  padding-bottom: clamp(56px, 12vh, 120px);
}

.hub-connect-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vh, 72px);
  width: 100%;
}

.hub-connect-block__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.75);
}

.hub-connect-block__label span:first-child {
  font-size: 0.54rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.12em;
}

.hub-connect-block__label--jlm {
  color: rgba(212, 175, 55, 0.75);
}

/* Community — hero wcards */
.hub-connect-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hub-wcard {
  display: flex;
  align-items: stretch;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  transition: border-color 0.22s ease, transform 0.2s ease, box-shadow 0.22s ease;
}

.hub-wcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 232, 255, 0.45), transparent);
  z-index: 1;
}

.hub-wcard--hero {
  min-height: 156px;
  border-color: rgba(62, 232, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hub-wcard--hero:hover {
  border-color: rgba(62, 232, 255, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(62, 232, 255, 0.1);
}

.hub-wcard__thumb {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.hub-wcard__thumb svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.hub-wcard__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px 18px;
}

.hub-wcard__kicker {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.6);
}

.hub-wcard--hero .hub-wcard__name {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.84rem, 2vw, 0.98rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.25;
}

.hub-wcard__desc {
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.hub-wcard__cta {
  align-self: flex-start;
  margin-top: 8px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(62, 232, 255, 0.35);
  background: rgba(62, 232, 255, 0.1);
  color: rgba(62, 232, 255, 0.95);
}

.hub-wcard--unset {
  opacity: 0.45;
  pointer-events: none;
}

/* Chip strip containers */
.hub-connect-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
}

.hub-connect-strip--a3 {
  border: 1px solid rgba(62, 232, 255, 0.22);
  background: rgba(62, 232, 255, 0.03);
}

.hub-connect-strip--jlm {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.03);
}

.hub-connect-strip--social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-connect-strip--social .hub-connect-chip {
  flex: none;
  min-width: 0;
  width: 100%;
  border-radius: 14px;
  justify-content: flex-start;
}

.hub-connect-strip--jlm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-connect-strip--jlm .hub-connect-chip {
  flex: none;
  min-width: 0;
  width: 100%;
  border-radius: 14px;
  justify-content: flex-start;
}

/* Shared chip pill */
.hub-connect-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hub-connect-chip--a3 {
  border: 1px solid rgba(62, 232, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
}

.hub-connect-chip--a3:hover {
  border-color: rgba(62, 232, 255, 0.45);
  background: rgba(62, 232, 255, 0.08);
  transform: translateY(-1px);
}

.hub-connect-chip--a3:hover .hub-connect-chip__arrow {
  color: rgba(62, 232, 255, 0.85);
  transform: translate(1px, -1px);
}

.hub-connect-chip--a3 .hub-connect-chip__platform {
  color: rgba(62, 232, 255, 0.65);
}

.hub-connect-chip--jlm {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(0, 0, 0, 0.35);
}

.hub-connect-chip--jlm:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-1px);
}

.hub-connect-chip--jlm:hover .hub-connect-chip__arrow {
  color: rgba(212, 175, 55, 0.85);
  transform: translate(1px, -1px);
}

.hub-connect-chip--jlm .hub-connect-chip__platform {
  color: rgba(212, 175, 55, 0.65);
}

.hub-connect-chip__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-connect-chip__icon--flat {
  border-radius: 8px;
}

.hub-connect-chip__icon--round {
  border-radius: 50%;
}

.hub-connect-chip__icon svg {
  width: 16px;
  height: 16px;
}

.hub-connect-chip__xhs {
  color: #fff;
  font-family: var(--font-body, 'Noto Sans TC', sans-serif);
  font-weight: 800;
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hub-connect-chip__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hub-connect-chip__handle {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}

.hub-connect-chip__platform {
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.hub-connect-chip__arrow {
  margin-left: auto;
  padding-right: 4px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hub-connect-chip--unset {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 720px), (max-height: 500px) {
  .hub-connect-duo { grid-template-columns: 1fr; }
  .hub-wcard--hero { min-height: 120px; }
  .hub-connect-stack { gap: 28px; }
}

@media (max-height: 720px) {
  .hub-connect-stack { gap: 28px; }
  .hub-wcard--hero { min-height: 128px; }
  .hub-wcard__body { padding: 12px 14px; }
  .hub-connect-strip { padding: 14px 16px; }
}

/* ── Partners — 2×2 large tiles ── */
.hub-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hub-partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, rgba(62, 232, 255, 0.07), transparent 55%),
    var(--partner-bg, #0a0c10);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.hub-partner-tile--paged {
  display: block;
  height: 200px;
  min-height: 200px;
  padding: 0;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
}

.hub-partner-tile__pages {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: 1;
  border-radius: inherit;
}

/* 翻頁容器本身不顯示滾動條；長文溢出用 bio 內的本站滾動條 */
.hub-partner-tile__pages::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hub-partner-tile__page {
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  padding: 20px 20px 16px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hub-partner-tile__page--bio {
  position: relative;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  padding: 16px 20px 42px;
}

.hub-partner-tile__page--cover {
  position: relative;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 16px 20px 42px;
}

.hub-partner-tile__cover-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.hub-partner-tile__page--cover .hub-partner-tile__more {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 3;
  padding: 10px 8px;
}

.hub-partner-tile__more {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 10px 2px;
  margin-top: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  color: rgba(180, 230, 255, 0.55);
}

.hub-partner-tile__more:hover {
  color: rgba(210, 245, 255, 0.9);
}

.hub-partner-tile__more-chevron {
  position: relative;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
  animation: hub-partner-nudge 1.35s ease-in-out infinite;
}

.hub-partner-tile__more-chevron::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.35;
}

@keyframes hub-partner-nudge {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.45; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-partner-tile__more-chevron {
    animation: none;
    opacity: 0.7;
  }
}

.hub-partner-tile__hint {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  position: relative;
  z-index: 1;
}

.hub-partner-tile__bio {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(0.7rem, 1.55vw, 0.8rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.hub-partner-tile__bio::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.hub-partner-tile__bio::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, 0.55);
  border-radius: 0;
}
.hub-partner-tile__bio::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3ee8ff 0%, #9b5cff 48%, #2ee6a8 100%);
  border-radius: 0;
}
.hub-partner-tile__bio::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7af0ff 0%, #b98cff 48%, #5ef0c0 100%);
}

.hub-partner-tile__bio.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: rgba(62, 232, 255, 0.85);
  animation: hub-partner-caret 0.9s steps(1) infinite;
}

@keyframes hub-partner-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hub-partner-tile__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(180, 230, 255, 0.72);
  text-decoration: none;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  transition: color 0.2s ease;
}

.hub-partner-tile__cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-partner-tile__cta:hover {
  color: #9ef6ff;
  background: transparent;
  border-color: transparent;
}

.hub-partner-tile__cta:hover::after {
  transform: translateX(4px);
}

/* 兩頁按鈕固定同一左下角 */
.hub-partner-tile__page--cover .hub-partner-tile__cta,
.hub-partner-tile__page--bio .hub-partner-tile__cta {
  position: absolute;
  left: 20px;
  bottom: 14px;
  margin: 0;
  align-self: auto;
}

.hub-partner-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 80% at 50% 120%, rgba(62, 232, 255, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(155, 92, 255, 0.14), transparent 45%, rgba(46, 230, 168, 0.1));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hub-partner-tile::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 58%
  );
  transform: translateX(-120%) rotate(8deg);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hub-partner-tile:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(62, 232, 255, 0.42);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(62, 232, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hub-partner-tile:hover::before {
  opacity: 1;
}

.hub-partner-tile:hover::after {
  transform: translateX(120%) rotate(8deg);
}

.hub-partner-tile:hover .hub-partner-tile__logo img {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 28px rgba(62, 232, 255, 0.28));
}

.hub-partner-tile--soon {
  opacity: 0.55;
  pointer-events: none;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
}

.hub-partner-tile--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.hub-partner-tile--soon::before,
.hub-partner-tile--soon::after {
  display: none;
}

.hub-partner-tile__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  position: relative;
  z-index: 1;
}

.hub-partner-tile__logo img {
  max-width: min(220px, 70%);
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.hub-partner-tile__soon {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(220, 220, 240, 0.55);
}

.hub-partner-tile__info {
  flex-shrink: 0;
  text-align: center;
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 1;
}

.hub-partner-tile__name {
  display: block;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.92rem, 2.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
  margin-bottom: 6px;
}

.hub-partner-tile__desc {
  display: block;
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.hub-partner-tile--unset {
  opacity: 0.4;
  pointer-events: none;
}

#partners .hub-panel__inner,
#exchanges .hub-panel__inner {
  padding-bottom: clamp(48px, 10vh, 96px);
}

/* ── Exchange grid — full-width rows ── */
.hub-exgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 760px;
}

.hub-ex {
  --ex-accent: rgba(62, 232, 255, 0.35);
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 0;
  min-height: 92px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 55%),
    rgba(8, 10, 16, 0.72);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.22s ease, box-shadow 0.25s ease;
}

.hub-ex::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ex-accent) 18%, transparent), transparent 60%);
  transition: opacity 0.25s ease;
}

.hub-ex:hover {
  border-color: color-mix(in srgb, var(--ex-accent) 55%, rgba(255, 255, 255, 0.12));
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px color-mix(in srgb, var(--ex-accent) 12%, transparent);
}

.hub-ex:hover::before {
  opacity: 1;
}

.hub-ex__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 92px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ex-accent) 28%, transparent), transparent 68%),
    rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-ex__logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-ex__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hub-ex__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  min-width: 0;
}

.hub-ex__name {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.94);
}

.hub-ex__promo {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.02em;
}

.hub-ex__arrow {
  padding-right: 16px;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--ex-accent) 70%, rgba(255, 255, 255, 0.5));
  opacity: 0.55;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hub-ex:hover .hub-ex__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.hub-ex--unset {
  opacity: 0.42;
  pointer-events: none;
}

.hub-exgrid .hub-ex:last-child:nth-child(odd) {
  grid-column: auto;
  max-width: none;
  margin-inline: 0;
  width: 100%;
}

.hub-panel--flow {
  min-height: auto;
  height: 100dvh;
}

.hub-panel--flow .hub-panel__inner {
  padding-bottom: clamp(48px, 8vh, 80px);
}

/* ── Strategy showcase — full-width rows with thumbnail ── */
.hub-strat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 860px;
  padding-bottom: clamp(24px, 6vh, 64px);
}

.hub-strat {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 104px;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #07090f;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-strat:hover {
  border-color: rgba(62, 232, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hub-strat__media {
  position: relative;
  flex: 0 0 clamp(128px, 26%, 200px);
  max-width: 200px;
  min-height: 104px;
  margin: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: #0a0c14;
  overflow: hidden;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  transition: filter 0.25s ease;
}

.hub-strat__media:hover {
  filter: brightness(1.08);
}

.hub-strat__media:focus-visible {
  outline: 2px solid rgba(62, 232, 255, 0.55);
  outline-offset: -2px;
}

.hub-strat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hub-strat__media.is-placeholder::after {
  content: 'BOT';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.2);
}

.hub-strat__media.is-placeholder img {
  display: none;
}

.hub-strat__body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 14px 18px;
  gap: 10px 18px;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hub-strat__body:focus-visible {
  outline: 2px solid rgba(62, 232, 255, 0.55);
  outline-offset: -2px;
}

.hub-strat__series {
  flex: 1 1 100%;
  margin: 0 0 -2px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hub-strat--jlm .hub-strat__series {
  color: rgba(212, 175, 55, 0.75);
}

.hub-strat--evo .hub-strat__series {
  color: rgba(155, 92, 255, 0.8);
}

.hub-strat--ms .hub-strat__series {
  color: rgba(46, 230, 168, 0.85);
}

.hub-strat--evo::after {
  background: linear-gradient(90deg, rgba(155, 92, 255, 0.85), rgba(62, 232, 255, 0.65));
}

.hub-strat--ms::after {
  background: linear-gradient(90deg, rgba(46, 230, 168, 0.85), rgba(62, 232, 255, 0.65));
}

.hub-strat__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 120px;
}

.hub-strat__stats--preview {
  flex: 1 1 280px;
  margin-bottom: 0;
}

.hub-strat__foot {
  flex: 0 0 auto;
  margin-top: 0;
  margin-left: auto;
  padding-top: 0;
  white-space: nowrap;
  display: block;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.65);
}

.hub-strat::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, #3ee8ff, #9b5cff, #2ee6a8);
  opacity: 0.55;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hub-strat:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.hub-strat__name {
  margin: 0;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(0.88rem, 2.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
}

.hub-strat__tag {
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  color: rgba(46, 230, 168, 0.95);
  border: 1px solid rgba(46, 230, 168, 0.28);
  background: rgba(46, 230, 168, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-strat__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.hub-strat__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hub-strat__stat-label {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.hub-strat__stat-value {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.68rem;
  color: var(--a3-cyan, #3ee8ff);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.hub-strat--pending .hub-strat__tag {
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.hub-strat--pending {
  cursor: default;
  pointer-events: none;
  opacity: 0.55;
}

.hub-strat--pending .hub-strat__media {
  pointer-events: auto;
  cursor: zoom-in;
  opacity: 1;
}

/* ── Strategy detail modal ── */
.strat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.strat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.strat-modal-open {
  overflow: hidden;
}

.strat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.strat-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: min(88vh, 780px);
  overflow: hidden;
  border: 1px solid rgba(155, 92, 255, 0.35);
  background: #07090f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  border-radius: 14px;
}

.strat-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.strat-modal__content {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

.strat-modal__footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090f;
}

.strat-detail__footer {
  padding: 14px 18px 18px;
  margin-top: 0;
  border-top: 0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.strat-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.strat-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.strat-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.strat-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.strat-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.strat-detail__head-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.strat-detail__series {
  margin: 0;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.strat-detail--jlm .strat-detail__series {
  color: rgba(212, 175, 55, 0.8);
}

.strat-detail--evo .strat-detail__series {
  color: rgba(155, 92, 255, 0.85);
}

.strat-detail--ms .strat-detail__series {
  color: rgba(46, 230, 168, 0.9);
}

.strat-detail__title {
  margin: 0;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
}

.strat-detail__pair {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  color: rgba(46, 230, 168, 0.95);
  border: 1px solid rgba(46, 230, 168, 0.28);
  background: rgba(46, 230, 168, 0.06);
}

.strat-detail__section {
  padding: 14px 18px 0;
}

.strat-detail__section:last-child {
  padding-bottom: 20px;
}

.strat-detail__section-title {
  margin: 0 0 10px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.75);
}

.strat-detail__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.strat-detail__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.strat-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.strat-detail__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  line-height: 1.4;
}

.strat-detail__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.strat-detail__label {
  color: rgba(255, 255, 255, 0.42);
  flex: 1;
}

.strat-detail__value {
  font-family: var(--font-heading, Orbitron, sans-serif);
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
  flex-shrink: 0;
}

.strat-detail__row--highlight .strat-detail__value {
  color: var(--a3-cyan, #3ee8ff);
}

.strat-detail__row--gold .strat-detail__value {
  color: var(--jlm-gold, #d4af37);
}

.strat-detail__warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255, 180, 100, 0.95);
  border: 1px solid rgba(255, 180, 100, 0.25);
  background: rgba(255, 180, 100, 0.06);
}

.strat-detail__section--disclaimer {
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  padding-top: 16px;
}

.strat-detail__disclaimer {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
}

.strat-detail__connect {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(46, 230, 168, 0.45);
  background: linear-gradient(135deg, rgba(46, 230, 168, 0.14), rgba(62, 232, 255, 0.08));
  color: rgba(46, 230, 168, 0.98);
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.strat-detail__connect:hover {
  border-color: rgba(46, 230, 168, 0.75);
  background: linear-gradient(135deg, rgba(46, 230, 168, 0.22), rgba(62, 232, 255, 0.12));
  transform: translateY(-1px);
}

.strat-detail__guide {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.strat-detail__guide:hover {
  border-color: rgba(62, 232, 255, 0.4);
  color: rgba(62, 232, 255, 0.95);
  background: rgba(62, 232, 255, 0.06);
}

/* ── Strategy connect wizard ── */
.strat-connect-modal {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vh, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.strat-connect-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.strat-connect-open {
  overflow: hidden;
}

.strat-connect-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.strat-connect-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(680px, calc(100vw - 32px));
  max-height: min(88vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(46, 230, 168, 0.38);
  background: #07090f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
  border-radius: 14px;
}

.strat-connect-modal__close:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.strat-connect__lead--sub {
  margin-top: -8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
}

.strat-connect__lead strong {
  color: rgba(46, 230, 168, 0.95);
  font-weight: 600;
}

.strat-connect-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.strat-connect-modal__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: min(88vh, 820px);
}

.strat-connect__head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strat-connect__kicker {
  margin: 0 0 14px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(46, 230, 168, 0.92);
}

.strat-connect__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.strat-connect__dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
}

.strat-connect__dot.is-active,
.strat-connect__dot.is-done {
  opacity: 1;
}

.strat-connect__dot-num {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-family: var(--font-heading, Orbitron, sans-serif);
}

.strat-connect__dot.is-active .strat-connect__dot-num {
  border-color: rgba(46, 230, 168, 0.7);
  background: rgba(46, 230, 168, 0.12);
  color: rgba(46, 230, 168, 0.95);
}

.strat-connect__dot.is-done .strat-connect__dot-num {
  border-color: rgba(62, 232, 255, 0.5);
  background: rgba(62, 232, 255, 0.1);
}

.strat-connect__dot-label {
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.strat-connect__body {
  position: relative;
  padding: 18px 24px 10px;
}

.strat-connect__step-title {
  margin: 0 0 12px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.96);
}

.strat-connect__lead {
  margin: 0 0 16px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.strat-connect__block {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 8px;
}

.strat-connect__block-title {
  margin: 0 0 8px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.88);
}

.strat-connect__hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.strat-connect__links {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strat-connect__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 7px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.strat-connect__link:hover {
  border-color: rgba(62, 232, 255, 0.5);
  background: rgba(62, 232, 255, 0.1);
}

.strat-connect__link--primary {
  border-color: rgba(46, 230, 168, 0.45);
  color: rgba(46, 230, 168, 0.98);
  background: rgba(46, 230, 168, 0.08);
}

.strat-connect__ghost {
  margin-top: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
}

.strat-connect__ghost:hover {
  color: rgba(255, 255, 255, 0.8);
}

.strat-connect__todo {
  font-size: 0.8rem;
  color: rgba(255, 180, 100, 0.92);
}

.strat-connect__terms {
  margin-bottom: 14px;
  padding: 14px 16px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(255, 180, 100, 0.26);
  background: rgba(255, 180, 100, 0.05);
  border-radius: 8px;
}

.strat-connect__terms ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.strat-connect__terms li + li {
  margin-top: 10px;
}

.strat-connect__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.strat-connect__check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #2ee6a8;
}

.strat-connect__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strat-connect__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
}

.strat-connect__field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.88rem;
  border-radius: 7px;
}

.strat-connect__field input:focus {
  outline: none;
  border-color: rgba(46, 230, 168, 0.55);
}

.strat-connect__hint--contact {
  margin: 4px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(62, 232, 255, 0.2);
  background: rgba(62, 232, 255, 0.06);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
}

.strat-connect__field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.strat-connect__error {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 120, 120, 0.95);
}

.strat-connect__success {
  text-align: center;
  margin-bottom: 20px;
}

.strat-connect__success-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 168, 0.5);
  background: rgba(46, 230, 168, 0.12);
  color: rgba(46, 230, 168, 0.95);
  font-size: 1.3rem;
}

.strat-connect__setup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.strat-connect__setup-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.strat-connect__setup-step--pending .strat-connect__setup-num {
  border-color: rgba(255, 180, 100, 0.45);
  color: rgba(255, 180, 100, 0.95);
}

.strat-connect__guide-intro {
  margin-bottom: 6px;
}

.strat-connect__busy {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(2px);
  text-align: center;
}

.strat-connect__busy p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.strat-connect__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #9b5cff, #3ee8ff, #2ee6a8, #9b5cff);
  animation: gw-overlay-spin 1s linear infinite;
  position: relative;
  flex-shrink: 0;
  vertical-align: -3px;
  margin-right: 8px;
}

.strat-connect__spinner::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #07090f;
}

.strat-connect__busy .gw-overlay__spinner {
  width: 44px;
  height: 44px;
}

.strat-connect__busy .gw-overlay__spinner::after {
  background: #07090f;
}

.strat-connect__setup-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(62, 232, 255, 0.4);
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.68rem;
  color: rgba(62, 232, 255, 0.9);
}

.strat-connect__setup-body p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.78);
}

.strat-connect__setup-title {
  margin: 0 0 6px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(62, 232, 255, 0.88);
}

.strat-connect__shots {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.strat-connect__shots--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.strat-connect__shot-note--wide {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .strat-connect__shots--pair {
    grid-template-columns: 1fr;
  }
}

.strat-connect__shot-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strat-connect__shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.strat-connect__shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.strat-connect__shot-ph {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 0.72rem;
  text-align: center;
  color: rgba(255, 180, 100, 0.9);
  background: rgba(0, 0, 0, 0.55);
}

.strat-connect__shot.is-missing img {
  opacity: 0;
}

.strat-connect__shot.is-missing {
  cursor: default;
  min-height: 88px;
}

.strat-connect__shot.is-missing .strat-connect__shot-ph {
  display: flex;
}

.strat-connect__shot.is-missing .strat-connect__shot-zoom {
  display: none;
}

.strat-connect__shot-cap {
  display: block;
  padding: 6px 8px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.strat-connect__shot-zoom {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  pointer-events: none;
}

.strat-connect__shot:not(.is-missing):hover {
  border-color: rgba(62, 232, 255, 0.45);
}

.strat-connect__shot-note {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 180, 100, 0.95);
  border: 1px solid rgba(255, 180, 100, 0.28);
  background: rgba(255, 180, 100, 0.06);
  border-radius: 7px;
}

.strat-connect__setup-step--soon .strat-connect__setup-num {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.45);
}

.strat-connect__setup-step--soon .strat-connect__setup-body p {
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

.strat-connect__note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.strat-connect__community {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(155, 92, 255, 0.35);
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.1), rgba(62, 232, 255, 0.06));
  border-radius: 10px;
}

.strat-connect__community-title {
  margin: 0 0 8px;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
}

.strat-connect__community-lead {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.strat-connect__community-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.strat-connect__community-btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.strat-connect__community-btn--discord {
  border: 1px solid rgba(88, 101, 242, 0.55);
  background: rgba(88, 101, 242, 0.15);
  color: rgba(190, 196, 255, 0.98);
}

.strat-connect__community-btn--discord:hover {
  border-color: rgba(88, 101, 242, 0.85);
  background: rgba(88, 101, 242, 0.25);
}

.strat-connect__community-btn--telegram {
  border: 1px solid rgba(55, 174, 226, 0.55);
  background: rgba(55, 174, 226, 0.12);
  color: rgba(180, 230, 255, 0.98);
}

.strat-connect__community-btn--telegram:hover {
  border-color: rgba(55, 174, 226, 0.85);
  background: rgba(55, 174, 226, 0.22);
}

.strat-connect__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.strat-connect__btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 7px;
}

.strat-connect__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.strat-connect__btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(46, 230, 168, 0.55);
  background: linear-gradient(135deg, rgba(46, 230, 168, 0.22), rgba(62, 232, 255, 0.12));
  color: rgba(46, 230, 168, 0.98);
}

.strat-connect__btn--ghost {
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 720px) {
  .strat-connect-modal__panel {
    width: min(100%, calc(100dvw - 20px));
    max-height: 92dvh;
  }

  .strat-connect__progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  .strat-connect__dot-label {
    font-size: 0.64rem;
  }
}

@media (max-width: 1024px) {
  .hub-strat-grid { grid-template-columns: 1fr; }
}

/* Phone portrait OR landscape (short height) — collapse dense layouts */
@media (max-width: 720px), (max-height: 500px) {
  .hub-partner-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hub-partner-tile { min-height: 160px; padding: 22px 20px 20px; }
  .hub-partner-tile--paged {
    height: min(200px, 42vh);
    min-height: 168px;
    padding: 0;
  }
  .hub-partner-tile__page { padding: 16px 16px 40px; gap: 8px; }
  .hub-partner-tile__page--cover { padding: 14px 14px 40px; }
  .hub-partner-tile__logo { min-height: 48px; }
  .hub-partner-tile__logo img { max-height: 48px; max-width: min(180px, 65%); }
  .hub-partner-tile__name { font-size: clamp(0.84rem, 3.6vw, 1rem); margin-bottom: 4px; }
  .hub-partner-tile__desc { font-size: 0.66rem; line-height: 1.35; }
  .hub-partner-tile__page--cover .hub-partner-tile__cta,
  .hub-partner-tile__page--bio .hub-partner-tile__cta {
    left: 14px;
    bottom: 10px;
  }

  .hub-strat-grid { grid-template-columns: 1fr; gap: 10px; }
  .hub-strat {
    flex-direction: column;
    min-height: auto;
  }
  .hub-strat__media {
    flex: none;
    flex-basis: auto;
    max-width: none;
    width: 100%;
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hub-strat__body {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }
  .hub-strat__stats--preview { flex: 1 1 100%; width: 100%; }
  .hub-strat__foot { margin-left: 0; }

  .hub-head--row { flex-wrap: wrap; gap: 10px; }
  .hub-head__btn { margin-left: auto; }
  .hub-head { margin-bottom: clamp(10px, 2vh, 16px); padding-bottom: 10px; }

  .hub-exgrid { gap: 10px; max-width: none; }
  .hub-ex { grid-template-columns: 72px 1fr auto; min-height: 76px; }
  .hub-ex__brand { min-height: 76px; }
  .hub-ex__body { padding: 12px 10px; }
  .hub-ex__promo { font-size: 0.68rem; line-height: 1.35; }

  .hub-connect-duo { grid-template-columns: 1fr; gap: 14px; }
  .hub-connect-strip--social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-connect-stack { gap: 28px; }
  .hub-panel__inner--connect {
    padding-bottom: clamp(36px, 8vh, 72px);
  }

  #partners .hub-panel__inner,
  #exchanges .hub-panel__inner {
    padding-bottom: clamp(36px, 8vh, 72px);
  }
}

/* Short screens: landscape phone / small laptop — do NOT touch Home hero/lights */
@media (max-height: 640px) {
  .hub-page {
    --hub-kicker-size: clamp(0.58rem, 1.8vw, 0.68rem);
    --hub-title-size: clamp(0.92rem, 2.2vw, 1.12rem);
    --hub-iframe-chrome: calc(
      var(--nav-h, 64px)
      + 6px
      + 3.6rem
      + 10px
    );
  }
  .hub-panel:not(.hub-panel--hero) .hub-panel__inner {
    padding-top: calc(var(--nav-h, 64px) + 6px);
    padding-bottom: 10px;
  }
  .hub-panel:not(.hub-panel--hero) .hub-head { margin-bottom: 8px; padding-bottom: 8px; }
  .hub-badge--inline { font-size: 0.32rem; padding: 3px 6px; }
  .hub-stage__frame-wrap { min-height: 0; }
  .hub-partner-tile--paged {
    height: min(150px, 48vh);
    min-height: 132px;
  }
  .hub-strat__media { min-height: 100px; }
  .hub-strat__body { padding: 10px; }
  .hub-strat__stat-value { font-size: 0.62rem; }
  .hub-strat__param { font-size: 0.58rem; }
}

@media (max-width: 480px) {
  .hub-strat-grid { grid-template-columns: 1fr; }
  .hub-connect-strip--social { grid-template-columns: 1fr; }
  .hub-connect-strip--jlm { grid-template-columns: 1fr; }
  .hub-wcard--hero {
    flex-direction: column;
    min-height: 0;
  }
  .hub-wcard__thumb {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 88px;
    aspect-ratio: 16 / 7;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .hub-ex { grid-template-columns: 56px 1fr auto; min-height: 70px; }
  .hub-ex__brand { min-height: 70px; }
}

@media (max-width: 400px) {
  .hub-ex { grid-template-columns: 52px 1fr auto; }
  .hub-ex__name { font-size: 0.82rem; }
  .hub-ex__promo { font-size: 0.62rem; }
}

/* ── Terms gateway (page-terms) ── */
body.terms-gateway {
  background: #000;
  color: rgba(255, 255, 255, 0.88);
  min-height: 100dvh;
}

.terms-gateway__shell {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--nav-h, 64px) + clamp(20px, 4vh, 40px)) clamp(16px, 4vw, 32px) clamp(32px, 6vh, 56px);
  box-sizing: border-box;
}

.terms-gateway__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

.terms-gateway__inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
}

.terms-gateway__head {
  text-align: center;
  margin-bottom: clamp(20px, 3vh, 28px);
}

.terms-gateway__head .hub-kicker {
  margin-bottom: 10px;
}

.terms-gateway__title {
  margin: 0;
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a3-silver, #d8e4f0);
}

.terms-gateway__dest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em 0.55em;
  margin: 0 auto clamp(20px, 3vh, 28px);
  padding: 14px 18px;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(12, 14, 22, 0.82);
  border: 1px solid rgba(155, 92, 255, 0.35);
  box-shadow: 0 0 24px rgba(62, 232, 255, 0.08);
  font-size: 0.88rem;
  color: rgba(216, 228, 240, 0.72);
}

.terms-gateway__dest-label {
  letter-spacing: 0.06em;
}

.terms-gateway__dest-name {
  font-family: var(--font-heading, Orbitron, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #9b5cff, #3ee8ff 48%, #2ee6a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.terms-gateway .terms-block {
  max-width: none;
  min-width: 0;
  height: min(360px, 38vh);
  margin-bottom: 16px;
  background: rgba(12, 14, 22, 0.88);
  border: 1px solid rgba(62, 232, 255, 0.18);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 3.5vw, 32px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.terms-gateway .terms-list li {
  font-size: 0.84rem;
  color: rgba(216, 228, 240, 0.72);
}

.terms-gateway .checkbox-row {
  margin: 16px 0 20px;
}

.terms-gateway__agree {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.terms-gateway__agree .checkbox-label {
  margin: 0 !important;
  text-align: center;
  color: rgba(216, 228, 240, 0.82) !important;
  font-size: 0.84rem !important;
  line-height: 1.45;
  cursor: pointer;
}

.terms-gateway__agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid rgba(62, 232, 255, 0.45);
  border-radius: 5px;
  background: rgba(12, 14, 22, 0.92);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.terms-gateway__agree input[type="checkbox"]:hover {
  border-color: rgba(155, 92, 255, 0.65);
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.2);
}

.terms-gateway__agree input[type="checkbox"]:checked {
  border-color: #3ee8ff;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.45), rgba(62, 232, 255, 0.35) 52%, rgba(46, 230, 168, 0.4));
  box-shadow: 0 0 14px rgba(62, 232, 255, 0.35);
}

.terms-gateway__agree input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #2ee6a8;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.terms-gateway__agree input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(62, 232, 255, 0.55);
  outline-offset: 2px;
}

.terms-gateway__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  margin-top: clamp(32px, 5vh, 48px);
}

.terms-gateway__actions .hub-btn {
  padding: 14px 28px;
  font-size: 0.72rem;
  min-width: clamp(148px, 36vw, 180px);
  justify-content: center;
}

.hub-btn.is-disabled,
.hub-btn:disabled {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.25);
  transform: none;
}

/* ── Page transition overlay spinner ── */
.gw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gw-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gw-overlay__spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #9b5cff, #3ee8ff, #2ee6a8, #9b5cff);
  animation: gw-overlay-spin 1s linear infinite;
  position: relative;
  flex-shrink: 0;
}

.gw-overlay__spinner::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #000;
}

@keyframes gw-overlay-spin {
  to { transform: rotate(360deg); }
}

/* ── Menu-only page enter (not horizontal slide) ── */
body.hub-page-nav-busy {
  /* Block double nav taps only; manual scroll stays enabled */
}

body.hub-page-nav-busy .landing-nav__links a,
body.hub-page-nav-busy .landing-nav__brand {
  pointer-events: none;
}

.terms-gateway-nav {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(62, 232, 255, 0.12);
}

.terms-gateway-nav .landing-nav__links {
  display: none;
}

@media (max-width: 520px) {
  .terms-gateway__actions {
    flex-direction: column-reverse;
    width: 100%;
  }
  .terms-gateway__actions .hub-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-head,
  .hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-strat-grid,
  .hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-partner-grid,
  .hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-exgrid,
  .hub-panel:not(.hub-panel--hero):not(.is-entered) .hub-group {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hub-panel.is-entered .hub-strat,
  .hub-panel.is-entered .hub-partner-tile,
  .hub-panel.is-entered .hub-ex,
  .hub-panel.is-entered .hub-group {
    animation: none;
  }
}

/* Fluid splash cursor — pointer-events none, sits above panels, below nav */
.splash-cursor {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.splash-cursor__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .splash-cursor {
    display: none !important;
  }
}
