@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap");

:root {
  --smi-bg: #0a0b11;
  --smi-white: #f7f8f7;
  --smi-muted: rgba(247, 248, 247, 0.72);
  --smi-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --smi-layer-menu-backdrop: 70;
  --smi-layer-menu: 80;
  --smi-layer-header: 90;
}

body.sundex-intro-mounted {
  background: var(--smi-bg);
  overflow-x: clip;
}

body.sundex-intro-active > #root {
  visibility: hidden;
}

body.sundex-cinematic-second-mounted #root .exchange-hero {
  display: none !important;
}

.sundex-motion-intro,
.sundex-motion-intro * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-motion-intro {
  position: relative;
  z-index: var(--smi-layer-header);
  height: 100dvh;
  min-height: 620px;
  background: var(--smi-bg);
  color: var(--smi-white);
  isolation: isolate;
}

.smi-stage {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: clip;
  background: var(--smi-bg);
}

.smi-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.smi-bottom-gradient {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(38vh, 320px);
  pointer-events: none;
  background: linear-gradient(to top, var(--smi-bg), rgba(10, 11, 17, 0.62) 42%, transparent);
}

.smi-hero {
  z-index: 3;
  overflow: clip;
  pointer-events: auto;
}

.smi-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

.smi-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.smi-hero-image-base {
  z-index: 10;
  background-image: url("/assets/intro-hero-base-sundex.webp");
  opacity: 0;
}

.is-ready .smi-hero-image-base {
  animation: smi-fade-in 1s var(--smi-ease) 0.1s both;
}

.smi-hero-image-reveal {
  --smi-x: 50%;
  --smi-y: 50%;
  z-index: 30;
  background-image: url("/assets/intro-hero-reveal-sundex.webp");
  mask-image: radial-gradient(circle 260px at var(--smi-x) var(--smi-y), #000 0%, #000 40%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0.12) 88%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 260px at var(--smi-x) var(--smi-y), #000 0%, #000 40%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0.12) 88%, transparent 100%);
}

.smi-hero-content {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  align-items: end;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 0 clamp(1.5rem, 4.2vw, 4.5rem) clamp(3rem, 8vh, 5rem);
  transition: opacity 500ms ease;
}

.smi-hero h1 {
  max-width: 850px;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.97;
  text-wrap: balance;
}

.smi-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.smi-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease, transform 260ms var(--smi-ease);
}

.smi-button:hover {
  transform: translateY(-1px);
}

.smi-button:active {
  transform: scale(0.98);
}

.smi-button:focus-visible,
.smi-nav a:focus-visible,
.smi-menu-button:focus-visible,
.smi-mobile-menu a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.smi-button-light {
  background: #f7f8f7;
  color: #16191d;
}

.smi-button-light:hover {
  background: #fff;
}

.smi-button-glass {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.smi-button-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.smi-hero-description {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.94rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.smi-enter {
  opacity: 1;
  transform: translateY(0);
}

.is-ready .smi-enter {
  animation: smi-fade-slide-up 0.9s var(--smi-ease) var(--delay) both;
}

.smi-nav {
  position: fixed;
  z-index: var(--smi-layer-header);
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  isolation: isolate;
}

.smi-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-bottom: 1px solid rgba(171, 186, 209, 0.13);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.58), rgba(5, 7, 11, 0.27));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--smi-ease);
  backdrop-filter: blur(18px) saturate(116%);
  -webkit-backdrop-filter: blur(18px) saturate(116%);
}

.smi-nav.is-scrolled::before {
  opacity: 1;
}

.smi-nav > * {
  z-index: 1;
}

.smi-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-decoration: none;
}

.smi-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: visible;
}

.smi-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(3.2) contrast(1.35);
}

.smi-nav-pill {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.smi-nav-pill a {
  padding: 8px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease;
}

.smi-nav-pill a:hover {
  color: #fff;
}

.smi-nav-pill a.is-active {
  background: #fff;
  color: #17191d;
}

.smi-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smi-language {
  position: relative;
  flex: 0 0 auto;
}

.smi-language-trigger {
  display: inline-flex;
  min-width: 44px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  cursor: pointer;
}

.smi-language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  right: 0;
  width: 318px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 19px;
  background:
    linear-gradient(155deg, rgba(15, 19, 27, 0.985), rgba(4, 6, 10, 0.99)) padding-box,
    linear-gradient(125deg, rgba(205, 217, 235, 0.42), rgba(49, 58, 72, 0.42) 46%, rgba(118, 136, 162, 0.34)) border-box;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: smi-language-menu-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}

.smi-language-menu[hidden] {
  display: none;
}

.smi-language-menu > p {
  margin: 3px 8px 9px;
  color: rgba(188, 198, 213, 0.58);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.smi-language-menu > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.smi-language-menu button {
  display: flex;
  min-width: 0;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(221, 228, 239, 0.74);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.smi-language-menu button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smi-language-menu button small {
  color: rgba(158, 171, 191, 0.44);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
}

.smi-language-menu button:hover,
.smi-language-menu button:focus-visible {
  border-color: rgba(175, 194, 222, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.smi-language-menu button.is-selected {
  border-color: rgba(212, 224, 242, 0.34);
  background: linear-gradient(180deg, rgba(213, 221, 232, 0.17), rgba(117, 132, 154, 0.08));
  color: #f6f8fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes smi-language-menu-in {
  from { opacity: 0; transform: translateY(-7px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.smi-account {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.smi-account span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
}

.smi-button-small {
  min-height: 40px;
  padding-inline: 20px;
}

.smi-menu-button,
.smi-mobile-menu,
.smi-menu-backdrop {
  display: none;
}

@keyframes smi-fade-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smi-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .smi-nav-pill,
  .smi-nav-actions {
    display: none;
  }

  .smi-menu-button {
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .smi-menu-button span {
    position: absolute;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform 300ms var(--smi-ease), opacity 300ms ease;
  }

  .smi-menu-button span:first-child { transform: translateY(-4px); }
  .smi-menu-button span:last-child { transform: translateY(4px); }
  .smi-menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .smi-menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .smi-menu-backdrop:not([hidden]) {
    position: fixed;
    z-index: var(--smi-layer-menu-backdrop);
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .smi-mobile-menu:not([hidden]) {
    position: fixed;
    z-index: var(--smi-layer-menu);
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 88px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 11, 17, 0.98);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: smi-mobile-menu-in 400ms var(--smi-ease) both;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .smi-mobile-menu > a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
  }

  .smi-mobile-menu > .smi-mobile-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
  }

  .smi-mobile-menu .smi-button {
    flex: 1;
  }

  .smi-mobile-menu .smi-language-menu {
    right: auto;
    left: 0;
    width: min(318px, calc(100vw - 48px));
  }

  .smi-hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .smi-hero-description {
    max-width: 540px;
  }

}

@keyframes smi-mobile-menu-in {
  from { opacity: 0; transform: translateY(-16px) scaleY(0.96); }
  to { opacity: 1; transform: translateY(0) scaleY(1); }
}

@media (max-width: 680px) {
  .smi-stage {
    min-height: 600px;
  }

  .smi-nav {
    height: 68px;
    padding-inline: 18px;
  }

  .smi-brand > span:last-child {
    font-size: 0.8rem;
  }

  .smi-hero-image {
    background-position: 53% center;
  }

  .smi-hero-content {
    gap: 20px;
    padding: 0 20px max(34px, env(safe-area-inset-bottom));
  }

  .smi-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 11vw, 3.6rem);
    line-height: 0.98;
  }

  .smi-actions {
    align-items: stretch;
  }

  .smi-button {
    min-height: 44px;
    padding-inline: 20px;
  }

  .smi-actions .smi-button {
    flex: 1;
    padding-inline: 14px;
    font-size: 0.78rem;
  }

  .smi-hero-description {
    max-width: 94%;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .smi-hero-image-reveal {
    mask-image: radial-gradient(circle 180px at var(--smi-x) var(--smi-y), #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 58%, rgba(0, 0, 0, 0.32) 78%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle 180px at var(--smi-x) var(--smi-y), #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 58%, rgba(0, 0, 0, 0.32) 78%, transparent 100%);
  }

}

@media (pointer: coarse) {
  .smi-hero-image-reveal {
    --smi-x: 62%;
    --smi-y: 40%;
    opacity: 0.6;
  }

}

@media (prefers-reduced-motion: reduce) {
  .sundex-motion-intro {
    height: 100dvh;
  }

  .smi-enter,
  .is-ready .smi-enter,
  .is-ready .smi-hero-image-base {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .smi-hero-image-reveal {
    display: none;
  }

  .smi-button,
  .smi-hero-content,
  .smi-nav::before {
    transition-duration: 0.01ms;
  }
}

/* Cinematic crypto card fan — second screen */
.sundex-market-explorer.sme-fan-v2 {
  min-height: max(720px, 100svh);
  background:
    radial-gradient(circle at 72% 44%, rgba(77, 109, 165, 0.18), transparent 34%),
    radial-gradient(ellipse at 22% 78%, rgba(30, 55, 99, 0.24), transparent 48%),
    linear-gradient(118deg, #030508 0%, #070b13 48%, #020407 100%);
}

.sme-fan-v2::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 7, 0.08), rgba(2, 4, 7, 0.74)), url("/assets/intro-hero-base-sundex.webp") center bottom / cover no-repeat;
  opacity: 0.2;
  filter: saturate(0.55) contrast(1.08);
  transform: scale(1.03);
}

.sme-fan-v2::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.92) 0%, rgba(3, 5, 8, 0.42) 45%, rgba(3, 5, 8, 0.2) 72%, rgba(3, 5, 8, 0.58) 100%),
    linear-gradient(180deg, #030508 0, transparent 18%, transparent 82%, #030508 100%);
}

.sme-fan-v2 .sme-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(206, 222, 246, 0.34) 0 0.7px, transparent 0.9px);
  background-size: 43px 43px;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, transparent 4%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 55%, #000 100%);
}

.sme-fan-v2 .sme-shell {
  display: flex;
  width: min(100%, 1600px);
  min-height: max(720px, 100svh);
  padding: clamp(88px, 9vh, 120px) clamp(24px, 4.5vw, 72px) clamp(36px, 5vh, 64px);
}

.sme-fan-v2 .sme-layout {
  display: grid;
  width: 100%;
  min-height: 0;
  grid-template-columns: minmax(330px, 0.78fr) minmax(650px, 1.42fr);
  align-items: center;
  gap: clamp(18px, 3vw, 54px);
  padding: 0;
}

.sme-fan-v2 .sme-copy {
  position: relative;
  z-index: 12;
  display: flex;
  max-width: 520px;
  min-height: min(600px, calc(100svh - 190px));
  flex-direction: column;
  justify-content: center;
  padding-bottom: 18px;
}

.sme-fan-v2 .sme-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(204, 216, 234, 0.7);
  font-size: 0.71rem;
  font-weight: 620;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  box-shadow: none;
}

.sme-fan-v2 .sme-label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ab9eb;
  box-shadow: 0 0 13px rgba(135, 177, 241, 0.8);
}

.sme-fan-v2 .sme-copy h2 {
  max-width: 600px;
  margin: 0;
  color: #f2f4f8;
  font-size: clamp(4rem, 5.5vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-wrap: balance;
}

.sme-fan-v2 .sme-copy-text {
  max-width: 410px;
  margin: 31px 0 0;
  color: rgba(189, 200, 216, 0.66);
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  font-weight: 430;
  line-height: 1.65;
}

.sme-fan-v2 .sme-copy-foot {
  display: flex;
  width: min(100%, 410px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(160, 180, 209, 0.14);
  color: rgba(171, 185, 205, 0.54);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.08em;
}

.sme-fan-v2 .sme-copy-foot > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.025em;
  text-transform: none;
}

.sme-fan-v2 .sme-copy-foot i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72c99b;
  box-shadow: 0 0 10px rgba(93, 211, 150, 0.56);
}

.sme-fan-v2 .sme-copy-foot .is-delayed i { background: #d6ad6d; }

.sme-fan-v2 .sme-carousel {
  position: relative;
  z-index: 5;
  display: grid;
  min-width: 0;
  min-height: min(700px, calc(100svh - 145px));
  grid-template-rows: minmax(500px, 1fr) auto;
  align-items: center;
}

.sme-fan-v2 .sme-fan {
  position: relative;
  width: 100%;
  min-height: min(610px, calc(100svh - 225px));
  outline: none;
  perspective: 1400px;
  touch-action: pan-y;
}

.sme-fan-v2 .sme-fan::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(76%, 650px);
  height: 78px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  filter: blur(28px);
  opacity: 0.72;
  transform: translateX(-50%);
}

.sme-fan-v2 .sme-card {
  --sme-x: 0px;
  --sme-y: 0px;
  --sme-rotation: 0deg;
  --sme-scale: 1;
  --sme-opacity: 0;
  --sme-blur: 0px;
  position: absolute;
  top: 48%;
  left: 50%;
  display: flex;
  width: clamp(258px, 20.5vw, 316px);
  height: clamp(388px, 54vh, 472px);
  min-height: 388px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(21px, 1.8vw, 27px);
  border: 1px solid transparent;
  border-radius: 30px;
  outline: none;
  background:
    linear-gradient(145deg, rgba(15, 20, 29, 0.98), rgba(4, 7, 12, 0.985)) padding-box,
    linear-gradient(145deg, rgba(222, 231, 244, 0.52), rgba(62, 74, 94, 0.18) 36%, rgba(13, 18, 27, 0.9) 67%, rgba(154, 173, 202, 0.34)) border-box;
  color: #f1f4f8;
  cursor: pointer;
  opacity: var(--sme-opacity);
  filter: blur(var(--sme-blur));
  transform: translate(-50%, -50%) translate3d(var(--sme-x), var(--sme-y), 0) rotate(var(--sme-rotation)) scale(var(--sme-scale));
  transform-origin: 50% 88%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.72), 0 30px 72px rgba(0, 0, 0, 0.5);
  transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, filter 460ms ease, box-shadow 260ms ease;
  will-change: transform, opacity, filter;
}

.sme-fan-v2 .sme-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.045), transparent 25%, transparent 74%, rgba(129, 162, 214, 0.045));
}

.sme-fan-v2 .sme-card::after {
  content: "";
  position: absolute;
  right: -32%;
  bottom: -28%;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(120, 151, 199, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(98, 130, 181, 0.018), 0 0 0 72px rgba(98, 130, 181, 0.012);
  pointer-events: none;
}

.sme-fan-v2 .sme-card-light {
  position: absolute;
  top: -28%;
  left: -20%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(92, 129, 187, 0.13);
  filter: blur(48px);
  opacity: 0.55;
  pointer-events: none;
}

.sme-fan-v2 .sme-card.is-outside { pointer-events: none; }

.sme-fan-v2 .sme-card.is-active {
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.8), 0 42px 100px rgba(0, 0, 0, 0.64), 0 0 58px rgba(86, 124, 182, 0.09);
}

@media (hover: hover) {
  .sme-fan-v2 .sme-card:not(.is-active):not(.is-outside):hover { filter: blur(0) brightness(1.08); }
  .sme-fan-v2 .sme-card.is-active:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 48px 110px rgba(0, 0, 0, 0.67), 0 0 70px rgba(93, 134, 197, 0.12); }
}

