:root {
  --bg: #080c14;
  --bg2: #0c1220;
  --panel: #0f1726;
  --line: #1b2740;
  --line2: #27395a;
  --txt: #eaf0f9;
  --mut: #8493ad;
  --dim: #586882;
  --amber: #f4ad36;
  --amber2: #ffc861;
  --amber-d: #6e5018;
  --glow: rgba(244, 173, 54, .45);
  --up: #37dca0;
  --up-bg: rgba(55, 220, 160, .16);
  --down: #fa6b78;
  --down-bg: rgba(250, 107, 120, .16);
  --wlx-blue: #4ea3ff;
  --wlx-blue-d: #2b6fd0;
  --wlx-blue-bg: rgba(78, 163, 255, .14);
  --glass: rgba(255, 255, 255, .045);
  --glass2: rgba(255, 255, 255, .07);
  --glass-bd: rgba(255, 255, 255, .10);
  --glass-hi: rgba(255, 255, 255, .06);
  --r: 10px;
  --r2: 14px;
  --mono: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Manrope', 'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 34px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
}

/* Tabular numerals everywhere numbers matter — prices and % changes line up
   in columns and don't jitter as values tick. Clean sans figures (the way
   Kite / Groww / TradingView set numbers), not terminal monospace. */
.mono,
[class*="mono"],
input.mono,
td.mono,
.num {
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* Display face for section titles / brand / headings — tighter, more confident. */
.sec,
.guide-title,
.scr-title,
.cmp-cn,
.dl,
.logo-name,
.hero-title,
h1,
h2,
h3,
.idx-col-title,
.movers-h,
.wlx-name {
  font-family: var(--display);
  letter-spacing: -0.015em;
}


body {
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 520px at 84% -10%, rgba(244, 173, 54, .08), transparent 58%),
    radial-gradient(900px 500px at -8% 8%, rgba(55, 120, 220, .07), transparent 60%)
}

a {
  color: var(--amber);
  text-decoration: none
}

button {
  font-family: var(--ui);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}

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

::-webkit-scrollbar-thumb {
  background: #22324e;
  border-radius: 8px
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums
}

.up {
  color: var(--up)
}

.down {
  color: var(--down)
}

.mut {
  color: var(--mut)
}

.flat {
  color: var(--mut)
}

/* ---------- glass primitive ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow)
}

/* ---------- glass buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #1a1204;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  border: 1px solid rgba(255, 210, 120, .5);
  box-shadow: 0 6px 18px rgba(244, 173, 54, .28), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .16s cubic-bezier(.2, .8, .3, 1), box-shadow .2s, filter .2s
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(244, 173, 54, .4), inset 0 1px 0 rgba(255, 255, 255, .5)
}

.btn:hover::after {
  transform: translateX(130%)
}

.btn:active {
  transform: translateY(0)
}

.btn.sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 9px
}

.btn.glass {
  background: var(--glass2);
  color: var(--txt);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 14px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px)
}

.btn.glass:hover {
  border-color: var(--amber);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 8px 22px rgba(244, 173, 54, .22)
}

.btn.danger {
  background: rgba(250, 107, 120, .12);
  color: var(--down);
  border: 1px solid rgba(250, 107, 120, .35);
  box-shadow: none
}

.btn.danger:hover {
  box-shadow: 0 6px 16px rgba(250, 107, 120, .2)
}

.del {
  color: var(--down);
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(250, 107, 120, .3);
  border-radius: 8px;
  background: rgba(250, 107, 120, .08);
  transition: .15s
}

.del:hover {
  background: rgba(250, 107, 120, .18)
}

/* ---------- tape ---------- */
#tape {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 32px;
  display: flex;
  align-items: center;
  background: rgba(6, 9, 15, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap
}

#tape .track {
  display: inline-flex;
  gap: 28px;
  padding-left: 100%;
  animation: scroll 58s linear infinite
}

#tape:hover .track {
  animation-play-state: paused
}

#tape .tk {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em
}

#tape .tk b {
  color: var(--txt);
  margin-right: 7px
}

@keyframes scroll {
  to {
    transform: translateX(-50%)
  }
}

/* ---------- shell ---------- */
.shell {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: calc(100vh - 32px)
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, .6);
  backdrop-filter: blur(2px);
  z-index: 44;
  opacity: 0;
  visibility: hidden;
  transition: .25s
}

.overlay.show {
  opacity: 1;
  visibility: visible
}

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky;
  top: 32px;
  align-self: start;
  height: calc(100vh - 32px);
  margin: 10px 0 10px 10px;
  border-radius: var(--r2);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 45;
  transition: transform .3s cubic-bezier(.3, .8, .3, 1)
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px
}

.logo-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(244, 173, 54, .35))
}

.logo-svg {
  width: 44px;
  height: 44px;
  display: block
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.logo-name {
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--txt);
  line-height: 1;
  -webkit-text-stroke: .4px var(--txt);
}

.logo-name span {
  color: var(--amber)
}

.logo-sub {
  font-size: 9px;
  color: var(--mut);
  letter-spacing: .2em;
  text-transform: uppercase
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--mut);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: .16s;
  border: 1px solid transparent
}

.nav-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  flex-shrink: 0
}

.nav-item:hover {
  color: var(--txt);
  background: var(--glass)
}

.nav-item.active {
  color: var(--amber);
  background: var(--glass2);
  border-color: var(--glass-bd)
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--amber);
  box-shadow: 0 0 10px var(--glow)
}

.side-foot {
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.7
}

.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px
}

.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block
}

.legend i.l {
  background: var(--up)
}

.legend i.s {
  background: var(--amber)
}

/* ---------- content + navbar ---------- */
.content {
  min-width: 0;
  display: flex;
  flex-direction: column
}

.navbar {
  position: sticky;
  top: 32px;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 10px 0;
  padding: 11px 16px;
  border-radius: var(--r2)
}

.hamb {
  display: none;
  font-size: 20px;
  color: var(--txt);
  width: 34px;
  height: 34px;
  border-radius: 9px
}

.hamb:hover {
  background: var(--glass)
}

.pagetitle {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap
}

.searchbox {
  flex: 1;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 11px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  transition: .18s
}

.searchbox:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 173, 54, .12)
}

.searchbox svg {
  width: 15px;
  height: 15px;
  stroke: var(--mut);
  fill: none;
  stroke-width: 2
}

.searchbox input {
  flex: 1;
  background: none;
  border: none;
  color: var(--txt);
  font-size: 13.5px;
  outline: none
}

/* kill the inner input's own border/focus-ring so only the searchbox container
   shows one border (was double: container ring + global input:focus ring) */
.searchbox input,
.searchbox input:focus {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0
}

.navbar .spacer {
  flex: 1
}

.mstatus {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--mut);
  padding: 6px 11px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  white-space: nowrap
}

.mstatus .led {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.mstatus.open .led {
  background: var(--up);
  box-shadow: 0 0 9px var(--up)
}

.mstatus.open {
  color: var(--up)
}

.mstatus.closed .led {
  background: var(--down)
}

.clock {
  font-size: 12.5px;
  color: var(--mut);
  white-space: nowrap
}

#auth-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  white-space: nowrap
}

main {
  min-width: 0;
  max-width: 100%;
  padding: 18px 22px 80px;
  animation: fadein .4s ease
}

@keyframes fadein {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.panel {
  display: none
}

.panel.active {
  display: block;
  animation: rise .42s cubic-bezier(.22, .61, .36, 1)
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(7px) scale(.995)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.sec {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 700;
  margin: 26px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px
}

.sec:first-child {
  margin-top: 6px
}

.sec::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent)
}

.row-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 13px
}

input,
select,
textarea {
  background: var(--bg2);
  border: 1px solid var(--line2);
  color: var(--txt);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--ui);
  transition: .15s
}

input.mono {
  font-family: var(--mono)
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 173, 54, .12)
}

label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mut)
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px
}

/* ---------- index cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: 13px
}

.icard {
  position: relative;
  overflow: hidden;
  border-radius: var(--r2);
  padding: 15px 16px;
  cursor: pointer;
  background: linear-gradient(165deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .015), 0 8px 26px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  transition: transform .2s cubic-bezier(.2, .8, .3, 1), box-shadow .2s, border-color .2s;
  animation: pop .4s backwards
}

/* soft top sheen for the frosted-glass read */
.icard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
  pointer-events: none;
}

.icard>* {
  position: relative;
  z-index: 1;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.icard:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .45), 0 0 0 1px var(--amber)
}

.icard .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px
}

.icard .lbl {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mut);
  font-weight: 600
}

.icard .src {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid
}

.src.live {
  color: var(--up);
  border-color: rgba(55, 220, 160, .35);
  background: rgba(55, 220, 160, .08)
}

.src.simulated {
  color: var(--amber);
  border-color: rgba(244, 173, 54, .35);
  background: rgba(244, 173, 54, .08)
}

.src.sample {
  color: var(--mut);
  border-color: var(--line2)
}

.icard .price {
  font-family: var(--mono);
  font-size: 23px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums
}

.icard .chg {
  font-family: var(--mono);
  font-size: 12.5px;
  margin-top: 2px
}

.icard .spark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  opacity: .9;
  pointer-events: none
}

.icard .spark path.line {
  fill: none;
  stroke-width: 1.7;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke
}

.icard .spark path.area {
  opacity: .15
}

.icard .open-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  opacity: 0;
  transition: .2s;
  color: var(--amber);
  font-size: 10px
}

.icard:hover .open-hint {
  opacity: 1
}

.flash-up {
  animation: fu .7s ease
}

.flash-down {
  animation: fd .7s ease
}

@keyframes fu {
  0% {
    background: var(--up-bg)
  }

  100% {}
}

@keyframes fd {
  0% {
    background: var(--down-bg)
  }

  100% {}
}

/* ---------- table / screener ---------- */
.card {
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 20px rgba(0, 0, 0, .28)
}

table {
  width: 100%;
  border-collapse: collapse
}

th,
td {
  text-align: right;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line)
}

th {
  color: var(--mut);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: .12s
}

th:hover {
  color: var(--txt)
}

th.sorted {
  color: var(--amber)
}

th .ar {
  font-size: 8px;
  margin-left: 3px
}

th:first-child,
td:first-child {
  text-align: left
}

tbody tr {
  transition: background .12s;
  cursor: pointer
}

tbody tr:hover {
  background: var(--glass2)
}

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

td.sym {
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: .02em
}

.cell-flash-up {
  animation: cfu .6s ease
}

.cell-flash-down {
  animation: cfd .6s ease
}

@keyframes cfu {
  0% {
    color: var(--up)
  }

  100% {}
}

@keyframes cfd {
  0% {
    color: var(--down)
  }

  100% {}
}

.trade {
  display: flex;
  gap: 5px;
  justify-content: flex-end
}

.trade a {
  font-size: 10.5px;
  border: 1px solid var(--line2);
  padding: 3px 9px;
  border-radius: 7px;
  color: var(--mut);
  transition: .13s;
  background: var(--glass)
}

.trade a:hover {
  border-color: var(--amber);
  color: var(--amber)
}

/* ---------- kpis ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px
}

.kpi {
  border-radius: var(--r2);
  padding: 15px 17px;
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi)
}

.kpi .lbl {
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mut)
}

.kpi .val {
  font-family: var(--mono);
  font-size: 21px;
  margin-top: 6px
}

/* ---------- news (magazine layout) ---------- */
.chips {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.chip {
  border: 1px solid var(--glass-bd);
  color: var(--mut);
  padding: 7px 15px;
  border-radius: 22px;
  font-size: 12.5px;
  transition: .16s;
  background: var(--glass)
}

.chip:hover {
  color: var(--txt);
  border-color: var(--line2)
}

.chip.on {
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: #1a1204;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(244, 173, 54, .3)
}

.news-lead {
  display: block;
  border-radius: var(--r2);
  padding: 24px 26px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(244, 173, 54, .12), var(--glass2) 55%, rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
  transition: .2s
}

.news-lead:hover {
  transform: translateY(-2px);
  border-color: var(--amber)
}

.news-lead .tagrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 10px
}

.news-lead .pill {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #1a1204;
  background: var(--amber);
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 700
}

.news-lead h2 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em
}

.news-lead p {
  font-size: 14px;
  color: var(--mut);
  max-width: 760px
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px
}

.news-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 13px;
  align-content: start
}

.nitem {
  border-radius: var(--r2);
  padding: 16px 17px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: .18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: pop .4s backwards
}

.nitem:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .4)
}

.nitem .meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .03em
}

.nitem .meta .srcname {
  color: var(--amber);
  font-weight: 600
}

.nitem h3 {
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 600
}

.nitem p {
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.5
}

.news-rail {
  border-radius: var(--r2);
  padding: 6px 4px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  align-self: start
}

.news-rail .rhead {
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 12px 14px 8px
}

.rail-item {
  display: block;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  transition: .14s
}

.rail-item:hover {
  background: var(--glass2)
}

.rail-item .rs {
  font-size: 10.5px;
  color: var(--amber);
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px
}

.rail-item h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--txt)
}

/* ---------- forum (company-tagged discussion feed) ---------- */
.forum-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.forum-sub {
  font-size: 13px;
  color: var(--mut);
  margin-top: 5px;
  max-width: 560px;
  line-height: 1.5;
}

.forum-post-btn {
  flex: 0 0 auto;
  font-weight: 600;
}

