/* 
   MAINBOARDGMP — Professional Fintech Dark Design
   Theme: Deep Slate + Cyan accent + Emerald gains
  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/*  DARK (DEFAULT) */
:root {
  --cyan: #06b6d4;
  --cyan-l: #22d3ee;
  --cyan-xl: #67e8f9;
  --cyan-dim: rgba(6, 182, 212, .10);
  --cyan-dim2: rgba(6, 182, 212, .16);
  --cyan-border: rgba(6, 182, 212, .28);
  --cyan-glow: rgba(6, 182, 212, .32);

  --em: #10b981;
  --em-l: #34d399;
  --em-xl: #6ee7b7;
  --em-dim: rgba(16, 185, 129, .10);
  --em-border: rgba(16, 185, 129, .28);

  --rose: #f43f5e;
  --rose-l: #fb7185;
  --rose-dim: rgba(244, 63, 94, .10);
  --rose-border: rgba(244, 63, 94, .28);

  --am: #f59e0b;
  --am-l: #fbbf24;
  --am-dim: rgba(245, 158, 11, .10);
  --am-border: rgba(245, 158, 11, .28);

  /* Backgrounds */
  --bg: #080b12;
  --bg2: #0d1017;
  --bg3: #12161f;
  --bg4: #181d28;
  --bg5: #1e2433;
  --bg6: #252d40;

  /* Borders */
  --border: rgba(255, 255, 255, .055);
  --bord2: rgba(255, 255, 255, .095);
  --bord3: rgba(255, 255, 255, .14);

  /* Text */
  --t1: #f0f4ff;
  --t2: #8fa3c8;
  --t3: #475872;
  --t4: #2c3a52;

  /* Shadows */
  --sh: 0 4px 24px rgba(0, 0, 0, .6);
  --sh-cyan: 0 4px 32px rgba(6, 182, 212, .28);
  --sh-em: 0 4px 24px rgba(16, 185, 129, .22);
  --sh-card: 0 2px 16px rgba(0, 0, 0, .45);

  --topbar-h: 60px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --t: all .18s cubic-bezier(.4, 0, .2, 1);

  --topbar-bg: rgba(8, 11, 18, .96);
  --hero-bg: linear-gradient(150deg, #060810 0%, #0b1022 50%, #080e18 100%);
  --ticker-bg: #060810;
  --modal-bg: #0d1017;
  --input-bg: #12161f;
}

/*LIGHT  */
[data-theme="light"] {
  --cyan: #0891b2;
  --cyan-l: #06b6d4;
  --cyan-dim: rgba(8, 145, 178, .07);
  --cyan-dim2: rgba(8, 145, 178, .12);
  --cyan-border: rgba(8, 145, 178, .22);
  --cyan-glow: rgba(8, 145, 178, .18);

  --em: #059669;
  --em-l: #10b981;
  --em-dim: rgba(5, 150, 105, .07);
  --em-border: rgba(5, 150, 105, .2);

  --rose: #e11d48;
  --rose-l: #f43f5e;
  --rose-dim: rgba(225, 29, 72, .07);
  --rose-border: rgba(225, 29, 72, .2);

  --am: #d97706;
  --am-l: #f59e0b;
  --am-dim: rgba(217, 119, 6, .07);
  --am-border: rgba(217, 119, 6, .2);

  --bg: #f4f7fe;
  --bg2: #ffffff;
  --bg3: #eef2fc;
  --bg4: #e5ebf7;
  --bg5: #d9e2f4;
  --bg6: #ccd8f0;

  --border: rgba(8, 145, 178, .09);
  --bord2: rgba(8, 145, 178, .15);
  --bord3: rgba(8, 145, 178, .22);

  --t1: #0c1130;
  --t2: #3d5080;
  --t3: #7a93c4;
  --t4: #b0c4e0;

  --sh: 0 2px 16px rgba(8, 145, 178, .08);
  --sh-cyan: 0 4px 24px rgba(8, 145, 178, .18);
  --sh-em: 0 4px 20px rgba(5, 150, 105, .14);
  --sh-card: 0 2px 12px rgba(8, 145, 178, .07);

  --topbar-bg: rgba(244, 247, 254, .96);
  --hero-bg: linear-gradient(150deg, #e4eeff 0%, #d6f0f8 50%, #e0f5ee 100%);
  --ticker-bg: #e0e8f8;
  --modal-bg: #ffffff;
  --input-bg: #eef2fc;
}

/*  RESET  */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 8px)
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--t1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
  min-height: 100vh;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden
}

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

img {
  max-width: 100%
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px
}

::-webkit-scrollbar-track {
  background: transparent
}

::-webkit-scrollbar-thumb {
  background: var(--bg5);
  border-radius: 99px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan)
}





/*TOPBAR  */



#top-q,
#mobile-q,
.top-search input,
.mobile-search-bar input {
  scroll-margin-top: 9999px;
  scroll-snap-align: none;
}

 
/* Also prevent the dropdown from causing layout shift scroll */
#search-drop,
#mobile-search-drop {
  /* Dropdown is absolutely positioned — no layout impact */
  position: absolute;
}
#topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 28px);
  gap: 0;
  transition: box-shadow .3s, background .3s;
}

#topbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, .4);
  border-bottom-color: var(--bord2)
}

/* Wordmark */
.top-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-right: 28px;
  flex-shrink: 0;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.055em;
}

.wm-main {
  color: var(--t1)
}

.wm-gmp {
  color: var(--cyan)
}

.wm-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--em-l);
  margin-left: 2px;
  margin-bottom: 2px;
  flex-shrink: 0;
  animation: pulse 1.4s infinite;
}

/* Nav links */
.top-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1
}

.top-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: var(--r-sm);
  color: var(--t2);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s, background .2s;
  white-space: nowrap;
  position: relative;
}

.top-nav-link::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--cyan);
  border-radius: 99px;
  transition: left .22s, right .22s;
}

.top-nav-link:hover {
  background: var(--cyan-dim);
  color: var(--cyan-l)
}

.top-nav-link:hover::after,
.top-nav-link.active::after {
  left: 10px;
  right: 10px
}

.top-nav-link.active {
  color: var(--cyan-l);
  font-weight: 600
}

.nav-badge {
  font-size: 9.5px;
  padding: 1.5px 6px;
  border-radius: 99px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin-left: 1px;
}

.nav-badge.g {
  background: var(--em-dim);
  color: var(--em-l);
  border: 1px solid var(--em-border)
}

.nav-badge.b {
  background: var(--cyan-dim);
  color: var(--cyan-l);
  border: 1px solid var(--cyan-border)
}

.top-divider {
  width: 1px;
  height: 18px;
  background: var(--bord2);
  margin: 0 6px;
  flex-shrink: 0
}

/* Search */
.top-search {
  position: relative;
  max-width: 240px;
  width: 100%;
  margin-left: 8px
}

.top-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--t3);
  pointer-events: none;
  width: 14px;
  height: 14px
}

#top-q {
  width: 100%;
  padding: 8px 12px 8px 32px;
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  border-radius: var(--r-sm);
  color: var(--t1);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--t);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18), inset 0 1px 2px rgba(0, 0, 0, .12);
}

#top-q::placeholder {
  color: var(--t3)
}

#top-q:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim), 0 1px 4px rgba(0, 0, 0, .18);
  background: var(--bg3);
}

[data-theme="light"] #top-q {
  box-shadow: 0 1px 4px rgba(8, 145, 178, .1), inset 0 1px 2px rgba(8, 145, 178, .05)
}

[data-theme="light"] #top-q:focus {
  box-shadow: 0 0 0 3px var(--cyan-dim)
}

#search-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--cyan-border);
  border-radius: var(--r);
  box-shadow: var(--sh-cyan);
  display: none;
  z-index: 100;
  overflow: hidden
}

#search-drop.show {
  display: block
}

.sd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--t);
  border-bottom: 1px solid var(--border)
}

.sd-item:last-child {
  border-bottom: none
}

.sd-item:hover {
  background: var(--cyan-dim)
}

.sd-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--bg4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: var(--cyan-l);
  flex-shrink: 0;
  overflow: hidden
}

.sd-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px
}

.sd-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t1)
}

.sd-sub {
  font-size: 10.5px;
  color: var(--t3)
}

.sd-gmp {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12.5px
}

.sd-gmp.p {
  color: var(--em-l)
}

.sd-gmp.n {
  color: var(--rose-l)
}

/* Top right */
.top-right {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  flex-shrink: 0
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background: var(--em-l);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
  flex-shrink: 0
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.65)
  }
}

#theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  color: var(--t2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t)
}

#theme-toggle:hover {
  border-color: var(--am-border);
  color: var(--am-l);
  background: var(--am-dim)
}

.top-btn.out:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l)
}

.top-btn.fill:hover {
  background: var(--cyan-l);
  transform: translateY(-1px);
  box-shadow: var(--sh-cyan)
}

/* Mobile */
#mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  color: var(--t2);
  align-items: center;
  justify-content: center;
  transition: var(--t)
}

#mobile-menu-btn:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l)
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  background: var(--bg2);
  z-index: 450;
  padding: 14px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  animation: slideDown .22s ease
}

.mobile-nav.open {
  display: block
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--t2);
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--t)
}

.mobile-nav-link:hover {
  background: var(--cyan-dim);
  color: var(--cyan-l)
}

/*  TICKER  */
#ticker {
  background: var(--ticker-bg);
  border-bottom: 2px solid rgba(6, 182, 212, .14);
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

[data-theme="light"] #ticker {
  background: #dce8fa;
  border-bottom-color: rgba(8, 145, 178, .18)
}

.ticker-label {
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--cyan), var(--em-l));
  color: #000;
  font-size: 9.5px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .18em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-scroll {
  flex: 1;
  overflow: hidden
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerMove 55s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused
}