.sme-fan-v2 .sme-card-head,
.sme-fan-v2 .sme-card-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sme-fan-v2 .sme-card-logo {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(196, 211, 233, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 9px 22px rgba(0, 0, 0, 0.28);
}

.sme-fan-v2 .sme-card-logo img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.sme-fan-v2 .sme-card-logo img.has-error { visibility: hidden; }

.sme-fan-v2 .sme-card-rank {
  align-self: flex-start;
  color: rgba(204, 215, 230, 0.55);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.sme-fan-v2 .sme-card-identity {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: clamp(28px, 4.4vh, 48px);
}

.sme-fan-v2 .sme-card-identity strong {
  color: #f3f5f8;
  font-size: clamp(2.35rem, 3vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.sme-fan-v2 .sme-card-identity span {
  margin-top: 8px;
  color: rgba(186, 199, 217, 0.55);
  font-size: 0.78rem;
  font-weight: 520;
}

.sme-fan-v2 .sme-card-value {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: clamp(24px, 4vh, 40px);
}

.sme-fan-v2 .sme-card-value > strong {
  overflow: hidden;
  color: #eaf0f8;
  font-size: clamp(1.35rem, 1.85vw, 1.85rem);
  font-weight: 540;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-fan-v2 .sme-card-value > span {
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 620;
  letter-spacing: 0.015em;
}

.sme-fan-v2 .sme-card-value small {
  margin-left: 4px;
  color: rgba(184, 196, 213, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
}

.sme-fan-v2 .sme-card-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: auto 0 0;
  padding: 17px 0;
  border-top: 1px solid rgba(151, 171, 201, 0.12);
  border-bottom: 1px solid rgba(151, 171, 201, 0.12);
}

.sme-fan-v2 .sme-card-metrics div { min-width: 0; }
.sme-fan-v2 .sme-card-metrics div + div { padding-left: 15px; border-left: 1px solid rgba(151, 171, 201, 0.12); }
.sme-fan-v2 .sme-card-metrics dt { color: rgba(171, 185, 205, 0.45); font-size: 0.58rem; letter-spacing: 0.045em; }
.sme-fan-v2 .sme-card-metrics dd { overflow: hidden; margin: 6px 0 0; color: rgba(227, 234, 243, 0.86); font-size: 0.75rem; font-weight: 590; text-overflow: ellipsis; white-space: nowrap; }

.sme-fan-v2 .sme-card-foot {
  margin-top: 17px;
  color: rgba(169, 183, 202, 0.38);
  font-size: 0.6rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sme-fan-v2 .sme-buy {
  display: inline-flex;
  width: auto;
  min-width: 80px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 13px 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #131923, #05070b) padding-box, linear-gradient(140deg, #aeb8c7, #2b323d 48%, #7c899a) border-box;
  color: #e6ebf2;
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -2px 5px rgba(0, 0, 0, 0.56), 0 8px 16px rgba(0, 0, 0, 0.28);
  transition: border-color 180ms ease, color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.sme-fan-v2 .sme-buy b { color: rgba(205, 217, 233, 0.62); font-size: 0.68rem; font-weight: 500; }
.sme-fan-v2 .sme-buy:hover,
.sme-fan-v2 .sme-buy:focus-visible { color: #fff; filter: brightness(1.16); outline: none; transform: translateY(-1px); }

.sme-fan-v2 .sme-carousel-footer {
  position: relative;
  z-index: 12;
  display: grid;
  width: min(100%, 560px);
  grid-template-columns: 48px minmax(220px, 1fr) 48px;
  align-items: center;
  gap: 10px;
  margin: -4px auto 0;
}

.sme-fan-v2 .sme-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(16, 21, 30, 0.98), rgba(4, 6, 10, 0.98)) padding-box, linear-gradient(145deg, rgba(201, 212, 227, 0.58), rgba(47, 55, 68, 0.42) 55%, rgba(128, 143, 163, 0.55)) border-box;
  color: rgba(220, 228, 239, 0.78);
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 10px 22px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.sme-fan-v2 .sme-arrow:hover,
.sme-fan-v2 .sme-arrow:focus-visible { color: #fff; filter: brightness(1.14); outline: none; transform: translateY(-1px); }

.sme-fan-v2 .sme-search {
  display: grid;
  width: 100%;
  height: 48px;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.96), rgba(5, 7, 11, 0.96)) padding-box, linear-gradient(140deg, rgba(184, 199, 220, 0.38), rgba(39, 47, 59, 0.38) 48%, rgba(111, 128, 151, 0.35)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.sme-fan-v2 .sme-search svg {
  width: 17px;
  fill: none;
  stroke: rgba(185, 199, 218, 0.52);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.sme-fan-v2 .sme-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e8edf4;
  font-size: 0.77rem;
  font-weight: 510;
  box-shadow: none;
}

.sme-fan-v2 .sme-search input::placeholder { color: rgba(167, 181, 201, 0.5); opacity: 1; }
.sme-fan-v2 .sme-search:focus-within { border-color: transparent; background: linear-gradient(180deg, rgba(14, 19, 28, 0.98), rgba(5, 8, 13, 0.98)) padding-box, linear-gradient(140deg, rgba(187, 207, 237, 0.62), rgba(55, 70, 92, 0.58)) border-box; }
.sme-fan-v2 .sme-search kbd { min-width: 21px; padding: 3px 6px; border: 1px solid rgba(160, 178, 203, 0.14); border-radius: 6px; background: rgba(255, 255, 255, 0.025); color: rgba(179, 192, 210, 0.4); font: 600 0.62rem/1 "Geist", sans-serif; text-align: center; }

.sme-fan-v2 .sme-carousel-count {
  position: absolute;
  right: 3px;
  bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(170, 183, 201, 0.34);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.sme-fan-v2 .sme-carousel-count strong { color: rgba(223, 230, 240, 0.72); font-size: 0.75rem; font-weight: 600; }

.sme-fan-v2 .sme-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: rgba(204, 215, 230, 0.7);
  text-align: center;
  transform: translate(-50%, -50%);
}

.sme-fan-v2 .sme-empty span { color: rgba(170, 184, 203, 0.48); font-size: 0.78rem; }

@media (max-width: 1120px) {
  .sme-fan-v2 .sme-layout { grid-template-columns: minmax(290px, 0.68fr) minmax(580px, 1.32fr); gap: 10px; }
  .sme-fan-v2 .sme-copy h2 { font-size: clamp(3.7rem, 6.4vw, 5.5rem); }
  .sme-fan-v2 .sme-card { width: clamp(250px, 24vw, 290px); }
}

@media (max-width: 900px) {
  .sundex-market-explorer.sme-fan-v2,
  .sme-fan-v2 .sme-shell { min-height: auto; }
  .sme-fan-v2 .sme-shell { padding: 120px 22px 54px; }
  .sme-fan-v2 .sme-layout { grid-template-columns: 1fr; gap: 14px; }
  .sme-fan-v2 .sme-copy { min-height: auto; max-width: 650px; padding: 0; }
  .sme-fan-v2 .sme-copy h2 { font-size: clamp(3.8rem, 10vw, 6rem); }
  .sme-fan-v2 .sme-copy-text { margin-top: 24px; }
  .sme-fan-v2 .sme-copy-foot { margin-top: 32px; }
  .sme-fan-v2 .sme-carousel { min-height: 650px; grid-template-rows: 570px auto; }
  .sme-fan-v2 .sme-fan { min-height: 570px; }
  .sme-fan-v2 .sme-card { top: 47%; width: min(286px, 42vw); height: 430px; }
}

@media (max-width: 620px) {
  .sme-fan-v2 .sme-shell { padding: 102px 14px 42px; }
  .sme-fan-v2 .sme-copy { padding-inline: 10px; }
  .sme-fan-v2 .sme-copy h2 { font-size: clamp(3.25rem, 16vw, 4.9rem); }
  .sme-fan-v2 .sme-copy-text { max-width: 350px; font-size: 0.93rem; }
  .sme-fan-v2 .sme-copy-foot { align-items: flex-start; flex-direction: column; gap: 10px; }
  .sme-fan-v2 .sme-carousel { min-height: 610px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 535px auto; overflow: hidden; }
  .sme-fan-v2 .sme-fan { left: auto; width: 100%; min-height: 535px; transform: none; }
  .sme-fan-v2 .sme-card { width: 272px; height: 420px; }
  .sme-fan-v2 .sme-carousel-footer { width: calc(100% - 78px); grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; margin-right: auto; margin-left: 4px; }
  .sme-fan-v2 .sme-arrow { width: 44px; height: 44px; }
  .sme-fan-v2 .sme-search { height: 44px; padding-inline: 13px; }
  .sme-fan-v2 .sme-search input { height: 38px; }
  .sme-fan-v2 .sme-carousel-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sme-fan-v2 .sme-card,
  .sme-fan-v2 .sme-arrow,
  .sme-fan-v2 .sme-buy { transition-duration: 0.01ms !important; }
}

/* Live top-50 market explorer */
body.sundex-cinematic-second-mounted #root .exchange-tape,
body.sundex-cinematic-second-mounted #root .exchange-market-section {
  display: none !important;
}

.sundex-market-explorer,
.sundex-market-explorer * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-market-explorer {
  position: relative;
  z-index: 2;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 64% 54% at 18% 60%, rgba(42, 70, 119, 0.2), transparent 68%),
    radial-gradient(ellipse 42% 38% at 88% 12%, rgba(77, 102, 145, 0.1), transparent 72%),
    linear-gradient(135deg, #05070b 0%, #080c14 47%, #03050a 100%);
  color: #f2f5f9;
}

.sme-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.19;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(156, 178, 212, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 178, 212, 0.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 44%, transparent 72%, #000);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 44%, transparent 72%, #000);
}

.sme-aura {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 22%;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(142, 171, 219, 0.1);
  border-radius: 50%;
  opacity: 0.72;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 90px rgba(94, 131, 190, 0.022), 0 0 0 190px rgba(94, 131, 190, 0.014);
}

.sme-aura::before,
.sme-aura::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(142, 171, 219, 0.08);
  border-radius: 50%;
}

.sme-aura::before { inset: 18%; }
.sme-aura::after { inset: 37%; }

.sme-shell {
  width: min(100%, 1560px);
  min-height: max(720px, 100svh);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px) clamp(22px, 4vw, 64px);
}

.sme-topline {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(151, 170, 199, 0.14);
  color: rgba(180, 193, 212, 0.56);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.sme-topline span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.sme-topline i,
.sme-browser-foot > span i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb3ef;
  box-shadow: 0 0 0 4px rgba(119, 164, 234, 0.08), 0 0 14px rgba(124, 174, 255, 0.38);
}

.sme-layout {
  display: grid;
  min-height: calc(max(760px, 100svh) - clamp(82px, 8vw, 116px));
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 7vw, 116px);
  padding-block: 24px 12px;
}

.sme-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vh, 56px);
}

.sme-story-copy {
  max-width: 610px;
}

.sme-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(173, 191, 219, 0.18);
  border-radius: 999px;
  background: rgba(9, 13, 21, 0.64);
  color: rgba(213, 221, 232, 0.72);
  font-size: 0.74rem;
  font-weight: 520;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.sme-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7e2f4;
  box-shadow: 0 0 12px rgba(180, 208, 255, 0.48);
}

.sme-story h2 {
  max-width: 650px;
  margin: 0;
  color: #f4f6fa;
  font-size: clamp(3.35rem, 5.2vw, 5.8rem);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.sme-story-copy > p:last-child {
  max-width: 54ch;
  margin: 25px 0 0;
  color: #9ba7b8;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.sme-detail {
  position: relative;
  max-width: 590px;
  overflow: hidden;
  padding-top: 24px;
  border-top: 1px solid rgba(170, 189, 219, 0.18);
}

.sme-detail-ghost {
  position: absolute;
  z-index: -1;
  top: -54px;
  right: 1%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.055;
  filter: grayscale(1) blur(1px);
  background: center / contain no-repeat;
  transform: rotate(-11deg);
  pointer-events: none;
}

.sme-selected-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sme-selected-head > img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  border: 1px solid rgba(209, 221, 239, 0.16);
  border-radius: 50%;
  background: #101620;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sme-selected-head > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 10px;
}

.sme-selected-head span {
  color: #78869a;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.sme-selected-head h3 {
  margin: 0;
  color: #f1f4f8;
  font-size: 1.28rem;
  font-weight: 560;
}

.sme-selected-head p {
  grid-column: 2;
  margin: 3px 0 0;
  color: #778396;
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.065em;
}

.sme-selected-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 23px;
}

.sme-selected-price > strong {
  color: #f5f7fa;
  font-size: clamp(2.4rem, 3.7vw, 4.4rem);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sme-selected-price > span {
  padding-bottom: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.sundex-market-explorer .is-positive { color: #68d49c !important; }
.sundex-market-explorer .is-negative { color: #e47782 !important; }

.sme-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 17px 0;
  border-top: 1px solid rgba(159, 180, 211, 0.13);
  border-bottom: 1px solid rgba(159, 180, 211, 0.13);
}

.sme-metrics > div {
  min-width: 0;
  padding: 0 14px;
  border-left: 1px solid rgba(159, 180, 211, 0.11);
}

.sme-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.sme-metrics dt {
  color: #78869a;
  font-size: 0.68rem;
  line-height: 1.3;
}

.sme-metrics dd {
  overflow: hidden;
  margin: 6px 0 0;
  color: #dce3ed;
  font-size: 0.88rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-primary-action {
  display: inline-flex;
  min-width: 132px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  padding: 0 20px;
  color: #e8eef8;
  font-size: 0.84rem;
  font-weight: 560;
  text-decoration: none;
}

.sme-primary-action > span:last-child { font-size: 0.92rem; }

.sme-browser {
  position: relative;
  display: flex;
  width: 100%;
  height: min(710px, calc(100svh - 90px));
  min-height: 610px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(14, 18, 25, 0.985), rgba(5, 7, 11, 0.99)) padding-box,
    linear-gradient(128deg, rgba(211, 220, 234, 0.46), rgba(45, 54, 68, 0.36) 28%, rgba(126, 142, 166, 0.42) 66%, rgba(31, 37, 47, 0.72)) border-box;
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.052),
    inset 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.sme-browser::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 110% at 72% -25%, rgba(151, 180, 225, 0.1), transparent 72%);
}

.sme-browser-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 19px;
  border-bottom: 1px solid rgba(157, 178, 209, 0.13);
}

.sme-browser-head > div {
  display: flex;
  min-width: 145px;
  flex-direction: column;
  gap: 4px;
}

.sme-browser-head strong {
  color: #edf1f6;
  font-size: 0.98rem;
  font-weight: 570;
}

.sme-browser-head > div > span {
  color: #78869a;
  font-size: 0.7rem;
}