.forum-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forum-card {
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  border-radius: var(--r2);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 16px rgba(0, 0, 0, .22);
  transition: border-color .15s;
}

.forum-card:hover {
  border-color: var(--line2);
}

.forum-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.forum-tag-pill {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .34);
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .12s, transform .12s;
  white-space: nowrap;
}

.forum-tag-pill:hover {
  background: rgba(244, 173, 54, .2);
  transform: translateY(-1px);
}

.forum-card-meta {
  font-size: 12px;
  color: var(--mut);
}

.forum-body {
  font-size: 14px;
  line-height: 1.62;
  color: var(--txt);
  white-space: pre-wrap;
  word-break: break-word;
}

.forum-more {
  margin-top: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
}

.forum-more:hover {
  text-decoration: underline;
}

.forum-card-actions {
  margin-top: 12px;
}

.forum-reply-toggle {
  font: inherit;
  font-size: 12.5px;
  color: var(--mut);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: .12s;
}

.forum-reply-toggle:hover {
  color: var(--txt);
  border-color: var(--line2);
}

.forum-replies {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.forum-reply-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.forum-reply {
  padding: 10px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 10px;
}

.forum-reply-meta {
  font-size: 11.5px;
  color: var(--mut);
  margin-bottom: 4px;
}

.forum-reply-body {
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.forum-noreply {
  font-size: 12.5px;
  color: var(--dim);
  padding: 4px 2px 2px;
}

.forum-loading {
  font-size: 12.5px;
  color: var(--mut);
  padding: 8px 2px;
}

.forum-replybox {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.forum-replybox textarea {
  width: 100%;
  resize: vertical;
  font: inherit;
  font-size: 13.5px;
  color: var(--txt);
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 9px 11px;
}

.forum-replybox textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.forum-replybox .btn {
  justify-self: start;
}

.forum-login-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mut);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* new-post company-tag picker */
.forum-tagpick {
  position: relative;
}

.forum-tag-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 6;
  max-height: 260px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.forum-sug {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .1s;
}

.forum-sug:last-child {
  border-bottom: none;
}

.forum-sug:hover {
  background: var(--glass2);
}

.forum-sug-sym {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  flex: 0 0 auto;
}

.forum-sug-nm {
  font-size: 12.5px;
  color: var(--mut);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-sug-custom .forum-sug-sym {
  color: var(--txt);
}

.forum-sug-empty {
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--dim);
}

.forum-tag-chosen {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.forum-tag-chosen-nm {
  font-size: 13px;
  color: var(--mut);
}

.forum-tag-clear {
  margin-left: auto;
  font: inherit;
  font-size: 12px;
  color: var(--mut);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.forum-tag-clear:hover {
  color: var(--txt);
}

.empty {
  padding: 48px;
  text-align: center;
  color: var(--mut)
}

/* ---------- skeleton ---------- */
.skel {
  background: linear-gradient(90deg, #0f1828, #1a2740, #0f1828);
  background-size: 200% 100%;
  animation: sh 1.3s infinite;
  border-radius: 12px;
  height: 88px
}

/* ---------- candlestick-bar loader (small loading graphic) ---------- */
.pulse-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 16px;
}

.pulse-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 30px;
}

.pulse-bars i {
  display: block;
  width: 7px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  animation: pulse-bar 1s ease-in-out infinite;
}

.pulse-bars i:nth-child(1) {
  animation-delay: 0s
}

.pulse-bars i:nth-child(2) {
  animation-delay: .15s
}

.pulse-bars i:nth-child(3) {
  animation-delay: .3s
}

.pulse-bars i:nth-child(4) {
  animation-delay: .45s
}

@keyframes pulse-bar {

  0%,
  100% {
    height: 9px;
    opacity: .45
  }

  50% {
    height: 30px;
    opacity: 1
  }
}

.pulse-load-txt {
  font-size: 12.5px;
  color: var(--mut);
}

/* ---------- micro-interactions ---------- */
/* buttons give tactile press feedback */
.btn:active,
.chip:active,
.wchip:active,
.seg3 button:active,
.forum-tag-pill:active {
  transform: scale(.96);
}

@keyframes sh {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

/* ---------- chart drawer ---------- */
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, .66);
  backdrop-filter: blur(3px);
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: .28s
}

.drawer-bg.show {
  opacity: 1;
  visibility: visible
}

.drawer {
  width: min(620px, 100%);
  height: 100%;
  border-radius: 0;
  border-left: 1px solid var(--glass-bd);
  padding: 22px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.3, .8, .25, 1);
  background: rgba(12, 18, 30, .86);
  backdrop-filter: blur(20px)
}

.drawer-bg.show .drawer {
  transform: none
}

.dr-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px
}

.dr-head .dl {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700
}

.dr-head .dp {
  font-family: var(--mono);
  font-size: 28px;
  margin-top: 8px
}

.dr-head .dc {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 2px
}

.dr-close {
  font-size: 18px;
  color: var(--mut);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  transition: .15s
}

.dr-close:hover {
  color: var(--txt);
  border-color: var(--amber)
}

.dr-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
  flex-wrap: wrap
}

.range-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.range-tabs button {
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--mut);
  font-weight: 600;
  transition: .14s
}

.range-tabs button:hover {
  color: var(--txt)
}

.range-tabs button.on {
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: #1a1204
}

.type-toggle {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.type-toggle button {
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--mut);
  transition: .14s
}

.type-toggle button.on {
  background: var(--glass2);
  color: var(--amber)
}

#chart-plot {
  position: relative;
  margin-top: 14px;
  border-radius: var(--r2);
  padding: 12px;
  background: rgba(8, 12, 20, .55);
  border: 1px solid var(--line)
}

#chart-plot svg {
  display: block;
  width: 100%;
  height: 300px
}

.cx-line {
  stroke: var(--amber);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: .7
}

.cx-dot {
  fill: var(--amber);
  stroke: #0c1220;
  stroke-width: 2
}

.last-dot {
  fill: var(--amber)
}

.grid-line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4
}

.axis-lbl {
  fill: var(--dim);
  font-size: 10px;
  font-family: var(--mono)
}

.tip {
  position: absolute;
  pointer-events: none;
  background: rgba(12, 18, 30, .95);
  border: 1px solid var(--glass-bd);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .1s;
  box-shadow: var(--shadow)
}

.tip .tv {
  font-family: var(--mono);
  font-weight: 700
}

.tip .tt {
  color: var(--mut);
  font-size: 10px
}

.tip .tohlc {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mut);
  letter-spacing: -.01em;
}

.tip .tohlc b {
  color: var(--txt);
  font-weight: 600;
}

.dr-note {
  font-size: 11px;
  color: var(--dim);
  margin-top: 16px;
  line-height: 1.6
}

/* ---------- modal ---------- */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, .7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
  backdrop-filter: blur(4px)
}

.modal-bg.show {
  display: flex;
  animation: fadein .2s ease
}

.modal {
  width: 100%;
  max-width: 370px;
  padding: 26px;
  border-radius: 18px;
  background: rgba(14, 21, 34, .92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--shadow);
  animation: rise .26s cubic-bezier(.2, .7, .3, 1)
}

.modal h3 {
  margin-bottom: 3px
}

.modal .hint {
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 17px
}

.modal .field {
  margin-bottom: 13px
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 11px;
  background: var(--glass)
}

.tabs button {
  flex: 1;
  color: var(--mut);
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  transition: .15s
}

.tabs button.on {
  color: #1a1204;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  font-weight: 600
}

.msg {
  font-size: 12px;
  min-height: 15px;
  margin-top: 4px
}

.msg.err {
  color: var(--down)
}

.note {
  font-size: 11px;
  color: var(--dim);
  margin-top: 15px;
  line-height: 1.65
}

@media(max-width:980px) {
  .shell {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 32px;
    margin: 0;
    height: calc(100vh - 32px);
    width: 260px;
    border-radius: 0 var(--r2) var(--r2) 0;
    transform: translateX(-110%)
  }

  .sidebar.open {
    transform: none
  }

  .hamb {
    display: inline-flex;
    align-items: center;
    justify-content: center
  }

  .navbar {
    margin: 10px
  }
}

@media(max-width:720px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr)
  }

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

  .news-rail {
    display: none
  }

  .searchbox {
    display: none
  }

  .clock {
    display: none
  }

  th.hide,
  td.hide {
    display: none
  }

  main {
    padding: 16px 14px 70px
  }
}

@media(prefers-reduced-motion:reduce) {
  #tape .track {
    animation: none;
    padding-left: 14px
  }

  * {
    animation-duration: .001s !important;
    transition-duration: .001s !important
  }
}

/* ===== additions: netflix scroll rows, sector select, 4x4 news + crypto rail ===== */
.scroll-wrap {
  position: relative;
  margin-bottom: 4px
}

.scroll-row {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
  scrollbar-width: thin
}

.scroll-row::-webkit-scrollbar {
  height: 7px
}

.scroll-row .icard {
  flex: 0 0 212px;
  scroll-snap-align: start
}

.scroll-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(12, 18, 30, .9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-bd);
  color: var(--txt);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .18s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4)
}

.scroll-wrap:hover .scroll-btn {
  opacity: 1
}

.scroll-btn.left {
  left: -8px
}

.scroll-btn.right {
  right: -8px
}

.scroll-btn:hover {
  border-color: var(--amber);
  color: var(--amber)
}

select {
  background: var(--bg2);
  border: 1px solid var(--line2);
  color: var(--txt);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: var(--ui);
  cursor: pointer;
  transition: .15s
}

select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 173, 54, .12)
}

.news-split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  align-items: start
}

.news-3x4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.crypto-rail {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  padding: 4px 4px 8px;
  position: sticky;
  top: 96px
}

.crypto-rail .crhead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 14px 14px 10px;
  font-weight: 600
}

.crypto-rail .crhead .coin {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--glow)
}

.crypto-rail a {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  transition: .14s
}

.crypto-rail a:hover {
  background: var(--glass2)
}

.crypto-rail .cm {
  font-size: 10px;
  color: var(--amber);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  letter-spacing: .03em
}

.crypto-rail h5 {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--txt)
}

@media(max-width:820px) {
  .news-split {
    grid-template-columns: 1fr
  }

  .news-3x4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .crypto-rail {
    position: static
  }
}

@media(max-width:560px) {
  .news-3x4 {
    grid-template-columns: 1fr
  }

  .scroll-btn {
    display: none
  }
}

/* ===== watchlist panel ===== */
.wl-add-card {
  border-radius: var(--r2);
  padding: 16px 18px 12px;
  margin-bottom: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi)
}

.wl-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.wl-add-icon {
  color: var(--mut);
  flex-shrink: 0;
  display: flex;
  align-items: center
}

.wl-add-row input {
  flex: 1;
  min-width: 0
}

.wl-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.wchip {
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--line2);
  color: var(--mut);
  background: none;
  cursor: pointer;
  transition: .14s
}

.wchip:hover {
  color: var(--txt);
  border-color: var(--line)
}

.wchip.on {
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: #1a1204;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(244, 173, 54, .25)
}

.cap-pill {
  display: inline-block;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid
}

.cap-pill.largecap {
  color: #60bfff;
  border-color: rgba(96, 191, 255, .3)
}

.cap-pill.midcap {
  color: var(--amber);
  border-color: var(--amber-d)
}

.cap-pill.smallcap {
  color: var(--up);
  border-color: rgba(55, 220, 160, .3)
}

.cap-pill.all_nse,
.cap-pill. {
  color: var(--mut);
  border-color: var(--line2)
}

/* ===== chart drawer: company fundamentals ===== */
#dr-fund {
  margin-top: 6px
}

.fund-load {
  opacity: .7
}

.fund-empty {
  padding: 18px;
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  color: var(--mut);
  font-size: 13px;
  text-align: center
}

.fund-empty span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--dim)
}

.fund-sec {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px
}

.fund-sec::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent)
}

.fprofile {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  padding: 15px 17px;
  margin-bottom: 13px
}

.fp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px
}

.fp-name {
  font-size: 16px;
  font-weight: 700
}

.fp-sub {
  font-size: 12px;
  color: var(--mut);
  margin-top: 3px
}

.fp-link {
  font-size: 11px;
  color: var(--amber);
  white-space: nowrap;
  border: 1px solid rgba(244, 173, 54, .3);
  padding: 4px 9px;
  border-radius: 8px;
  transition: .14s
}

.fp-link:hover {
  background: rgba(244, 173, 54, .1)
}

.fp-summary {
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.55;
  margin-top: 10px
}

.fstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 14px
}

.fstat {
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  border-radius: 10px;
  padding: 10px 11px;
  box-shadow: inset 0 1px 0 var(--glass-hi)
}

.fstat .fk {
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mut)
}

.fstat .fv {
  font-size: 14px;
  margin-top: 4px
}

.fblock {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  padding: 15px 17px;
  margin-bottom: 13px
}

.fbh {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--txt)
}

.fbh span {
  color: var(--mut);
  font-weight: 400;
  font-size: 11px
}

.fbars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-bottom: 12px;
  padding: 0 2px
}

.fbar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  height: 100%
}

.fbar-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.fbar-fill {
  width: 62%;
  border-radius: 4px 4px 0 0;
  transition: height .5s cubic-bezier(.3, .8, .3, 1)
}