.t-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 34px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  transition: background .15s;
}

.t-item:hover {
  background: var(--cyan-dim)
}

[data-theme="light"] .t-item:hover {
  background: rgba(8, 145, 178, .07)
}

[data-theme="light"] .t-item {
  border-right-color: rgba(8, 145, 178, .1)
}

.t-name {
  font-size: 12px;
  color: var(--t1);
  font-weight: 600
}

.t-gmp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700
}

.t-gmp.p {
  color: var(--em-l)
}

.t-gmp.n {
  color: var(--rose-l)
}

.t-gmp.z {
  color: var(--t3)
}

@keyframes tickerMove {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/*  HERO  */
.hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 64px clamp(16px, 4vw, 40px) 56px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 420px at 8% 55%, rgba(6, 182, 212, .07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 88% 60%, rgba(16, 185, 129, .05) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 182, 212, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, .025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media(max-width:920px) {
  .hero-inner {
    grid-template-columns: 1fr
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan-l);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: -.03em;
  line-height: 1.06;
  color: var(--t1);
  margin-bottom: 18px;
}

.h-accent {
  color: var(--cyan)
}

.h-gain {
  background: linear-gradient(90deg, var(--em-l), var(--cyan-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 15px;
  color: var(--t2);
  max-width: 480px;
  line-height: 1.72;
  margin-bottom: 30px
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

/* PRIMARY — solid, heavy weight */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  transition: var(--t);
  box-shadow: 0 4px 24px rgba(6, 182, 212, .38);
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
}

.btn-p:hover {
  background: var(--cyan-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(6, 182, 212, .52)
}

/* SECONDARY — outline only */
.btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1.5px solid var(--bord3);
  color: var(--t2);
  font-weight: 600;
  font-size: 14px;
  transition: var(--t);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.btn-o:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l);
  background: var(--cyan-dim)
}

/* Hero Snapshot Card */
.snap-card {
  background: var(--bg2);
  border: 1px solid var(--bord2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-card);
  animation: fadeInRight .5s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.snap-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.snap-head-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--t2);
  letter-spacing: .04em;
  text-transform: uppercase
}

.snap-head-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--em-l);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700
}

.snap-rows {
  padding: 10px
}

.snap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 4px;
  transition: var(--t);
  cursor: default;
}

.snap-row:last-child {
  margin-bottom: 0
}

.snap-row:hover {
  background: rgba(255, 255, 255, .025)
}

[data-theme="light"] .snap-row:hover {
  background: rgba(8, 145, 178, .04)
}

.snap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.snap-icon.c {
  background: var(--cyan-dim);
  color: var(--cyan-l)
}

.snap-icon.g {
  background: var(--em-dim);
  color: var(--em-l)
}

.snap-icon.a {
  background: var(--am-dim);
  color: var(--am-l)
}

.snap-icon.r {
  background: var(--rose-dim);
  color: var(--rose-l)
}

.snap-label {
  font-size: 11px;
  color: var(--t3);
  margin-bottom: 1px
}

.snap-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--t1)
}

.snap-val.c {
  color: var(--cyan-l)
}

.snap-val.g {
  color: var(--em-l)
}

.snap-val.a {
  color: var(--am-l)
}

.snap-badge {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 8px;
  border-radius: 99px;
  flex-shrink: 0
}

.snap-badge.on {
  background: var(--em-dim);
  color: var(--em-l);
  border: 1px solid var(--em-border)
}

.snap-badge.up   { background: var(--bg5); color: var(--t3); border-color: var(--bord2); }


.snap-badge.hot  { background: var(--bg5); color: var(--t3); border-color: var(--bord2); }


.snap-badge.done {
  background: var(--bg5);
  color: var(--t3);
  border: 1px solid var(--bord2)
}

/* PAGE BODY  */
.page-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px clamp(16px, 3.5vw, 36px) 80px
}

section {
  margin-bottom: 52px
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 14px
}

.sec-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan-l);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px
}

.dot-live {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--em-l);
  animation: pulse 1.4s infinite
}

.sec-title {
  font-weight: 800;
  font-size: 22px;
  color: var(--t1);
  letter-spacing: -.035em
}

.sec-sub {
  font-size: 12.5px;
  color: var(--t3);
  margin-top: 3px
}

/*  IPO LIST — TABLE ROWS  */

.ipo-row {
  display: grid;
  grid-template-columns: 2.4fr 150px 140px 195px 155px 115px;
  padding: 16px 22px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  cursor: pointer;
  align-items: center;
  position: relative;
}

.ipo-row:last-child {
  border-bottom: none
}

.ipo-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--em-l));
  opacity: 0;
  transition: opacity .2s;
}

.ipo-row:hover {
  background: rgba(6, 182, 212, .04)
}

.ipo-row:hover::before {
  opacity: 1
}

[data-theme="light"] .ipo-row:hover {
  background: rgba(8, 145, 178, .04)
}

/* Animate rows */
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.ipo-row:nth-child(1) {
  animation: rowIn .3s ease both
}

.ipo-row:nth-child(2) {
  animation: rowIn .3s .06s ease both
}

.ipo-row:nth-child(3) {
  animation: rowIn .3s .12s ease both
}

.ipo-row:nth-child(4) {
  animation: rowIn .3s .18s ease both
}

.ipo-row:nth-child(5) {
  animation: rowIn .3s .24s ease both
}

.ipo-row:nth-child(6) {
  animation: rowIn .3s .3s ease both
}

/* Company col */
.ic-co {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.ic-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg4);
  border: 1px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
  color: var(--cyan-l);
  font-family: 'Inter', sans-serif;
}

.ic-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px
}

.ic-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  margin-bottom: 4px
}

.ic-meta-tags {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 3px
}

.ic-size-line {
  font-size: 10px;
  color: var(--t3);
  margin-top: 3px
}

.ic-size-line strong {
  color: var(--cyan-l);
  font-family: 'JetBrains Mono', monospace
}

.ic-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 1.5px 7px;
  background: var(--bg5);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap
}

/* GMP col */
.ic-gmp-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px
}

.ic-gmp-num.pos {
  color: var(--em-l)
}

.ic-gmp-num.pos::before {
  content: '▲ ';
  font-size: 9px;
  opacity: .7
}

.ic-gmp-num.neg {
  color: var(--rose-l)
}

.ic-gmp-num.neg::before {
  content: '▼ ';
  font-size: 9px;
  opacity: .7
}

.ic-gmp-num.neu {
  color: var(--t3)
}

.ic-gmp-pct {
  font-size: 10.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  padding: 1.5px 7px;
  border-radius: 99px;
  display: inline-block
}

.ic-gmp-pct.pos {
  background: var(--em-dim);
  color: var(--em-l);
  border: 1px solid var(--em-border)
}

.ic-gmp-pct.neg {
  background: var(--rose-dim);
  color: var(--rose-l);
  border: 1px solid var(--rose-border)
}

.ic-gmp-pct.neu {
  background: var(--bg5);
  color: var(--t3);
  border: 1px solid var(--bord2)
}

/* Est Listing col */
.ic-est-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--t1);
  margin-bottom: 3px
}

.ic-est-sub {
  font-size: 10.5px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace
}

/* Dates col */
.ic-date-row {
  margin-bottom: 4px
}

.ic-date-label {
  font-size: 8.5px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase
}

.ic-date-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--t2)
}

.ic-date-val.listing-date {
  color: var(--cyan-l);
  font-weight: 700
}

/* Price/lot col */
.ic-info2-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--t1);
  margin-bottom: 3px
}

.ic-info2-sub {
  font-size: 10.5px;
  color: var(--t3)
}

/* Status/action col */
.ic-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px
}

.status-chip {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  white-space: nowrap;
  display: inline-block
}

.status-chip.open {
  background: var(--em-dim);
  border: 1px solid var(--em-border);
  color: var(--em-l)
}

.status-chip.soon {
  background: var(--am-dim);
  border: 1px solid var(--am-border);
  color: var(--am-l)
}

.status-chip.closed {
  background: var(--bg5);
  border: 1px solid var(--bord2);
  color: var(--t3)
}

.ic-view-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan-l);
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--t)
}

.ipo-row:hover .ic-view-btn {
  opacity: 1;
  transform: translateX(0)
}

/* ═══════════════════════════ IPO CARDS (grid) ══════════════════════ */
.ipo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px
}

.ipo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ipo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--em-l));
  opacity: .5;
  transition: opacity .2s;
  pointer-events: none;   
}

.ipo-card::after {
  pointer-events: none;
}
.ipo-card:hover {
  box-shadow: 0 8px 36px rgba(6, 182, 212, .12);
  border-color: var(--cyan-border);
  transform: translateY(-3px)
}

.ipo-card:hover::before {
  opacity: 1
}

.ipo-card-body {
    position: relative;
  z-index: 1;
  padding: 18px
}

.ic-card-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  color: var(--cyan-l)
}

.ic-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px
}

.ic-card-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px
}

.ic-card-tags {
  display: flex;
  gap: 4px
}

.ic-card-gmp-box {
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg3)
}

.ic-card-gmp-box.pos {
  background: var(--em-dim);
  border-color: var(--em-border)
}

.ic-card-gmp-box.neg {
  background: var(--rose-dim);
  border-color: var(--rose-border)
}

.gmpb-label {
  font-size: 8.5px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  margin-bottom: 4px;
  text-transform: uppercase
}

.gmpb-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 22px;
  color: var(--t1);
  line-height: 1
}

.ic-card-gmp-box.pos .gmpb-val {
  color: var(--em-l)
}

.ic-card-gmp-box.neg .gmpb-val {
  color: var(--rose-l)
}