.sme-search {
  position: relative;
  display: flex;
  width: min(310px, 52%);
  min-height: 45px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #111720, #070a0f) padding-box,
    linear-gradient(130deg, rgba(190, 204, 226, 0.28), rgba(52, 62, 77, 0.4), rgba(119, 136, 161, 0.28)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.034), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.sme-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sme-search input {
  width: 100%;
  height: 43px;
  padding: 0 46px 0 17px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef2f7;
  font: inherit;
  font-size: 0.78rem;
}

.sme-search input::placeholder { color: #828d9d; opacity: 1; }

.sme-search:focus-within {
  box-shadow: 0 0 0 2px rgba(146, 181, 234, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sme-search kbd {
  position: absolute;
  right: 10px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(185, 200, 222, 0.16);
  border-radius: 7px;
  background: #090d13;
  color: #7d8999;
  font-family: inherit;
  font-size: 0.68rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sme-list-mask {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.sme-list-mask::before,
.sme-list-mask::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 28px;
  pointer-events: none;
}

.sme-list-mask::before { top: 0; background: linear-gradient(#0b0e14, transparent); }
.sme-list-mask::after { bottom: 0; background: linear-gradient(transparent, #07090e); }

.sme-list {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 13px 20px;
  outline: 0;
  scroll-behavior: smooth;
  scroll-padding-block: 36%;
  scrollbar-color: rgba(129, 148, 176, 0.32) transparent;
  scrollbar-width: thin;
}

.sme-list:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(142, 178, 234, 0.22);
}

.sme-list::-webkit-scrollbar { width: 5px; }
.sme-list::-webkit-scrollbar-track { background: transparent; }
.sme-list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(129, 148, 176, 0.32); }

.sme-coin {
  display: grid;
  min-height: 79px;
  grid-template-columns: 32px minmax(180px, 1fr) minmax(110px, auto) 58px;
  align-items: center;
  gap: 15px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #e7ebf1;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background-color 180ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-coin:hover {
  background: rgba(255, 255, 255, 0.032);
  transform: translateX(-3px);
}

.sme-coin.is-active {
  border-color: rgba(190, 207, 232, 0.18);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(123, 159, 217, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(30, 38, 51, 0.72), rgba(11, 15, 22, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.052),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 10px 26px rgba(0, 0, 0, 0.2);
}

.sme-coin-rank {
  color: #657185;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.sme-coin-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.sme-coin-identity > img {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  object-fit: contain;
  border: 1px solid rgba(197, 210, 230, 0.12);
  border-radius: 50%;
  background: #111722;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sme-coin-identity > img.has-error { opacity: 0.12; }

.sme-coin-identity > span,
.sme-coin-quote {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.sme-coin-identity strong {
  color: #edf1f6;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.sme-coin-identity small {
  overflow: hidden;
  color: #778396;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-coin-quote {
  align-items: flex-end;
  text-align: right;
}

.sme-coin-quote strong {
  color: #e1e7ef;
  font-size: 0.82rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.sme-coin-quote small {
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sme-buy {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #151b25, #07090e) padding-box,
    linear-gradient(125deg, rgba(206, 217, 233, 0.38), rgba(49, 57, 70, 0.45), rgba(124, 139, 160, 0.34)) border-box;
  color: #cfd7e4;
  font-size: 0.7rem;
  font-weight: 580;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -2px 3px rgba(0, 0, 0, 0.6), 0 5px 12px rgba(0, 0, 0, 0.2);
  transition: color 160ms ease, filter 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-buy:hover,
.sme-buy:focus-visible {
  color: #fff;
  filter: brightness(1.14);
  outline: none;
  transform: translateY(-1px);
}

.sme-empty {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #e5eaf1;
}

.sme-empty strong { font-size: 0.98rem; }
.sme-empty span { color: #7d899b; font-size: 0.78rem; }

.sme-browser-foot {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px 10px 24px;
  border-top: 1px solid rgba(157, 178, 209, 0.13);
}

.sme-browser-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8290a3;
  font-size: 0.7rem;
}

.sme-browser-foot > span.is-delayed i {
  background: #ba965f;
  box-shadow: 0 0 0 4px rgba(186, 150, 95, 0.08);
}

.sme-controls {
  display: flex;
  gap: 7px;
}

.sme-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #141a23, #07090d) padding-box,
    linear-gradient(135deg, rgba(199, 213, 233, 0.34), rgba(52, 61, 75, 0.44), rgba(124, 140, 164, 0.3)) border-box;
  color: #b9c4d4;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -2px 3px rgba(0, 0, 0, 0.58);
  transition: color 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1), filter 160ms ease;
}

.sme-controls button:hover,
.sme-controls button:focus-visible {
  color: #fff;
  filter: brightness(1.14);
  outline: none;
  transform: translateY(-1px);
}

.sme-primary-action.sundex-liquid-metal::before {
  background: linear-gradient(180deg, #172131 0%, #0a0e16 38%, #030509 100%) !important;
  box-shadow: inset 0 1px 0 rgba(198, 219, 249, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(0, 0, 0, 0.72) !important;
}

.sme-primary-action.sundex-liquid-metal {
  color: #e8eef8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.52), 0 12px 22px rgba(0, 0, 0, 0.26), 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 22px rgba(103, 142, 207, 0.08) !important;
}

@media (max-width: 1120px) {
  .sme-layout {
    grid-template-columns: minmax(310px, 0.72fr) minmax(510px, 1.28fr);
    gap: 38px;
  }

  .sme-story h2 { font-size: clamp(3rem, 5.4vw, 4.8rem); }
  .sme-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 15px; }
  .sme-metrics > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  .sundex-market-explorer,
  .sme-shell { min-height: auto; }

  .sme-shell { padding-block: 28px 50px; }

  .sme-layout {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-top: 54px;
  }

  .sme-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    align-items: end;
    gap: 36px;
  }

  .sme-story h2 { font-size: clamp(3.4rem, 9vw, 5.6rem); }
  .sme-story-copy > p:last-child { margin-top: 20px; }
  .sme-detail { max-width: none; }
  .sme-selected-price { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sme-selected-price > span { padding-bottom: 0; }
  .sme-browser { height: min(720px, 78svh); min-height: 590px; }
}

@media (max-width: 680px) {
  .sme-topline span:last-child { display: none; }
  .sme-layout { padding-top: 42px; }
  .sme-story { display: flex; align-items: stretch; }
  .sme-story h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .sme-detail { padding-top: 22px; }
  .sme-selected-price > strong { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  .sme-browser { min-height: 570px; border-radius: 24px; }
  .sme-browser-head { align-items: stretch; flex-direction: column; padding: 20px; }
  .sme-search { width: 100%; }
  .sme-coin { grid-template-columns: 26px minmax(120px, 1fr) minmax(88px, auto) 52px; gap: 9px; padding-inline: 8px; }
  .sme-coin-identity { gap: 9px; }
  .sme-coin-identity > img { width: 36px; height: 36px; flex-basis: 36px; }
  .sme-coin-quote strong { font-size: 0.75rem; }
  .sme-browser-foot { padding-left: 18px; }
}

@media (max-width: 460px) {
  .sme-shell { padding-inline: 14px; }
  .sme-label { margin-bottom: 16px; }
  .sme-story-copy > p:last-child { font-size: 0.94rem; }
  .sme-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sme-browser { border-radius: 21px; }
  .sme-coin { grid-template-columns: minmax(116px, 1fr) minmax(78px, auto) 48px; }
  .sme-coin-rank { display: none; }
  .sme-coin-identity small { max-width: 94px; }
  .sme-buy { min-height: 32px; }
  .sme-browser-foot > span { max-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .smi-language-menu,
  .sme-coin,
  .sme-buy,
  .sme-controls button {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Liquid-metal CTA system */
body.sundex-liquid-v1 .smi-button-light,
body.sundex-liquid-v1 .scn-button-primary,
body.sundex-liquid-v1.sundex-auth-mounted .sax-form button[type="submit"],
body.sundex-liquid-v1.sundex-cinematic-second-mounted #root a[href="/auth?mode=signup"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-bottom-color: rgba(91, 107, 130, 0.72) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(ellipse 120% 85% at 50% -28%, rgba(255, 255, 255, 0.98), transparent 55%),
    linear-gradient(180deg, #fbfcfe 0%, #edf1f6 48%, #cbd3dd 100%) !important;
  color: #10151d !important;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.24),
    inset 3px 3px 1px -3px rgba(255, 255, 255, 1),
    inset -3px -3px 1px -3px rgba(36, 47, 62, 0.55),
    inset 1px 1px 1px rgba(255, 255, 255, 0.72),
    inset -1px -1px 1px rgba(35, 46, 61, 0.22),
    inset 0 -5px 9px rgba(44, 57, 74, 0.12) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), filter 200ms ease, box-shadow 240ms ease !important;
}

body.sundex-liquid-v1 .smi-button-light::after,
body.sundex-liquid-v1 .scn-button-primary::after,
body.sundex-liquid-v1.sundex-auth-mounted .sax-form button[type="submit"]::after,
body.sundex-liquid-v1.sundex-cinematic-second-mounted #root a[href="/auth?mode=signup"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 36%, transparent 62%, rgba(255, 255, 255, 0.18));
}

body.sundex-liquid-v1 .smi-button-glass,
body.sundex-liquid-v1 .scn-button-secondary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(215, 228, 248, 0.2) !important;
  border-bottom-color: rgba(9, 13, 21, 0.85) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(ellipse 120% 100% at 50% -40%, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(184, 205, 236, 0.1), rgba(118, 145, 184, 0.045)) !important;
  color: #eef3fb !important;
  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.22),
    inset 3px 3px 1px -3px rgba(255, 255, 255, 0.32),
    inset -3px -3px 1px -3px rgba(255, 255, 255, 0.2),
    inset 1px 1px 1px rgba(255, 255, 255, 0.12),
    inset -1px -1px 1px rgba(0, 0, 0, 0.3),
    inset 0 0 10px rgba(193, 216, 250, 0.05) !important;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), filter 200ms ease, border-color 200ms ease, box-shadow 240ms ease !important;
}

body.sundex-liquid-v1 .smi-button-light:hover,
body.sundex-liquid-v1 .scn-button-primary:hover,
body.sundex-liquid-v1.sundex-auth-mounted .sax-form button[type="submit"]:hover:not(:disabled),
body.sundex-liquid-v1.sundex-cinematic-second-mounted #root a[href="/auth?mode=signup"]:hover,
body.sundex-liquid-v1 .smi-button-glass:hover,
body.sundex-liquid-v1 .scn-button-secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

body.sundex-liquid-v1 .smi-button-light:active,
body.sundex-liquid-v1 .scn-button-primary:active,
body.sundex-liquid-v1.sundex-auth-mounted .sax-form button[type="submit"]:active:not(:disabled),
body.sundex-liquid-v1.sundex-cinematic-second-mounted #root a[href="/auth?mode=signup"]:active,
body.sundex-liquid-v1 .smi-button-glass:active,
body.sundex-liquid-v1 .scn-button-secondary:active {
  filter: brightness(0.94);
  transform: translateY(2px) scale(0.985);
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.18),
    inset 1px 2px 5px rgba(0, 0, 0, 0.18) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.sundex-liquid-v1 .smi-button-light,
  body.sundex-liquid-v1 .scn-button-primary,
  body.sundex-liquid-v1 .smi-button-glass,
  body.sundex-liquid-v1 .scn-button-secondary,
  body.sundex-liquid-v1.sundex-auth-mounted .sax-form button[type="submit"],
  body.sundex-liquid-v1.sundex-cinematic-second-mounted #root a[href="/auth?mode=signup"] {
    transition-duration: 0.01ms !important;
  }
}

/* Paper liquid-metal primary actions */
.sundex-liquid-metal {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #777a7f !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.46),
    0 13px 18px rgba(0, 0, 0, 0.18),
    0 5px 7px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.3) !important;
  transform-style: preserve-3d;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease, filter 180ms ease !important;
}

.sundex-liquid-metal::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, #1b1b1c 0%, #09090a 32%, #030304 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -3px 5px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(0, 0, 0, 0.66);
  transition: inset 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.sundex-liquid-metal > canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  contain: strict;
}

.sundex-liquid-metal:hover {
  filter: brightness(1.04);
  transform: translateY(-1px) !important;
}

.sundex-liquid-metal.is-liquid-pressed,
.sundex-liquid-metal:active {
  filter: brightness(0.93);
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.32) !important;
}

.sundex-liquid-metal.is-liquid-pressed::before,
.sundex-liquid-metal:active::before {
  inset: 2.5px;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(0, 0, 0, 0.78);
}

.sundex-liquid-metal:focus-visible {
  outline: 2px solid #b8d2ff !important;
  outline-offset: 4px;
}

.sundex-liquid-metal-fallback {
  background:
    radial-gradient(circle at 28% 20%, #fff 0%, #bfc3c8 18%, #27292d 43%, #f1f2f3 67%, #73767b 100%) !important;
}

.sundex-liquid-ripple {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 70%);
  animation: sundex-liquid-ripple 600ms ease-out both;
}

@keyframes sundex-liquid-ripple {
  from { opacity: 0.65; transform: translate(-50%, -50%) scale(0); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(4); }
}

@media (prefers-reduced-motion: reduce) {
  .sundex-liquid-metal {
    transition-duration: 0.01ms !important;
  }

  .sundex-liquid-ripple {
    display: none;
  }
}

/* Cinematic exchange network */
.sundex-cinematic-network,
.sundex-cinematic-network * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-cinematic-network {
  position: relative;
  z-index: 1;
  min-height: 680px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #050811;
  color: #f7f9fc;
}

.scn-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(ellipse 70% 48% at 50% 58%, rgba(63, 105, 180, 0.23), transparent 60%),
    radial-gradient(ellipse 42% 28% at 80% 22%, rgba(84, 121, 187, 0.09), transparent 72%),
    linear-gradient(180deg, #050811 0%, #070b14 52%, #03050b 100%);
}

.scn-stars {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.36;
  background-image:
    radial-gradient(circle at 11% 22%, #c9dcff 0 1px, transparent 1.5px),
    radial-gradient(circle at 23% 38%, #c9dcff 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 39% 14%, #fff 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 58% 29%, #c9dcff 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 12%, #fff 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 88% 34%, #c9dcff 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 94% 18%, #fff 0 0.7px, transparent 1.2px);
}

.scn-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.scn-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.08), transparent 42%, rgba(3, 5, 11, 0.58) 82%, #03050b 100%);
  pointer-events: none;
}

.scn-planet {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(112vw, 1540px);
  aspect-ratio: 2.08 / 1;
  transform: translate(-50%, -8%);
}

.scn-planet-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 197, 241, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 62% 35% at 50% 0%, rgba(131, 170, 231, 0.15), transparent 70%),
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 52px, rgba(140, 173, 224, 0.055) 53px 54px),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(140, 173, 224, 0.04) 91px 92px),
    #070b13;
  box-shadow: inset 0 46px 90px rgba(101, 143, 212, 0.1), inset 0 -80px 140px rgba(0, 0, 0, 0.72);
}

.scn-planet-glow {
  position: absolute;
  top: -4px;
  right: 4%;
  left: 4%;
  height: 22%;
  border-radius: 50%;
  background: rgba(108, 154, 230, 0.15);
  filter: blur(35px);
  animation: scn-horizon 5.5s ease-in-out infinite alternate;
}

.scn-scan {
  position: absolute;
  top: 2%;
  left: 13%;
  width: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 230, 255, 0.85), transparent);
  box-shadow: 0 0 24px rgba(129, 172, 241, 0.7);
  animation: scn-scan 7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.scn-network {
  position: absolute;
  inset: 10% -4% auto;
  width: 108%;
  height: 78%;
  overflow: visible;
}

.scn-arcs path {
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.scn-arcs path:nth-child(2) { opacity: 0.46; }
.scn-arcs path:nth-child(3) { opacity: 0.25; }

.scn-nodes circle {
  animation: scn-node 2.8s ease-in-out infinite alternate;
}

.scn-nodes circle:nth-child(2) { animation-delay: -0.8s; }
.scn-nodes circle:nth-child(3) { animation-delay: -1.5s; }
.scn-nodes circle:nth-child(4) { animation-delay: -2.1s; }

.scn-live {
  position: absolute;
  top: clamp(100px, 13vh, 140px);
  right: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(225, 234, 248, 0.72);
  font-size: 0.75rem;
}

.scn-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8c8ff;
  box-shadow: 0 0 0 5px rgba(128, 170, 239, 0.08), 0 0 18px rgba(128, 170, 239, 0.7);
}

.scn-coordinates {
  position: absolute;
  top: 45%;
  color: rgba(166, 184, 211, 0.45);
  font-size: 0.64rem;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.scn-coordinates-left { left: clamp(24px, 4vw, 64px); }
.scn-coordinates-right { right: clamp(24px, 4vw, 64px); text-align: right; }

.scn-content {
  position: absolute;
  z-index: 3;
  inset: auto clamp(24px, 5vw, 76px) clamp(98px, 12vh, 132px);
}

.scn-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: rgba(232, 238, 248, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
}

.scn-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b2cfff;
  box-shadow: 0 0 18px rgba(130, 175, 247, 0.55);
}

.scn-content h2 {
  max-width: 1120px;
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(3rem, 6.7vw, 6rem);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}

.scn-content-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-top: clamp(28px, 4.5vh, 44px);
}

.scn-content-bottom > p {
  max-width: 560px;
  margin: 0;
  color: rgba(219, 228, 242, 0.69);
  font-size: clamp(0.94rem, 1.25vw, 1.05rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.scn-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.scn-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 550;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, border-color 220ms ease;
}

.scn-button:hover { transform: translateY(-2px); }
.scn-button:active { transform: scale(0.985); }
.scn-button-primary { background: #f7f9fc; color: #10141b; }
.scn-button-primary:hover { background: #fff; }
.scn-button-secondary { border-color: rgba(221, 231, 246, 0.17); background: rgba(215, 228, 248, 0.055); color: #e8eef8; }
.scn-button-secondary:hover { border-color: rgba(221, 231, 246, 0.3); background: rgba(215, 228, 248, 0.1); }

.scn-button:focus-visible {
  outline: 2px solid #b2cfff;
  outline-offset: 4px;
}

.scn-footer {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 5vw, 76px);
  bottom: 30px;
  left: clamp(24px, 5vw, 76px);
  display: flex;
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(179, 199, 229, 0.12);
  color: rgba(173, 190, 216, 0.55);
  font-size: 0.7rem;
}

@keyframes scn-horizon {
  to { opacity: 0.55; transform: scaleX(0.94); }
}

@keyframes scn-scan {
  0%, 16% { opacity: 0; transform: translateX(0); }
  30% { opacity: 1; }
  72% { opacity: 0.8; }
  88%, 100% { opacity: 0; transform: translateX(220%); }
}

@keyframes scn-node {
  to { opacity: 0.42; transform: scale(0.7); transform-origin: center; }
}

@media (max-width: 880px) {
  .sundex-cinematic-network {
    min-height: 720px;
    height: 100svh;
  }

  .scn-planet {
    top: 34%;
    width: 150vw;
  }

  .scn-network {
    inset: 13% -30% auto;
    width: 160%;
  }

  .scn-coordinates { display: none; }

  .scn-content {
    bottom: 94px;
  }

  .scn-content-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .scn-content h2 {
    max-width: 760px;
    font-size: clamp(3rem, 10vw, 5rem);
  }
}

@media (max-width: 560px) {
  .sundex-cinematic-network {
    min-height: 720px;
    height: 100svh;
  }

  .scn-live {
    top: 86px;
    right: 20px;
  }

  .scn-planet {
    top: 27%;
    width: 210vw;
  }

  .scn-network {
    inset: 8% -65% auto;
    width: 230%;
  }

  .scn-content {
    right: 20px;
    bottom: 88px;
    left: 20px;
  }

  .scn-kicker {
    margin-bottom: 15px;
    font-size: 0.76rem;
  }

  .scn-content h2 {
    font-size: clamp(2.65rem, 13.5vw, 4.2rem);
    line-height: 0.98;
  }

  .scn-content-bottom {
    gap: 24px;
    margin-top: 24px;
  }

  .scn-content-bottom > p {
    max-width: 95%;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .scn-actions {
    width: 100%;
  }

  .scn-button {
    min-height: 46px;
    flex: 1;
    padding-inline: 14px;
    font-size: 0.76rem;
  }

  .scn-footer {
    right: 20px;
    bottom: 24px;
    left: 20px;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.6rem;
  }

  .scn-footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scn-planet-glow,
  .scn-scan,
  .scn-nodes circle {
    animation: none;
  }

  .scn-travellers {
    display: none;
  }

  .scn-button {
    transition-duration: 0.01ms;
  }
}

/* SUNDEX account access */
body.sundex-auth-mounted {
  --sax-bg: #050812;
  --sax-surface: #0d1420;
  --sax-surface-raised: #121b29;
  --sax-line: rgba(187, 205, 232, 0.14);
  --sax-ink: #f6f8fb;
  --sax-muted: #a9b5c7;
  --sax-accent: #98baff;
  margin: 0;
  background: var(--sax-bg);
  color: var(--sax-ink);
  overflow-x: clip;
}

body.sundex-auth-mounted,
body.sundex-auth-mounted button,
body.sundex-auth-mounted input {
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif !important;
}

.sax-shell,
.sax-shell * {
  box-sizing: border-box;
}

.sax-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(480px, 0.82fr) !important;
  min-height: 100dvh !important;
  overflow: visible;
  background: var(--sax-bg) !important;
  color: var(--sax-ink);
}

.sax-visual {
  position: relative !important;
  display: block !important;
  width: auto !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
  border-right: 1px solid var(--sax-line);
  background:
    radial-gradient(circle at 48% 43%, rgba(90, 132, 211, 0.16), transparent 30%),
    radial-gradient(circle at 72% 8%, rgba(90, 124, 190, 0.1), transparent 25%),
    #080d17 !important;
}

.sax-visual > :not([data-sax-visual]) {
  display: none !important;
}

.sax-scene {
  position: absolute;
  inset: 0;
  isolation: isolate;
  padding: clamp(28px, 4.2vw, 64px);
}

.sax-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(174, 197, 230, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 197, 230, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.sax-scene::after {
  content: "";
  position: absolute;
  inset: auto -15% -34% 12%;
  z-index: -1;
  height: 62%;
  border-radius: 50%;
  background: rgba(82, 119, 188, 0.11);
  filter: blur(80px);
}

.sax-brand,
.sax-panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--sax-ink) !important;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-decoration: none;
}

.sax-brand img,
.sax-panel-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) brightness(3.2);
}