.fbar-lbl {
  font-size: 9px;
  color: var(--mut);
  font-family: var(--mono)
}

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

.ftab th {
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 500;
  text-align: right;
  padding: 7px 6px;
  border-bottom: 1px solid var(--line)
}

.ftab th:first-child {
  text-align: left
}

.ftab td {
  font-size: 12.5px;
  text-align: right;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line)
}

.ftab td:first-child {
  text-align: left;
  color: var(--mut)
}

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

.fund-src {
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 10px;
  line-height: 1.5
}

@media(max-width:560px) {
  .fstats {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ===== search suggestions dropdown ===== */
.searchbox {
  position: relative
}

.search-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  max-height: 420px;
  overflow-y: auto;
  border-radius: 12px;
  padding: 6px;
  background: rgba(13, 19, 31, .97);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-bd);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5)
}

.search-pop.show {
  display: block;
  animation: rise .16s ease
}

.sp-head {
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  padding: 10px 10px 5px;
  display: flex;
  justify-content: space-between
}

.sp-head span {
  color: var(--dim)
}

.sp-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: .1s
}

.sp-row:hover {
  background: var(--glass2)
}

.sp-sym {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  min-width: 78px
}

.sp-name {
  flex: 1;
  font-size: 12px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sp-empty {
  padding: 16px;
  text-align: center;
  color: var(--mut);
  font-size: 12.5px
}

/* ===== sector-index top constituents list ===== */
.cons-list {
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--glass-bd);
  background: var(--glass)
}

.cons-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s
}

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

.cons-row:hover {
  background: var(--glass2)
}

.cons-rank {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  text-align: center
}

.cons-sym {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0
}

.cons-name {
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cons-cap {
  justify-self: start
}

.cons-ltp {
  font-size: 13px;
  text-align: right;
  min-width: 64px
}

.cons-pct {
  font-size: 12.5px;
  text-align: right;
  min-width: 60px
}

@media(max-width:560px) {
  .cons-name {
    display: none
  }

  .cons-row {
    grid-template-columns: 22px 1fr auto auto
  }

  .cons-cap {
    display: none
  }
}

/* ============================================ mutual funds */
.fund-controls {
  margin: 14px 0 4px
}

.fund-searchbox {
  max-width: 320px;
  flex: 1 1 240px
}

#fund-sort {
  max-width: 230px
}

.fund-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(244, 173, 54, .1);
  border: 1px solid rgba(244, 173, 54, .3);
  border-radius: 20px;
  padding: 1px 9px;
  letter-spacing: .02em
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 13px;
  margin-bottom: 6px
}

/* Uniform fund/ETF tile — every tile has identical vertical rhythm so the hero
   value, stat row and footer line up across the whole grid (Moneycontrol-style). */
.fund-card {
  display: flex;
  flex-direction: column;
}

.fc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.fc-name {
  font-size: 13px;
  color: var(--txt);
  line-height: 1.32;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
  /* reserve 2 lines so every hero value aligns */
}

.fc-hero {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 11px;
}

.fc-hero-v {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}

.fc-hero-k {
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
}

.fc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

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

.fc-k {
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mut);
}

.fc-v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  font-size: 10.5px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

@media(max-width:560px) {
  .fund-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px
  }

  .fc-hero-v {
    font-size: 21px
  }

  .fc-name {
    font-size: 12px
  }

  .fc-stats {
    grid-template-columns: 1fr;
    gap: 6px
  }
}

/* ===================================================
   HOME LANDING PAGE
   =================================================== */

/* Override panel display for home — needs flex column */
#home.panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 136px);
  padding: 20px 22px 60px;
  gap: 0
}

/* ---------- hero ---------- */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 0 36px;
  animation: rise .5s cubic-bezier(.2, .7, .3, 1) backwards
}

.home-logo-big {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px
}

.home-logo-svg {
  width: 80px;
  height: 80px;
  display: block;
  filter: drop-shadow(0 0 22px rgba(244, 173, 54, .5));
  animation: home-logo-float 3.8s ease-in-out infinite
}

@keyframes home-logo-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

.home-glow-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 173, 54, .18) 0%, transparent 68%);
  animation: home-glow-pulse 2.6s ease-in-out infinite
}

@keyframes home-glow-pulse {

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

  50% {
    opacity: 1;
    transform: scale(1.14)
  }
}

.home-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 6px
}

.home-title span {
  color: var(--amber)
}

.home-sub {
  font-size: 11px;
  color: var(--mut);
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.home-tagline {
  font-size: 15px;
  color: var(--mut);
  line-height: 1.6;
  max-width: 380px
}

.home-pulse-line {
  width: 220px;
  height: 1px;
  margin-top: 26px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: home-line-expand .9s ease .5s both
}

@keyframes home-line-expand {
  from {
    transform: scaleX(0);
    opacity: 0
  }

  to {
    transform: scaleX(1);
    opacity: 1
  }
}

/* ---------- pyramid ---------- */
.home-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%
}

.home-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto
}

.home-row.row-3,
.home-row.row-2,
.home-row.row-1 {
  max-width: 900px
}

/* ---------- tile cards ---------- */
.home-tile {
  position: relative;
  overflow: hidden;
  flex: 0 0 210px;
  width: 210px;
  max-width: 210px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 18px 20px 20px;
  border-radius: var(--r2);
  background: linear-gradient(155deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 22px rgba(0, 0, 0, .32);
  cursor: pointer;
  text-align: left;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1),
    border-color .22s,
    box-shadow .22s;
  animation: home-tile-in .45s cubic-bezier(.2, .7, .3, 1) both
}

/* Stagger entry per tile position (4-2-4) */
.home-row.row-3 .home-tile:nth-child(1) {
  animation-delay: 80ms
}

.home-row.row-3 .home-tile:nth-child(2) {
  animation-delay: 140ms
}

.home-row.row-3 .home-tile:nth-child(3) {
  animation-delay: 200ms
}

.home-row.row-3 .home-tile:nth-child(4) {
  animation-delay: 260ms
}

.home-row.row-2 .home-tile:nth-child(1) {
  animation-delay: 320ms
}

.home-row.row-2 .home-tile:nth-child(2) {
  animation-delay: 380ms
}

.home-row.row-1 .home-tile:nth-child(1) {
  animation-delay: 440ms
}

.home-row.row-1 .home-tile:nth-child(2) {
  animation-delay: 500ms
}

.home-row.row-1 .home-tile:nth-child(3) {
  animation-delay: 560ms
}

.home-row.row-1 .home-tile:nth-child(4) {
  animation-delay: 620ms
}

@keyframes home-tile-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* Decorative corner shimmer */
.home-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(244, 173, 54, .07), transparent 65%);
  pointer-events: none
}

.home-tile:hover {
  transform: translateY(-5px);
  border-color: var(--amber);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45),
    0 0 0 1px var(--amber),
    0 0 28px rgba(244, 173, 54, .18)
}

.home-tile:hover .ht-icon svg {
  stroke: var(--amber);
  filter: drop-shadow(0 0 6px rgba(244, 173, 54, .55))
}

.home-tile:active {
  transform: translateY(-2px) scale(.98)
}

/* Featured centre tile */
.ht-featured {
  background: linear-gradient(155deg,
      rgba(244, 173, 54, .1),
      rgba(244, 173, 54, .04),
      rgba(255, 255, 255, .02));
  border-color: rgba(244, 173, 54, .28)
}

.ht-featured::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: .6
}

/* Apex (bottom) tile — full-width, slightly taller */
.ht-apex {
  min-height: 100px;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg,
      rgba(244, 173, 54, .08) 0%,
      rgba(255, 200, 97, .04) 50%,
      rgba(255, 255, 255, .02) 100%);
  border-color: rgba(244, 173, 54, .22)
}

.ht-apex .ht-desc {
  max-width: 240px
}

.ht-apex::before {
  width: 180px;
  height: 100%;
  background: radial-gradient(circle at center right, rgba(244, 173, 54, .1), transparent 65%)
}

/* Icon */
.ht-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--glass2);
  border: 1px solid var(--glass-bd);
  flex-shrink: 0;
  transition: background .2s
}

.ht-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--mut);
  fill: none;
  stroke-width: 1.9;
  transition: stroke .2s, filter .2s
}

.ht-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: .01em;
  line-height: 1
}

.ht-desc {
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.4
}

/* ---------- home exit transition ---------- */
@keyframes home-tile-out {
  from {
    opacity: 1;
    transform: scale(1) translateY(0)
  }

  to {
    opacity: 0;
    transform: scale(.92) translateY(-14px)
  }
}

@keyframes home-hero-out {
  from {
    opacity: 1;
    transform: translateY(0)
  }

  to {
    opacity: 0;
    transform: translateY(-12px)
  }
}

.home-leaving .home-hero {
  animation: home-hero-out .28s ease forwards
}

/* Reverse stagger (bottom → top) for collapse effect */
.home-leaving .home-row.row-1 .home-tile:nth-child(1) {
  animation: home-tile-out .3s ease .00s forwards
}

.home-leaving .home-row.row-1 .home-tile:nth-child(2) {
  animation: home-tile-out .3s ease .03s forwards
}

.home-leaving .home-row.row-1 .home-tile:nth-child(3) {
  animation: home-tile-out .3s ease .06s forwards
}

.home-leaving .home-row.row-1 .home-tile:nth-child(4) {
  animation: home-tile-out .3s ease .09s forwards
}

.home-leaving .home-row.row-2 .home-tile:nth-child(1) {
  animation: home-tile-out .3s ease .13s forwards
}

.home-leaving .home-row.row-2 .home-tile:nth-child(2) {
  animation: home-tile-out .3s ease .16s forwards
}

.home-leaving .home-row.row-3 .home-tile:nth-child(1) {
  animation: home-tile-out .3s ease .20s forwards
}

.home-leaving .home-row.row-3 .home-tile:nth-child(2) {
  animation: home-tile-out .3s ease .23s forwards
}

.home-leaving .home-row.row-3 .home-tile:nth-child(3) {
  animation: home-tile-out .3s ease .26s forwards
}

.home-leaving .home-row.row-3 .home-tile:nth-child(4) {
  animation: home-tile-out .3s ease .29s forwards
}

/* ---------- current panel exit (when going back to home) ---------- */
@keyframes panel-fall-out {
  from {
    opacity: 1;
    transform: translateY(0)
  }

  to {
    opacity: 0;
    transform: translateY(12px)
  }
}

.panel-exit {
  animation: panel-fall-out .25s ease forwards;
  pointer-events: none
}

/* ---------- footer note ---------- */
.home-footer-note {
  margin-top: 32px;
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: .06em;
  text-align: center
}

/* ---------- sidebar logo hover hint ---------- */
.side-brand {
  cursor: pointer;
  border-radius: 10px;
  transition: background .18s
}

.side-brand:hover {
  background: var(--glass)
}

.side-brand:hover .logo-name {
  color: var(--amber)
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {

  .home-row.row-3,
  .home-row.row-2,
  .home-row.row-1 {
    max-width: 460px
  }

  .home-tile {
    flex: 1 1 calc(50% - 7px);
    width: auto;
    max-width: none;
    min-height: 130px
  }

  .home-title {
    font-size: 32px
  }
}

/* =====================================================================
   LANDING REDESIGN — live background, clean hero, elongated search
   ===================================================================== */

/* ---- stacking so the live bg sits behind the app, above body color ---- */
.shell {
  position: relative;
  z-index: 1
}

/* ---------- live background ---------- */
#bg-live {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none
}

/* drifting aurora glows */
.bg-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform
}

.bg-aurora.a1 {
  width: 60vw;
  height: 60vw;
  top: -22vw;
  right: -14vw;
  background: radial-gradient(circle, rgba(244, 173, 54, .20), transparent 62%);
  animation: aurora-drift-1 26s ease-in-out infinite
}

.bg-aurora.a2 {
  width: 55vw;
  height: 55vw;
  bottom: -24vw;
  left: -16vw;
  background: radial-gradient(circle, rgba(55, 120, 220, .18), transparent 64%);
  animation: aurora-drift-2 32s ease-in-out infinite
}

@keyframes aurora-drift-1 {

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

  50% {
    transform: translate(-4vw, 5vw) scale(1.12)
  }
}

@keyframes aurora-drift-2 {

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

  50% {
    transform: translate(5vw, -4vw) scale(1.1)
  }
}

/* slowly panning chart grid */
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(124, 150, 200, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 150, 200, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 42%, #000 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 42%, #000 35%, transparent 88%);
  animation: grid-pan 24s linear infinite
}

@keyframes grid-pan {
  to {
    background-position: 46px 46px
  }
}

/* full-width ECG sweep removed (was the pulsating center animation) */

/* ---------- hide app chrome on the landing page ---------- */
body.home-mode .navbar,
body.home-mode .sidebar,
body.home-mode .overlay {
  display: none !important
}

body.home-mode .shell {
  grid-template-columns: 1fr
}

body.home-mode .content {
  min-height: calc(100vh - 32px)
}

/* give the landing the full canvas now that the navbar is gone */
body.home-mode #home.panel.active {
  position: relative;
  min-height: calc(100vh - 32px);
  justify-content: center;
  padding: 64px 22px 48px
}

/* ---------- minimal floating chrome on landing ---------- */
.home-topbar {
  position: absolute;
  top: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5
}

.home-mstatus {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--mut);
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  backdrop-filter: blur(12px);
  white-space: nowrap
}