.gmpb-sub {
  font-size: 10px;
  color: var(--t3);
  margin-top: 3px
}

.ipo-card:hover .ic-card-link {
  gap: 7px
}

/*  DATA TABLE  */
.tbl-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg2)
}

.dt {
  width: 100%;
  border-collapse: collapse
}

.dt thead tr {
  background: var(--bg4)
}

.dt th {
  padding: 11px 16px;
  text-align: left;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid var(--bord2)
}

.dt td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--t2);
  vertical-align: middle
}

.dt tbody tr:last-child td {
  border-bottom: none
}

.dt tbody tr:hover {
  background: var(--cyan-dim)
}

.dt td a {
  color: var(--t1);
  font-weight: 600;
  font-size: 13px;
  transition: color .15s
}

.dt td a:hover {
  color: var(--cyan-l)
}

.gmp-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px
}

.gmp-num.p {
  color: var(--em-l)
}

.gmp-num.n {
  color: var(--rose-l)
}

/* Tabs */
.ptabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.ptab {
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--t2);
  cursor: pointer;
  transition: var(--t)
}

.ptab:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l)
}

.ptab.on {
  background: var(--cyan);
  border-color: transparent;
  color: #000;
  box-shadow: 0 3px 16px rgba(6, 182, 212, .3)
}

/* AUTH MODAL */

.modal {
  background: var(--modal-bg);
  border: 1px solid var(--bord2);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
  overflow: hidden;
  animation: mPop .28s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes mPop {
  from {
    transform: scale(.92) translateY(18px);
    opacity: 0
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1
  }
}

.hide {
  display: none !important
}

/* DETAIL PAGE */
/* Breadcrumb */
.detail-breadcrumb {
  font-size: 12.5px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.detail-breadcrumb a {
  color: var(--cyan-l);
  transition: color .15s
}

.detail-breadcrumb a:hover {
  color: var(--cyan)
}

.detail-breadcrumb .sep {
  color: var(--t4)
}

/* Detail hero */
.detail-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 40px clamp(16px, 4vw, 40px) 36px;
  position: relative;
  overflow: hidden;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 600px 320px at 80% 50%, rgba(6, 182, 212, .05), transparent 70%)
}

.detail-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.detail-co-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap
}

.detail-avatar {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: var(--cyan-dim);
  border: 2px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 22px;
  color: var(--cyan-l);
}

.detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px
}

.detail-co-info {
  flex: 1;
  min-width: 200px
}

.detail-co-name {
  font-weight: 900;
  font-size: clamp(22px, 3.5vw, 34px);
  color: var(--t1);
 letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.1
}

.detail-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.dchip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em
}

.dchip.open {
  background: var(--em-dim);
  border: 1px solid var(--em-border);
  color: var(--em-l)
}

.dchip.soon {
  background: var(--am-dim);
  border: 1px solid var(--am-border);
  color: var(--am-l)
}

.dchip.closed {
  background: var(--bg5);
  border: 1px solid var(--bord2);
  color: var(--t3)
}

.dchip.exch {
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-l)
}

.dchip.type {
  background: var(--bg5);
  border: 1px solid var(--bord2);
  color: var(--t2)
}

/* Hero GMP display */
.detail-gmp-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.detail-gmp-box {
  padding:  14px 18px;
  border-radius: var(--r);
  background: var(--em-dim);
  border: 1.5px solid var(--em-border);
  text-align: center;
  min-width: 148px;
}

.detail-gmp-box.neg {
  background: var(--rose-dim);
  border-color: var(--rose-border)
}

.detail-gmp-box.neu {
  background: var(--bg4);
  border-color: var(--bord2)
}

.dgmp-label {
  font-size: 11px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .14em;
  margin-bottom: 7px;
  text-transform: uppercase
}

.dgmp-val {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--em-l);
  margin-bottom: 6px
}

.detail-gmp-box.neg .dgmp-val {
  color: var(--rose-l)
}

.detail-gmp-box.neu .dgmp-val {
  color: var(--t2)
}

.dgmp-pct {
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--em-l)
}

.detail-gmp-box.neg .dgmp-pct {
  color: var(--rose-l)
}

/* Key stats grid */
.detail-kstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 24px
}

.detail-kstat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  transition: border-color .15s
}

.detail-kstat:hover {
  border-color: var(--cyan-border)
}

.dks-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 5px
}

.dks-val {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 16px;
  color: var(--t1)
}

.dks-val.c {
  color: var(--cyan-l)
}

.dks-val.g {
  color: var(--em-l)
}

.dks-val.a {
  color: var(--am-l)
}

/* Action buttons row */
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  border: none;
  font-family: 'Inter', sans-serif;
}

.dab-primary {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 3px 16px rgba(6, 182, 212, .3)
}

.dab-primary:hover {
  background: var(--cyan-l);
  transform: translateY(-1px)
}

.dab-outline {
  background: transparent;
  border: 1.5px solid var(--bord2);
  color: var(--t2)
}

.dab-outline:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l);
  background: var(--cyan-dim)
}

/* Tabs bar */
.detail-tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-tabs-bar::-webkit-scrollbar {
  display: none
}

.dtab {
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t3);
  cursor: pointer;
  transition: var(--t);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.dtab:hover {
  color: var(--t2)
}

.dtab.on {
  color: var(--cyan-l);
  border-bottom-color: var(--cyan)
}

.dtab-panel {
  display: block;
  animation: fadeInUp .25s ease
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Detail body */
.detail-body-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px) 60px
}

.detail-panel-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  margin-bottom: 20px
}

.dpanel-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--t1);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px
}

.dpanel-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--cyan-dim);
  color: var(--cyan-l);
  display: flex;
  align-items: center;
  justify-content: center
}

.d-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px
}

.d-info-box {
  padding: 13px 15px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s
}

.d-info-box:hover {
  border-color: var(--cyan-border)
}

.d-info-label {
  font-size: 9px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  margin-bottom: 5px;
  text-transform: uppercase
}

.d-info-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--t1)
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--bord2);
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--em-l) 50%, var(--cyan) 100%);
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, .03), transparent 70%);
  pointer-events: none;
}

.ft-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px clamp(16px, 3.5vw, 36px) 32px
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.1fr; 
  gap: 40px;
  margin-bottom: 40px;
}

.ft-wordmark {
  display: flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.055em;
  margin-bottom: 16px
}

.ft-wm-main {
  color: var(--t1)
}

.ft-wm-accent {
  color: var(--cyan)
}

.ft-desc {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 300px
}

.ft-h {
  font-weight: 700;
  font-size: 11.5px;
  color: var(--t3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .1em
}

.ft-links {
  list-style: none
}

.ft-links li {
  margin-bottom: 9px
}

.ft-links a {
  font-size: 13.5px;
  color: var(--t2);
  transition: color .15s, padding-left .15s;
  display: flex;
  align-items: center;
  gap: 5px
}

.ft-links a:hover {
  color: var(--cyan-l);
  padding-left: 4px
}

.ft-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.ft-copy {
  font-size: 12px;
  color: var(--t2)
}

.ft-copy em {
  color: var(--cyan-l);
  font-style: normal;
  font-weight: 700
}

.ft-dis {
  font-size: 11px;
  color: var(--t3);
  line-height: 1.65;
  margin-top: 6px;
  max-width: 680px
}

.ft-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  transition: var(--t);
  cursor: pointer
}

.ft-social-btn:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-l);
  background: var(--cyan-dim)
}

/* BLOG CARDS */

/*  MISC */
.mkt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--em-l);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em
}

.hide {
  display: none !important
}

.red-border,

/* RESPONSIVE */
@media(max-width:1100px) {
  .ipo-list-head {
    display: none
  }

  .ipo-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 18px;
    padding: 14px 16px
  }

  .ic-co {
    grid-column: 1/3
  }

  .ic-gmp {
    grid-column: 1;
    grid-row: 2
  }

  .ic-est {
    grid-column: 2;
    grid-row: 2
  }

  .ic-dates {
    grid-column: 1;
    grid-row: 3
  }

  .ic-info2 {
    grid-column: 2;
    grid-row: 3
  }

  .ic-action {
    grid-column: 1/3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    display: flex
  }

  .ic-view-btn {
    opacity: 1;
    transform: none
  }
}