.sax-panel-brand {
  display: none;
}

.sax-orbit {
  position: absolute;
  top: 43%;
  left: 52%;
  width: min(37vw, 500px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.sax-orbit::before,
.sax-orbit::after,
.sax-orbit-ring {
  content: "";
  position: absolute;
  border: 1px solid rgba(170, 197, 239, 0.16);
  border-radius: 50%;
}

.sax-orbit::before { inset: 0; }
.sax-orbit::after { inset: 17%; border-color: rgba(170, 197, 239, 0.22); }
.sax-orbit-ring-one { inset: 33%; border-color: rgba(185, 207, 242, 0.28); }
.sax-orbit-ring-two {
  inset: 7%;
  border-style: dashed;
  border-color: rgba(170, 197, 239, 0.13);
  animation: sax-orbit 32s linear infinite;
}

.sax-orbit-core {
  position: absolute;
  inset: 39%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193, 213, 245, 0.22);
  border-radius: 50%;
  background: #101928;
  box-shadow: 0 0 50px rgba(112, 153, 222, 0.18), inset 0 0 24px rgba(173, 202, 248, 0.05);
}

.sax-orbit-core img {
  width: 43%;
  height: 43%;
  object-fit: contain;
  filter: grayscale(1) brightness(3.2);
}

.sax-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9dcff;
  box-shadow: 0 0 20px rgba(137, 176, 242, 0.65);
}

.sax-orbit-dot-one { top: 15.5%; left: 21%; }
.sax-orbit-dot-two { right: 7.5%; bottom: 36%; width: 5px; height: 5px; opacity: 0.7; }

.sax-message {
  position: absolute;
  left: clamp(28px, 4.2vw, 64px);
  bottom: clamp(90px, 12vh, 132px);
  max-width: 590px;
}

.sax-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #c4cfdf;
  font-size: 0.8125rem;
  font-weight: 520;
}

.sax-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9c8ff;
  box-shadow: 0 0 0 5px rgba(132, 175, 246, 0.09);
}

.sax-message h2 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}

.sax-message > p:last-child {
  max-width: 480px;
  margin: 24px 0 0;
  color: #aebacc;
  font-size: 0.975rem;
  line-height: 1.65;
}

.sax-rail {
  position: absolute;
  right: clamp(28px, 4.2vw, 64px);
  bottom: 34px;
  left: clamp(28px, 4.2vw, 64px);
  display: flex;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--sax-line);
  color: #8290a5;
  font-size: 0.75rem;
}

.sax-panel {
  position: relative !important;
  display: flex !important;
  min-width: 0;
  align-items: center !important;
  justify-content: center !important;
  padding: 72px clamp(38px, 5vw, 84px) !important;
  background:
    radial-gradient(circle at 110% -10%, rgba(91, 129, 197, 0.1), transparent 34%),
    var(--sax-bg) !important;
}

.sax-card {
  width: min(100%, 448px) !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sax-ink) !important;
}

.sax-card > div:first-child {
  margin-bottom: 34px !important;
}

.sax-card h1 {
  margin: 0 0 11px !important;
  color: #f7f9fc !important;
  font-size: 2.35rem !important;
  font-weight: 560 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}

.sax-card h1 + p {
  margin: 0 !important;
  color: var(--sax-muted) !important;
  font-size: 0.975rem !important;
  line-height: 1.55 !important;
}

.sax-form {
  display: flex !important;
  flex-direction: column;
  gap: 22px !important;
}

.sax-form > div {
  margin: 0 !important;
}

.sax-form label {
  display: block;
  color: #dce4ef !important;
  font-size: 0.8125rem !important;
  font-weight: 520 !important;
}

.sax-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  height: 58px !important;
  margin-top: 9px !important;
  padding: 0 17px !important;
  border: 1px solid rgba(181, 202, 232, 0.16) !important;
  border-radius: 14px !important;
  outline: none !important;
  background: #0d1420 !important;
  color: #f7f9fc !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset !important;
  font-size: 1rem !important;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease !important;
}

.sax-form input:not([type="checkbox"]):not([type="radio"])::placeholder {
  color: #7f8ca1 !important;
  opacity: 1;
}

.sax-form input:not([type="checkbox"]):not([type="radio"]):hover {
  border-color: rgba(190, 211, 242, 0.28) !important;
  background: #101824 !important;
}

.sax-form input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: rgba(145, 183, 248, 0.72) !important;
  background: #101824 !important;
  box-shadow: 0 0 0 4px rgba(99, 148, 232, 0.13) !important;
}

.sax-form input[type="checkbox"],
.sax-form input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex: 0 0 18px;
  accent-color: #9bbdff;
}

.sax-form button[type="submit"] {
  width: 100% !important;
  height: 56px !important;
  margin-top: 4px !important;
  border: 1px solid #f7f9fc !important;
  border-radius: 14px !important;
  background: #f7f9fc !important;
  color: #0a0e16 !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2) !important;
  font-size: 0.9375rem !important;
  font-weight: 640 !important;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, opacity 180ms ease !important;
}

.sax-form button[type="submit"]:hover:not(:disabled) {
  background: #fff !important;
  transform: translateY(-1px);
}

.sax-form button[type="submit"]:active:not(:disabled) {
  transform: scale(0.985);
}

.sax-form button[type="submit"]:focus-visible,
.sax-card button:not([type="submit"]):focus-visible,
.sax-panel-brand:focus-visible,
.sax-brand:focus-visible {
  outline: 2px solid #a9c8ff !important;
  outline-offset: 4px;
}

.sax-form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.45 !important;
}

.sax-card button:not([type="submit"]) {
  color: #aab8cb !important;
  font-size: 0.875rem !important;
  font-weight: 470 !important;
  text-decoration: none !important;
  transition: color 180ms ease !important;
}

.sax-card button:not([type="submit"]):hover {
  color: #f4f7fb !important;
}

.sax-card [class*="border-t"] {
  border-color: var(--sax-line) !important;
}

.sax-trust {
  position: absolute;
  right: clamp(38px, 5vw, 84px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #78869a;
  font-size: 0.72rem;
}

.sax-trust span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb6f8;
  box-shadow: 0 0 0 4px rgba(113, 161, 240, 0.08);
}

.sax-chat {
  border: 1px solid rgba(184, 204, 233, 0.16) !important;
  background: #121b29 !important;
  color: #f3f7fd !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34) !important;
}

@keyframes sax-orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .sax-shell {
    display: flex !important;
    min-height: 100dvh !important;
  }

  .sax-visual {
    display: none !important;
  }

  .sax-panel {
    width: 100%;
    min-height: 100dvh;
    padding: 104px 28px 72px !important;
    align-items: center !important;
  }

  .sax-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(174, 197, 230, 0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(174, 197, 230, 0.12) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 58%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 58%);
  }

  .sax-panel-brand {
    position: absolute;
    top: 30px;
    left: 28px;
    z-index: 1;
    display: inline-flex;
  }

  .sax-card {
    position: relative;
    z-index: 1;
  }

  .sax-trust {
    right: auto;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .sax-panel {
    justify-content: flex-start !important;
    padding: max(108px, calc(env(safe-area-inset-top) + 88px)) 20px max(68px, calc(env(safe-area-inset-bottom) + 52px)) !important;
  }

  .sax-panel-brand {
    top: max(24px, calc(env(safe-area-inset-top) + 12px));
    left: 20px;
  }

  .sax-card h1 {
    font-size: 2rem !important;
  }

  .sax-card > div:first-child {
    margin-bottom: 28px !important;
  }

  .sax-form {
    gap: 19px !important;
  }

  .sax-form input:not([type="checkbox"]):not([type="radio"]) {
    height: 56px !important;
  }

  .sax-chat {
    right: 16px !important;
    bottom: 16px !important;
    width: 46px !important;
    height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sax-orbit-ring-two {
    animation: none;
  }

  .sax-form input:not([type="checkbox"]):not([type="radio"]),
  .sax-form button[type="submit"] {
    transition-duration: 0.01ms !important;
  }
}

body.sundex-auth-mounted .sax-form button[type="submit"].sundex-liquid-metal {
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #777a7f !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.38),
    0 12px 6px rgba(0, 0, 0, 0.05),
    0 8px 5px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Machined SUNDEX interface */
body.sundex-cinematic-second-mounted #root {
  --ex-bg: #07090d;
  --ex-dark: #050609;
  --ex-ink: #edf1f6;
  --ex-muted: #8e98a7;
  --ex-line: #242a34;
  background: #07090d;
  color: #edf1f6;
}

.smi-nav-pill,
body.sundex-cinematic-second-mounted #root .exchange-nav {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(13, 16, 22, 0.96), rgba(5, 7, 11, 0.98)) padding-box,
    linear-gradient(120deg, rgba(226, 232, 241, 0.46), rgba(55, 64, 77, 0.28) 34%, rgba(132, 145, 165, 0.5) 67%, rgba(31, 37, 47, 0.75)) border-box !important;
  box-shadow:
    0 9px 26px rgba(0, 0, 0, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -2px 4px rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.smi-nav-pill {
  padding: 4px !important;
}

.smi-nav-pill a,
body.sundex-cinematic-second-mounted #root .exchange-nav a {
  border-radius: 999px !important;
  color: rgba(204, 211, 222, 0.62) !important;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.sundex-cinematic-second-mounted #root .exchange-nav {
  gap: 3px !important;
  padding: 4px !important;
}

body.sundex-cinematic-second-mounted #root .exchange-nav a {
  padding: 8px 13px !important;
  font-size: 0.72rem !important;
}

.smi-nav-pill a:hover,
body.sundex-cinematic-second-mounted #root .exchange-nav a:hover {
  background: rgba(255, 255, 255, 0.055) !important;
  color: #f2f5f9 !important;
  transform: translateY(-1px);
}

.smi-nav-pill a.is-active {
  background:
    radial-gradient(ellipse 120% 90% at 50% -35%, #fff, transparent 58%),
    linear-gradient(180deg, #edf0f4, #aab2bd) !important;
  color: #11151b !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(38, 45, 56, 0.22),
    0 2px 5px rgba(0, 0, 0, 0.34) !important;
}

.smi-account,
.smi-language-trigger,
.smi-menu-button,
body.sundex-cinematic-second-mounted #root .exchange-login,
body.sundex-cinematic-second-mounted #root .exchange-language,
body.sundex-cinematic-second-mounted #root .exchange-menu-button {
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(19, 23, 31, 0.97), rgba(6, 8, 12, 0.98)) padding-box,
    linear-gradient(125deg, rgba(200, 211, 227, 0.32), rgba(42, 49, 60, 0.45), rgba(122, 136, 156, 0.35)) border-box !important;
  color: rgba(220, 226, 235, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -2px 3px rgba(0, 0, 0, 0.64), 0 5px 14px rgba(0, 0, 0, 0.22) !important;
}

.smi-account,
body.sundex-cinematic-second-mounted #root .exchange-login {
  min-height: 38px;
  padding-inline: 15px !important;
  border-radius: 999px !important;
}

body.sundex-cinematic-second-mounted #root .exchange-language {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border-radius: 50% !important;
  letter-spacing: 0.06em !important;
}

.smi-menu-button,
body.sundex-cinematic-second-mounted #root .exchange-menu-button {
  border-radius: 12px !important;
}

.smi-menu-button:hover,
.smi-account:hover,
.smi-language-trigger:hover,
body.sundex-cinematic-second-mounted #root .exchange-login:hover,
body.sundex-cinematic-second-mounted #root .exchange-language:hover,
body.sundex-cinematic-second-mounted #root .exchange-menu-button:hover {
  color: #f4f7fb !important;
  filter: brightness(1.12);
}

.smi-button-light.sundex-liquid-metal::before,
.scn-button-primary.sundex-liquid-metal::before,
body.sundex-cinematic-second-mounted #root .exchange-header-cta.sundex-liquid-metal::before,
body.sundex-cinematic-second-mounted #root .exchange-final-cta .sundex-liquid-metal::before,
body.sundex-auth-mounted .sax-form button[type="submit"].sundex-liquid-metal::before {
  background: linear-gradient(180deg, #172131 0%, #0a0e16 38%, #030509 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(198, 219, 249, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(0, 0, 0, 0.72) !important;
}

.smi-button-light.sundex-liquid-metal,
.scn-button-primary.sundex-liquid-metal,
body.sundex-cinematic-second-mounted #root .exchange-header-cta.sundex-liquid-metal,
body.sundex-cinematic-second-mounted #root .exchange-final-cta .sundex-liquid-metal,
body.sundex-auth-mounted .sax-form button[type="submit"].sundex-liquid-metal {
  color: #e8eef8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.52),
    0 12px 22px rgba(0, 0, 0, 0.26),
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(103, 142, 207, 0.08) !important;
}

.smi-button-glass,
.scn-button-secondary,
body.sundex-cinematic-second-mounted #root .product-copy > a {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, #121720, #06080d) padding-box,
    linear-gradient(125deg, rgba(189, 202, 222, 0.36), rgba(44, 52, 65, 0.4), rgba(113, 128, 150, 0.32)) border-box !important;
  color: rgba(225, 231, 240, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -2px 4px rgba(0, 0, 0, 0.72),
    0 7px 18px rgba(0, 0, 0, 0.2) !important;
}

body.sundex-cinematic-second-mounted #root .product-copy > a {
  min-height: 40px;
  padding: 0 17px;
}

.smi-button-glass:hover,
.scn-button-secondary:hover,
body.sundex-cinematic-second-mounted #root .product-copy > a:hover {
  color: #fff !important;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.scn-kicker,
.scn-live {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(13, 17, 24, 0.9), rgba(4, 6, 10, 0.94)) padding-box,
    linear-gradient(125deg, rgba(191, 205, 226, 0.28), rgba(42, 50, 63, 0.32), rgba(111, 128, 153, 0.24)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 6px 20px rgba(0, 0, 0, 0.16);
}

.scn-live {
  padding: 8px 11px;
}

body.sundex-cinematic-second-mounted #root .exchange-header {
  display: none !important;
}

body.sundex-cinematic-second-mounted #root .exchange-header-inner {
  gap: 22px !important;
}

body.sundex-cinematic-second-mounted #root .exchange-logo img,
body.sundex-cinematic-second-mounted #root .exchange-footer-logo img {
  filter: grayscale(1) brightness(2.7) contrast(0.9) !important;
}

body.sundex-cinematic-second-mounted #root main,
body.sundex-cinematic-second-mounted #root .exchange-section,
body.sundex-cinematic-second-mounted #root .exchange-products,
body.sundex-cinematic-second-mounted #root .exchange-safety {
  background: #07090d !important;
  color: #edf1f6 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-section-kicker {
  color: #9fb8de !important;
}

body.sundex-cinematic-second-mounted #root .market-table-widget,
body.sundex-cinematic-second-mounted #root .product-module,
body.sundex-cinematic-second-mounted #root .exchange-safety-grid,
body.sundex-cinematic-second-mounted #root .exchange-final-cta-inner {
  border: 1px solid transparent !important;
  background:
    linear-gradient(145deg, #0e1219, #07090e 58%, #05070b) padding-box,
    linear-gradient(125deg, rgba(185, 200, 222, 0.32), rgba(42, 50, 64, 0.38) 38%, rgba(113, 128, 150, 0.27) 72%, rgba(26, 31, 40, 0.52)) border-box !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -3px 8px rgba(0, 0, 0, 0.48) !important;
}

body.sundex-cinematic-second-mounted #root .market-table-header {
  background: #0a0d12 !important;
  color: #697586 !important;
}

body.sundex-cinematic-second-mounted #root .market-table-tabs,
body.sundex-cinematic-second-mounted #root .market-table-row,
body.sundex-cinematic-second-mounted #root .market-table-footer {
  border-color: #242a34 !important;
}

body.sundex-cinematic-second-mounted #root .market-table-tabs button {
  color: #6f7987 !important;
}

body.sundex-cinematic-second-mounted #root .market-table-tabs button.active {
  color: #eef2f7 !important;
}

body.sundex-cinematic-second-mounted #root .market-table-tabs button.active::after {
  background: linear-gradient(90deg, #829dcc, #d4dfef) !important;
  box-shadow: 0 0 12px rgba(126, 157, 210, 0.34);
}