.home-mstatus .led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mut)
}

.home-mstatus.open {
  color: var(--up)
}

.home-mstatus.open .led {
  background: var(--up);
  box-shadow: 0 0 9px var(--up)
}

.home-mstatus.closed .led {
  background: var(--down)
}

#home-clock {
  font-size: 12.5px;
  color: var(--mut);
  white-space: nowrap
}

#home-auth-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  white-space: nowrap
}

@media (max-width: 560px) {
  #home-clock {
    display: none
  }
}

/* ---------- hero: eyebrow ---------- */
.home-hero {
  padding: 8px 0 26px
}

.home-logo-big {
  margin-bottom: 16px
}

.home-logo-svg {
  width: 66px;
  height: 66px
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  animation: rise .5s cubic-bezier(.2, .7, .3, 1) .1s backwards
}

.home-eyebrow .he-rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2))
}

.home-eyebrow .he-rule:last-child {
  background: linear-gradient(90deg, var(--line2), transparent)
}

.home-eyebrow .he-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 var(--glow);
  animation: he-blink 2.4s ease-in-out infinite
}

@keyframes he-blink {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 173, 54, .5);
    opacity: 1
  }

  50% {
    box-shadow: 0 0 0 6px rgba(244, 173, 54, 0);
    opacity: .6
  }
}

.home-eyebrow .he-text {
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600
}

/* ---------- hero: redesigned wordmark ---------- */
.home-title {
  font-size: clamp(46px, 9vw, 88px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .92;
  margin: 0;
  display: inline-flex;
  align-items: baseline
}

.home-title .ht-stock {
  background: linear-gradient(180deg, #ffffff, #b9c6dd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.home-title .ht-pulse {
  position: relative;
  background: linear-gradient(100deg, var(--amber) 0%, #fff3d6 45%, var(--amber2) 55%, var(--amber) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse-sheen 4.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 26px rgba(244, 173, 54, .35))
}

@keyframes pulse-sheen {

  0%,
  100% {
    background-position: 120% 0
  }

  50% {
    background-position: -20% 0
  }
}

/* ---------- hero: heartbeat underline (signature) ---------- */
.home-ecg {
  width: clamp(240px, 42vw, 380px);
  height: 34px;
  margin: 10px 0 18px;
  display: block
}

.home-ecg-base {
  fill: none;
  stroke: var(--line2);
  stroke-width: 1.4
}

.home-ecg-line {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 46 360;
  filter: drop-shadow(0 0 5px rgba(244, 173, 54, .8));
  animation: ecg-beat 2.6s linear infinite
}

@keyframes ecg-beat {
  from {
    stroke-dashoffset: 406
  }

  to {
    stroke-dashoffset: 0
  }
}

.home-tagline {
  font-size: clamp(14px, 1.6vw, 16.5px);
  color: var(--mut);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto
}

/* ---------- elongated search ---------- */
.home-search-wrap {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 660px;
  margin: 0 auto 38px;
  animation: rise .5s cubic-bezier(.2, .7, .3, 1) .25s backwards
}

.home-search.searchbox {
  max-width: none;
  width: 100%;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(155deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.home-search.searchbox:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 173, 54, .14), 0 18px 48px rgba(244, 173, 54, .16);
  transform: translateY(-1px)
}

.home-search.searchbox svg {
  width: 19px;
  height: 19px;
  stroke: var(--amber);
  flex-shrink: 0
}

.home-search.searchbox input {
  font-size: 16px
}

.home-search.searchbox input::placeholder {
  color: var(--dim)
}

.home-search-kbd {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.home-search .search-pop {
  border-radius: 14px
}

.home-search-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-left: 4px;
  font-size: 12.5px
}

.home-search-tags .mut {
  letter-spacing: .04em
}

.hs-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mut);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  transition: .15s
}

.hs-tag:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(244, 173, 54, .08)
}

/* ---------- title-redesign responsive + reduced-motion ---------- */
@media (max-width: 700px) {
  .home-search-kbd {
    display: none
  }

  .home-topbar {
    top: 12px;
    right: 14px;
    gap: 8px
  }

  body.home-mode #home.panel.active {
    padding: 56px 16px 40px
  }
}

@media (prefers-reduced-motion: reduce) {

  .bg-aurora,
  .bg-grid,
  .home-ecg-line,
  .ht-pulse,
  .he-dot {
    animation: none !important
  }

  .home-ecg-line {
    stroke-dasharray: none
  }
}

/* ---- fade tiles completely while the search dropdown is open ---- */
#home .home-pyramid,
#home .home-footer-note {
  transition: opacity .2s ease
}

#home.searching .home-pyramid,
#home.searching .home-footer-note {
  opacity: 0;
  pointer-events: none
}

/* ---- denser search recommendations (navbar + landing) ---- */
.search-pop {
  padding: 5px
}

.sp-head {
  padding: 8px 9px 4px
}

.sp-row {
  padding: 6px 9px;
  gap: 8px
}

.sp-sym {
  min-width: 72px;
  font-size: 12.5px
}

.sp-name {
  font-size: 11.5px
}

/* landing dropdown is wide — pack two columns of suggestions per group */
.home-search .search-pop {
  max-height: 360px
}

.home-search .sp-row {
  padding: 5px 9px
}

/* =====================================================================
   EVENTS + WEALTHLENS sections (additive — no existing rules touched)
   ===================================================================== */

/* segmented control reused by both sections */
.seg3 {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.seg3 button {
  font: inherit;
  font-size: 12.5px;
  color: var(--mut);
  background: transparent;
  border: 0;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap
}

.seg3 button:hover {
  color: var(--txt)
}

.seg3 button.on {
  background: var(--amber);
  color: #1a1205;
  font-weight: 600
}

/* ---------- events ---------- */
.ev-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0 4px
}

.ev-day {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line)
}

.ev-day .ev-d-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt)
}

.ev-day .ev-d-rel {
  font-size: 11.5px;
  color: var(--mut)
}

.ev-day .ev-d-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--dim)
}

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

.ev-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  cursor: pointer;
  transition: .15s
}

.ev-card:hover {
  border-color: var(--line2);
  background: var(--glass2);
  transform: translateY(-1px)
}

.ev-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
  background: var(--glass2)
}

.ev-card .ev-body {
  min-width: 0;
  flex: 1
}

.ev-card .ev-sym {
  font-weight: 700;
  font-size: 13.5px
}

.ev-card .ev-name {
  font-size: 11.5px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.ev-card .ev-detail {
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 2px
}

.ev-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px
}

.ev-t-results {
  background: rgba(96, 165, 250, .16);
  color: #7fb4ff
}

.ev-t-dividend {
  background: var(--up-bg);
  color: var(--up)
}

.ev-t-split {
  background: rgba(244, 173, 54, .16);
  color: var(--amber2)
}

.ev-t-buyback {
  background: rgba(186, 140, 255, .16);
  color: #c4a6ff
}

.ev-t-other {
  background: var(--glass2);
  color: var(--mut)
}

.ev-ic.results {
  color: #7fb4ff
}

.ev-ic.dividend {
  color: var(--up)
}

.ev-ic.split {
  color: var(--amber2)
}

.ev-ic.buyback {
  color: #c4a6ff
}

.ev-empty,
.wlx-placeholder {
  color: var(--mut);
  text-align: center;
  padding: 40px 20px;
  line-height: 1.6
}

/* ---------- wealthlens ---------- */
.wlx {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  margin-top: 6px
}

@media (max-width: 860px) {
  .wlx {
    grid-template-columns: 1fr
  }
}

.wlx-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.wlx-field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.wlx-field>label {
  font-size: 12px;
  color: var(--mut);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.wlx-val {
  color: var(--amber2);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 12.5px
}

.wlx-searchbox {
  max-width: none;
  width: 100%
}

.wlx-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.wlx-go {
  width: 100%;
  justify-content: center;
  margin-top: 2px
}

.wlx-sel {
  font-size: 12px
}

.wlx-sel #wlx-src {
  font-size: 10px;
  margin-left: 4px
}

/* range sliders */
.wlx-field input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, var(--amber) var(--fill, 40%), var(--line) var(--fill, 40%))
}

.wlx-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber2);
  border: 3px solid #1a1205;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--amber), 0 2px 8px rgba(0, 0, 0, .5)
}

.wlx-field input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber2);
  border: 3px solid #1a1205;
  cursor: pointer
}

/* result area */
.wlx-result {
  min-height: 320px
}

.wlx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px
}

.wlx-kpi {
  padding: 14px;
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.wlx-kpi .k {
  font-size: 11px;
  color: var(--mut);
  letter-spacing: .03em
}

.wlx-kpi .v {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--mono);
  margin-top: 4px
}

.wlx-kpi.hero {
  background: linear-gradient(155deg, rgba(244, 173, 54, .14), var(--glass));
  border-color: rgba(244, 173, 54, .3)
}

.wlx-mini {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 4px
}

.wlx-chip {
  font-size: 11.5px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  font-family: var(--mono)
}

.wlx-chip b {
  font-weight: 700
}

.wlx-chip .lbl {
  color: var(--mut);
  margin-right: 6px;
  font-family: var(--ui)
}

.wlx-chart-wrap {
  margin-top: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r2);
  padding: 14px
}

.wlx-chart-wrap .ttl {
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between
}

.wlx-legend {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--mut);
  margin-top: 8px
}

.wlx-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle
}

.wlx-loading {
  color: var(--mut);
  text-align: center;
  padding: 40px
}

/* ---------- WealthLens interactive chart (blue) ---------- */
.wlx-presets {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.wlx-presets button {
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mut);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: .12s;
  font-variant-numeric: tabular-nums;
}

.wlx-presets button:hover {
  color: var(--txt);
  border-color: var(--amber);
}

.wlx-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 5px;
  padding-left: 50px;
  /* align dates under the plot, past the Y-axis gutter */
  font-variant-numeric: tabular-nums;
}

.wlx-grid-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.wlx-yaxis {
  width: 42px;
  flex: 0 0 42px;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
  font-size: 9.5px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  padding: 2px 0;
}

.wlx-plot {
  position: relative;
  /* tooltip anchors to the plot, not the gutter */
  flex: 1 1 auto;
  min-width: 0;
}

.wlx-chart-host {
  position: relative;
  width: 100%
}

.wlx-chart-host #wlx-svg {
  cursor: crosshair
}

/* floating value tooltip that tracks the cursor */
.wlx-tip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -118%);
  min-width: 150px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(10, 16, 27, .94);
  border: 1px solid var(--glass-bd);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  transition: opacity .12s;
  z-index: 4
}

.wlx-tip-d {
  font-size: 11px;
  color: var(--mut);
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: .02em
}

.wlx-tip-r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  line-height: 1.7
}

.wlx-tip-k {
  color: var(--mut);
  position: relative;
  padding-left: 13px
}

.wlx-tip-k::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: transparent
}

.wlx-tip-k.inv::before {
  background: var(--line2)
}

.wlx-tip-k.cur::before {
  background: var(--wlx-blue)
}

.wlx-tip-v {
  font-family: var(--mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums slashed-zero
}

/* hypothetical-projection disclaimer under the Assume-% chart */
.wlx-assumed-note {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mut);
  background: var(--wlx-blue-bg);
  border: 1px solid rgba(78, 163, 255, .28)
}

.wlx-assumed-note b {
  color: var(--txt);
  font-weight: 700
}

/* ===================================================================
   NEW FEATURES — FII/DII, movers, AlphaScore, 30s read, compare
   =================================================================== */

/* landing: third tile in row-2 (entry stagger + exit) */
.home-row.row-2 .home-tile:nth-child(3) {
  animation-delay: 520ms
}

.home-leaving .home-row.row-2 .home-tile:nth-child(3) {
  animation: home-tile-out .3s ease .05s forwards
}

/* ---------- FII / DII diverging bars ---------- */
.fdii-wrap {
  margin-bottom: 6px
}

.fdii-card {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 20px rgba(0, 0, 0, .26);
  padding: 16px 18px
}

.fdii-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--mut);
  margin-bottom: 14px;
  flex-wrap: wrap
}

.fdii-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.fdii-lg i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block
}

.fdii-lg.sell i {
  background: var(--down)
}

.fdii-lg.buy i {
  background: var(--up)
}

.fdii-date {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px
}

.fdii-row {
  display: grid;
  grid-template-columns: 78px 1fr 168px;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line)
}

.fdii-row:first-of-type {
  border-top: none
}

.fdii-name {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em
}

.fdii-axis {
  display: flex;
  align-items: center
}

.fdii-half {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0
}

.fdii-half.left {
  justify-content: flex-end
}

.fdii-half.right {
  justify-content: flex-start
}

.fdii-zero {
  width: 2px;
  align-self: stretch;
  background: var(--line2);
  border-radius: 2px
}

.fdii-track {
  height: 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  flex: 1;
  max-width: 46%
}

.fdii-track.left {
  display: flex;
  justify-content: flex-end
}

.fdii-fill {
  height: 100%;
  border-radius: 5px;
  transition: width .5s cubic-bezier(.2, .8, .3, 1)
}

.fdii-fill.sell {
  background: linear-gradient(90deg, var(--down), rgba(250, 107, 120, .55))
}

.fdii-fill.buy {
  background: linear-gradient(90deg, rgba(55, 220, 160, .55), var(--up))
}

.fdii-sval {
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
  color: var(--mut)
}