@media(max-width:920px) {

  .top-nav-links,
  .top-divider {
    display: none
  }

  #mobile-menu-btn {
    display: flex
  }

  .top-search {
    max-width: 200px
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:640px) {
  .top-search {
    display: none
  }

  .live-chip {
    display: none
  }

  .hero {
    padding: 44px 16px 36px
  }

  .hero h1 {
    font-size: 28px
  }

  .ipo-cards {
    grid-template-columns: 1fr
  }

  .ft-grid {
    grid-template-columns: 1fr
  }

  .detail-kstats {
    grid-template-columns: 1fr 1fr```````
  }

  .ad-zone-twin-grid {
    grid-template-columns: 1fr
  }
}


/* 
   QUICK VIEW DRAWER — Complete Redesign
*/

/* Override drawer shell */
#ipo-detail-sidebar {
  width: 420px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: var(--bg2) !important;
  border-left: 1px solid var(--bord2) !important;
}

@media(max-width:480px) {
  #ipo-detail-sidebar {
    width: 100vw !important;
  }
}

/* Topbar */
.qv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.qv-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qv-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.4s infinite;
}

.qv-topbar-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.qv-close {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: var(--bg5);
  border: 1px solid var(--border);
  color: var(--t3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
}

.qv-close:hover {
  border-color: var(--rose-border);
  color: var(--rose-l);
  background: var(--rose-dim);
}

/* Body scroll */
.ids-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 !important;
  scrollbar-width: thin;
}

/* Empty state */
.qv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 72px 24px;
  text-align: center;
}

.qv-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg4);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t4);
}

.qv-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--t2);
}

.qv-empty-sub {
  font-size: 12.5px;
  color: var(--t3);
  line-height: 1.6;
}

/* ── HERO with blurry logo BG */
.qv-hero {
  position: relative;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.qv-hero-blur {
  position: absolute;
  inset: -8px;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(.32) saturate(1.5);
  transform: scale(1.06);
}

.qv-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .5) 100%);
}

.qv-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 18px 16px 18px;
  height: 100%;
  gap: 14px;
}

/* Logo box */
.qv-logo {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.qv-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.qv-logo-init {
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Hero info */
.qv-name {
  font-weight: 800;
  font-size: 16.5px;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.qv-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.qv-chip {
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 9px;
  border-radius: 99px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
}

.qv-chip-exch {
  background: rgba(34, 211, 238, .18);
  border: 1px solid rgba(34, 211, 238, .35);
  color: #67e8f9;
}

.qv-chip-type {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .6);
}

/* ── Sections ──────────────────────────────────────────────── */
.qv-section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.qv-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* 2-col GMP grid */
.qv-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.qv-card {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg3);
}

.qv-card-pos {
  background: var(--em-dim);
  border-color: var(--em-border);
}

.qv-card-neg {
  background: var(--rose-dim);
  border-color: var(--rose-border);
}

.qv-card-neu {
  background: var(--bg4);
  border-color: var(--bord2);
}

.qv-card-blue {
  background: var(--cyan-dim);
  border-color: var(--cyan-border);
}

.qv-card-label {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 5px;
}

.qv-card-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  color: var(--t1);
}

.qv-card-pos .qv-card-val {
  color: var(--em-l);
}

.qv-card-neg .qv-card-val {
  color: var(--rose-l);
}

.qv-card-blue .qv-card-val {
  color: var(--cyan-l);
  font-size: 18px;
}

.qv-card-sub {
  font-size: 10px;
  color: var(--t3);
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.qv-card-pos .qv-card-sub {
  color: var(--em-l);
  opacity: .75;
}

.qv-card-neg .qv-card-sub {
  color: var(--rose-l);
  opacity: .75;
}

.qv-card-blue .qv-card-sub {
  color: var(--cyan-l);
  opacity: .7;
}

/* Stats grid */
.qv-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.qv-stat {
  padding: 9px 11px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s;
}

.qv-stat:hover {
  border-color: var(--cyan-border);
}

.qv-stat-l {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 3px;
}

.qv-stat-v {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t1);
  font-family: 'JetBrains Mono', monospace;
}

/* About */
.qv-about {}

.qv-about-text {
  font-size: 12.5px;
  color: var(--t2);
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer action buttons — sticky */
.qv-footer {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--bord2);
  flex-shrink: 0;
  background: var(--bg3);
  position: sticky;
  bottom: 0;
}

.qv-btn-primary {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  background: var(--cyan);
  color: #000;
  border: none;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(6, 182, 212, .28);
}

.qv-btn-primary:hover {
  background: var(--cyan-l);
  transform: translateY(-1px);
}

.qv-wish {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  background: transparent;
  border: 1.5px solid var(--bord2);
  color: var(--t2);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
}

.qv-wish:hover {
  border-color: var(--rose-border);
  color: var(--rose-l);
  background: var(--rose-dim);
}

.qv-wish.wishlisted {
  border-color: var(--rose-border);
  color: var(--rose-l);
  background: var(--rose-dim);
}

/* ── Leaderboard (top)  */

/* ── Inline pair */

@media(max-width:540px) {
  .gad-pair-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Bottom banner */

/* 
   LOGO BLUR — for IPO row avatars & cards
 */
.ic-avatar {
  position: relative;
  overflow: hidden;
}

/* When logo is loaded on an avatar, soften if too small */
.ic-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  image-rendering: auto;
}

/* Add blurry pseudo-bg behind logo images */
.ic-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(8px) brightness(.5) saturate(1.4);
  z-index: 0;
  opacity: 0;
  transition: opacity .25s;
}

.ipo-row:hover .ic-avatar::before {
  opacity: .6;
}

.ic-avatar img,
.ic-avatar span {
  position: relative;
  z-index: 1;
}

/* 
   FULL RESPONSIVE
*/
/* Tablet - ipo rows collapse to 2 col grid */
@media(max-width:1100px) {
  .ipo-list-head {
    display: none;
  }

  .ipo-row {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto;
    gap: 10px 16px;
    padding: 14px 14px;
  }

  .ic-co {
    grid-column: 1 / 3;
  }

  .ic-gmp {
    grid-column: 1;
    grid-row: 2;
  }

  .ic-est {
    grid-column: 2;
    grid-row: 2;
  }

  .ic-dates {
    grid-column: 1;
    grid-row: 3;
  }

  .ic-info2 {
    grid-column: 2;
    grid-row: 3;
  }

  .ic-action {
    grid-column: 1 / 3;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  .ic-view-btn {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile */
@media(max-width:640px) {
  .hero h1 {
    font-size: 26px !important;
  }

  .hero-desc {
    font-size: 13.5px;
  }

  .hero-btns {
    gap: 8px;
  }

  .btn-p,
  .btn-o {
    padding: 11px 20px !important;
    font-size: 13px !important;
  }

  .ipo-cards {
    grid-template-columns: 1fr;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-kstats {
    grid-template-columns: 1fr 1fr;
  }

  .gad-pair-grid {
    grid-template-columns: 1fr;
  }

  .gad-promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .gad-promo-btn {
    width: 100%;
    text-align: center;
  }

  .qv-stats {
    grid-template-columns: 1fr 1fr;
  }

  .qv-2col {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:400px) {
  #top-q {
    display: none;
  }

  .top-wordmark {
    font-size: 16px;
    margin-right: 12px;
  }

  .qv-stats {
    grid-template-columns: 1fr;
  }

  .qv-2col {
    grid-template-columns: 1fr;
  }

  .detail-kstats {
    grid-template-columns: 1fr;
  }
}

/* ── Light mode ad overrides */
[data-theme="light"] .gad-leaderboard {
  background: var(--bg3);
}

[data-theme="light"] .gad-lb-unit {
  border-color: rgba(8, 145, 178, .15);
}

[data-theme="light"] .gad-pair-unit {
  border-color: rgba(8, 145, 178, .12);
}

/* 
   DISCLAIMER & LEGAL SECTIONS
 */
.disclaimer-card {
  border-color: rgba(245, 158, 11, .25) !important;
  background: rgba(245, 158, 11, .03) !important;
}

.disclaimer-body {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.85;
}

.disclaimer-body p {
  margin: 0 0 12px;
}

.disclaimer-body strong {
  color: var(--t1);
}

.disclaimer-notice {
  padding: 12px 16px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .25);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: rgba(245, 158, 11, .9);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* Legal accordion */
.legal-accordion {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.legal-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--bg3);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--t1);
  border: none;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}

.legal-acc-btn:hover {
  background: var(--bg4);
}

.legal-acc-btn svg {
  color: var(--cyan-l);
}

.acc-chevron {
  margin-left: auto;
  transition: transform .25s ease;
  color: var(--t3);
}

.legal-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--bg2);
}

.legal-acc-body.open {
  max-height: 2000px;
}

.legal-section {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

.legal-section:first-child {
  border-top: none;
}

.legal-sec-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-l);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.legal-section p {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.75;
  margin: 0;
}


/* Sticky disclaimer at bottom of sidebar */
.qv-sticky-foot {
  position: sticky;
  bottom: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 2;
}

/* ic-info2 additional sub line */
.ic-info2-sub+.ic-info2-sub {
  margin-top: 1px;
}

/* 
   FOOTER DISCLAIMER EXPANDABLE
 */
.ft-legal-links {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--t3);
}

.ft-legal-links a {
  color: var(--cyan-l);
  text-decoration: underline;
  cursor: pointer;
}

.ft-legal-links span {
  color: var(--bord2);
}

/* 
   BOOTSTRAP LEGAL MODAL
*/
.legal-modal-content {
  background: var(--bg2) !important;
  border: 1px solid var(--bord2) !important;
  border-radius: 16px !important;
  color: var(--t1);
}

.legal-modal-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border) !important;
  padding: 18px 20px !important;
  border-radius: 16px 16px 0 0 !important;
}

.legal-modal-icon {
  font-size: 20px;
}

.legal-modal-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--t1);
  margin: 0;
}

.legal-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg5);
  border: 1px solid var(--border);
  color: var(--t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  margin-left: auto;
}

.legal-modal-close:hover {
  border-color: var(--rose-border);
  color: var(--rose-l);
  background: var(--rose-dim);
}

.legal-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 0 20px;
}

.legal-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t3);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  font-family: 'Inter', sans-serif;
}

.legal-tab:hover {
  color: var(--t2);
}

.legal-tab.active {
  color: var(--cyan-l);
  border-bottom-color: var(--cyan);
}

.legal-modal-body {
  background: var(--bg2);
  padding: 24px 20px !important;
  max-height: 65vh;
  overflow-y: auto;
}

.legal-modal-section p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-modal-section strong {
  color: var(--t1);
}

.legal-section-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.legal-section-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-sec-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-l);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}

.legal-section-item strong {
  font-size: 13.5px;
  color: var(--t1);
  display: block;
  margin-bottom: 5px;
}

.legal-section-item p {
  margin: 0;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
}

.legal-notice-box {
  padding: 13px 16px;
  background: rgba(245, 158, 11, .08);
  border: 1px solid rgba(245, 158, 11, .25);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(245, 158, 11, .9);
  font-weight: 600;
  margin-top: 16px;
}

/* ── Bootstrap modal backdrop override ── */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, .6) !important;
}

/* 
   REDESIGNED QV SIDEBAR (Professional)
 */
/* Hero */
.qv-hero {
  position: relative;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.qv-hero-bg {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(.28) saturate(1.6);
  transform: scale(1.08);
}

.qv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55));
}

.qv-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 16px 18px 18px;
  height: 100%;
}

.qv-avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1.5px solid rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.qv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.qv-avatar-init {
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  position: absolute;
}

.qv-company-name {
  font-weight: 800;
  font-size: 15.5px;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 7px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.qv-hero-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.qv-badge-open {
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 99px;
  background: rgba(52, 211, 153, .25);
  border: 1px solid rgba(52, 211, 153, .4);
  color: #6ee7b7;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
}

.qv-badge-soon {
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 99px;
  background: rgba(251, 191, 36, .2);
  border: 1px solid rgba(251, 191, 36, .4);
  color: #fde68a;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
}

.qv-badge-closed {
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .65);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
}

.qv-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .65);
  font-family: 'JetBrains Mono', monospace;
}

/* Body */
.qv-body {
  padding: 0;
}

/* Metrics row */
.qv-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.qv-metric {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
}

.qv-metric:last-child {
  border-right: none;
}

.qv-metric-label {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}

.qv-metric-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 22px;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 4px;
}

.qv-metric.qv-metric-pos .qv-metric-value {
  color: var(--em-l);
}

.qv-metric.qv-metric-neg .qv-metric-value {
  color: var(--rose-l);
}

.qv-metric.qv-metric-neu .qv-metric-value {
  color: var(--t3);
}

.qv-listing {
  color: var(--cyan-l) !important;
  font-size: 20px !important;
}

.qv-metric-sub {
  font-size: 10px;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
}

.qv-metric-pos .qv-metric-sub {
  color: var(--em-l);
  opacity: .7;
}

/* Details grid */
.qv-details-grid {
  border-bottom: 1px solid var(--border);
}

.qv-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 18px;
  border-bottom: 1px solid var(--border);
}

.qv-detail-row:last-child {
  border-bottom: none;
}

.qv-detail-label {
  font-size: 11.5px;
  color: var(--t3);
}

.qv-detail-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t1);
  font-family: 'JetBrains Mono', monospace;
}

/* About */
.qv-about {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.qv-about-label {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.qv-about-text {
  font-size: 12.5px;
  color: var(--t2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Actions */
.qv-actions {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.qv-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: var(--cyan);
  color: #000;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 3px 16px rgba(6, 182, 212, .28);
}

.qv-btn-primary:hover {
  background: var(--cyan-l);
  color: #000;
  transform: translateY(-1px);
}

/* Disclaimer at bottom */
.qv-disclaimer {
  padding: 10px 18px;
  font-size: 10.5px;
  color: var(--t3);
  line-height: 1.6;
  background: rgba(245, 158, 11, .04);
  border-top: 1px solid rgba(245, 158, 11, .15);
}

.qv-disclaimer a {
  color: var(--cyan-l);
  text-decoration: underline;
}

/*
   UPCOMING IPO CARDS — PROFESSIONAL REDESIGN
 */
.ipo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.ipo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ipo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--am-l), var(--cyan));
  opacity: .7;
  transition: opacity .2s;
}

.ipo-card:hover {
  box-shadow: 0 8px 32px rgba(6, 182, 212, .12);
  border-color: var(--cyan-border);
  transform: translateY(-3px);
}

.ipo-card:hover::after {
  opacity: 1;
}

.ic-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ic-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ic-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ic-card-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bg3);
  border: 1px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  color: var(--cyan-l);
}

.ic-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.ic-card-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  max-width: 180px;
}

.ic-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* GMP section */
.ic-card-gmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.ic-card-gmp-box {
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg3);
}

.ic-card-gmp-box.pos {
  background: var(--em-dim);
  border-color: var(--em-border);
}

.ic-card-gmp-box.neg {
  background: var(--rose-dim);
  border-color: var(--rose-border);
}

.ic-card-gmp-box.neu {
  background: var(--bg4);
  border-color: var(--bord2);
}

.gmpb-label {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

.gmpb-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 22px;
  color: var(--t1);
  line-height: 1;
}

.ic-card-gmp-box.pos .gmpb-val {
  color: var(--em-l);
}

.ic-card-gmp-box.neg .gmpb-val {
  color: var(--rose-l);
}

.gmpb-sub {
  font-size: 10px;
  color: var(--t3);
  margin-top: 3px;
}

/* Card info row */
.ic-card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.ic-card-info-dates {
  font-size: 11.5px;
  color: var(--t3);
}

.ic-card-info-dates strong {
  color: var(--am-l);
  font-weight: 700;
}

.ic-card-view {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan-l);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
}

.ipo-card:hover .ic-card-view {
  gap: 7px;
}



/* Bootstrap override: ensure dark modal */
[data-bs-theme="dark"] .modal-content,
.modal-content {
  background: var(--bg2);
  color: var(--t1);
  border: 1px solid var(--bord2);
}

/* 
   REFERENCE TABLE — RESPONSIVE + PAGINATION
 */
.ref-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Prevent layout jump while data loads — glitch-free UX */
  min-height: 420px;
  transition: opacity .2s ease;
  position: relative;
}

/* Loading state: dim content, don't hide it (zero layout shift) */
.ref-table-wrap.tbl-fetching {
  opacity: 0.45;
  pointer-events: none;
}

/* Ready state: fully visible */
.ref-table-wrap.ready {
  opacity: 1;
}

/* Skeleton shimmer overlay during first load */
.ref-table-wrap.tbl-fetching::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--cyan-rgb, 0,200,200), 0.04) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: _tblShimmer 1.4s infinite;
  pointer-events: none;
  border-radius: 4px;
}

@keyframes _tblShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.ref-table {
  min-width: 480px;
}

.ref-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan-l);
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}

.ref-view-btn:hover {
  background: var(--cyan);
  color: #000;
}

/* Table row company avatar */
.row-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg2);
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: middle;
}
.row-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.row-logo-txt {
  font-size: 9px;
  font-weight: 800;
  color: var(--t2);
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.td-company a {
  color: var(--t1);
  font-weight: 600;
  font-size: 13.5px;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
}

.td-company a:hover {
  color: var(--cyan-l);
}

.td-mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13px;
}

.td-num {
  color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  width: 36px;
}

.th-num {
  width: 36px;
}

/* Pagination */
.ref-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  flex-wrap: wrap;
}

.pg-info {
  font-size: 12.5px;
  color: var(--t3);
}

.pg-btns {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pg-btn {
  min-width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--bord2);
  color: var(--t2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
}

.pg-btn:hover:not(:disabled) {
  border-color: var(--cyan-border);
  color: var(--cyan-l);
  background: var(--cyan-dim);
}

.pg-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.pg-btn.pg-active {
  background: var(--cyan);
  border-color: transparent;
  color: #000;
  box-shadow: 0 2px 10px rgba(6, 182, 212, .3);
}

.pg-ellipsis {
  color: var(--t3);
  font-size: 13px;
  padding: 0 4px;
  line-height: 34px;
}

.no-ipo-msg {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
  color: var(--t3);
  font-size: 14px;
  background: var(--bg2);
  border: 1px dashed var(--bord2);
  border-radius: var(--r-lg);
}


/* 
   DETAIL PAGE — TAB BAR STICKY FIX + RESPONSIVE
*/
.detail-tabs-bar {
  position: sticky;
  top: var(--topbar-h);
  z-index: 200;
  background: var(--bg2);
  border-bottom: 2px solid var(--border);
  padding: 0 clamp(12px, 3vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.detail-tabs-bar::-webkit-scrollbar {
  display: none;
}

.detail-body-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(12px, 3.5vw, 36px) 60px;
}

/* Fix contact grid responsive */
#tab-contact>div:first-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/*
   FULL RESPONSIVE OVERHAUL
 */

/* ─ Hero */
@media(max-width:920px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .snap-card {
    display: none;
  }

  .hero {
    padding: 48px clamp(14px, 4vw, 32px) 40px;
  }
}

/* ─ Page body padding  */
@media(max-width:768px) {
  .page-body {
    padding: 24px 14px 60px;
  }

  .sec-title {
    font-size: 18px;
  }

  section {
    margin-bottom: 36px;
  }
}

/* ─ IPO Cards — Responsive grid ───────────────────────── */
@media(max-width:900px) {
  .ipo-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
  }
}

@media(max-width:600px) {
  .ipo-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ic-card-body {
    padding: 14px;
  }

  .ic-card-name {
    font-size: 13px;
  }

  .gmpb-val {
    font-size: 18px;
  }
}

/* ─ Topbar  */
@media(max-width:960px) {

  .top-nav-links,
  .top-divider {
    display: none;
  }

  #mobile-menu-btn {
    display: flex;
  }

  .top-search {
    max-width: 180px;
  }
}

@media(max-width:640px) {
  .top-search {
    display: none;
  }

  .live-chip,
  .mkt-badge {
    display: none;
  }

  .top-wordmark {
    font-size: 16px;
    margin-right: 10px;
  }
}

/* ─ Tables — hide columns on small screens ─────────────── */
@media(max-width:768px) {

  .th-hide-sm,
  td.th-hide-sm {
    display: none !important;
  }
}

@media(max-width:520px) {

  .th-hide-xs,
  td.th-hide-xs {
    display: none !important;
  }

  .dt td,
  .dt th {
    padding: 10px 10px;
  }
}

/* ─ Reference Table pagination ─────────────────────────── */
@media(max-width:480px) {
  .ref-pagination {
    justify-content: center;
  }

  .pg-info {
    width: 100%;
    text-align: center;
  }

  .pg-btn {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* ─ Footer ──────────────────────────────────────────────── */
@media(max-width:768px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .ft-inner {
    padding: 36px 16px 24px;
  }
}

@media(max-width:480px) {
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ft-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .ft-legal-links {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ─ Detail page ─────────────────────────────────────────── */
@media(max-width:768px) {
  .detail-hero {
    padding: 28px 14px 24px;
  }

  .detail-co-row {
    gap: 12px;
  }

  .detail-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .detail-co-name {
    font-size: 20px;
  }

  .detail-gmp-row {
    gap: 8px;
  }

  .detail-gmp-box {
    padding: 16px 18px;
    min-width: 140px;
  }

  .dgmp-val {
    font-size: 34px;
  }

  .detail-kstats {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-actions {
    gap: 7px;
  }

  .detail-action-btn {
    padding: 9px 14px;
    font-size: 12px;
  }

  .detail-body-wrap {
    padding: 16px 12px 48px;
  }

  .dtab {
    padding: 10px 14px;
    font-size: 12.5px;
  }

  #tab-contact>div:first-child {
    grid-template-columns: 1fr !important;
  }
}

@media(max-width:480px) {
  .detail-kstats {
    grid-template-columns: 1fr 1fr;
  }

  .detail-gmp-box {
    padding: 12px 14px;
    min-width: 120px;
  }

  .dgmp-val {
    font-size: 28px;
  }

  .detail-co-name {
    font-size: 17px;
  }

}

/* ─ QV Sidebar */
@media(max-width:500px) {
  #ipo-detail-sidebar {
    width: 100vw !important;
  }

  .qv-company-name {
    font-size: 14px;
  }

  .qv-metric-value {
    font-size: 18px;
  }
}

/* ipo-nav responsive removed */

/* ─ Legal modal  */
@media(max-width:600px) {
  .legal-modal-tabs {
    gap: 0;
    overflow-x: auto;
    padding: 0 12px;
  }

  .legal-tab {
    padding: 10px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .legal-modal-header {
    padding: 14px 14px !important;
  }

  .legal-modal-body {
    padding: 16px 14px !important;
  }
}

/* ─ Ticker ──────────────────────────────────────────────── */
@media(max-width:480px) {
  .ticker-label {
    display: none;
  }
}

/* ─ Breadcrumb detail ─────────────────────────────────────  */
.detail-breadcrumb {
  padding: 12px clamp(12px, 3vw, 32px);
  font-size: 12px;
}

@media(max-width:480px) {
  .detail-breadcrumb {
    display: none;
  }
}

/* 
   ABOUT MAINBOARDGMP — Clean Grid Layout
 */
#about-section .about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg2);
  overflow: hidden;
}

.about-item {
  padding: 32px 34px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background .18s;
}
.about-item:nth-child(even)  { border-right: none; }
.about-item:nth-child(3),
.about-item:nth-child(4)     { border-bottom: none; }

.about-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--em-l));
  opacity: 0;
  transition: opacity .2s;
}
.about-item:hover             { background: rgba(6,182,212,.03); }
.about-item:hover::after      { opacity: 1; }

[data-theme="light"] .about-item:hover {
  background: rgba(8,145,178,.03);
}

.about-item-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--t1);
  margin: 0 0 10px;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.about-item-body {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.78;
  margin: 0;
}

@media (max-width: 768px) {
  #about-section .about-card   { grid-template-columns: 1fr; }
  .about-item                  { border-right: none; }
  .about-item:nth-child(3)     { border-bottom: 1px solid var(--border); }
  .about-item:nth-child(4)     { border-bottom: none; }
  .about-item                  { padding: 24px 20px; }
}

/* 
   GUIDE CARDS — Image + Content, polished
*/
.guide-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.guide-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .22s, box-shadow .22s;
  cursor: default;
}
.guide-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(6,182,212,.10);
}

/* Image banner */
.guide-card-img {
  height: 150px;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg4);
  flex-shrink: 0;
  transition: transform .35s ease;
}
.guide-card:hover .guide-card-img {
  transform: scale(1.04);
}

/* Content below image */
.guide-card-content {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.guide-icon-cyan { background: var(--cyan-dim);  color: var(--cyan-l);  border: 1px solid var(--cyan-border); }
.guide-icon-em   { background: var(--em-dim);    color: var(--em-l);    border: 1px solid var(--em-border); }
.guide-icon-am   { background: var(--am-dim);    color: var(--am-l);    border: 1px solid var(--am-border); }
.guide-icon-rose { background: var(--rose-dim);  color: var(--rose-l);  border: 1px solid var(--rose-border); }

.guide-card-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--t1);
  margin-bottom: 8px;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.guide-card-body {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.72;
  margin: 0;
  flex: 1;
}
.guide-card-body strong { color: var(--t1); }

/* Responsive */
@media (max-width: 1100px) {
  .guide-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .guide-cards { grid-template-columns: 1fr; gap: 10px; }
  .guide-card-img { height: 130px; }
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION — Clean, polished
══════════════════════════════════════════════════════════════ */
.faq-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 0;
}

.faq-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 22px;
  background: var(--bg3);
  border-bottom: 1px solid var(--bord2);
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -.01em;
}
.faq-head svg { color: var(--cyan-l); flex-shrink: 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 22px;
  background: none;
  border: none;
  color: var(--t1);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: background .15s, color .15s;
}
.faq-q:hover             { background: var(--cyan-dim); color: var(--cyan-l); }
.faq-q.open              { background: var(--cyan-dim); color: var(--cyan-l); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--t3);
  transition: transform .25s ease, color .15s;
}
.faq-q.open .faq-chevron { transform: rotate(180deg); color: var(--cyan-l); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 22px;
}
.faq-a.open { max-height: 300px; padding: 0 22px 16px; }

.faq-a p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.78;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .faq-q  { padding: 13px 16px; font-size: 13px; }
  .faq-a  { padding: 0 16px; }
  .faq-a.open { padding: 0 16px 14px; }
}

/* 
   FOOTER SOCIAL ROW
 */
.ft-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 2px;
}
.ft-social-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ft-social-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ft-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.ft-social-btn:hover { transform: translateY(-2px); }

.ft-social-btn[aria-label="X (Twitter)"]:hover {
  border-color: rgba(255,255,255,.25); color: #e7e7e7; background: rgba(255,255,255,.06);
}
.ft-social-btn[aria-label="Telegram"]:hover {
  border-color: rgba(42,171,238,.4); color: #2AABEE; background: rgba(42,171,238,.08);
}
.ft-social-btn[aria-label="YouTube"]:hover {
  border-color: rgba(255,68,68,.35); color: #ff4444; background: rgba(255,0,0,.07);
}
.ft-social-btn[aria-label="Instagram"]:hover {
  border-color: rgba(225,48,108,.35); color: #E1306C; background: rgba(225,48,108,.07);
}
.ft-social-btn[aria-label="WhatsApp"]:hover {
  border-color: rgba(37,211,102,.35); color: #25D366; background: rgba(37,211,102,.07);
}

@media (max-width: 480px) {
  .ft-social-row { gap: 10px; }
  .ft-social-btn { width: 34px; height: 34px; border-radius: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   IPO ANALYTICS DASHBOARD — Subscription Section
   Prefix: idash-  iprog-  iapp-  ival-  itl-  itip  ibadge
══════════════════════════════════════════════════════════════ */

/* ── Section header ─────────────────────────────────────────── */
.idash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.idash-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--t2);
}
.idash-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--em-l);
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 30px;
  padding: 3px 9px;
}
.idash-live-dot {
  width: 6px; height: 6px;
  background: var(--em-l);
  border-radius: 50%;
  animation: idLivePulse 1.4s ease-in-out infinite;
}
@keyframes idLivePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }

/* ── Two-column row ─────────────────────────────────────────── */
.idash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* ── Base card ──────────────────────────────────────────────── */
.idash-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.idash-card:hover { border-color: var(--cyan-border); }
.idash-row .idash-card { margin-bottom: 0; }

/* ── Card section header ────────────────────────────────────── */
.idash-card-hd {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.idash-hd-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--t3);
  margin-left: 4px;
}

/* ── Insight badges row ─────────────────────────────────────── */
.idash-insights .idash-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.idash-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  flex: 1;
  min-width: 120px;
}
.idash-b-icon { font-size: 17px; }
.idash-b-name { font-size: 11px; color: var(--t3); font-weight: 600; margin-bottom: 3px; }

/* ── Status badges ──────────────────────────────────────────── */
.ibadge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
}
.ibadge-sc-strong   { background:rgba(16,185,129,.13); color:var(--em-l);   border:1px solid rgba(16,185,129,.25); }
.ibadge-sc-good     { background:rgba(52,211,153,.11); color:#6ee7b7;       border:1px solid rgba(52,211,153,.25); }
.ibadge-sc-moderate { background:rgba(245,158,11,.13); color:var(--am-l);   border:1px solid rgba(245,158,11,.25); }
.ibadge-sc-weak     { background:rgba(244,63,94,.12);  color:var(--rose-l); border:1px solid rgba(244,63,94,.25);  }

/* ── Score card ─────────────────────────────────────────────── */
.idash-score-card .idash-card-hd { margin-bottom: 14px; }
.idash-score-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.idash-score-num {
  font-size: 42px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  color: var(--t1);
}
.idash-score-denom { font-size: 18px; color: var(--t3); font-weight: 600; }
.idash-score-badge { align-self: center; }

.idash-score-track {
  height: 10px;
  background: var(--bg4);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.idash-score-fill { height: 100%; border-radius: 99px; width: 0%; }
.sc-strong   .idash-score-fill, .idash-score-fill.sc-strong   { background:linear-gradient(90deg,#10b981,#34d399); box-shadow:0 0 8px rgba(16,185,129,.5); }
.sc-good     .idash-score-fill, .idash-score-fill.sc-good     { background:linear-gradient(90deg,#34d399,#6ee7b7); }
.sc-moderate .idash-score-fill, .idash-score-fill.sc-moderate { background:linear-gradient(90deg,#f59e0b,#fbbf24); box-shadow:0 0 8px rgba(245,158,11,.4); }
.sc-weak     .idash-score-fill, .idash-score-fill.sc-weak     { background:linear-gradient(90deg,#f43f5e,#fb7185); box-shadow:0 0 8px rgba(244,63,94,.35); }

.idash-score-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-l {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  opacity: .75;
}
.sc-l.sc-weak     { background:rgba(244,63,94,.1);  color:var(--rose-l); }
.sc-l.sc-moderate { background:rgba(245,158,11,.1); color:var(--am-l);   }
.sc-l.sc-good     { background:rgba(52,211,153,.1); color:#6ee7b7;       }
.sc-l.sc-strong   { background:rgba(16,185,129,.1); color:var(--em-l);   }

/* ── Progress bars ──────────────────────────────────────────── */
.idash-prog-list { display: flex; flex-direction: column; gap: 14px; }
.iprog-item {}
.iprog-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.iprog-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.iprog-info { flex: 1; min-width: 0; }
.iprog-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t1);
}
.iprog-shares { font-size: 11px; color: var(--t3); font-family:'JetBrains Mono',monospace; }
.iprog-pct { font-size: 12.5px; font-weight: 800; font-family:'JetBrains Mono',monospace; white-space:nowrap; }

.iprog-track {
  height: 7px;
  background: var(--bg4);
  border-radius: 99px;
  overflow: hidden;
}
.iprog-bar { height: 100%; border-radius: 99px; width: 0%; }

.prog-qib { color: #a78bfa; }
.prog-qib.iprog-bar { background: linear-gradient(90deg,#7c3aed,#a78bfa); }
.prog-nii { color: var(--em-l); }
.prog-nii.iprog-bar { background: linear-gradient(90deg,#10b981,#34d399); }
.prog-ret { color: var(--cyan-l); }
.prog-ret.iprog-bar { background: linear-gradient(90deg,var(--cyan),var(--cyan-l)); }
.prog-emp { color: #93c5fd; }
.prog-emp.iprog-bar { background: linear-gradient(90deg,#3b82f6,#93c5fd); }
.prog-mm  { color: var(--am-l); }
.prog-mm.iprog-bar  { background: linear-gradient(90deg,#f59e0b,#fbbf24); }

.iprog-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--t3);
  font-weight: 600;
}
.iprog-total span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--t1);
}

/* ── Application sizing ─────────────────────────────────────── */
.iapp-grid { display: flex; flex-direction: column; gap: 10px; }
.iapp-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .18s, transform .15s;
}
.iapp-card:hover { border-color: var(--cyan-border); transform: translateX(2px); }
.iapp-retail { border-left: 3px solid var(--cyan-l)  !important; }
.iapp-hni    { border-left: 3px solid var(--em-l)    !important; }
.iapp-bhni   { border-left: 3px solid #a78bfa        !important; }
.iapp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.iapp-icon { font-size: 17px; }
.iapp-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 5px;
}
.iapp-rows { display: flex; flex-direction: column; gap: 4px; }
.iapp-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.iapp-k { color: var(--t3); }
.iapp-v { font-weight: 700; font-family:'JetBrains Mono',monospace; color: var(--t1); }

/* ── Valuation metrics ──────────────────────────────────────── */
.ival-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ival-item {
  border-radius: 11px;
  padding: 15px 13px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform .15s;
}
.ival-item:hover { transform: translateY(-2px); }
.ival-eps { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.18); }
.ival-pe  { background: rgba(6,182,212,.06);  border-color: var(--cyan-border); }
.ival-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ival-num {
  font-size: 26px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
}
.ival-eps .ival-num { color: var(--am-l); }
.ival-pe  .ival-num { color: var(--cyan-l); }
.ival-unit { font-size: 14px; opacity: .7; font-weight: 600; }

/* ── Timeline ───────────────────────────────────────────────── */
.itl-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.itl-item {
  display: grid;
  grid-template-columns: 26px 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s, padding .15s;
}
.itl-item:last-child { border-bottom: none; }
.itl-item:hover { background: var(--cyan-dim); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.itl-step {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1.5px solid var(--cyan-border);
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tl-warn .itl-step { background: var(--am-dim); border-color: var(--am-border); color: var(--am-l); }
.itl-icon  { font-size: 16px; text-align: center; }
.itl-label { font-size: 13px; font-weight: 600; color: var(--t1); }
.itl-val   { font-family:'JetBrains Mono',monospace; font-size: 12.5px; font-weight: 700; color: var(--cyan-l); white-space: nowrap; }
.tl-warn .itl-val { color: var(--am-l); }

/* ── Investor Interpretation ────────────────────────────────── */
.idash-interp { background: var(--bg3); }
.iinterp-list {
  padding-left: 18px;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.iinterp-list li { font-size: 13px; color: var(--t2); line-height: 1.65; }
.iinterp-list li strong { color: var(--t1); }
.iinterp-summary {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ── Action links ───────────────────────────────────────────── */
.idash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 10px;
}

/* ── Tooltip ────────────────────────────────────────────────── */
.itip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px; height: 15px;
  background: var(--bg4);
  border: 1px solid var(--bord2);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  color: var(--t3);
  cursor: help;
  position: relative;
  flex-shrink: 0;
  user-select: none;
}
.itip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  background: var(--bg3);
  border: 1px solid var(--bord2);
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 11.5px;
  color: var(--t2);
  font-weight: 400;
  line-height: 1.55;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  pointer-events: none;
  white-space: normal;
  text-align: left;
}

/* ── Spinner / empty ────────────────────────────────────────── */
.sub-loading-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 16px;
  color: var(--t3);
  font-size: 13.5px;
}
.ipo-sub-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: idLivePulse .7s linear infinite;
  flex-shrink: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .idash-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ival-grid { grid-template-columns: 1fr 1fr; }
  .idash-card { padding: 16px 15px; }
  .idash-score-num { font-size: 34px; }
  .idash-badge-item { min-width: 110px; padding: 8px 10px; }
}
@media (max-width: 400px) {
  .ival-grid { grid-template-columns: 1fr; }
}

/*
   NSE LIVE SUBSCRIPTION TABLE

 */

/* ── Card header extras  */
.ilive-sym {
  font-size: 11px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-l);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  border-radius: 5px;
  padding: 1px 7px;
  letter-spacing: .04em;
}
.ilive-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--em-l);
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 30px;
  padding: 2px 8px;
}
.ilive-ts {
  font-size: 11px;
  font-weight: 400;
  color: var(--t3);
  margin-left: auto;
}

/* ── Scrollable wrapper ─────────────────────────────────────── */
.ilive-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

/* ── Table ──────────────────────────────────────────────────── */
.ilive-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}
.ilive-tbl thead tr {
  background: var(--bg4);
}
.ilive-tbl thead th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--t2);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--bord2);
}
.ilive-tbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.ilive-tbl tbody tr:last-child { border-bottom: none; }
.ilive-tbl tbody tr:hover { background: var(--cyan-dim); }
.ilive-tbl tbody td {
  padding: 11px 14px;
  color: var(--t1);
  white-space: nowrap;
}

/* Total row highlight */
.ilive-total-row { background: var(--bg3) !important; }
.ilive-total-row td { font-weight: 700; }

/* Category cell */
.ilive-cat { font-weight: 700; color: var(--t1); }

/* Subscription badge */
.ilive-sub { }
.isub-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.isub-badge.sub-hot  { background:rgba(16,185,129,.14); color:var(--em-l);   border:1px solid rgba(16,185,129,.28); }
.isub-badge.sub-good { background:rgba(6,182,212,.12);  color:var(--cyan-l); border:1px solid var(--cyan-border); }
.isub-badge.sub-ok   { background:rgba(245,158,11,.12); color:var(--am-l);   border:1px solid var(--am-border); }
.isub-badge.sub-low  { background:rgba(244,63,94,.10);  color:var(--rose-l); border:1px solid var(--rose-border); }

/* Number cells */
.ilive-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--t2);
  text-align: right;
}
.ilive-tbl thead th:not(:first-child) { text-align: right; }

/* Footer note */
.ilive-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--t3);
  margin: 0;
  padding-top: 4px;
}


/* 
   FOOTER TYPOGRAPHY OVERRIDE:-
 */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--bord2);
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--em-l) 50%, var(--cyan) 100%);
}

.ft-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px clamp(18px, 3.5vw, 40px) 36px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; 
  gap: 40px;
  margin-bottom: 44px;
}

/* ── Brand column ─────────────────────────── */
.ft-wordmark {
  display: flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}
.ft-wm-main   { color: var(--t1); }
.ft-wm-accent { color: var(--cyan); }

.ft-desc {
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 320px;
}

/* ── Column headings ──────────────────────── */
.ft-h {
  font-weight: 800;
  font-size: 12px;
  color: var(--t3);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ── Nav links ────────────────────────────── */
.ft-links { list-style: none; }

.ft-links li { margin-bottom: 13px; }

.ft-links a {
  font-size: 14.5px;
  color: var(--t2);
  transition: color .15s, padding-left .15s;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
  text-decoration: none;
}

.ft-links a:hover {
  color: var(--cyan-l);
  padding-left: 5px;
}

.ft-links a i {
  font-size: 13px;
  width: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Social row ────────────────────────────── */
.ft-social-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 4px;
}

.ft-social-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--t3);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ft-social-label i { font-size: 13px; }

.ft-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ft-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg4);
  border: 1.5px solid var(--bord2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
  font-size: 17px;
}

.ft-social-btn:hover { transform: translateY(-3px); }

.ft-social-btn[aria-label="X (Twitter)"]:hover {
  border-color: rgba(255,255,255,.25);
  color: #e7e7e7;
  background: rgba(255,255,255,.06);
}
.ft-social-btn[aria-label="Telegram"]:hover {
  border-color: rgba(42,171,238,.4);
  color: #2AABEE;
  background: rgba(42,171,238,.08);
}
.ft-social-btn[aria-label="YouTube"]:hover {
  border-color: rgba(255,68,68,.35);
  color: #ff4444;
  background: rgba(255,0,0,.07);
}
.ft-social-btn[aria-label="Instagram"]:hover {
  border-color: rgba(225,48,108,.35);
  color: #E1306C;
  background: rgba(225,48,108,.07);
}
.ft-social-btn[aria-label="WhatsApp"]:hover {
  border-color: rgba(37,211,102,.35);
  color: #25D366;
  background: rgba(37,211,102,.07);
}

/* ── Bottom bar ────────────────────────────── */
.ft-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ft-copy {
  font-size: 14px;
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ft-copy em {
  color: var(--cyan-l);
  font-style: normal;
  font-weight: 800;
}

.ft-copy i {
  font-size: 13px;
  opacity: 0.75;
}

.ft-dis {
  font-size: 12.5px;
  color: var(--t3);
  line-height: 1.72;
  margin-top: 8px;
  max-width: 700px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.ft-dis i {
  font-size: 12px;
  color: var(--am-l);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Legal links ───────────────────────────── */
.ft-legal-links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--t3);
  flex-wrap: wrap;
}

.ft-legal-links a {
  color: var(--cyan-l);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .15s;
}

.ft-legal-links a:hover {
  color: var(--cyan-xl);
  text-decoration: underline;
}

.ft-legal-links a i { font-size: 11px; }

.ft-legal-links span {
  color: var(--bord3);
  font-size: 15px;
}

/* ── Legal modal tabs ──────────────────────── */
.legal-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t3);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
}

.legal-tab:hover  { color: var(--t2); }
.legal-tab.active { color: var(--cyan-l); border-bottom-color: var(--cyan); }
.legal-tab i { font-size: 12px; }

/* ── Footer mkt-badge ──────────────────────── */
.ft-inner .mkt-badge {
  font-size: 12px;
  padding: 5px 13px;
  background: var(--em-dim);
  border: 1px solid var(--em-border);
  border-radius: 20px;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 920px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap:  28px;
  }
}

@media (max-width: 600px) {
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ft-inner {
    padding: 36px 16px 24px;
  }
  .ft-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .ft-legal-links {
    font-size: 12.5px;
    flex-wrap: wrap;
  }
  .ft-social-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}



/* ══════════════════════════════════════════════════════════════
   DETAIL PAGE —*/
/* ── 1. Wider container for detail pages ─────────────────────
──────────────────────────────────────────────────────────────── */
.detail-hero-inner,
.detail-body-wrap {
  max-width: 1400px;
}

/* ── 2. Company name g ─────────────

.detail-co-name {
  font-size: clamp(26px, 3.8vw, 40px);
  letter-spacing: -0.05em;
}

/* ── 3. GMP value — more visual weight ──────────────────────
     Now: 52px
──────────────────────────────────────────────────────────────── */
.dgmp-val {
  font-size: 52px;
}

/* ── 4. GMP label + percentage subtitle ─────────────────────
    Now: 10px / 14px
──────────────────────────────────────────────────────────────── */
.dgmp-label {
  font-size: 11px;
  letter-spacing: 0.16em;
}
.dgmp-pct {
  font-size: 14px;
}

/* ── 5. Key stats (8-box grid under hero) ────────────────────

──────────────────────────────────────────────────────────────── */
.dks-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.dks-val {
  font-size: 18px;
  font-family: 'Inter'; font-variant-numeric: tabular-nums;
}

/* ── 6. Sticky tab bar — labels slightly bigger ──────────────
  
──────────────────────────────────────────────────────────────── */
.dtab {
  font-size: 14px;
  padding: 12px 24px;
}

/* ── 7. Panel section title ──────────────────────────────────
  
──────────────────────────────────────────────────────────────── */
.dpanel-title {
  font-size: 17px;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

/* ── 8. Panel body — about text + tables ─────────────────────

──────────────────────────────────────────────────────────────── */
#tab-about .detail-panel-card > div[style*="font-size:14.5px"],
#tab-about .detail-panel-card > div[style*="font-size: 14.5px"] {
  font-size: 15.5px !important;
  line-height: 1.85 !important;
}

/* ── 9. Info boxes (Key Ratios / Issue Details grid) ─────────
──────────────────────────────────────────────────────────────── */
.d-info-label {
  font-size: 10.5px;
  margin-bottom: 6px;
}
.d-info-val {
  font-size: 15.5px;
}

/* ── 10. Data tables — readable at a glance ─────────────────
──────────────────────────────────────────────────────────────── */
.detail-panel-card .dt th {
  font-size: 11px;
  padding: 12px 18px;
}
.detail-panel-card .dt td {
  font-size: 14.5px;
  padding: 14px 18px;
}

/* ── 11. Subscription / Analytics dashboard ─────────────────

──────────────────────────────────────────────────────────────── */
.idash-card-hd {
  font-size: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
}
.iprog-label {
  font-size: 13.5px;
}
.iprog-shares {
  font-size: 12px;
}
.iprog-pct {
  font-size: 13.5px;
}
.iinterp-list li {
  font-size: 14px;
  line-height: 1.72;
}
.iinterp-summary {
  font-size: 14px;
}

/* ── 12. NSE live table readability ──────────────────────────
 
──────────────────────────────────────────────────────────────── */
.ilive-tbl thead th {
  font-size: 12px;
  padding: 12px 16px;
}
.ilive-tbl tbody td {
  font-size: 14px;
  padding: 12px 16px;
}
.isub-badge {
  font-size: 14px;
  padding: 3px 11px;
}

/* ── 13. Valuation EPS/PE numbers ────────────────────────────

──────────────────────────────────────────────────────────────── */
.ival-num {
  font-size: 30px;
}
.ival-label {
  font-size: 12px;
  margin-bottom: 8px;
}

/* ── 14. Timeline ────────────────────────────────────────────

──────────────────────────────────────────────────────────────── */
.itl-label {
  font-size: 14px;
}
.itl-val {
  font-size: 13.5px;
}

/* ── 15. Action buttons — cleaner sizing ─────────────────────

──────────────────────────────────────────────────────────────── */
.detail-action-btn {
  font-size: 14px;
  padding: 11px 22px;
}

/* ── 16. Breadcrumb ──────────────────────────────────────────
   Was: 12.5px    Now: 13.5px
──────────────────────────────────────────────────────────────── */
.detail-breadcrumb {
  font-size: 13.5px;
}

/* ── 17. Chips/badges on hero ────────────────────────────────
   Was: 10px    Now: 11px
──────────────────────────────────────────────────────────────── */
.dchip {
  font-size: 11px;
  padding: 4px 12px;
}

/* ── 18. IPO Strength Score number ──────────────────────────
 
──────────────────────────────────────────────────────────────── */
.idash-score-num {
  font-size: 48px;
}
.idash-score-denom {
  font-size: 20px;
}

/* ── 19. Contact / Registrar info ────────────────────────────

──────────────────────────────────────────────────────────────── */
#tab-contact .detail-panel-card {
  font-size: 14.5px;
}

/* ── 20. Disclaimer body text ────────────────────────────────
   
──────────────────────────────────────────────────────────────── */
.disclaimer-body {
  font-size: 14.5px;
  line-height: 1.9;
}
.disclaimer-notice {
  font-size: 13.5px;
}
.legal-section p {
  font-size: 14px;
  line-height: 1.8;
}
.legal-sec-title {
  font-size: 12.5px;
}

/* ── 21. GMP Box on hero — Est. Listing price ───────────────
   Ensure it matches the bigger GMP box
──────────────────────────────────────────────────────────────── */
.detail-hero-inner .dgmp-val[style*="font-size:36px"],
.detail-hero-inner .dgmp-val[style*="font-size: 36px"] {
  font-size: 44px !important;
}

/* ── RESPONSIVE — Preserve all breakpoints ──────────────────

──────────────────────────────────────────────────────────────── */
@media (max-width: 1400px) {
  .detail-hero-inner,
  .detail-body-wrap {
    max-width: 1240px;
  }
}

@media (max-width: 768px) {
  .detail-co-name  { font-size: clamp(20px, 5vw, 28px); }
  .dgmp-val        { font-size: 38px; }
  .dks-val         { font-size: 15px; }
  .dks-label       { font-size: 11px; }
  .dtab            { font-size: 13px; padding: 10px 16px; }
  .dpanel-title    { font-size: 15.5px; }
  .d-info-val      { font-size: 14px; }
  .detail-action-btn { font-size: 13px; padding: 9px 16px; }
  .idash-score-num { font-size: 38px; }
  .ival-num        { font-size: 24px; }
}

@media (max-width: 480px) {
  .detail-co-name  { font-size: clamp(18px, 5vw, 24px); }
  .dgmp-val        { font-size: 32px; }
  .dks-val         { font-size: 14px; }
  .dchip           { font-size: 10px; padding: 3px 9px; }
  .dpanel-title    { font-size: 14.5px; }
  .d-info-val      { font-size: 13.5px; }
  .ilive-tbl thead th,
  .ilive-tbl tbody td { font-size: 12.5px; padding: 10px 11px; }
  .idash-score-num { font-size: 34px; }
  .ival-num        { font-size: 22px; }
}