body.sundex-cinematic-second-mounted #root .product-copy h3,
body.sundex-cinematic-second-mounted #root .exchange-products-heading h2,
body.sundex-cinematic-second-mounted #root .exchange-safety-heading h2 {
  color: #eef2f7 !important;
}

body.sundex-cinematic-second-mounted #root .product-copy > p,
body.sundex-cinematic-second-mounted #root .exchange-products-heading p,
body.sundex-cinematic-second-mounted #root .product-copy li,
body.sundex-cinematic-second-mounted #root .exchange-safety-grid p {
  color: #8e98a7 !important;
}

body.sundex-cinematic-second-mounted #root .product-copy li svg {
  color: #93afd9 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-safety-grid {
  gap: 1px;
  background: #242a34 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-safety-grid > div {
  background: #0b0e14 !important;
  color: #edf1f6 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-final-cta,
body.sundex-cinematic-second-mounted #root .exchange-footer {
  background: #040609 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-final-cta-inner {
  color: #eef2f7 !important;
}

body.sundex-cinematic-second-mounted #root .exchange-footer {
  border-top: 1px solid rgba(147, 163, 186, 0.14);
}

body.sundex-cinematic-second-mounted #root > button[class*="fixed"] {
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, #121821, #05070b) padding-box,
    linear-gradient(135deg, #aebdce, #323a47 45%, #8292a8) border-box !important;
  color: #dce5f2 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.smi-mobile-menu,
body.sundex-cinematic-second-mounted #root .exchange-mobile-menu {
  border-color: rgba(150, 166, 190, 0.16) !important;
  background: rgba(5, 7, 11, 0.98) !important;
}

.sax-form input:not([type="checkbox"]):not([type="radio"]) {
  border-color: rgba(164, 181, 207, 0.22) !important;
  background: linear-gradient(180deg, #101620, #090d14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), inset 0 -2px 5px rgba(0, 0, 0, 0.34) !important;
}

@media (max-width: 1023px) {
  .smi-nav {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smi-nav-pill a,
  body.sundex-cinematic-second-mounted #root .exchange-nav a,
  .smi-account,
  .smi-language-trigger,
  .smi-menu-button,
  .smi-button-glass,
  .scn-button-secondary,
  body.sundex-cinematic-second-mounted #root .product-copy > a {
    transition-duration: 0.01ms !important;
  }
}

/* Object-led market composition */
.sundex-market-explorer.sme-object-market {
  min-height: max(720px, 100svh);
  background: #05070a;
}

.sme-object-market::before {
  inset: -2%;
  background: url("/assets/intro-hero-base-sundex.webp") 62% bottom / cover no-repeat;
  opacity: 0.26;
  filter: grayscale(0.72) saturate(0.58) brightness(0.68) contrast(1.1);
}

.sme-object-market::after {
  background:
    linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.93) 28%, rgba(5, 7, 10, 0.5) 62%, rgba(5, 7, 10, 0.78) 100%),
    linear-gradient(180deg, #05070a 0%, transparent 22%, transparent 78%, #05070a 100%);
}

.sme-object-market .sme-scene { display: none; }

.sme-object-market .sme-shell {
  min-height: max(720px, 100svh);
  padding: clamp(92px, 10vh, 124px) clamp(28px, 5vw, 78px) clamp(32px, 5vh, 62px);
}

.sme-object-market .sme-layout {
  grid-template-columns: minmax(320px, 0.76fr) minmax(620px, 1.24fr);
  gap: clamp(28px, 4vw, 72px);
}

.sme-object-market .sme-copy {
  max-width: 510px;
  min-height: min(580px, calc(100svh - 195px));
  padding: 0;
}

.sme-object-market .sme-copy h2 {
  max-width: 510px;
  color: #f1f3f6;
  font-size: clamp(4rem, 5.25vw, 5.8rem);
  font-weight: 545;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.sme-object-market .sme-copy-text {
  max-width: 385px;
  margin-top: 30px;
  color: rgba(218, 224, 232, 0.65);
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  font-weight: 430;
  line-height: 1.62;
}

.sme-object-market .sme-market-note {
  display: grid;
  width: min(100%, 385px);
  grid-template-columns: 1fr auto;
  gap: 22px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid rgba(219, 226, 236, 0.14);
  color: rgba(208, 217, 229, 0.43);
  font-size: 0.72rem;
  font-weight: 470;
}

.sme-object-market .sme-carousel {
  min-height: min(690px, calc(100svh - 150px));
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(520px, 1fr) auto;
}

.sme-object-market .sme-fan {
  min-height: min(610px, calc(100svh - 220px));
  perspective: 1600px;
}

.sme-object-market .sme-fan::before {
  bottom: 5%;
  width: min(70%, 600px);
  height: 68px;
  background: rgba(0, 0, 0, 0.68);
  filter: blur(24px);
  opacity: 0.66;
}

.sme-object-market .sme-card {
  top: 48%;
  width: clamp(470px, 42vw, 560px);
  height: clamp(416px, 58vh, 486px);
  min-height: 416px;
  padding: clamp(24px, 2vw, 30px);
  border-color: transparent;
  border-radius: 22px;
  background:
    linear-gradient(148deg, rgba(24, 28, 35, 0.985), rgba(8, 10, 14, 0.995) 62%, rgba(4, 6, 9, 0.998)) padding-box,
    linear-gradient(145deg, rgba(229, 234, 241, 0.26), rgba(92, 102, 117, 0.09) 36%, rgba(11, 14, 19, 0.72) 68%, rgba(181, 191, 205, 0.17)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 -1px 0 rgba(0, 0, 0, 0.84), 0 32px 76px rgba(0, 0, 0, 0.56);
  transform-origin: 50% 94%;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease, filter 480ms ease, box-shadow 280ms ease;
}

.sme-object-market .sme-card::before {
  inset: 0;
  border-radius: 21px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.028), transparent 34%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 5px);
  opacity: 0.55;
}

.sme-object-market .sme-card::after,
.sme-object-market .sme-card-light { display: none; }

.sme-object-market .sme-card.is-active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), inset 0 -1px 0 rgba(0, 0, 0, 0.9), 0 42px 100px rgba(0, 0, 0, 0.65);
}

.sme-object-market .sme-card:not(.is-active) .sme-card-quote,
.sme-object-market .sme-card:not(.is-active) .sme-card-foot {
  opacity: 0;
  transform: translateY(8px);
}

.sme-object-market .sme-card-head {
  min-height: 42px;
  align-items: flex-start;
}