.fdii-sval.sell {
  color: var(--down)
}

.fdii-sval.buy {
  color: var(--up)
}

.fdii-net {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700
}

.fdii-net.up {
  color: var(--up)
}

.fdii-net.down {
  color: var(--down)
}

.fdii-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.5
}

.fdii-empty {
  border-radius: var(--r2);
  border: 1px dashed var(--line2);
  background: var(--glass);
  padding: 18px 20px;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.55
}

@media (max-width:680px) {
  .fdii-row {
    grid-template-columns: 1fr;
    gap: 6px
  }

  .fdii-net {
    text-align: left
  }
}

/* ---------- Top movers ---------- */
.movers-sub {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--dim);
  text-transform: none;
  font-weight: 400
}

.movers-wrap {
  margin-bottom: 6px
}

.movers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

@media (max-width:760px) {
  .movers-grid {
    grid-template-columns: 1fr
  }
}

.movers-col {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  overflow: hidden
}

.movers-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line)
}

.movers-h.up {
  color: var(--up)
}

.movers-h.down {
  color: var(--down)
}

.mover {
  border-bottom: 1px solid var(--line)
}

.mover:last-child {
  border-bottom: none
}

.mover-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background .12s
}

.mover-main:hover {
  background: var(--glass2)
}

.mover-sym {
  font-weight: 600;
  font-family: var(--mono);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  min-width: 0
}

.mover-name {
  font-family: var(--ui);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px
}

.mover-px {
  font-size: 12.5px;
  color: var(--txt);
  min-width: 76px;
  text-align: right;
  font-variant-numeric: tabular-nums
}

.mover-pct {
  font-size: 12.5px;
  font-weight: 600;
  min-width: 64px;
  text-align: right;
  font-variant-numeric: tabular-nums
}

.mover-why {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px dashed var(--line);
  color: var(--amber);
  font-size: 11px;
  padding: 7px 15px;
  transition: .13s;
  font-weight: 600
}

.mover-why:hover {
  background: rgba(244, 173, 54, .07)
}

.why-box {
  display: none;
  padding: 0 15px;
  background: rgba(0, 0, 0, .14)
}

.why-box.open {
  display: block;
  padding: 10px 15px 13px
}

.why-head {
  font-size: 11px;
  color: var(--mut);
  margin-bottom: 8px;
  font-weight: 600
}

.why-load,
.why-empty {
  font-size: 11.5px;
  color: var(--dim);
  padding: 4px 0;
  line-height: 1.5
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 9px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  text-decoration: none
}

.why-item:first-of-type {
  border-top: none
}

.why-tag {
  grid-row: span 2;
  align-self: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .25);
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
  max-width: 110px;
  text-align: center
}

.why-tag.none {
  color: var(--mut);
  background: var(--glass);
  border-color: var(--line2)
}

.why-title {
  font-size: 12px;
  color: var(--txt);
  line-height: 1.4
}

.why-src {
  font-size: 10px;
  color: var(--dim);
  font-family: var(--mono)
}

.why-foot {
  font-size: 10px;
  color: var(--dim);
  margin-top: 9px;
  line-height: 1.5
}

.movers-empty {
  grid-column: 1 / -1;
  border-radius: var(--r2);
  border: 1px dashed var(--line2);
  background: var(--glass);
  padding: 18px 20px;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.55
}

.movers-empty.sm {
  border: none;
  padding: 12px 15px;
  font-size: 12px
}

/* ---------- AlphaScore (portfolio) ---------- */
#sps-block {
  margin-bottom: 16px
}

.sps-card {
  border-radius: var(--r2);
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  padding: 18px 20px
}

.sps-title {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px
}

.sps-info {
  cursor: help;
  color: var(--dim);
  font-size: 12px
}

.sps-big {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  margin: 8px 0 12px;
  display: flex;
  align-items: baseline;
  gap: 12px
}

.sps-big span {
  font-size: 14px;
  color: var(--mut);
  font-weight: 400
}

.sps-grade {
  font-family: var(--ui);
  font-size: 14px !important;
  font-weight: 700 !important
}

.sps-track {
  height: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  overflow: hidden;
  position: relative
}

.sps-fill {
  height: 100%;
  border-radius: 7px;
  transition: width .7s cubic-bezier(.2, .8, .3, 1)
}

.sps-scale {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--dim);
  margin-top: 5px;
  letter-spacing: .03em
}

.sps-stocks-h {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 18px 0 9px
}

.sps-stocks {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.sps-stock {
  display: grid;
  grid-template-columns: 92px 1fr 34px 64px;
  gap: 11px;
  align-items: center;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .12s
}

.sps-stock:hover {
  background: var(--glass2)
}

.sps-stock-sym {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px
}

.sps-mini {
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .05);
  overflow: hidden
}

.sps-mini-fill {
  height: 100%;
  border-radius: 5px;
  transition: width .6s ease
}

.sps-stock-val {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  text-align: right
}

.sps-stock-grade {
  font-size: 10.5px;
  color: var(--mut);
  text-align: right
}

.sps-foot {
  font-size: 11px;
  color: var(--dim);
  margin-top: 14px;
  line-height: 1.55
}

.sps-empty {
  font-size: 13px;
  color: var(--mut);
  margin-top: 8px;
  line-height: 1.55
}

/* ---------- 30-second earnings read (modal) ---------- */
.earn-modal {
  max-width: 520px;
  width: 92vw
}

.earn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.earn-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #1a1204;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px
}

.earn-head h3 {
  font-size: 18px;
  line-height: 1.2
}

.earn-sub {
  font-size: 12px;
  font-family: var(--mono);
  margin-top: 2px
}

.earn-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.earn-b {
  display: grid;
  grid-template-columns: 26px 130px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-bd)
}

.earn-b-ic {
  font-size: 15px;
  text-align: center
}

.earn-b-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--mut)
}

.earn-b-val {
  font-size: 13px;
  font-family: var(--mono);
  text-align: right
}

.earn-b.good {
  border-left: 3px solid var(--up)
}

.earn-b.bad {
  border-left: 3px solid var(--down)
}

.earn-b.na {
  border-left: 3px solid var(--line2)
}

.earn-b.good .earn-b-val {
  color: var(--up)
}

.earn-b.bad .earn-b-val {
  color: var(--down)
}

.earn-news-h {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 16px 0 8px
}

.earn-news {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  text-decoration: none
}

.earn-news:first-of-type {
  border-top: none
}

.earn-news-t {
  display: block;
  font-size: 12.5px;
  color: var(--txt);
  line-height: 1.4
}

.earn-news-s {
  display: block;
  font-size: 10px;
  color: var(--dim);
  font-family: var(--mono);
  margin-top: 2px
}

.earn-foot {
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 14px;
  line-height: 1.55
}

.earn-empty {
  font-size: 13px;
  color: var(--mut);
  padding: 8px 0;
  line-height: 1.6
}

.ev-card {
  position: relative
}

.ev-30s {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--amber);
  background: rgba(244, 173, 54, .1);
  border: 1px solid rgba(244, 173, 54, .28);
  border-radius: 7px;
  padding: 3px 7px;
  transition: .13s;
  z-index: 2
}

.ev-30s:hover {
  background: var(--amber);
  color: #1a1204
}

.ev-card .ev-tag {
  margin-top: 16px
}

/* ---------- Compare stocks ---------- */
.cmp-pickbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap
}

.cmp-pick {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative
}

.cmp-pick-tag {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-weight: 700;
  font-size: 12px;
  background: var(--glass2);
  border: 1px solid var(--glass-bd);
  color: var(--amber)
}

.cmp-searchbox {
  flex: 1
}

.cmp-vs {
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
  letter-spacing: .08em
}

.cmp-go {
  white-space: nowrap
}

.cmp-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 12px
}

.cmp-placeholder,
.cmp-msg,
.cmp-loading {
  border-radius: var(--r2);
  border: 1px dashed var(--line2);
  background: var(--glass);
  padding: 26px 24px;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.6
}

.cmp-loading {
  border-style: solid;
  padding: 14px
}

.cmp-placeholder {
  display: flex;
  gap: 16px;
  align-items: center
}

.cmp-ph-ic {
  font-size: 32px
}

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0
}

.cmp-div {
  background: linear-gradient(180deg, transparent, var(--line2) 12%, var(--line2) 88%, transparent)
}

.cmp-col {
  padding: 0 22px
}

.cmp-col:first-child {
  padding-left: 4px
}

.cmp-col:last-child {
  padding-right: 4px
}

.cmp-colhead {
  padding: 4px 0 14px
}

.cmp-cn {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2
}

.cmp-csym {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px
}

.cmp-crown {
  color: var(--up);
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--ui)
}

.cmp-csec {
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
  line-height: 1.4
}

.cmp-cprice {
  font-size: 19px;
  font-weight: 700;
  margin-top: 9px
}

.cmp-cscore {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 10px
}

.cmp-score-n {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700
}

.cmp-score-n small {
  font-size: 11px;
  color: var(--mut);
  font-weight: 400
}

.cmp-score-g {
  font-size: 11px;
  color: var(--mut)
}

.cmp-score-track {
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .05);
  overflow: hidden;
  margin-top: 6px
}

.cmp-score-fill {
  height: 100%;
  border-radius: 5px;
  transition: width .6s ease
}

.cmp-colhead.win .cmp-cn {
  color: var(--up)
}

.cmp-chart {
  margin-top: 8px;
  height: 86px
}

.cmp-chart-empty {
  display: grid;
  place-items: center;
  height: 86px;
  color: var(--dim);
  font-size: 11px;
  border: 1px dashed var(--line);
  border-radius: 9px
}

.cmp-chart-cap {
  font-size: 10.5px;
  color: var(--mut);
  font-family: var(--mono);
  margin-top: 4px;
  text-align: right
}

.cmp-verdict {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--r2);
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd)
}

.cmp-verdict-h {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  margin-bottom: 10px
}

.cmp-verdict-bar {
  display: flex;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--line)
}

.cmp-vb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  color: #0b0f18;
  transition: width .6s cubic-bezier(.2, .8, .3, 1);
  min-width: 0;
  overflow: hidden
}

.cmp-vb.a {
  background: linear-gradient(90deg, var(--amber), var(--amber2))
}

.cmp-vb.b {
  background: linear-gradient(90deg, #4aa3ff, #7fc0ff)
}

.cmp-verdict-txt {
  font-size: 13px;
  margin-top: 10px;
  color: var(--txt)
}

.cmp-vpct {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--amber);
  font-size: 15px
}

.cmp-sec {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px
}

.cmp-sec span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  font-size: 11px;
  color: var(--dim)
}

.cmp-factors {
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  overflow: hidden
}

.cmp-frow {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line)
}

.cmp-frow:first-child {
  border-top: none
}

.cmp-fa,
.cmp-fb {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--mut)
}

.cmp-fa {
  text-align: right
}

.cmp-fb {
  text-align: left
}

.cmp-fa.win,
.cmp-fb.win {
  color: var(--up);
  font-weight: 700;
  background: rgba(55, 220, 160, .07)
}

.cmp-fl {
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  padding: 11px 8px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  line-height: 1.3
}

.cmp-fw {
  display: block;
  font-size: 9px;
  opacity: .6;
  margin-top: 2px;
  font-family: var(--mono)
}

.cmp-grid.swot {
  margin-top: 4px
}

.cmp-swot-blk {
  margin-bottom: 14px
}

.cmp-swot-h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px
}

.cmp-swot-h.up {
  color: var(--up)
}

.cmp-swot-h.down {
  color: var(--down)
}

.cmp-swot-h.op {
  color: var(--amber)
}

.cmp-swot-h.th {
  color: #c98bdd
}

.cmp-swot-i {
  font-size: 12px;
  color: var(--txt);
  line-height: 1.45;
  padding: 4px 0 4px 13px;
  position: relative
}

.cmp-swot-i::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--dim)
}

@media (max-width:680px) {

  .cmp-grid,
  .cmp-grid.swot {
    grid-template-columns: 1fr
  }

  .cmp-div {
    display: none
  }

  .cmp-col {
    padding: 16px 4px;
    border-top: 1px solid var(--line)
  }

  .cmp-col:first-child {
    border-top: none
  }

  .cmp-frow {
    grid-template-columns: 1fr 1fr;
  }

  .cmp-fl {
    grid-column: 1 / -1;
    order: -1;
    border: none;
    border-bottom: 1px solid var(--line);
    text-align: left
  }
}

/* ===================================================================
   ALPHABOT — floating rule-based guide (additive overlay)
   =================================================================== */
.bot-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 65;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--amber2), var(--amber));
  color: #1a1204;
  box-shadow: 0 8px 26px rgba(244, 173, 54, .42), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s;
}

.bot-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(244, 173, 54, .55)
}

.bot-fab:active {
  transform: scale(.96)
}

.bot-fab svg {
  width: 26px;
  height: 26px;
  position: absolute;
  transition: opacity .2s, transform .2s
}

.bot-fab .bot-fab-close {
  opacity: 0;
  transform: rotate(-90deg) scale(.6)
}

.bot-fab.active .bot-fab-chat {
  opacity: 0;
  transform: rotate(90deg) scale(.6)
}

.bot-fab.active .bot-fab-close {
  opacity: 1;
  transform: rotate(0) scale(1)
}

.bot-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: bot-ping 2.6s ease-out infinite;
  pointer-events: none;
}