.sme-object-market .sme-card-name {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sme-object-market .sme-card-name strong {
  color: rgba(240, 243, 247, 0.9);
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.sme-object-market .sme-card-name small {
  color: rgba(205, 214, 226, 0.38);
  font-size: 0.62rem;
  font-weight: 540;
  letter-spacing: 0.06em;
}

.sme-object-market .sme-card-rank {
  color: rgba(211, 220, 232, 0.34);
  font-size: 0.68rem;
  font-weight: 520;
  letter-spacing: 0.04em;
}

.sme-object-market .sme-card-art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: clamp(120px, 18vh, 156px);
  place-items: center;
  overflow: hidden;
  margin-top: 4px;
}

.sme-object-market .sme-card-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(227, 233, 241, 0.032);
  font-size: clamp(6.5rem, 10vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.8;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.sme-object-market .sme-card-logo {
  position: relative;
  width: clamp(66px, 6vw, 82px);
  height: clamp(66px, 6vw, 82px);
  border: 0;
  border-radius: 50%;
  background: rgba(247, 248, 250, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.sme-object-market .sme-card-logo img {
  width: 70%;
  height: 70%;
}

.sme-object-market .sme-card-quote {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 18px;
  transition: opacity 240ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-object-market .sme-card-quote > span {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: rgba(202, 212, 225, 0.4);
  font-size: 0.66rem;
  font-weight: 480;
}

.sme-object-market .sme-card-quote > strong {
  overflow: hidden;
  color: #f0f3f7;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-object-market .sme-card-quote > small {
  padding-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 560;
  white-space: nowrap;
}

.sme-object-market .sme-card-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(206, 216, 229, 0.12);
  color: inherit;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  transition: opacity 240ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-object-market .sme-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
  margin: 0;
  padding: 0;
  border: 0;
}

.sme-object-market .sme-card-metrics div + div {
  padding: 0;
  border: 0;
}

.sme-object-market .sme-card-metrics dt {
  color: rgba(196, 207, 221, 0.35);
  font-size: 0.59rem;
  font-weight: 470;
  letter-spacing: 0;
  text-transform: none;
}

.sme-object-market .sme-card-metrics dd {
  margin-top: 6px;
  color: rgba(233, 238, 245, 0.8);
  font-size: 0.76rem;
  font-weight: 540;
}

.sme-object-market .sme-buy {
  min-width: 100px;
  min-height: 40px;
  gap: 0;
  padding: 0 18px;
  border-radius: 999px;
  color: #e9edf3;
  font-size: 0.7rem;
  background: linear-gradient(180deg, #15191f, #07090c) padding-box, linear-gradient(140deg, rgba(221, 227, 235, 0.56), rgba(53, 59, 69, 0.52) 55%, rgba(147, 156, 169, 0.54)) border-box;
}

.sme-object-market .sme-carousel-footer {
  width: min(100%, 520px);
  grid-template-columns: 40px minmax(220px, 1fr) 40px;
  gap: 15px;
  margin-top: -2px;
}

.sme-object-market .sme-arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(222, 228, 237, 0.58);
  box-shadow: none;
}

.sme-object-market .sme-arrow:hover,
.sme-object-market .sme-arrow:focus-visible {
  color: #f5f7fa;
  filter: none;
  transform: translateX(0);
}

.sme-object-market .sme-search {
  display: grid;
  height: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(207, 217, 230, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sme-object-market .sme-search input {
  height: 38px;
  color: #edf1f6;
  font-size: 0.78rem;
}

.sme-object-market .sme-search input::placeholder {
  color: rgba(211, 220, 232, 0.48);
}

.sme-object-market .sme-search:focus-within {
  border-color: rgba(228, 234, 242, 0.56);
  background: transparent;
}

.sme-object-market .sme-search kbd {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(208, 217, 229, 0.34);
}

.sme-object-market .sme-carousel-count { display: none; }

@media (max-width: 1100px) {
  .sme-object-market .sme-layout { grid-template-columns: minmax(280px, 0.68fr) minmax(540px, 1.32fr); gap: 18px; }
  .sme-object-market .sme-card { width: clamp(450px, 48vw, 520px); }
}

@media (max-width: 900px) {
  .sme-object-market .sme-shell { padding: 112px 24px 56px; }
  .sme-object-market .sme-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sme-object-market .sme-copy { max-width: 620px; min-height: auto; }
  .sme-object-market .sme-copy h2 { font-size: clamp(3.7rem, 10vw, 5.4rem); }
  .sme-object-market .sme-market-note { margin-top: 34px; }
  .sme-object-market .sme-carousel { min-height: 610px; grid-template-rows: 540px auto; }
  .sme-object-market .sme-fan { min-height: 540px; }
  .sme-object-market .sme-card { top: 48%; width: min(540px, 72vw); height: 456px; }
}

@media (max-width: 620px) {
  .sme-object-market .sme-shell { padding: 102px 16px 46px; }
  .sme-object-market .sme-copy { padding-inline: 7px; }
  .sme-object-market .sme-copy h2 { font-size: clamp(3.2rem, 15.5vw, 4.25rem); line-height: 0.95; }
  .sme-object-market .sme-copy-text { max-width: 335px; margin-top: 23px; font-size: 0.94rem; }
  .sme-object-market .sme-market-note { width: 100%; grid-template-columns: 1fr; gap: 7px; margin-top: 28px; }
  .sme-object-market .sme-market-note span:last-child { display: none; }
  .sme-object-market .sme-carousel { min-height: 620px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 548px auto; }
  .sme-object-market .sme-fan { width: 100%; min-height: 548px; }
  .sme-object-market .sme-card { top: 49%; width: min(318px, calc(100vw - 44px)); height: 458px; min-height: 458px; padding: 22px; border-radius: 20px; }
  .sme-object-market .sme-card-art { min-height: 138px; }
  .sme-object-market .sme-card-symbol { font-size: 6.4rem; }
  .sme-object-market .sme-card-logo { width: 68px; height: 68px; }
  .sme-object-market .sme-card-quote > strong { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .sme-object-market .sme-card-foot { gap: 16px; }
  .sme-object-market .sme-card-metrics { gap: 14px; }
  .sme-object-market .sme-buy { min-width: 88px; padding-inline: 14px; }
  .sme-object-market .sme-carousel-footer { width: calc(100% - 78px); grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; margin-right: auto; margin-left: 4px; }
  .sme-object-market .sme-arrow { width: 36px; height: 40px; }
  .sme-object-market .sme-search { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .sme-object-market .sme-card,
  .sme-object-market .sme-card-quote,
  .sme-object-market .sme-card-foot { transition-duration: 0.01ms !important; }
}

/* SUNDEX market stage v5: cinematic product scene, no dashboard framing. */
.sundex-market-explorer.sme-stage-v5,
.sundex-market-explorer.sme-stage-v5 * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-market-explorer.sme-stage-v5 {
  position: relative;
  z-index: 1;
  min-height: max(720px, 100svh);
  overflow: clip;
  background: #020306;
  color: #f5f7fa;
  isolation: isolate;
}

.sme-stage-v5::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -2.5%;
  background: url("/assets/sundex-market-stage-v1.jpg") 54% center / cover no-repeat;
  transform: scale(1.015);
  animation: sms-scene-breathe 18s ease-in-out infinite alternate;
}

.sme-stage-v5::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 3, 6, 0.98) 0%, rgba(2, 3, 6, 0.9) 28%, rgba(2, 3, 6, 0.52) 48%, rgba(2, 3, 6, 0.06) 72%, rgba(2, 3, 6, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 3, 6, 0.72) 0%, transparent 26%, transparent 62%, rgba(2, 3, 6, 0.92) 100%);
}

.sme-stage-v5 .sms-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 43%, rgba(166, 184, 210, 0.1), transparent 29%),
    radial-gradient(circle at 34% 74%, rgba(54, 75, 105, 0.16), transparent 38%);
  mix-blend-mode: screen;
}

.sme-stage-v5 .sms-shell {
  position: relative;
  width: min(100%, 1720px);
  min-height: max(720px, 100svh);
  margin: 0 auto;
  padding: clamp(86px, 9vh, 118px) clamp(28px, 5vw, 86px) 132px;
}

.sme-stage-v5 .sms-copy {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: calc(max(720px, 100svh) - 218px);
  width: min(43vw, 620px);
  flex-direction: column;
  justify-content: center;
}

.sme-stage-v5 .sms-copy h2 {
  max-width: 590px;
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(3.35rem, 5.25vw, 6.35rem);
  font-weight: 560;
  letter-spacing: -0.058em;
  line-height: 0.88;
  text-wrap: balance;
}

.sme-stage-v5 .sms-detail {
  width: min(100%, 540px);
  margin-top: clamp(40px, 6vh, 68px);
}

.sme-stage-v5 .sms-identity {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(235, 240, 247, 0.55);
}

.sme-stage-v5 .sms-identity strong {
  color: rgba(247, 249, 252, 0.92);
  font-size: 1rem;
  font-weight: 520;
}

.sme-stage-v5 .sms-identity span {
  font-size: 0.76rem;
  font-weight: 450;
}

.sme-stage-v5 .sms-ticker {
  margin-top: 9px;
  color: #f7f8fa;
  font-size: clamp(5rem, 8.5vw, 9.75rem);
  font-weight: 590;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.sme-stage-v5 .sms-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 23px;
}

.sme-stage-v5 .sms-price strong {
  color: rgba(246, 248, 251, 0.96);
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  font-weight: 510;
  letter-spacing: -0.045em;
}

.sme-stage-v5 .sms-price span {
  font-size: 0.84rem;
  font-weight: 520;
}

.sme-stage-v5 .sms-price .is-positive { color: #bce8c8; }
.sme-stage-v5 .sms-price .is-negative { color: #f1a9ad; }

.sme-stage-v5 .sms-facts {
  display: flex;
  gap: clamp(36px, 4vw, 68px);
  margin: 27px 0 0;
}

.sme-stage-v5 .sms-facts div {
  display: grid;
  gap: 5px;
}

.sme-stage-v5 .sms-facts dt {
  color: rgba(224, 231, 240, 0.48);
  font-size: 0.69rem;
  font-weight: 460;
}

.sme-stage-v5 .sms-facts dd {
  margin: 0;
  color: rgba(244, 247, 250, 0.9);
  font-size: 1rem;
  font-weight: 520;
}

.sme-stage-v5 .sms-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
}

.sme-stage-v5 .sms-actions > a {
  position: relative;
  display: inline-flex;
  min-width: 116px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(#0a0c10, #0a0c10) padding-box,
    linear-gradient(135deg, #f2f4f7 0%, #777f8b 24%, #272c34 48%, #d8dde4 78%, #6e7580 100%) border-box;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.16);
  color: #f7f8fa;
  font-size: 0.82rem;
  font-weight: 560;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
  border: 2px solid transparent;
}

.sme-stage-v5 .sms-actions > a:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.sme-stage-v5 .sms-actions > a:active { transform: translateY(0) scale(0.98); }

.sme-stage-v5 .sms-actions > span {
  color: rgba(220, 228, 238, 0.5);
  font-size: 0.69rem;
  font-weight: 450;
}

.sme-stage-v5 .sms-actions > span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #94d5a7;
  box-shadow: 0 0 14px rgba(148, 213, 167, 0.64);
  vertical-align: 1px;
}

.sme-stage-v5 .sms-actions > span.is-delayed::before {
  background: #cfbb8f;
  box-shadow: 0 0 14px rgba(207, 187, 143, 0.5);
}

.sme-stage-v5 .sms-emblem {
  position: absolute;
  z-index: 3;
  top: 47.4%;
  left: 74.5%;
  display: grid;
  width: clamp(86px, 8.4vw, 134px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.sme-stage-v5 .sms-emblem > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  background: radial-gradient(circle at 38% 30%, #eef1f5 0%, #abb1ba 34%, #5f6671 61%, #161a20 76%, #050608 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.62), inset 0 5px 12px rgba(255, 255, 255, 0.28), inset 0 -12px 20px rgba(0, 0, 0, 0.5);
}

.sme-stage-v5 .sms-emblem img {
  display: block;
  width: 54%;
  height: 54%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.32));
}

.sme-stage-v5 .sms-emblem img.has-error,
.sme-stage-v5 .sms-asset img.has-error { opacity: 0; }

.sme-stage-v5 .sms-dock {
  position: absolute;
  z-index: 8;
  right: clamp(28px, 5vw, 86px);
  bottom: 26px;
  left: clamp(28px, 5vw, 86px);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px minmax(190px, 238px);
  align-items: center;
  gap: 8px;
  min-height: 76px;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(18, 21, 27, 0.96), rgba(5, 7, 10, 0.96) 52%, rgba(20, 23, 29, 0.95));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.08), inset 0 -3px 7px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(0.8);
  -webkit-backdrop-filter: blur(18px) saturate(0.8);
}

.sme-stage-v5 .sms-arrow {
  display: grid;
  width: 52px;
  height: 56px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 19px;
  background: linear-gradient(145deg, #242932, #0c0f14 62%, #171b21);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.11), 0 8px 18px rgba(0, 0, 0, 0.24);
  color: rgba(243, 246, 250, 0.78);
  cursor: pointer;
  font-size: 1rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sme-stage-v5 .sms-arrow:hover {
  background: linear-gradient(145deg, #303640, #12161c 64%, #20252d);
  color: #fff;
  transform: translateY(-1px);
}

.sme-stage-v5 .sms-arrow:active { transform: scale(0.96); }

.sme-stage-v5 .sms-rail {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.sme-stage-v5 .sms-rail::-webkit-scrollbar { display: none; }

.sme-stage-v5 .sms-asset {
  display: grid;
  flex: 0 0 auto;
  width: 126px;
  height: 56px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  scroll-snap-align: center;
  border: 0;
  border-radius: 18px;
  background: #101319;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.07);
  color: rgba(238, 242, 247, 0.65);
  cursor: pointer;
  text-align: left;
  transition: background 240ms ease, color 240ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

.sme-stage-v5 .sms-asset:hover {
  background: #1a1e25;
  color: #f6f8fa;
  transform: translateY(-1px);
}

.sme-stage-v5 .sms-asset.is-active {
  background: linear-gradient(135deg, #edf0f4, #aeb5bf);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 2px 2px rgba(255, 255, 255, 0.58), inset 0 -3px 7px rgba(45, 51, 59, 0.2);
  color: #07090c;
}

.sme-stage-v5 .sms-asset:active { transform: scale(0.97); }

.sme-stage-v5 .sms-asset img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sme-stage-v5 .sms-asset > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.sme-stage-v5 .sms-asset strong {
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
}

.sme-stage-v5 .sms-asset small {
  overflow: hidden;
  color: inherit;
  font-size: 0.61rem;
  font-weight: 460;
  opacity: 0.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-stage-v5 .sms-search {
  display: flex;
  min-width: 0;
  height: 56px;
  align-items: center;
  padding: 0 18px;
  border-radius: 19px;
  background: #101319;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.07);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.sme-stage-v5 .sms-search::before {
  content: "⌕";
  flex: 0 0 auto;
  margin-right: 9px;
  color: rgba(232, 237, 244, 0.48);
  font-size: 1.18rem;
  line-height: 1;
}

.sme-stage-v5 .sms-search:focus-within {
  background: #191d24;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.09), 0 10px 26px rgba(0, 0, 0, 0.24);
}

.sme-stage-v5 .sms-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: #f5f7fa;
  font-size: 0.76rem;
  font-weight: 480;
}

.sme-stage-v5 .sms-search input::placeholder { color: rgba(225, 231, 239, 0.42); }

.sme-stage-v5 .sms-empty {
  display: flex;
  min-width: 240px;
  height: 56px;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  border-radius: 18px;
  background: #101319;
  color: rgba(237, 241, 246, 0.72);
}

.sme-stage-v5 .sms-empty strong { font-size: 0.73rem; }
.sme-stage-v5 .sms-empty span { margin-top: 2px; font-size: 0.62rem; opacity: 0.58; }

.sme-stage-v5 .sms-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sme-stage-v5 :where(button, a, input):focus-visible {
  outline: 3px solid rgba(220, 230, 244, 0.92);
  outline-offset: 3px;
}

@keyframes sms-scene-breathe {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(-0.35%, -0.2%, 0); }
}

@media (max-width: 1100px) {
  .sme-stage-v5::before { background-position: 59% center; }
  .sme-stage-v5 .sms-copy { width: min(49vw, 560px); }
  .sme-stage-v5 .sms-copy h2 { font-size: clamp(3.35rem, 6.6vw, 5rem); }
  .sme-stage-v5 .sms-emblem { top: 47%; left: 75.5%; width: clamp(78px, 9vw, 104px); }
  .sme-stage-v5 .sms-dock { grid-template-columns: 48px minmax(0, 1fr) 48px minmax(166px, 205px); }
  .sme-stage-v5 .sms-arrow { width: 48px; }
  .sme-stage-v5 .sms-asset { width: 112px; }
}

@media (max-width: 760px) {
  .sundex-market-explorer.sme-stage-v5,
  .sme-stage-v5 .sms-shell { min-height: max(820px, 100svh); }

  .sme-stage-v5::before {
    inset: -1%;
    background-position: 67% center;
  }

  .sme-stage-v5::after {
    background:
      linear-gradient(90deg, rgba(2, 3, 6, 0.94) 0%, rgba(2, 3, 6, 0.68) 48%, rgba(2, 3, 6, 0.24) 100%),
      linear-gradient(180deg, rgba(2, 3, 6, 0.84) 0%, rgba(2, 3, 6, 0.36) 38%, rgba(2, 3, 6, 0.78) 68%, #020306 100%);
  }

  .sme-stage-v5 .sms-shell { padding: 86px 20px 164px; }
  .sme-stage-v5 .sms-copy {
    min-height: calc(max(820px, 100svh) - 250px);
    width: min(100%, 500px);
    justify-content: flex-start;
    padding-top: 5vh;
  }

  .sme-stage-v5 .sms-copy h2 { max-width: 460px; font-size: clamp(3.1rem, 13vw, 4.6rem); }
  .sme-stage-v5 .sms-detail { width: min(100%, 450px); margin-top: 30px; }
  .sme-stage-v5 .sms-ticker { font-size: clamp(4.6rem, 21vw, 7rem); }
  .sme-stage-v5 .sms-price { margin-top: 18px; }
  .sme-stage-v5 .sms-price strong { font-size: clamp(1.6rem, 7vw, 2.15rem); }
  .sme-stage-v5 .sms-facts { gap: 32px; margin-top: 22px; }
  .sme-stage-v5 .sms-actions { margin-top: 25px; }
  .sme-stage-v5 .sms-emblem { top: 63%; left: 74%; width: 80px; opacity: 0.88; }

  .sme-stage-v5 .sms-dock {
    right: 68px;
    bottom: 18px;
    left: 14px;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    grid-template-rows: 54px 50px;
    gap: 7px;
    min-height: 125px;
    padding: 8px;
    border-radius: 24px;
  }

  .sme-stage-v5 .sms-arrow { width: 46px; height: 54px; border-radius: 17px; }
  .sme-stage-v5 .sms-rail { height: 54px; }
  .sme-stage-v5 .sms-asset { width: 106px; height: 54px; border-radius: 17px; }
  .sme-stage-v5 .sms-search { grid-column: 1 / -1; height: 50px; border-radius: 17px; }
}

@media (max-width: 460px) {
  .sme-stage-v5 .sms-shell { padding-inline: 17px; }
  .sme-stage-v5 .sms-copy { padding-top: 3vh; }
  .sme-stage-v5 .sms-copy h2 { font-size: clamp(3rem, 15vw, 4rem); }
  .sme-stage-v5 .sms-identity span { display: none; }
  .sme-stage-v5 .sms-price { align-items: flex-start; flex-direction: column; gap: 6px; }
  .sme-stage-v5 .sms-facts { gap: 25px; }
  .sme-stage-v5 .sms-actions > span { max-width: 112px; line-height: 1.3; }
  .sme-stage-v5 .sms-emblem { display: none; }
  .sme-stage-v5 .sms-dock { right: 64px; left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .sme-stage-v5::before { animation: none; }
  .sme-stage-v5 .sms-rail { scroll-behavior: auto; }
  .sme-stage-v5 :where(.sms-arrow, .sms-asset, .sms-actions > a) { transition-duration: 0.01ms !important; }
}

/* SUNDEX market gallery v6: quiet architecture, physical carousel. */
.sundex-market-explorer.sme-gallery-v6,
.sundex-market-explorer.sme-gallery-v6 * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-market-explorer.sme-gallery-v6 {
  position: relative;
  z-index: 1;
  min-height: max(720px, 100svh);
  overflow: clip;
  background: #05070a;
  color: #f4f6f8;
  isolation: isolate;
}

.sme-gallery-v6::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -13%;
  width: min(74vw, 1100px);
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 91, 112, 0.2) 0%, rgba(35, 43, 57, 0.1) 38%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.sme-gallery-v6 .smg-shell {
  display: grid;
  width: min(100%, 1640px);
  min-height: max(720px, 100svh);
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  margin: 0 auto;
  padding: clamp(92px, 10vh, 122px) clamp(28px, 5vw, 82px) clamp(58px, 7vh, 82px);
}

.sme-gallery-v6 .smg-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 540px;
}

.sme-gallery-v6 .smg-copy h2 {
  margin: 0;
  color: #f5f6f8;
  font-size: clamp(3.6rem, 5.6vw, 6rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.sme-gallery-v6 .smg-copy > p {
  max-width: 440px;
  margin: 32px 0 0;
  color: rgba(232, 237, 244, 0.66);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 410;
  line-height: 1.55;
  text-wrap: pretty;
}

.sme-gallery-v6 .smg-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  color: rgba(225, 232, 241, 0.58);
}

.sme-gallery-v6 .smg-live > span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fddb2;
  box-shadow: 0 0 18px rgba(159, 221, 178, 0.5);
}

.sme-gallery-v6 .smg-live strong {
  font-size: 0.73rem;
  font-weight: 480;
}

.sme-gallery-v6 .smg-live strong.is-delayed + span,
.sme-gallery-v6 .smg-live:has(strong.is-delayed) > span {
  background: #cfbd91;
  box-shadow: 0 0 18px rgba(207, 189, 145, 0.38);
}

.sme-gallery-v6 .smg-all-markets {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(245, 247, 250, 0.92);
  font-size: 0.79rem;
  font-weight: 540;
  text-decoration: none;
  transition: color 200ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-gallery-v6 .smg-all-markets span { color: rgba(221, 228, 237, 0.52); }
.sme-gallery-v6 .smg-all-markets:hover { color: #fff; transform: translateX(3px); }

.sme-gallery-v6 .smg-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(480px, 1fr) 64px;
  align-items: center;
  gap: 10px;
}

.sme-gallery-v6 .smg-stage {
  position: relative;
  width: 100%;
  height: min(59vh, 560px);
  min-height: 480px;
  perspective: 1500px;
  perspective-origin: 52% 46%;
  outline: 0;
}

.sme-gallery-v6 .smg-card {
  --smg-offset: 0;
  --smg-depth: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(540px, 72vw);
  height: 410px;
  opacity: calc(1 - var(--smg-depth) * 0.2);
  pointer-events: none;
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--smg-offset) * 72px), calc(var(--smg-depth) * 18px), calc(var(--smg-depth) * -110px))
    rotateZ(calc(var(--smg-offset) * -1.7deg))
    scale(calc(1 - var(--smg-depth) * 0.055));
  transform-origin: 50% 88%;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, visibility 380ms ease;
  z-index: calc(20 - var(--smg-depth));
}

.sme-gallery-v6 .smg-card.is-near { pointer-events: auto; }
.sme-gallery-v6 .smg-card.is-far { visibility: hidden; opacity: 0; pointer-events: none; }

.sme-gallery-v6 .smg-card-surface {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 3.2vw, 40px);
  border-radius: 32px;
  background: linear-gradient(145deg, #242a33 0%, #14181f 43%, #090b0f 100%);
  box-shadow: 0 42px 88px rgba(0, 0, 0, 0.5), inset 0 3px 3px rgba(255, 255, 255, 0.08), inset 0 -10px 22px rgba(0, 0, 0, 0.34);
  transition: filter 320ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease;
}

.sme-gallery-v6 .smg-card-surface::before {
  content: "";
  position: absolute;
  top: -42%;
  left: -24%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 194, 214, 0.14), transparent 68%);
  pointer-events: none;
}

.sme-gallery-v6 .smg-card:not(.is-active) .smg-card-surface {
  filter: brightness(0.6) saturate(0.75);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.42), inset 0 3px 3px rgba(255, 255, 255, 0.05), inset 0 -10px 22px rgba(0, 0, 0, 0.4);
}

.sme-gallery-v6 .smg-card.is-active:hover .smg-card-surface {
  transform: translateY(-3px);
  box-shadow: 0 50px 104px rgba(0, 0, 0, 0.54), inset 0 3px 3px rgba(255, 255, 255, 0.1), inset 0 -10px 22px rgba(0, 0, 0, 0.34);
}

.sme-gallery-v6 .smg-card-head,
.sme-gallery-v6 .smg-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sme-gallery-v6 .smg-coin {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.sme-gallery-v6 .smg-logo {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 50%;
  background: #eef1f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26), inset 0 2px 3px rgba(255, 255, 255, 0.66);
}

.sme-gallery-v6 .smg-logo img {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.sme-gallery-v6 .smg-logo img.has-error { opacity: 0; }

.sme-gallery-v6 .smg-coin > span:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.sme-gallery-v6 .smg-coin strong {
  overflow: hidden;
  color: #f5f7fa;
  font-size: 1.08rem;
  font-weight: 580;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sme-gallery-v6 .smg-coin small {
  color: rgba(221, 228, 237, 0.5);
  font-size: 0.7rem;
  font-weight: 470;
}

.sme-gallery-v6 .smg-change {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 580;
}

.sme-gallery-v6 .smg-change.is-positive { background: #b9dfc4; color: #102318; }
.sme-gallery-v6 .smg-change.is-negative { background: #e5b8bb; color: #2a1114; }

.sme-gallery-v6 .smg-quote {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.sme-gallery-v6 .smg-quote span {
  color: rgba(222, 229, 238, 0.5);
  font-size: 0.72rem;
  font-weight: 460;
}

.sme-gallery-v6 .smg-quote strong {
  color: #f7f8fa;
  font-size: clamp(2.65rem, 4.2vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sme-gallery-v6 .smg-card-foot dl {
  display: flex;
  gap: clamp(24px, 3vw, 46px);
  margin: 0;
}

.sme-gallery-v6 .smg-card-foot dl > div {
  display: grid;
  gap: 6px;
}

.sme-gallery-v6 .smg-card-foot dt {
  color: rgba(222, 229, 238, 0.45);
  font-size: 0.65rem;
  font-weight: 450;
}

.sme-gallery-v6 .smg-card-foot dd {
  margin: 0;
  color: rgba(244, 247, 250, 0.9);
  font-size: 0.9rem;
  font-weight: 550;
}

.sme-gallery-v6 .smg-card-foot > a {
  display: inline-flex;
  min-width: 104px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#080a0e, #080a0e) padding-box,
    linear-gradient(135deg, #f0f2f5, #6e7580 27%, #252a31 53%, #d9dde3 82%, #6b727d) border-box;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  color: #f5f7fa;
  font-size: 0.77rem;
  font-weight: 570;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 200ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-gallery-v6 .smg-card-foot > a:hover { filter: brightness(1.15); transform: translateY(-2px); }
.sme-gallery-v6 .smg-card-foot > a:active { transform: scale(0.98); }

.sme-gallery-v6 .smg-controls {
  display: grid;
  width: min(540px, 72vw);
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 9px;
  justify-self: center;
}

.sme-gallery-v6 .smg-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, #272c34, #0d1015 65%, #191d23);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.09), 0 12px 24px rgba(0, 0, 0, 0.26);
  color: rgba(242, 245, 249, 0.76);
  cursor: pointer;
  font-size: 1rem;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.sme-gallery-v6 .smg-arrow:hover { color: #fff; filter: brightness(1.18); transform: translateY(-1px); }
.sme-gallery-v6 .smg-arrow:active { transform: scale(0.96); }

.sme-gallery-v6 .smg-search {
  display: flex;
  min-width: 0;
  height: 54px;
  align-items: center;
  padding: 0 18px;
  border-radius: 18px;
  background: #11141a;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.sme-gallery-v6 .smg-search::before {
  content: "⌕";
  margin-right: 10px;
  color: rgba(229, 235, 243, 0.56);
  font-size: 1.18rem;
}

.sme-gallery-v6 .smg-search:focus-within {
  background: #1a1e25;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.08), 0 16px 32px rgba(0, 0, 0, 0.3);
}

.sme-gallery-v6 .smg-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: #f4f6f9;
  font-size: 0.78rem;
  font-weight: 480;
}

.sme-gallery-v6 .smg-search input::placeholder { color: rgba(225, 232, 241, 0.58); }

.sme-gallery-v6 .smg-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(420px, 80vw);
  min-height: 180px;
  place-content: center;
  gap: 7px;
  border-radius: 28px;
  background: #11141a;
  color: rgba(239, 243, 248, 0.8);
  text-align: center;
  transform: translate(-50%, -50%);
}

.sme-gallery-v6 .smg-empty strong { font-size: 1rem; }
.sme-gallery-v6 .smg-empty span { font-size: 0.76rem; opacity: 0.62; }

.sme-gallery-v6 .smg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sme-gallery-v6 :where(button, a, input, [tabindex="0"]):focus-visible {
  outline: 3px solid rgba(226, 234, 244, 0.94);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .sme-gallery-v6 .smg-shell {
    grid-template-columns: minmax(280px, 0.7fr) minmax(500px, 1.3fr);
    gap: 12px;
  }

  .sme-gallery-v6 .smg-copy h2 { font-size: clamp(3.3rem, 6.8vw, 5rem); }
  .sme-gallery-v6 .smg-card { width: min(500px, 70vw); height: 390px; }
  .sme-gallery-v6 .smg-controls { width: min(500px, 70vw); }
}

@media (max-width: 820px) {
  .sundex-market-explorer.sme-gallery-v6,
  .sme-gallery-v6 .smg-shell { min-height: 1060px; }

  .sme-gallery-v6::before {
    top: 37%;
    right: -34%;
    width: 128vw;
    height: 58%;
  }

  .sme-gallery-v6 .smg-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(620px, 1fr);
    align-items: start;
    gap: 26px;
    padding: 96px 22px 54px;
  }

  .sme-gallery-v6 .smg-copy { max-width: 600px; }
  .sme-gallery-v6 .smg-copy h2 { font-size: clamp(3.35rem, 12vw, 5.2rem); }
  .sme-gallery-v6 .smg-copy > p { max-width: 520px; margin-top: 24px; }
  .sme-gallery-v6 .smg-live { margin-top: 23px; }
  .sme-gallery-v6 .smg-gallery { grid-template-rows: 540px 58px; align-self: end; }
  .sme-gallery-v6 .smg-stage { height: 540px; min-height: 540px; }
  .sme-gallery-v6 .smg-card { width: min(520px, calc(100vw - 54px)); height: 400px; }
  .sme-gallery-v6 .smg-controls { width: min(520px, calc(100vw - 54px)); }
}

@media (max-width: 520px) {
  .sundex-market-explorer.sme-gallery-v6,
  .sme-gallery-v6 .smg-shell { min-height: 970px; }

  .sme-gallery-v6 .smg-shell { grid-template-rows: auto minmax(540px, 1fr); padding: 88px 14px 38px; }
  .sme-gallery-v6 .smg-copy { padding: 0 8px; }
  .sme-gallery-v6 .smg-copy h2 { font-size: clamp(3.1rem, 14vw, 4.3rem); }
  .sme-gallery-v6 .smg-copy > p { font-size: 0.96rem; line-height: 1.5; }
  .sme-gallery-v6 .smg-gallery { grid-template-rows: 470px 54px; gap: 7px; }
  .sme-gallery-v6 .smg-stage { height: 470px; min-height: 470px; }
  .sme-gallery-v6 .smg-card {
    width: calc(100vw - 42px);
    height: 360px;
    transform:
      translate(-50%, -50%)
      translate3d(calc(var(--smg-offset) * 34px), calc(var(--smg-depth) * 14px), calc(var(--smg-depth) * -90px))
      rotateZ(calc(var(--smg-offset) * -1.4deg))
      scale(calc(1 - var(--smg-depth) * 0.055));
  }

  .sme-gallery-v6 .smg-card-surface { padding: 24px; border-radius: 26px; }
  .sme-gallery-v6 .smg-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .sme-gallery-v6 .smg-coin { gap: 12px; }
  .sme-gallery-v6 .smg-change { min-height: 34px; padding-inline: 11px; font-size: 0.68rem; }
  .sme-gallery-v6 .smg-quote strong { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .sme-gallery-v6 .smg-card-foot { align-items: flex-end; gap: 12px; }
  .sme-gallery-v6 .smg-card-foot dl { gap: 18px; }
  .sme-gallery-v6 .smg-card-foot > a { min-width: 86px; max-width: 96px; min-height: 44px; margin-right: 48px; padding-inline: 13px; }
  .sme-gallery-v6 .smg-controls { width: calc(100vw - 28px); grid-template-columns: 50px minmax(0, 1fr) 50px; gap: 7px; padding-right: 68px; }
  .sme-gallery-v6 .smg-arrow { width: 50px; height: 50px; border-radius: 17px; }
  .sme-gallery-v6 .smg-search { height: 50px; padding-inline: 14px; border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .sme-gallery-v6 .smg-card,
  .sme-gallery-v6 :where(.smg-card-surface, .smg-arrow, .smg-all-markets, .smg-card-foot > a) {
    transition-duration: 0.01ms !important;
  }
}

/* SUNDEX card story — vertical cinematic card flow */
.sundex-card-story,
.sundex-card-story * {
  box-sizing: border-box;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sundex-card-story {
  position: relative;
  z-index: 1;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 68% at 82% 49%, rgba(61, 83, 119, 0.18), transparent 64%),
    linear-gradient(112deg, #030509 0%, #05070c 46%, #070a11 100%);
  color: #f6f7f9;
}

.sundex-card-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -38%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 119, 155, 0.1), transparent 67%);
  pointer-events: none;
}

.scc-shell {
  display: grid;
  width: min(100%, 1600px);
  min-height: 100%;
  height: 100%;
  grid-template-columns: minmax(320px, 0.74fr) minmax(580px, 1.26fr);
  align-items: center;
  gap: clamp(18px, 3vw, 54px);
  margin: 0 auto;
  padding: clamp(84px, 10vh, 118px) clamp(28px, 5vw, 82px) clamp(62px, 8vh, 92px);
}

.scc-copy {
  position: relative;
  z-index: 5;
  max-width: 510px;
}

.scc-kicker {
  margin: 0 0 24px;
  color: rgba(213, 222, 235, 0.52);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.22em;
}

.scc-copy h2 {
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(4rem, 6.35vw, 6.85rem);
  font-weight: 610;
  letter-spacing: -0.064em;
  line-height: 0.88;
}

.scc-copy > p:not(.scc-kicker) {
  max-width: 430px;
  margin: 34px 0 0;
  color: rgba(214, 221, 232, 0.62);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 440;
  letter-spacing: -0.012em;
  line-height: 1.58;
}

.scc-copy > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(244, 247, 250, 0.93);
  font-size: 0.8rem;
  font-weight: 560;
  text-decoration: none;
  transition: color 180ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scc-copy > a span { color: rgba(207, 217, 231, 0.48); }
.scc-copy > a:focus-visible { outline: 3px solid rgba(226, 234, 244, 0.94); outline-offset: 5px; }

@media (hover: hover) and (pointer: fine) {
  .scc-copy > a:hover { color: #fff; transform: translateX(3px); }
}

.scc-stage {
  position: relative;
  width: 100%;
  height: min(78vh, 760px);
  min-height: 610px;
  perspective: 1450px;
  perspective-origin: 52% 48%;
  touch-action: pan-y;
}

.scc-halo {
  position: absolute;
  top: 50%;
  left: 55%;
  width: min(75%, 650px);
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(119, 148, 191, 0.19), rgba(46, 61, 85, 0.04) 48%, transparent 72%);
  filter: blur(34px);
  opacity: 0.72;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.scc-camera {
  --scc-tilt-x: 0deg;
  --scc-tilt-y: 0deg;
  position: absolute;
  inset: 0;
  transform: rotateX(var(--scc-tilt-x)) rotateY(var(--scc-tilt-y));
  transform-style: preserve-3d;
  transform-origin: 54% 50%;
}

.scc-drop {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 62% 48%;
}

.scc-pose {
  position: absolute;
  top: 50%;
  left: 54%;
  width: clamp(390px, 35vw, 550px);
  aspect-ratio: 1.586 / 1;
  transform-style: preserve-3d;
}

.scc-pose-center {
  z-index: 10;
  transform: translate(-50%, -50%) translate3d(-2px, 0, 250px) rotateX(-2deg) rotateY(-8deg) rotateZ(-3deg);
}

.scc-pose-top {
  z-index: 7;
  transform: translate(-50%, -50%) translate3d(52px, -224px, 30px) rotateX(-55deg) rotateY(2deg) rotateZ(5deg) scale(0.84);
}

.scc-pose-bottom {
  z-index: 6;
  transform: translate(-50%, -50%) translate3d(48px, 229px, 4px) rotateX(56deg) rotateY(-2deg) rotateZ(-7deg) scale(0.83);
}

.scc-pose-far-top {
  z-index: 3;
  opacity: 0.55;
  transform: translate(-50%, -50%) translate3d(-18px, -378px, -240px) rotateX(-77deg) rotateY(7deg) rotateZ(-10deg) scale(0.72);
}

.scc-pose-far-bottom {
  z-index: 2;
  opacity: 0.48;
  transform: translate(-50%, -50%) translate3d(-10px, 386px, -270px) rotateX(78deg) rotateY(-7deg) rotateZ(9deg) scale(0.7);
}

.scc-float,
.scc-card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.scc-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 239, 247, 0.2);
  border-radius: clamp(19px, 1.65vw, 26px);
  color: #f5f7fa;
  box-shadow:
    0 3px 0 rgba(105, 116, 131, 0.72),
    0 38px 80px rgba(0, 0, 0, 0.52),
    inset 0 2px 1px rgba(255, 255, 255, 0.16),
    inset 0 -16px 30px rgba(0, 0, 0, 0.24);
  backface-visibility: hidden;
}

.scc-card-obsidian {
  background:
    radial-gradient(circle at 24% 2%, rgba(145, 163, 190, 0.17), transparent 38%),
    linear-gradient(132deg, #1c222b 0%, #0a0d12 46%, #151922 100%);
}

.scc-card-navy {
  background:
    radial-gradient(circle at 80% 8%, rgba(119, 153, 206, 0.25), transparent 36%),
    linear-gradient(138deg, #202b3c 0%, #0c1420 52%, #05080e 100%);
}

.scc-card-graphite {
  background:
    radial-gradient(circle at 12% 10%, rgba(228, 232, 238, 0.16), transparent 38%),
    linear-gradient(136deg, #353b43 0%, #171b21 50%, #0c0f13 100%);
}

.scc-card-silver {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.48), transparent 40%),
    linear-gradient(132deg, #89929d 0%, #404955 49%, #737e8a 100%);
  color: #fff;
}

.scc-card-smoke {
  background:
    radial-gradient(circle at 76% 0%, rgba(199, 211, 228, 0.19), transparent 40%),
    linear-gradient(135deg, #2b3038 0%, #12161d 49%, #212731 100%);
}

.scc-card-shine {
  position: absolute;
  inset: -36% -42%;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.11) 49%, transparent 62%);
  transform: translateX(-20%) rotate(-5deg);
  pointer-events: none;
}

.scc-card-brand {
  position: absolute;
  top: 10.5%;
  left: 8.2%;
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  color: rgba(247, 249, 251, 0.93);
  font-size: clamp(0.82rem, 1.04vw, 1rem);
  font-weight: 570;
  letter-spacing: 0.12em;
}

.scc-card-brand img {
  display: block;
  width: clamp(25px, 2.25vw, 34px);
  height: clamp(25px, 2.25vw, 34px);
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.94;
}

.scc-chip {
  position: absolute;
  top: 43%;
  left: 8.2%;
  width: clamp(42px, 4vw, 62px);
  height: auto;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.25));
}

.scc-card-meta {
  position: absolute;
  bottom: 10.5%;
  left: 8.2%;
  display: grid;
  gap: 5px;
  color: rgba(245, 247, 250, 0.9);
}

.scc-card-meta span {
  font-size: clamp(0.72rem, 0.85vw, 0.9rem);
  font-weight: 530;
  letter-spacing: 0.14em;
}

.scc-card-meta small {
  color: rgba(226, 232, 240, 0.46);
  font-size: clamp(0.48rem, 0.55vw, 0.6rem);
  font-weight: 550;
  letter-spacing: 0.14em;
}

.scc-visa {
  position: absolute;
  right: 7.4%;
  bottom: 9.2%;
  width: clamp(54px, 5.3vw, 82px);
  height: auto;
  color: rgba(248, 250, 252, 0.93);
}

.sundex-card-story.is-arriving .scc-drop {
  animation: scc-arrive 1120ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--scc-delay);
  will-change: transform, opacity;
}

.sundex-card-story.is-settled .scc-float {
  animation: scc-float-a 8.6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.sundex-card-story.is-settled .scc-float-2 {
  animation-name: scc-float-b;
  animation-duration: 10.2s;
  animation-delay: -3.4s;
}

.sundex-card-story.is-settled .scc-float-3 {
  animation-name: scc-float-c;
  animation-duration: 9.4s;
  animation-delay: -5.1s;
}

@keyframes scc-arrive {
  0% {
    opacity: 0.14;
    transform: translate3d(var(--scc-enter-x), var(--scc-enter-y), 0) rotateZ(var(--scc-enter-r)) scale(0.96);
  }
  58% { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotateZ(0) scale(1); }
}

@keyframes scc-float-a {
  from { transform: translate3d(0, -3px, 0) rotateZ(-0.28deg); }
  to { transform: translate3d(2px, 4px, 0) rotateZ(0.3deg); }
}

@keyframes scc-float-b {
  from { transform: translate3d(-2px, 2px, 0) rotateZ(0.22deg); }
  to { transform: translate3d(2px, -4px, 0) rotateZ(-0.24deg); }
}

@keyframes scc-float-c {
  from { transform: translate3d(1px, 4px, 0) rotateZ(-0.2deg); }
  to { transform: translate3d(-2px, -3px, 0) rotateZ(0.24deg); }
}

@media (max-width: 960px) {
  .sundex-card-story {
    height: auto;
    min-height: 1080px;
  }

  .scc-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 650px;
    align-items: start;
    gap: 12px;
    padding: 96px 24px 54px;
  }

  .scc-copy { max-width: 650px; }
  .scc-copy h2 { font-size: clamp(4rem, 11vw, 6.5rem); }
  .scc-copy > p:not(.scc-kicker) { max-width: 540px; margin-top: 26px; }
  .scc-stage { height: 650px; min-height: 650px; }
  .scc-pose { left: 50%; width: min(540px, 64vw); }
  .scc-pose-top { transform: translate(-50%, -50%) translate3d(44px, -202px, 22px) rotateX(-54deg) rotateY(2deg) rotateZ(5deg) scale(0.82); }
  .scc-pose-bottom { transform: translate(-50%, -50%) translate3d(40px, 205px, 0) rotateX(55deg) rotateY(-2deg) rotateZ(-7deg) scale(0.81); }
  .scc-pose-far-top { transform: translate(-50%, -50%) translate3d(-12px, -330px, -220px) rotateX(-77deg) rotateY(7deg) rotateZ(-10deg) scale(0.68); }
  .scc-pose-far-bottom { transform: translate(-50%, -50%) translate3d(-8px, 336px, -250px) rotateX(78deg) rotateY(-7deg) rotateZ(9deg) scale(0.67); }
}

@media (max-width: 560px) {
  .sundex-card-story { min-height: 940px; }
  .sundex-card-story::after { right: -38%; bottom: -16%; width: 130%; }
  .scc-shell { grid-template-rows: auto 515px; gap: 10px; padding: 84px 14px 34px; }
  .scc-copy { padding: 0 8px; }
  .scc-kicker { margin-bottom: 18px; }
  .scc-copy h2 { font-size: clamp(3.3rem, 15vw, 4.45rem); line-height: 0.91; }
  .scc-copy > p:not(.scc-kicker) { margin-top: 22px; font-size: 0.96rem; line-height: 1.52; }
  .scc-copy > a { margin-top: 17px; }
  .scc-stage { height: 515px; min-height: 515px; }
  .scc-halo { left: 50%; width: 100%; height: 55%; }
  .scc-pose { left: 50%; width: calc(100vw - 38px); }
  .scc-pose-center { transform: translate(-50%, -50%) translate3d(0, 0, 185px) rotateX(-2deg) rotateY(-5deg) rotateZ(-3deg); }
  .scc-pose-top { transform: translate(-50%, -50%) translate3d(24px, -151px, 6px) rotateX(-55deg) rotateY(2deg) rotateZ(5deg) scale(0.76); }
  .scc-pose-bottom { transform: translate(-50%, -50%) translate3d(23px, 154px, -2px) rotateX(56deg) rotateY(-2deg) rotateZ(-7deg) scale(0.75); }
  .scc-pose-far-top { transform: translate(-50%, -50%) translate3d(-8px, -242px, -190px) rotateX(-78deg) rotateY(6deg) rotateZ(-10deg) scale(0.62); }
  .scc-pose-far-bottom { transform: translate(-50%, -50%) translate3d(-6px, 247px, -210px) rotateX(79deg) rotateY(-6deg) rotateZ(9deg) scale(0.61); }
  .scc-card { border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .sundex-card-story.is-arriving .scc-drop,
  .sundex-card-story.is-settled .scc-float {
    animation: none !important;
  }

  .scc-camera { transform: none !important; }
  .scc-copy > a { transition-duration: 0.01ms !important; }
}

/* Card story v2 — continuous color cylinder, compositor-only motion */
.sundex-card-story {
  contain: layout paint style;
  background:
    radial-gradient(ellipse 44% 58% at 80% 50%, rgba(59, 77, 109, 0.14), transparent 70%),
    linear-gradient(112deg, #030509 0%, #05070b 52%, #070910 100%);
}

.scc-shell {
  grid-template-columns: minmax(400px, 0.9fr) minmax(430px, 1.1fr);
}

.scc-copy h2 {
  max-width: 590px;
  font-size: clamp(3.75rem, 5vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}

.scc-copy > p:not(.scc-kicker) { text-wrap: pretty; }

.scc-stage {
  --scc-far-y: 430px;
  --scc-near-y: 224px;
  height: min(76vh, 700px);
  min-height: 590px;
  perspective: 1350px;
  perspective-origin: 55% 50%;
}

.scc-halo {
  left: 56%;
  width: min(86%, 590px);
  height: 64%;
  background: radial-gradient(ellipse, rgba(117, 139, 177, 0.12), rgba(43, 56, 80, 0.035) 48%, transparent 72%);
  filter: none;
  opacity: 0.9;
}

.scc-camera {
  position: absolute;
  inset: 0;
  transform: none;
  transform-style: preserve-3d;
  transform-origin: 55% 50%;
}

.scc-orbit-card {
  position: absolute;
  top: 50%;
  left: 56%;
  width: clamp(270px, 23vw, 336px);
  aspect-ratio: 1.586 / 1;
  opacity: 0;
  transform-style: preserve-3d;
  animation: scc-card-orbit 20s linear infinite both;
  animation-delay: var(--scc-phase);
  animation-play-state: paused;
  backface-visibility: hidden;
}

.sundex-card-story.is-in-view .scc-orbit-card {
  animation-play-state: running;
  will-change: transform, opacity;
}

.scc-orbit-card .scc-card {
  width: 100%;
  height: 100%;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow:
    0 2px 0 rgba(220, 229, 240, 0.42),
    0 28px 58px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -14px 26px rgba(0, 0, 0, 0.16);
  transform: translateZ(0);
}

.scc-card-red {
  background:
    radial-gradient(circle at 18% -10%, rgba(255, 209, 205, 0.42), transparent 40%),
    linear-gradient(138deg, #ed5651 0%, #b92f3b 54%, #6d182b 100%);
}

.scc-card-orange {
  background:
    radial-gradient(circle at 20% -8%, rgba(255, 232, 184, 0.48), transparent 40%),
    linear-gradient(138deg, #f3a43a 0%, #d76328 56%, #8b2f1f 100%);
}

.scc-card-yellow {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background:
    radial-gradient(circle at 20% -8%, rgba(255, 255, 225, 0.62), transparent 42%),
    linear-gradient(138deg, #f0d54c 0%, #cfad26 58%, #987118 100%);
  color: #15191f;
}

.scc-card-green {
  background:
    radial-gradient(circle at 20% -8%, rgba(198, 255, 227, 0.38), transparent 40%),
    linear-gradient(138deg, #36b57f 0%, #137057 56%, #093d3c 100%);
}

.scc-card-blue {
  background:
    radial-gradient(circle at 20% -8%, rgba(199, 221, 255, 0.44), transparent 40%),
    linear-gradient(138deg, #3979e6 0%, #214eb3 54%, #172363 100%);
}

.scc-orbit-card .scc-card-shine {
  inset: -44% -54%;
  background:
    radial-gradient(ellipse at 48% 44%, rgba(255, 255, 255, 0.15), transparent 42%),
    linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.14) 49%, transparent 61%);
  transform: translateX(-18%) rotate(-4deg);
}

.scc-orbit-card .scc-card-brand {
  top: 10.5%;
  right: 8.5%;
  left: auto;
  gap: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.64rem, 0.8vw, 0.78rem);
  font-weight: 590;
  letter-spacing: 0.14em;
}

.scc-orbit-card .scc-card-brand img {
  width: clamp(21px, 1.8vw, 27px);
  height: clamp(21px, 1.8vw, 27px);
}

.scc-orbit-card .scc-chip {
  top: 50%;
  left: 8.5%;
  width: clamp(38px, 3.4vw, 50px);
  transform: translateY(-50%);
}

.scc-visa-logo {
  position: absolute;
  right: 8.2%;
  bottom: 10%;
  display: block;
  width: clamp(48px, 4.6vw, 66px);
  height: auto;
  filter: brightness(0) invert(1);
}

.scc-card-yellow .scc-card-brand { color: rgba(18, 24, 31, 0.86); }
.scc-card-yellow .scc-card-brand img { filter: brightness(0); opacity: 0.82; }
.scc-card-yellow .scc-visa-logo { filter: none; }

@keyframes scc-card-orbit {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate3d(62px, calc(-1 * var(--scc-far-y)), -220px) rotateX(-64deg) rotateY(8deg) rotateZ(7deg) scale(0.98);
  }
  6% { opacity: 0.26; }
  20% {
    opacity: 0.78;
    transform: translate(-50%, -50%) translate3d(-10px, calc(-1 * var(--scc-near-y)), -24px) rotateX(-34deg) rotateY(3deg) rotateZ(-4deg) scale(0.99);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(-2px, -24px, 240px) rotateX(-3deg) rotateY(-4deg) rotateZ(-3deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(0, 0, 250px) rotateX(0deg) rotateY(-5deg) rotateZ(-3deg) scale(1);
  }
  58% {
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(3px, 24px, 240px) rotateX(3deg) rotateY(-4deg) rotateZ(-2deg) scale(1);
  }
  80% {
    opacity: 0.78;
    transform: translate(-50%, -50%) translate3d(12px, var(--scc-near-y), -24px) rotateX(34deg) rotateY(-3deg) rotateZ(4deg) scale(0.99);
  }
  94% { opacity: 0.26; }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate3d(-54px, var(--scc-far-y), -220px) rotateX(64deg) rotateY(-8deg) rotateZ(-7deg) scale(0.98);
  }
}

@media (max-width: 960px) {
  .scc-shell { grid-template-columns: minmax(0, 1fr); }
  .scc-copy h2 { font-size: clamp(3.8rem, 10.5vw, 5.9rem); }
  .scc-stage {
    --scc-far-y: 350px;
    --scc-near-y: 190px;
    height: 620px;
    min-height: 620px;
  }
  .scc-orbit-card { left: 50%; width: clamp(270px, 48vw, 330px); }
}

@media (max-width: 560px) {
  .sundex-card-story { min-height: 980px; }
  .scc-shell { grid-template-rows: auto 540px; }
  .scc-copy h2 { font-size: clamp(3.2rem, 14vw, 4.25rem); }
  .scc-stage {
    --scc-far-y: 300px;
    --scc-near-y: 158px;
    height: 540px;
    min-height: 540px;
  }
  .scc-orbit-card { width: min(300px, 78vw); }
}

@media (prefers-reduced-motion: reduce) {
  .scc-orbit-card {
    animation: none !important;
    opacity: 0.86;
    transform: translate(-50%, -50%) translate3d(0, 0, 0) rotateZ(-3deg);
  }

  .scc-orbit-card:nth-child(1) { transform: translate(-50%, -50%) translate3d(30px, -190px, -120px) rotateZ(5deg) scale(0.98); }
  .scc-orbit-card:nth-child(2) { transform: translate(-50%, -50%) translate3d(-14px, -96px, -40px) rotateZ(-5deg) scale(0.99); }
  .scc-orbit-card:nth-child(3) { opacity: 1; transform: translate(-50%, -50%) translate3d(0, 0, 160px) rotateZ(-3deg); }
  .scc-orbit-card:nth-child(4) { transform: translate(-50%, -50%) translate3d(18px, 100px, -42px) rotateZ(4deg) scale(0.99); }
  .scc-orbit-card:nth-child(5) { transform: translate(-50%, -50%) translate3d(-24px, 194px, -124px) rotateZ(-5deg) scale(0.98); }
}

/* Card story v3 — source-matched cinematic cylinder */
.sundex-card-story {
  min-height: 760px;
  height: 100svh;
  contain: layout paint style;
  background:
    radial-gradient(ellipse 38% 48% at 79% 51%, rgba(62, 72, 103, 0.16), transparent 72%),
    linear-gradient(110deg, #020305 0%, #030407 52%, #05060a 100%);
}

.sundex-card-story::after {
  right: -14%;
  bottom: -45%;
  width: 68%;
  opacity: 0.42;
}

.scc-shell {
  grid-template-columns: minmax(380px, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(28px, 4vw, 74px);
}

.scc-copy { max-width: 550px; }

.scc-copy h2 {
  max-width: 610px;
  font-size: clamp(3.8rem, 5.25vw, 6.15rem);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.scc-copy > p:not(.scc-kicker) {
  max-width: 445px;
  color: rgba(219, 225, 235, 0.58);
}

.scc-stage {
  height: min(79vh, 720px);
  min-height: 590px;
  perspective: 1350px;
  perspective-origin: 57% 50%;
  isolation: isolate;
}

.scc-halo {
  left: 57%;
  width: min(83%, 570px);
  height: 56%;
  background: radial-gradient(ellipse, rgba(81, 97, 135, 0.15), rgba(28, 35, 54, 0.035) 54%, transparent 74%);
  filter: blur(28px);
  opacity: 0.66;
}

.scc-camera {
  position: absolute;
  inset: 0;
  transform: none;
  transform-style: preserve-3d;
  transform-origin: 57% 50%;
}

.scc-cylinder-card {
  position: absolute;
  top: 50%;
  left: 57%;
  width: clamp(255px, 22.5vw, 336px);
  aspect-ratio: 1.5925 / 1;
  opacity: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  pointer-events: none;
}

.sundex-card-story.is-in-view .scc-cylinder-card {
  will-change: transform, opacity;
}

.scc-card-body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.scc-card-body::before,
.scc-card-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 17px;
  border: 1px solid rgba(157, 168, 184, 0.34);
  background: transparent;
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.52);
}

.scc-card-body::before {
  border-color: rgba(76, 84, 97, 0.58);
  transform: translateZ(-2.4px);
}

.scc-card-body::after {
  border-color: rgba(205, 214, 226, 0.24);
  transform: translateZ(-1.2px);
}

.scc-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(222, 230, 240, 0.23);
  border-radius: 17px;
  background: #0a0b10;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.16),
    inset 0 -16px 28px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(223, 230, 238, 0.2);
  color: #f4f6f8;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

.scc-card-front {
  opacity: 1;
  transform: rotateX(0deg) translateZ(1.45px);
}

.scc-card-back {
  opacity: 0;
  transform: rotateX(180deg) translateZ(1.45px);
  background:
    linear-gradient(142deg, rgba(3, 5, 9, 0.08), rgba(2, 3, 6, 0.22)),
    var(--scc-texture);
  background-position: var(--scc-texture-position, center);
  background-size: cover;
  filter: brightness(1.08) saturate(1.04);
}

.scc-card-front {
  background:
    linear-gradient(180deg, rgba(2, 4, 8, 0.2) 0%, rgba(2, 4, 8, 0.02) 54%, rgba(1, 2, 5, 0.18) 100%),
    var(--scc-texture);
  background-position: var(--scc-texture-position, center);
  background-size: cover;
}

.scc-card-texture-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 37%, rgba(255, 255, 255, 0.055) 49%, transparent 62%),
    radial-gradient(ellipse at 50% 42%, transparent 34%, rgba(0, 0, 0, 0.28) 115%);
  pointer-events: none;
}

.scc-texture-navy {
  --scc-texture: url("/assets/sundex-card-texture-navy.jpg");
  --scc-card-glow: rgba(36, 94, 222, 0.55);
}

.scc-texture-graphite {
  --scc-texture: url("/assets/sundex-card-texture-graphite.jpg");
  --scc-card-glow: rgba(191, 121, 64, 0.46);
}

.scc-texture-indigo {
  --scc-texture: url("/assets/sundex-card-texture-indigo.jpg");
  --scc-card-glow: rgba(103, 72, 220, 0.52);
}

.scc-texture-petrol {
  --scc-texture: url("/assets/sundex-card-texture-petrol.jpg");
  --scc-card-glow: rgba(25, 114, 123, 0.48);
}

.scc-texture-oxblood {
  --scc-texture: url("/assets/sundex-card-texture-oxblood.jpg");
  --scc-card-glow: rgba(137, 51, 45, 0.44);
}

.scc-card-variant-one { --scc-texture-position: 50% 54%; }
.scc-card-variant-two { --scc-texture-position: 48% 52%; }
.scc-card-variant-three { --scc-texture-position: 50% 56%; }
.scc-card-variant-four { --scc-texture-position: 62% 56%; }
.scc-card-variant-five { --scc-texture-position: 50% 57%; }

.scc-cylinder-card .scc-card-brand {
  top: 10.5%;
  right: 8.3%;
  left: auto;
  z-index: 2;
  gap: 7px;
  color: rgba(250, 251, 253, 0.96);
  font-size: clamp(0.6rem, 0.75vw, 0.72rem);
  font-weight: 610;
  letter-spacing: 0.15em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.scc-cylinder-card .scc-card-brand img {
  width: clamp(20px, 1.7vw, 25px);
  height: clamp(20px, 1.7vw, 25px);
}

.scc-cylinder-card .scc-chip {
  top: 52%;
  left: 8.4%;
  z-index: 2;
  width: clamp(37px, 3.2vw, 46px);
  transform: translateY(-50%);
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.34));
}

.scc-card-visa {
  position: absolute;
  right: 8.1%;
  bottom: 10.2%;
  z-index: 2;
  display: block;
  width: clamp(48px, 4.2vw, 61px);
  height: auto;
  filter: brightness(0) saturate(100%) invert(1) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.32));
  opacity: 1;
}

.scc-card-back-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 62% at 10% 92%, var(--scc-card-glow), transparent 72%),
    linear-gradient(112deg, transparent 33%, rgba(255, 255, 255, 0.055) 49%, transparent 64%);
  opacity: 0.88;
}

.scc-magnetic-stripe {
  position: absolute;
  top: 17%;
  left: 0;
  width: 100%;
  height: 20.5%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18% 82%, rgba(255, 255, 255, 0.02)),
    #020307;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.075), 0 10px 18px rgba(0, 0, 0, 0.3);
}

.scc-card-number {
  position: absolute;
  left: 8.2%;
  bottom: 13.5%;
  display: grid;
  gap: 7px;
  color: rgba(245, 247, 250, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scc-card-number strong {
  font-size: clamp(0.64rem, 0.78vw, 0.76rem);
  font-weight: 590;
  letter-spacing: 0.22em;
}

.scc-copy > a.scc-card-cta {
  min-width: 160px;
  min-height: 48px;
  justify-content: center;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 590;
  letter-spacing: -0.012em;
}

@media (hover: hover) and (pointer: fine) {
  .scc-copy > a.scc-card-cta:hover {
    transform: translateY(-1px) scale(1.015);
  }
}

@media (max-width: 960px) {
  .sundex-card-story {
    height: auto;
    min-height: 1060px;
  }

  .scc-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 620px;
    gap: 12px;
  }

  .scc-copy { max-width: 650px; }
  .scc-copy h2 { font-size: clamp(3.8rem, 10.5vw, 5.9rem); }
  .scc-stage { height: 620px; min-height: 620px; }
  .scc-cylinder-card { left: 50%; width: clamp(260px, 47vw, 326px); }
  .scc-halo { left: 50%; }
}

@media (max-width: 560px) {
  .sundex-card-story { min-height: 930px; }
  .scc-shell { grid-template-rows: auto 510px; padding: 82px 14px 32px; }
  .scc-copy h2 { font-size: clamp(3.15rem, 14vw, 4.2rem); }
  .scc-stage { height: 510px; min-height: 510px; clip-path: inset(0); }
  .scc-cylinder-card { width: min(282px, 77vw); }
  .scc-card-body::before,
  .scc-card-body::after,
  .scc-card-face { border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .scc-cylinder-card { will-change: auto !important; }
  .scc-cylinder-card:nth-child(1) { opacity: 1 !important; }
  .scc-copy > a { transition-duration: 0.01ms !important; }
}