.bot-fab.active .bot-fab-ping {
  display: none
}

@keyframes bot-ping {
  0% {
    opacity: .6;
    transform: scale(1)
  }

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

.bot-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 66;
  width: 372px;
  max-width: calc(100vw - 28px);
  height: 540px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 26, 42, .98), rgba(12, 18, 30, .98));
  border: 1px solid var(--glass-bd);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 var(--glass-hi);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .3, 1);
  backdrop-filter: blur(10px);
}

.bot-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.bot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 173, 54, .08), transparent);
}

.bot-id {
  display: flex;
  align-items: center;
  gap: 11px
}

.bot-ava {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: linear-gradient(155deg, var(--amber2), var(--amber));
  color: #1a1204;
  box-shadow: 0 3px 10px rgba(244, 173, 54, .35);
}

.bot-ava.sm {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  font-size: 13px
}

.bot-id b {
  font-size: 14.5px;
  display: block;
  line-height: 1.1
}

.bot-stat {
  font-size: 10.5px;
  color: var(--up);
  display: flex;
  align-items: center;
  gap: 5px
}

.bot-stat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 6px var(--up)
}

.bot-x {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--glass);
  color: var(--mut);
  font-size: 14px;
  transition: .14s;
}

.bot-x:hover {
  background: var(--glass2);
  color: var(--txt)
}

.bot-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 15px 6px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent;
}

.bot-log::-webkit-scrollbar {
  width: 6px
}

.bot-log::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 4px
}

.bot-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
  animation: bot-in .26s ease both
}

@keyframes bot-in {
  from {
    opacity: 0;
    transform: translateY(6px)
  }
}

.bot-msg.user {
  justify-content: flex-end
}

.bot-bubble {
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 13px;
  border-radius: 14px;
  max-width: 80%;
  border: 1px solid var(--glass-bd);
  word-wrap: break-word;
}

.bot-msg.bot .bot-bubble {
  background: var(--glass2);
  border-bottom-left-radius: 5px;
  color: var(--txt)
}

.bot-msg.bot .bot-bubble b {
  color: var(--amber)
}

.bot-msg.user .bot-bubble {
  background: linear-gradient(160deg, rgba(244, 173, 54, .22), rgba(244, 173, 54, .12));
  border-color: rgba(244, 173, 54, .3);
  border-bottom-right-radius: 5px;
  color: #fff;
}

.bot-dots {
  display: inline-flex;
  gap: 4px;
  padding: 2px 0
}

.bot-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mut);
  animation: bot-bounce 1.2s infinite
}

.bot-dots i:nth-child(2) {
  animation-delay: .15s
}

.bot-dots i:nth-child(3) {
  animation-delay: .3s
}

@keyframes bot-bounce {

  0%,
  60%,
  100% {
    opacity: .3;
    transform: translateY(0)
  }

  30% {
    opacity: 1;
    transform: translateY(-4px)
  }
}

.bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 6px 15px 12px
}

.bot-chip {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 20px;
  color: var(--txt);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  transition: .15s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bot-chip:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(244, 173, 54, .08);
  transform: translateY(-1px)
}

.bot-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 20, .6);
}

.bot-input input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 22px;
  padding: 10px 15px;
  font-size: 13px;
  color: var(--txt);
}

.bot-input input:focus {
  outline: none;
  border-color: var(--amber)
}

.bot-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--amber2), var(--amber));
  color: #1a1204;
  transition: .15s;
}

.bot-send svg {
  width: 17px;
  height: 17px
}

.bot-send:hover {
  transform: scale(1.06)
}

@media (max-width: 520px) {
  .bot-panel {
    right: 9px;
    left: 9px;
    width: auto;
    bottom: 80px;
    height: calc(100vh - 110px)
  }

  .bot-fab {
    right: 16px;
    bottom: 16px
  }
}

/* ===================================================================
   STOCK SCREENER
   =================================================================== */
#screener .scr-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.scr-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--txt);
}

.scr-meta {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 3px;
}

/* prebuilt screens */
.scr-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.scr-preset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 7px 13px;
  border-radius: 11px;
  background: var(--glass2);
  border: 1px solid var(--glass-bd);
  color: var(--txt);
  cursor: pointer;
  transition: .15s;
  line-height: 1.2;
}

.scr-preset:hover {
  border-color: rgba(244, 173, 54, .5);
  transform: translateY(-1px);
}

.scr-preset.on {
  background: linear-gradient(155deg, rgba(244, 173, 54, .2), rgba(244, 173, 54, .08));
  border-color: var(--amber);
}

.scr-preset-l {
  font-size: 12.5px;
  font-weight: 600;
}

.scr-preset.on .scr-preset-l {
  color: var(--amber2);
}

.scr-preset-d {
  font-size: 9.5px;
  color: var(--mut);
  letter-spacing: .01em;
}

/* controls row */
.scr-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 12px;
}

.scr-searchbox {
  flex: 1 1 240px;
  min-width: 180px;
  margin: 0;
}

.scr-controls select {
  background: var(--bg2);
  border: 1px solid var(--line2);
  color: var(--txt);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  cursor: pointer;
}

.scr-controls select:focus {
  outline: none;
  border-color: var(--amber);
}

.scr-filt-btn.on {
  border-color: var(--amber);
  color: var(--amber2);
}

/* advanced filter grid */
.scr-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 11px 14px;
  padding: 15px 16px;
  margin-bottom: 12px;
}

.scr-f {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.scr-f label {
  font-size: 11px;
  color: var(--mut);
  font-weight: 500;
}

.scr-f-rng {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scr-f-rng input {
  width: 100%;
  min-width: 0;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  color: var(--txt);
}

.scr-f-rng input:focus {
  outline: none;
  border-color: var(--amber);
}

.scr-f-dash {
  color: var(--dim);
  font-size: 12px;
}

/* active filter pills + count */
.scr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.scr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scr-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .28);
  color: var(--amber2);
  white-space: nowrap;
}

.scr-pill.muted {
  background: var(--glass);
  border-color: var(--glass-bd);
  color: var(--mut);
}

.scr-count {
  font-size: 12px;
  color: var(--mut);
  font-weight: 600;
  white-space: nowrap;
}

/* results table */
.scr-table-card {
  padding: 0;
  overflow: hidden;
}

.scr-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent;
}

.scr-scroll::-webkit-scrollbar {
  height: 8px;
}

.scr-scroll::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 5px;
}

.scr-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.scr-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #141c2b;
  color: var(--mut);
  font-weight: 600;
  font-size: 11px;
  text-align: right;
  padding: 11px 12px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  user-select: none;
  transition: color .14s;
}

.scr-table thead th:hover {
  color: var(--txt);
}

.scr-table thead th.sorted {
  color: var(--amber2);
}

.scr-table thead th.scr-th-name {
  text-align: left;
  padding-left: 16px;
}

.scr-table thead th .ar {
  display: inline-block;
  width: 9px;
  margin-left: 3px;
  font-size: 9px;
  color: var(--amber);
}

.scr-th-link {
  width: 30px;
}

.scr-table tbody td {
  padding: 9px 12px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  white-space: nowrap;
  color: var(--txt);
}

.scr-table tbody tr {
  cursor: pointer;
  transition: background .12s;
}

.scr-table tbody tr:hover {
  background: rgba(244, 173, 54, .06);
}

.scr-td-name {
  text-align: left !important;
  display: grid;
  grid-template-columns: 24px auto;
  column-gap: 10px;
  align-items: center;
  padding-left: 16px !important;
}

.scr-rank {
  grid-row: 1 / 3;
  align-self: center;
  text-align: right;
  color: var(--dim);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.scr-cell-sym {
  grid-column: 2;
  font-weight: 600;
  color: var(--txt);
  font-size: 13px;
  line-height: 1.25;
}

.scr-cell-name {
  grid-column: 2;
  color: var(--mut);
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.scr-link {
  text-align: center !important;
  color: var(--dim);
  font-size: 14px;
  transition: color .14s, transform .14s;
}

.scr-link:hover {
  color: var(--amber);
  transform: translateX(1px);
}

/* building / progress state */
.scr-building {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 54px 24px;
  text-align: center;
}

.scr-build-spin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line2);
  border-top-color: var(--amber);
  animation: scr-spin .8s linear infinite;
}

@keyframes scr-spin {
  to {
    transform: rotate(360deg)
  }
}

.scr-build-h {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}

.scr-build-sub {
  font-size: 12px;
  color: var(--mut);
  max-width: 440px;
  line-height: 1.5;
}

.scr-prog {
  width: min(340px, 80%);
  height: 7px;
  border-radius: 5px;
  background: var(--line2);
  overflow: hidden;
  margin-top: 4px;
}

.scr-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber2));
  border-radius: 5px;
  transition: width .4s ease;
}

.scr-prog-n {
  font-size: 11px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

/* empty / error message */
.scr-msg {
  padding: 40px 24px;
  text-align: center;
  color: var(--mut);
  font-size: 13px;
  background: var(--glass2);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r2);
}

@media (max-width: 640px) {
  .scr-controls select {
    flex: 1 1 auto;
  }

  .scr-top {
    flex-direction: column;
  }
}

/* ===================================================================
   LANDING FOOTER (Maxtern Technologies)
   =================================================================== */
.home-footer {
  width: 100%;
  max-width: 940px;
  margin: 40px auto 0;
}

.hf-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--line2) 18%, var(--line2) 82%, transparent);
  margin-bottom: 20px;
}

.hf-cols {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 22px 28px;
}

.hf-brand-col {
  max-width: 300px;
}

.hf-co {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(120deg, var(--amber2), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hf-sub {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 6px;
  line-height: 1.5;
}

.hf-made {
  font-size: 11px;
  color: var(--dim);
  margin-top: 11px;
  letter-spacing: .03em;
}

.hf-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.hf-h {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--dim);
  font-weight: 700;
  margin-bottom: 7px;
}

.hf-link {
  background: none;
  border: none;
  color: var(--mut);
  font-size: 12.5px;
  padding: 4px 0;
  cursor: pointer;
  transition: color .14s, transform .14s;
  text-align: left;
}

.hf-link:hover {
  color: var(--amber2);
  transform: translateX(2px);
}

.hf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: .03em;
}

.hf-bottom-note {
  color: var(--dim);
}

@media (max-width: 760px) {
  .hf-cols {
    grid-template-columns: 1fr 1fr;
  }

  .hf-brand-col {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* info / terms popup */
.info-modal {
  max-width: 540px;
  text-align: left;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.info-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--glass);
  color: var(--mut);
  font-size: 14px;
  cursor: pointer;
  transition: .14s;
}

.info-x:hover {
  background: var(--glass2);
  color: var(--txt);
}

.info-modal h3 {
  margin: 2px 30px 12px 0;
  font-size: 18px;
}

.info-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--txt);
}

.info-body h4 {
  font-size: 13px;
  color: var(--amber2);
  margin: 14px 0 4px;
}

.info-body p {
  margin: 0 0 9px;
}

.info-body .info-muted {
  color: var(--mut);
  font-size: 11.5px;
}

.info-list {
  margin: 4px 0 9px;
  padding-left: 18px;
}

.info-list li {
  margin-bottom: 5px;
}

/* ===================================================================
   MARKETS — index column board (Moneycontrol-style vertical lists)
   =================================================================== */
.idx-board {
  display: flex;
  gap: 14px;
  /* separate paddings between the index lists */
  margin-bottom: 18px;
  align-items: start;
}

.idx-col {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 16px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.idx-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .02);
  border: none;
  /* faded divider line under each column header */
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--glass-bd) 18%, var(--glass-bd) 82%, transparent) 1;
  cursor: default;
  text-align: left;
}

.idx-col[data-expandable="1"] .idx-col-head {
  cursor: pointer;
}

.idx-col[data-expandable="1"] .idx-col-head:hover .idx-col-title {
  color: var(--amber2);
}

.idx-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .045em;
  color: var(--txt);
  transition: color .14s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idx-col-tog {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.idx-more {
  font-size: 9.5px;
  color: var(--amber2);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .25);
  padding: 1px 6px;
  border-radius: 9px;
  font-variant-numeric: tabular-nums;
}

.idx-chev {
  font-size: 9px;
  color: var(--mut);
  display: inline-block;
}

.idx-col-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

/* In-column view shows the first 4; the rest open in the centered popup. */
.idx-col-list .idx-row:nth-child(n+5) {
  display: none;
}

.idx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 13px;
  cursor: pointer;
  /* faded inset divider between rows */
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .055) 14%, rgba(255, 255, 255, .055) 86%, transparent) 1;
  transition: background .12s;
}

.idx-row:last-child,
.idx-pop-list .idx-row:last-child {
  border-bottom: none;
  border-image: none;
}

.idx-row:hover {
  background: rgba(244, 173, 54, .06);
}

.idx-row-name {
  font-size: 12px;
  color: var(--txt);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idx-row-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}

.idx-row-px {
  font-size: 12px;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.idx-row-chg {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.idx-row .src {
  flex-shrink: 0;
  transform: scale(.84);
  transform-origin: left center;
}

/* ---- expanded index list: centered popup over a faded backdrop ---- */
.idx-pop-bg {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 18, .62);
  backdrop-filter: blur(7px) saturate(115%);
  -webkit-backdrop-filter: blur(7px) saturate(115%);
  animation: idxpopfade .18s ease-out;
}

.idx-pop-bg.show {
  display: flex;
}

@keyframes idxpopfade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.idx-pop {
  width: min(440px, 94vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r2);
  background: linear-gradient(180deg, #131a26, #0e141e);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6), inset 0 1px 0 var(--glass-hi);
  overflow: hidden;
  animation: idxpoprise .2s cubic-bezier(.2, .7, .3, 1);
}

@keyframes idxpoprise {
  from {
    transform: translateY(10px) scale(.985);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.idx-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--glass-bd);
  background: rgba(255, 255, 255, .025);
}

.idx-pop-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--txt);
}

.idx-pop-title span {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 11px;
  color: var(--mut);
  margin-left: 7px;
}

.idx-pop-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  color: var(--mut);
  font-size: 14px;
  border: 1px solid var(--glass-bd);
}

.idx-pop-close:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--txt);
}

.idx-pop-list {
  overflow-y: auto;
  padding: 4px 0;
}

.idx-pop-list .idx-row:nth-child(n+5) {
  display: flex;
  /* override the in-column truncation inside the popup */
}

@media (max-width: 880px) {

  /* Tablet: 2-up grid of full-width index cards (Moneycontrol-style list preview). */
  .idx-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    /* grid cells fill column width regardless; start avoids stretch gaps */
    gap: 10px;
  }
}

@media (max-width: 560px) {

  /* Phone: single column, and reveal all rows inline (no tap-to-expand needed on small screens). */
  .idx-board {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .idx-col-list .idx-row:nth-child(n+5) {
    display: flex;
    /* show the full list inline on phones */
  }

  .idx-col-tog .idx-chev,
  .idx-col-tog .idx-more {
    display: none;
    /* no expand affordance needed when everything is shown */
  }

  .idx-row {
    padding: 9px 13px;
    /* a touch more tap height */
  }
}

/* ======================================================================
   Investor Guide  (segment: #guide)
   ====================================================================== */
.guide-head {
  max-width: 760px;
  margin: 2px auto 22px;
  text-align: center;
}

.guide-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--txt);
  margin: 0 0 8px;
}

.guide-sub {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mut);
  margin: 0;
}

.guide-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.gb-1 {
  color: var(--up);
  background: rgba(126, 224, 168, .10);
  border-color: rgba(126, 224, 168, .4);
}

.gb-2 {
  color: var(--amber);
  background: rgba(244, 173, 54, .10);
  border-color: rgba(244, 173, 54, .4);
}

.gb-3 {
  color: #5ec8ff;
  background: rgba(94, 200, 255, .10);
  border-color: rgba(94, 200, 255, .4);
}

.guide-tag {
  font-size: 11.5px;
  color: var(--dim);
}

.guide-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--amber);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed rgba(244, 173, 54, .45);
}

.guide-link:hover {
  color: var(--amber2);
  border-bottom-color: var(--amber2);
}

.guide-note {
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.7;
  margin-top: 18px;
  text-align: center;
}

.guide-note .guide-link {
  margin-top: 0;
}

/* ======================================================================
   Landing row-0 (new segments: Guide / Compare)
   ====================================================================== */
.home-row.row-0 {
  max-width: 680px;
}

.home-row.row-0 .home-tile:nth-child(1) {
  animation-delay: 680ms;
}

.home-row.row-0 .home-tile:nth-child(2) {
  animation-delay: 740ms;
}

.home-row.row-0 .home-tile:nth-child(3) {
  animation-delay: 800ms;
}

.home-leaving .home-row.row-0 .home-tile:nth-child(1) {
  animation: home-tile-out .3s ease .00s forwards;
}

.home-leaving .home-row.row-0 .home-tile:nth-child(2) {
  animation: home-tile-out .3s ease .03s forwards;
}

.home-leaving .home-row.row-0 .home-tile:nth-child(3) {
  animation: home-tile-out .3s ease .06s forwards;
}

@media (max-width: 700px) {
  .home-row.row-0 {
    max-width: 460px;
  }
}

/* ======================================================================
   EXPERT PICKS (premium-gated multibagger list) + PREMIUM / PLANS
   ====================================================================== */
.ep-wrap {
  margin-bottom: 6px;
}

.ep-lock-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .3);
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: .02em;
  text-transform: none;
}

.ep-card {
  border-radius: var(--r2);
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 8px 26px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  overflow: hidden;
}

.ep-premium-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--txt);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ep-crown {
  font-size: 11px;
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .3);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 700;
}

.ep-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}

.ep-row:last-of-type {
  border-bottom: none;
}

.ep-row:hover {
  background: rgba(244, 173, 54, .05);
}

.ep-rank {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(244, 173, 54, .12);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ep-main {
  min-width: 0;
}

.ep-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-sym {
  font-size: 11px;
  color: var(--mut);
  font-weight: 500;
}

.ep-thesis {
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-ret {
  text-align: right;
  flex-shrink: 0;
}

.ep-ret-v {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ep-ret-k {
  font-size: 9.5px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 1px;
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
}

.ep-disclaimer {
  font-size: 10.5px;
  color: var(--dim);
  padding: 10px 16px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .12);
}

/* locked teaser */
.ep-locklist {
  position: relative;
}

.ep-row.locked {
  cursor: default;
  pointer-events: none;
}

.ep-row.locked:hover {
  background: none;
}

.ep-blur {
  flex: 1;
}

.ep-blur-name,
.ep-blur-sub,
.ep-blur-ret {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  filter: blur(.5px);
}

.ep-blur-name {
  height: 12px;
  width: 46%;
  margin-bottom: 7px;
}

.ep-blur-sub {
  height: 9px;
  width: 72%;
}

.ep-blur-ret {
  height: 20px;
  width: 58px;
}

.ep-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(11, 16, 26, .55), rgba(11, 16, 26, .86));
  backdrop-filter: blur(3px);
}

.ep-lock-ic {
  font-size: 26px;
}

.ep-lock-h {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--display);
  color: var(--txt);
}

.ep-lock-p {
  font-size: 12px;
  color: var(--mut);
  max-width: 340px;
  line-height: 1.5;
}

.ep-unlock-btn {
  margin-top: 6px;
  font-weight: 700;
}

/* premium nav button */
.nav-premium {
  color: var(--amber);
  margin-top: 4px;
}

.nav-premium svg {
  stroke: var(--amber);
  fill: rgba(244, 173, 54, .14);
}

.nav-premium:hover {
  background: rgba(244, 173, 54, .1);
}

/* premium / plans modal (X-style tiers, site theme) */
.premium-modal {
  max-width: 560px;
  width: min(560px, 94vw);
}

.prem-head {
  text-align: center;
  margin-bottom: 16px;
}

.prem-crown {
  font-size: 30px;
}

.prem-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  margin: 6px 0 4px;
}

.prem-sub {
  font-size: 13px;
  color: var(--mut);
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}

.prem-feats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px auto;
  max-width: 340px;
}

.prem-feat {
  font-size: 12.5px;
  color: var(--txt);
}

.prem-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 10px;
}

.prem-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px 16px;
  border-radius: var(--r2);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  cursor: pointer;
  transition: .15s;
  font: inherit;
  color: var(--txt);
}

.prem-plan:hover:not(:disabled) {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.prem-plan:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.prem-plan.best {
  border-color: var(--amber);
  background: rgba(244, 173, 54, .07);
}

.prem-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1a1205;
  background: var(--amber);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.prem-plan-name {
  font-size: 12px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.prem-plan-price {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}

.prem-plan-price span {
  font-size: 11px;
  font-weight: 500;
  color: var(--mut);
  font-family: var(--ui);
  margin-left: 2px;
}

.prem-plan-cta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

.prem-plan.best .prem-plan-cta {
  color: var(--amber2);
}

.prem-active {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: var(--txt);
  background: rgba(55, 220, 160, .1);
  border: 1px solid rgba(55, 220, 160, .3);
  border-radius: var(--r2);
}

.prem-note {
  font-size: 12.5px;
  color: var(--mut);
  text-align: center;
  padding: 16px;
}

.prem-legal {
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.5;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 560px) {
  .prem-plans {
    grid-template-columns: 1fr;
  }

  .ep-row {
    grid-template-columns: 26px 1fr auto;
    gap: 9px;
    padding: 11px 13px;
  }

  .ep-ret-v {
    font-size: 15px;
  }
}

/* =====================================================================
   BATCH: title fix + premium verify + forum redesign + guide interactive
   + MF/ETF colour grading & loaders + mobile-first polish
   (appended last so these intentional overrides win on the cascade)
   ===================================================================== */

/* ---------- wordmark: fix clipped "g" descender + polish (sidebar + landing) ---------- */
.logo-name {
  line-height: 1.14;
  padding-bottom: 1px;
  -webkit-text-stroke: 0;
  font-size: 18px;
  letter-spacing: -.022em;
}

.logo-name span {
  color: var(--amber);
}

.logo-text {
  gap: 3px;
}

.logo-sub {
  letter-spacing: .22em;
}

/* landing hero wordmark: give the gradient-clipped descenders room so "g" shows fully */
.home-title {
  line-height: 1.08;
  padding-bottom: .1em;
  overflow: visible;
}

/* ---------- premium verification seal (site-themed) ---------- */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.verified-tick {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.verified-tick svg {
  width: 16px;
  height: 16px;
  display: block;
}

.verified-tick .vt-seal {
  fill: var(--amber);
  filter: drop-shadow(0 0 5px rgba(244, 173, 54, .55));
}

.verified-tick .vt-check {
  stroke: #1a1205;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- premium plan sub-label + disabled button ---------- */
.prem-plan-sub {
  font-size: 10.5px;
  color: var(--dim);
  text-align: center;
  line-height: 1.3;
  min-height: 2.4em;
  display: flex;
  align-items: center;
}

.prem-plan.best .prem-plan-sub {
  color: var(--amber);
}

/* ---------- MF / ETF tile: prominent green/red delta pill ---------- */
.fc-delta {
  margin-left: auto;
  align-self: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fc-delta.up {
  color: var(--up);
  background: var(--up-bg);
}

.fc-delta.down {
  color: var(--down);
  background: var(--down-bg);
}

.fc-delta.flat {
  color: var(--mut);
  background: var(--glass);
}

/* animated loader row for the (slow) live NAV/price fetch */
.pulse-load-row {
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 4px 14px;
}

.pulse-load-row .pulse-load-txt {
  font-size: 12.5px;
}

.fund-loading .fund-grid {
  margin-top: 4px;
}

/* ---------- forum: redesigned company-first card ---------- */
.fc2-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.fc2-tik {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .34);
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .12s, transform .12s;
}

.fc2-tik:hover {
  background: rgba(244, 173, 54, .2);
  transform: translateY(-1px);
}

.fc2-co {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.012em;
  color: var(--txt);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fc2-time {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--dim);
  white-space: nowrap;
  flex: 0 0 auto;
}

.fc2-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--txt);
  white-space: pre-wrap;
  word-break: break-word;
}

.fc2-by {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mut);
}

.fc2-user {
  color: var(--amber);
  font-weight: 600;
}

.fc2-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.fc2-more-sp {
  flex: 1;
}

.fc2-more {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
}

.fc2-more:hover {
  text-decoration: underline;
}

.fc2-reply {
  font: inherit;
  font-size: 12.5px;
  color: var(--mut);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: .12s;
  flex: 0 0 auto;
}

.fc2-reply:hover {
  color: var(--txt);
  border-color: var(--line2);
}

/* ---------- forum: @-mention composer ---------- */
.thread-modal2 {
  max-width: 520px;
  width: min(520px, 94vw);
  position: relative;
}

.tc-title {
  font-family: var(--display);
  font-weight: 800;
}

.tc-chip-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 10px 0 2px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(244, 173, 54, .07);
  border: 1px solid rgba(244, 173, 54, .28);
}

.tc-chip-lbl {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

.tc-chip-nm {
  font-size: 13px;
  color: var(--txt);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.tc-chip-x {
  margin-left: auto;
  font: inherit;
  font-size: 12px;
  color: var(--mut);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  width: 24px;
  height: 24px;
  border-radius: 7px;
  cursor: pointer;
  flex: 0 0 auto;
}

.tc-chip-x:hover {
  color: var(--txt);
  border-color: var(--line2);
}

.forum-compose {
  position: relative;
  margin-top: 10px;
}

.forum-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 122px;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: var(--txt);
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 12px 13px;
}

.forum-compose textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 173, 54, .12);
}

.tc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mut);
}

.tc-hint b {
  color: var(--amber);
}

.tc-count {
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  flex: 0 0 auto;
}

.tc-count.over {
  color: var(--down);
  font-weight: 700;
}

.tc-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

.tc-post {
  flex: 1;
  justify-content: center;
}

.tc-post:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- mobile-first responsiveness pass (phones ≤ 560px) ---------- */
@media (max-width: 560px) {
  main {
    padding: 14px 12px 84px;
  }

  /* header: keep title + status legible, no overflow */
  .navbar {
    gap: 9px;
    padding: 10px 12px;
  }

  .pagetitle {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* landing hero: smaller wordmark, still uncut */
  .home-title {
    font-size: clamp(38px, 13vw, 60px);
    line-height: 1.1;
  }

  .home-logo-svg {
    width: 60px;
    height: 60px;
  }

  .home-tagline {
    font-size: 13.5px;
  }

  /* premium modal: single column of plans, comfortable tap targets */
  .premium-modal {
    padding: 20px 16px;
  }

  .prem-plans {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .prem-plan {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px;
    gap: 10px;
  }

  .prem-plan .prem-plan-sub {
    min-height: 0;
  }

  .prem-badge {
    left: auto;
    right: 12px;
    transform: none;
  }

  .prem-feats {
    max-width: none;
  }

  /* forum cards: tighter, company name wraps if needed */
  .forum-card {
    padding: 13px 14px;
  }

  .fc2-co {
    font-size: 14.5px;
    white-space: normal;
  }

  .fc2-top {
    flex-wrap: wrap;
  }

  .fc2-time {
    flex-basis: auto;
  }

  /* composer full-width, big textarea */
  .forum-compose textarea {
    min-height: 130px;
    font-size: 15px;
  }

  .tc-meta {
    flex-wrap: wrap;
    gap: 4px;
  }

  /* fund/etf grid: two readable columns on phones */
  .fund-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .fc-delta {
    font-size: 11.5px;
    padding: 2px 7px;
  }
}

/* very small phones: fund grid to one column so numbers never truncate */
@media (max-width: 380px) {
  .fund-grid {
    grid-template-columns: 1fr;
  }

  .home-title {
    font-size: clamp(34px, 15vw, 48px);
  }
}

/* =====================================================================
   BATCH 2: title hard-fix · premium nav CTA · indices tap-expand ·
   watchlist scroll · news crypto tab · simulated socials pies ·
   guide roadmap blueprint
   ===================================================================== */

/* ---------- landing wordmark: bulletproof descender fix ("g" fully shown) ---------- */
.home-title {
  display: block;
  white-space: nowrap;
  line-height: 1.22;
  padding-bottom: .16em;
  overflow: visible;
}

.home-title .ht-stock,
.home-title .ht-pulse {
  display: inline-block;
  padding-bottom: .04em;
}

/* ---------- premium CTA in the top navbar (both landing + app) ---------- */
.prem-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1205;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  border: 0;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(244, 173, 54, .3);
  transition: transform .14s, box-shadow .14s, filter .14s;
}

.prem-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244, 173, 54, .45);
}

.prem-cta svg {
  width: 15px;
  height: 15px;
  fill: #1a1205;
}

.prem-cta.is-active {
  color: var(--amber);
  background: rgba(244, 173, 54, .12);
  border: 1px solid rgba(244, 173, 54, .4);
  box-shadow: none;
}

.prem-cta.is-active svg {
  fill: var(--amber);
}

@media (max-width: 560px) {
  .prem-cta {
    padding: 6px 10px;
    font-size: 0;
    gap: 0;
  }

  /* icon-only on phones to save room */
  .prem-cta svg {
    width: 17px;
    height: 17px;
  }

  .prem-cta.is-active .pnb-tx {
    font-size: 0;
  }
}

/* ---------- indices: make the "show all" tap affordance obvious ---------- */
.idx-col[data-expandable="1"] .idx-col-head {
  cursor: pointer;
}

.idx-col[data-expandable="1"] .idx-col-tog {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(244, 173, 54, .1);
  border: 1px solid rgba(244, 173, 54, .28);
}

.idx-col[data-expandable="1"] .idx-col-head:hover .idx-col-tog {
  background: rgba(244, 173, 54, .2);
}

/* ---------- watchlist: horizontal scroll so nothing clips on mobile ---------- */
.wl2-card {
  padding: 0;
  overflow: hidden;
}

.wl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent;
}

.wl-scroll::-webkit-scrollbar {
  height: 7px;
}

.wl-scroll::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 5px;
}

.wl-table {
  width: 100%;
  min-width: 440px;
}

@media (max-width: 560px) {

  .wl-table th,
  .wl-table td {
    padding: 11px 13px;
    font-size: 13px;
  }

  .wl-table {
    min-width: 430px;
  }
}

/* ---------- news: crypto as a full-width category; hide side rail on mobile ---------- */
.news-split.news-full {
  grid-template-columns: 1fr;
}

@media (max-width: 820px) {
  .news-split .crypto-rail {
    display: none;
  }

  /* crypto lives on its own chip now */
}


/* =====================================================================
   BATCH 3: guide roadmap-blueprint rebuild (switch + per-level roadmap +
   scroll-driven 2D character + tunnel capstone). Fresh implementation —
   the old level-grid / stacked-roadmap generations were removed above.
   ===================================================================== */

/* ---------- level switch (same interaction language as the News chips) ---------- */
.gtrack-switch {
  display: inline-flex;
  gap: 5px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 999px;
  padding: 4px;
}

.gtsw {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
  background: none;
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .14s, background .14s;
}

.gtsw:hover {
  color: var(--txt);
}

.gtsw.on {
  color: #1a1205;
  background: var(--amber);
}

.gtsw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.gtsw-dot-1 {
  background: var(--up);
}

.gtsw-dot-2 {
  background: var(--amber);
}

.gtsw-dot-3 {
  background: #5ec8ff;
}

.gtsw.on .gtsw-dot {
  background: #1a1205;
}

/* ---------- track visibility ---------- */
.gtrack-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.gtrack {
  display: none;
}

.gtrack.on {
  display: block;
  animation: gtFade .38s ease;
}

@keyframes gtFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- per-track header: level badge + tag + progress ---------- */
.gtrack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 22px;
}

.gt-lvl-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.gt-lvl-badge.gb-1 {
  color: var(--up);
  background: rgba(126, 224, 168, .1);
  border-color: rgba(126, 224, 168, .4);
}

.gt-lvl-badge.gb-2 {
  color: var(--amber);
  background: rgba(244, 173, 54, .1);
  border-color: rgba(244, 173, 54, .4);
}

.gt-lvl-badge.gb-3 {
  color: #5ec8ff;
  background: rgba(94, 200, 255, .1);
  border-color: rgba(94, 200, 255, .4);
}

.gtrack-tag {
  font-size: 12px;
  color: var(--dim);
}

.gtrack-prog {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.gtp-bar {
  width: 84px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.gtp-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--amber);
  transition: width .3s ease;
}

.gt-complete .gtp-bar i {
  background: var(--up);
}

.gtp-txt {
  font-size: 11px;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- the road: blueprint-style spine + stops + runner ---------- */
.gt-road {
  position: relative;
  padding-left: 58px;
  /* faint drafting-grid backdrop for the "blueprint" feel */
  background-image:
    linear-gradient(rgba(148, 178, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
  border-radius: var(--r2);
}

.gt-spine {
  position: absolute;
  left: 20px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(244, 173, 54, .12), rgba(244, 173, 54, .35) 8%, rgba(244, 173, 54, .35) 92%, rgba(244, 173, 54, .12));
}

.gtrack[data-lvl="beginner"] .gt-spine {
  background: linear-gradient(180deg, rgba(126, 224, 168, .15), rgba(126, 224, 168, .45) 8%, rgba(126, 224, 168, .45) 92%, rgba(126, 224, 168, .15));
}

.gtrack[data-lvl="intermediate"] .gt-spine {
  background: linear-gradient(180deg, rgba(244, 173, 54, .15), rgba(244, 173, 54, .45) 8%, rgba(244, 173, 54, .45) 92%, rgba(244, 173, 54, .15));
}

.gtrack[data-lvl="pro"] .gt-spine {
  background: linear-gradient(180deg, rgba(94, 200, 255, .15), rgba(94, 200, 255, .45) 8%, rgba(94, 200, 255, .45) 92%, rgba(94, 200, 255, .15));
}

/* ---------- the walking character ---------- */
.gt-runner {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 46px;
  z-index: 3;
  transform: translateY(0);
  will-change: transform;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4));
  transition: filter .3s ease;
}

.gt-runner-in {
  animation: gtBob 1.1s ease-in-out infinite;
  transform-origin: 50% 90%;
}

@keyframes gtBob {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-3px) rotate(3deg);
  }
}

.gt-runner-svg {
  width: 40px;
  height: 46px;
  overflow: visible;
}

.gt-shadow {
  fill: rgba(0, 0, 0, .35);
}

.gt-body {
  fill: var(--amber);
}

.gt-head {
  fill: #ffe0a8;
}

.gt-eye {
  fill: #241a08;
}

.gt-smile {
  fill: none;
  stroke: #241a08;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.gt-arm {
  fill: none;
  stroke: var(--amber2);
  stroke-width: 3;
  stroke-linecap: round;
}

.gt-flag {
  fill: none;
  stroke: var(--up);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gtrack[data-lvl="intermediate"] .gt-body {
  fill: #f4ad36;
}

.gtrack[data-lvl="pro"] .gt-body {
  fill: #5ec8ff;
}

.gtrack[data-lvl="pro"] .gt-arm {
  fill: none;
  stroke: #8fd6ff;
}

/* entering the tunnel: shrink, desaturate, fade — sold by the CSS transition above */
.gt-runner.gt-entering {
  transform: scale(.55) translateY(var(--gtY, 0));
  opacity: .25;
  filter: blur(1.5px) drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
}

/* ---------- stops: individually padded roadmap cards ---------- */
.gt-stops {
  list-style: none;
  margin: 0;
  padding: 26px 0 30px;
}

.gt-stop {
  position: relative;
  padding: 0 0 26px 34px;
}

.gt-stop:last-child {
  padding-bottom: 8px;
}

.gt-node {
  position: absolute;
  left: -58px;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: var(--txt);
  background: var(--bg2);
  border: 2px solid var(--line2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}

.gt-node:hover {
  transform: scale(1.08);
  border-color: var(--amber);
}

.gt-stop.done .gt-node {
  color: #06231a;
  background: var(--up);
  border-color: var(--up);
}

.gt-stop.gt-near .gt-node {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(244, 173, 54, .18);
}

.gt-stop.done {
  opacity: .62;
}

.gt-card {
  background: linear-gradient(165deg, var(--glass2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-bd);
  border-radius: 14px;
  padding: 15px 17px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--mut);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 14px rgba(0, 0, 0, .22);
}

.gt-stop.gt-near .gt-card {
  border-color: rgba(244, 173, 54, .32);
}

.gt-card b {
  color: var(--txt);
  font-weight: 650;
}

.gt-card .guide-link {
  display: inline-block;
  margin-top: 4px;
}

/* ---------- tunnel capstone ---------- */
.gt-tunnel {
  position: relative;
  margin: 4px 0 10px 34px;
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120px 90px at 50% 45%, rgba(244, 173, 54, .25), rgba(6, 8, 14, .95) 72%);
  border: 1px solid var(--glass-bd);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gt-tunnel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gt-ring {
  fill: none;
  stroke: var(--amber);
}

.gt-ring-1 {
  stroke-width: 1.5;
  opacity: .18;
}

.gt-ring-2 {
  stroke-width: 1.8;
  opacity: .3;
}

.gt-ring-3 {
  stroke-width: 2.2;
  opacity: .48;
}

.gt-ring-4 {
  stroke-width: 2.6;
  opacity: .7;
}

.gt-ring-core {
  fill: var(--amber);
  opacity: .95;
  filter: blur(1px);
}

@keyframes gtPulseRings {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .55;
  }
}

.gt-ring-core {
  animation: gtPulseRings 1.8s ease-in-out infinite;
}

.gt-tunnel-cap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.gt-tunnel-txt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--txt);
  margin-bottom: 10px;
}

.gt-tunnel-cta {
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1205;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  border: 0;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(244, 173, 54, .35);
  transition: transform .14s;
}

.gt-tunnel-cta:hover {
  transform: translateY(-1px);
}

.gt-tunnel-cta-alt {
  background: linear-gradient(180deg, #8fd6ff, #4ea3ff);
  box-shadow: 0 3px 12px rgba(94, 200, 255, .3);
}

.gt-tunnel-final {
  background: radial-gradient(120px 90px at 50% 45%, rgba(94, 200, 255, .25), rgba(6, 8, 14, .95) 72%);
}

.gt-tunnel-final .gt-ring {
  stroke: #5ec8ff;
}

.gt-tunnel-final .gt-ring-core {
  fill: #5ec8ff;
}

/* ---------- mobile ---------- */
@media (max-width: 560px) {
  .gtrack-switch {
    width: 100%;
    justify-content: space-between;
  }

  .gtsw {
    flex: 1;
    justify-content: center;
    padding: 8px 6px;
    font-size: 11.5px;
  }

  .gtsw-dot {
    display: none;
  }

  /* reclaim space; the "on" fill state is signal enough */
  .gtrack-head {
    gap: 8px;
  }

  .gtrack-prog {
    margin-left: 0;
    width: 100%;
  }

  .gtp-bar {
    flex: 1;
  }

  .gt-road {
    padding-left: 46px;
    background-size: 18px 18px;
  }

  .gt-spine {
    left: 16px;
  }

  .gt-runner {
    width: 32px;
    height: 37px;
  }

  .gt-runner-svg {
    width: 32px;
    height: 37px;
  }

  .gt-node {
    left: -46px;
    width: 30px;
    height: 30px;
    font-size: 12.5px;
  }

  .gt-stop {
    padding-left: 26px;
    padding-bottom: 20px;
  }

  .gt-card {
    padding: 13px 14px;
    font-size: 12px;
  }

  .gt-tunnel {
    margin-left: 26px;
    height: 138px;
  }

  .gt-tunnel-txt {
    font-size: 13px;
  }
}