/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg:        #060a10;
  --bg2:       #080d16;
  --card-bg:   #0b1120;
  --card-bd:   #152030;
  --card-bd2:  #1c2e48;
  --text:      #c8d8ec;
  --text-dim:  #4e6880;
  --text-mid:  #7a9ab8;
  --green:     #00d68f;
  --red:       #e84646;
  --yellow:    #f0b429;
  --blue:      #3d8ef8;
  --purple:    #9f6aeb;
  --gold:      #e8c84a;
  --gold2:     #b8980a;
  --accent:    #1a6fd4;
  --accent2:   #0e4a9a;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }
.green  { color: var(--green)  !important; }
.red    { color: var(--red)    !important; }
.yellow { color: var(--yellow) !important; }
.blue   { color: var(--blue)   !important; }
.gold   { color: var(--gold)   !important; }
.dim    { color: var(--text-dim) !important; }

/* ── Top Nav ──────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: rgba(6,10,16,0.96);
  border-bottom: 1px solid var(--card-bd);
  padding: 10px 22px;
  backdrop-filter: blur(12px);
}
.brand {
  font-size: 1rem; font-weight: 900; letter-spacing: 1px;
  color: #fff; white-space: nowrap;
  padding: 5px 12px;
  background: linear-gradient(135deg, #1a6fd4, #0e4a9a);
  border-radius: 6px;
}
.brand span { color: var(--gold); }
.search-wrap { display: flex; gap: 6px; flex: 1; max-width: 420px; }
.search-wrap input {
  flex: 1; padding: 7px 14px; border-radius: 6px;
  border: 1px solid var(--card-bd2);
  background: #0a1320; color: var(--text);
  font-size: 0.92rem; outline: none; transition: border-color .2s;
}
.search-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(26,111,212,0.18); }
.search-wrap input::placeholder { color: var(--text-dim); }
.search-wrap button {
  padding: 7px 22px; border-radius: 6px; border: none;
  background: var(--accent); color: #fff;
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.search-wrap button:hover { background: #2278e0; }
.quick-links { display: flex; gap: 5px; flex-wrap: wrap; }
.quick-links span {
  padding: 4px 10px; border-radius: 4px; cursor: pointer;
  background: #0d1828; color: var(--blue);
  font-size: 0.78rem; font-weight: 700;
  border: 1px solid var(--card-bd); transition: all .15s;
}
.quick-links span:hover { background: #152540; border-color: var(--accent); }

/* ── Market Bar ───────────────────────────────────────────────── */
.market-bar {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  background: #07101c;
  border-bottom: 1px solid var(--card-bd);
  padding: 6px 22px; font-size: 0.78rem;
  overflow: hidden;
}
.mb-item {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 14px; cursor: default;
  transition: background .15s; border-radius: 5px;
}
.mb-item:hover { background: rgba(255,255,255,0.03); }
.mb-vix { padding-left: 0; }
.mb-sep { width: 1px; height: 20px; background: var(--card-bd2); margin: 0 6px; flex-shrink: 0; }
.mb-lbl { color: var(--text-dim); font-size: 0.72rem; white-space: nowrap; }
.mb-val { color: var(--text); font-weight: 700; white-space: nowrap; }
.mb-pct { font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.mb-pct.up { color: var(--green); }
.mb-pct.dn { color: var(--red); }
.mb-badge {
  padding: 1px 7px; border-radius: 10px;
  font-size: 0.68rem; font-weight: 800; white-space: nowrap;
}
.vix-greed-hi { background: rgba(0,214,143,.18); color: #00d68f; border: 1px solid rgba(0,214,143,.3); }
.vix-greed    { background: rgba(100,200,100,.15); color: #78d878; border: 1px solid rgba(100,200,100,.25); }
.vix-neutral-m{ background: rgba(240,180,41,.15);  color: var(--yellow); border: 1px solid rgba(240,180,41,.25); }
.vix-fear     { background: rgba(255,120,50,.15);  color: #ff8040; border: 1px solid rgba(255,120,50,.25); }
.vix-fear-hi  { background: rgba(232,70,70,.18);   color: var(--red);  border: 1px solid rgba(232,70,70,.3); }
.mb-time { margin-left: auto; color: var(--text-dim); font-size: 0.68rem; white-space: nowrap; }

/* ── Welcome / Hero ───────────────────────────────────────────── */
.welcome-screen {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 84px); padding: 40px 20px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,111,212,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(159,106,235,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 20% 60%, rgba(0,214,143,0.05) 0%, transparent 60%);
}
.welcome-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; width: 100%; }
.hero-eyebrow {
  display: inline-block;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(26,111,212,0.15); color: var(--blue);
  border: 1px solid rgba(26,111,212,0.3);
}
.hero-title {
  font-size: 3.4rem; font-weight: 900; line-height: 1.1;
  letter-spacing: -2px; color: #e8f4ff; margin-bottom: 16px;
}
.hero-accent {
  background: linear-gradient(135deg, #3d8ef8, #9f6aeb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.02rem; color: var(--text-mid);
  margin-bottom: 34px; line-height: 1.65;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-search {
  display: flex; gap: 8px; max-width: 560px;
  margin: 0 auto 44px;
  background: #0c1828; border: 1px solid var(--card-bd2);
  border-radius: 10px; padding: 6px 6px 6px 16px;
  box-shadow: 0 0 0 1px rgba(26,111,212,0.1), 0 8px 32px rgba(0,0,0,0.4);
}
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 0.98rem;
}
.hero-search input::placeholder { color: var(--text-dim); }
.hero-search button {
  padding: 9px 26px; border-radius: 7px; border: none;
  background: linear-gradient(135deg, #1a6fd4, #0e4a9a);
  color: #fff; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: opacity .15s; white-space: nowrap;
}
.hero-search button:hover { opacity: 0.85; }

.feature-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 40px; }
.feat-card {
  background: rgba(12,18,32,0.8); border: 1px solid var(--card-bd);
  border-radius: 10px; padding: 18px 16px; text-align: left;
  transition: border-color .2s, transform .12s;
  backdrop-filter: blur(4px);
}
.feat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feat-icon {
  width: 36px; height: 36px; border-radius: 8px; margin-bottom: 12px;
  background: rgba(26,111,212,0.15);
}
.tech-icon  { background: linear-gradient(135deg,rgba(61,142,248,.25),rgba(61,142,248,.1)); }
.fund-icon  { background: linear-gradient(135deg,rgba(0,214,143,.25),rgba(0,214,143,.1)); }
.sent-icon  { background: linear-gradient(135deg,rgba(240,180,41,.25),rgba(240,180,41,.1)); }
.strat-icon { background: linear-gradient(135deg,rgba(159,106,235,.25),rgba(159,106,235,.1)); }
.feat-title { font-size: 0.9rem; font-weight: 800; color: #deeeff; margin-bottom: 6px; }
.feat-desc  { font-size: 0.74rem; color: var(--text-dim); line-height: 1.5; }

.stocks-section { text-align: left; }
.stocks-title { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.8px;
                text-transform: uppercase; margin-bottom: 12px; }
.sample-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.sample-card {
  background: rgba(11,17,32,0.9); border: 1px solid var(--card-bd);
  border-radius: 10px; padding: 14px 14px 12px; cursor: pointer;
  transition: all .18s; backdrop-filter: blur(4px);
}
.sample-card:hover { border-color: var(--accent); background: rgba(15,24,44,0.95); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,111,212,0.12); }
.sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.s-ticker { font-size: 1.1rem; font-weight: 900; color: var(--gold); letter-spacing: 0.5px; }
.s-tag { font-size: 0.64rem; font-weight: 700; padding: 2px 7px; border-radius: 10px;
         background: rgba(61,142,248,0.12); color: var(--blue); border: 1px solid rgba(61,142,248,0.2); }
.s-name { font-size: 0.78rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.s-desc { font-size: 0.68rem; color: var(--text-dim); line-height: 1.4; }

/* ── Loading ────────────────────────────────────────────────────── */
.loading-screen {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: calc(100vh - 84px); gap: 18px;
}
.spinner {
  width: 46px; height: 46px;
  border: 3px solid var(--card-bd2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--text-dim); font-size: 0.95rem; }

/* ── Error ──────────────────────────────────────────────────────── */
.error-banner {
  margin: 20px; padding: 14px 20px; border-radius: 8px;
  background: #140808; border: 1px solid #4a1010;
  color: var(--red); font-size: 0.9rem;
}

/* ── Dashboard ──────────────────────────────────────────────────── */
.dashboard {
  max-width: 1500px; margin: 0 auto;
  padding: 14px 18px 48px;
  display: flex; flex-direction: column; gap: 12px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: 10px; padding: 15px 16px;
}
.card-title {
  font-size: 0.84rem; font-weight: 800; letter-spacing: 0.7px;
  color: var(--gold); margin-bottom: 14px;
  border-bottom: 1px solid var(--card-bd); padding-bottom: 9px;
  text-transform: uppercase;
}
.two-col   { display: grid; grid-template-columns: 1fr 360px; gap: 12px; align-items: start; }
.chart-row { align-items: stretch; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.four-col  { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.right-col { display: flex; flex-direction: column; gap: 12px; }

/* ── Stock Header ───────────────────────────────────────────────── */
.stock-header {
  display: grid;
  grid-template-columns: minmax(200px,1fr) auto auto;
  gap: 24px; align-items: start;
}
.header-left  { display: flex; gap: 14px; align-items: flex-start; }
.ticker-badge {
  font-size: 1.45rem; font-weight: 900; letter-spacing: 1px;
  color: #06080f;
  background: linear-gradient(135deg, var(--gold), #c8a020);
  border-radius: 8px; padding: 6px 14px;
  white-space: nowrap; line-height: 1.25; flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(232,200,74,0.2);
}
.h-name   { font-size: 1rem; font-weight: 700; color: #deeeff; line-height: 1.3; }
.h-sector { font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; }
.h-desc   { font-size: 0.7rem; color: var(--text-dim); margin-top: 7px;
            max-width: 380px; line-height: 1.45; }
.header-center { text-align: right; flex-shrink: 0; }
.big-price {
  font-size: 2.5rem; font-weight: 900; color: #eaf4ff;
  letter-spacing: -1.5px; line-height: 1;
}
.price-delta { font-size: 1.05rem; font-weight: 700; margin-top: 6px; }
.stat-grid8 {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px 18px; min-width: 280px;
}
.sg-item { display: flex; flex-direction: column; gap: 2px; }
.sg-l { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
.sg-v { font-size: 0.86rem; font-weight: 700; color: var(--text); }

/* ── Core Conclusions ────────────────────────────────────────────── */
.conclusions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.con-item {
  display: flex; align-items: center; gap: 10px;
  background: #090e1c; border: 1px solid var(--card-bd2);
  border-radius: 8px; padding: 9px 14px;
  flex: 1; min-width: 220px;
  border-left: 3px solid var(--card-bd2);
}
.con-item.star     { border-left-color: var(--gold); }
.con-item.positive { border-left-color: var(--green); }
.con-item.negative { border-left-color: var(--red); }
.con-item.warning  { border-left-color: var(--yellow); }
.con-item.neutral  { border-left-color: var(--text-dim); }
.con-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.con-item.star     .con-dot { background: var(--gold); }
.con-item.positive .con-dot { background: var(--green); }
.con-item.negative .con-dot { background: var(--red); }
.con-item.warning  .con-dot { background: var(--yellow); }
.con-item.neutral  .con-dot { background: var(--text-dim); }
.con-text { font-size: 0.88rem; color: var(--text); line-height: 1.4; }

/* ── Performance Returns ─────────────────────────────────────────── */
.perf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.perf-chip {
  flex: 1; min-width: 110px;
  background: #090e1c; border: 1px solid var(--card-bd2);
  border-radius: 8px; padding: 10px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.perf-label  { font-size: 0.67rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.perf-value  { font-size: 1.1rem; font-weight: 800; }
.perf-chip.pos-chip { border-top: 2px solid var(--green); }
.perf-chip.neg-chip { border-top: 2px solid var(--red); }
.perf-chip.neu-chip { border-top: 2px solid var(--text-dim); }

/* ── Info Metrics (shared) ───────────────────────────────────────── */
.info-metric {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 2px; border-bottom: 1px solid #0c1828;
}
.info-metric:last-child { border-bottom: none; }
.im-label { font-size: 0.73rem; color: var(--text-dim); }
.im-value { font-size: 0.88rem; font-weight: 700; color: var(--text); text-align: right; }
.im-bar-wrap {
  height: 4px; background: var(--card-bd2); border-radius: 2px;
  overflow: hidden; margin: 2px 0 6px;
}
.im-bar-fill { height: 100%; border-radius: 2px; transition: width .5s; }
.mini-loading { font-size: 0.78rem; color: var(--text-dim); text-align: center; padding: 16px; }

/* ── Earnings ────────────────────────────────────────────────────── */
.earn-date-wrap {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(26,111,212,0.08); border: 1px solid rgba(26,111,212,0.18);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; text-align: center;
}
.earn-date-label { font-size: 0.67rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.earn-date-val   { font-size: 1rem; font-weight: 800; color: var(--blue); margin-top: 3px; }
.no-data-sm { font-size: 0.75rem; color: var(--text-dim); text-align: center; padding: 10px 0; }

/* ── Institutional Holders ───────────────────────────────────────── */
.holders-title { font-size: 0.67rem; color: var(--text-dim); text-transform: uppercase;
                 letter-spacing: 0.5px; margin: 10px 0 6px; }
.holder-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid #0c1828; font-size: 0.74rem;
}
.holder-row:last-child { border-bottom: none; }
.holder-name { color: var(--text-mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.holder-pct  { color: var(--blue); font-weight: 700; flex-shrink: 0; margin-left: 8px; }

/* ── Chart ──────────────────────────────────────────────────────── */
.chart-card { min-width: 0; display: flex; flex-direction: column; }
.chart-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 8px;
}
.ma-pills { display: flex; gap: 5px; flex-wrap: wrap; }
.pill {
  padding: 2px 9px; border-radius: 20px;
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.3px;
}
.pill.ma5  { background: rgba(255,160,0,.14); color: #ffa000; border: 1px solid #ffa00030; }
.pill.ma20 { background: rgba(224,64,251,.14); color: #d94fff; border: 1px solid #d94fff30; }
.pill.ma60 { background: rgba(64,196,255,.14); color: #36c6ff; border: 1px solid #36c6ff30; }
.pill.rsi  { background: rgba(240,180,41,.14); color: #f0b429; border: 1px solid #f0b42930; }
.pill.bb   { background: rgba(157,215,100,.14); color: #90d45a; border: 1px solid #90d45a30; }

.period-tabs { display: flex; gap: 4px; }
.ptab {
  padding: 3px 10px; border-radius: 5px; cursor: pointer; border: none;
  background: #0e1828; color: var(--text-dim);
  font-size: 0.74rem; font-weight: 700; transition: all .15s;
}
.ptab.active, .ptab:hover { background: var(--accent); color: #fff; }

/* ── Indicator Bar ───────────────────────────────────────────────── */
.indicator-bar {
  display: flex; align-items: stretch; flex-wrap: wrap;
  background: #060c18; border: 1px solid var(--card-bd);
  border-radius: 7px; margin-bottom: 6px;
  overflow: hidden;
}
.ib-item {
  flex: 1; min-width: 220px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 12px;
}
.ib-divider { width: 1px; background: var(--card-bd); flex-shrink: 0; margin: 6px 0; }
.ib-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ib-tag {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 4px; border: 1px solid;
  white-space: nowrap;
}
.ib-kv { font-size: 0.74rem; color: var(--text-mid); white-space: nowrap; }
.ib-kv strong { color: var(--text); font-weight: 700; }
.ib-kv.ib-up strong { color: var(--green); }
.ib-kv.ib-dn strong { color: var(--red); }
.ib-desc { font-size: 0.7rem; color: var(--text-dim); line-height: 1.4; }

.macd-bar {
  font-size: 0.74rem; font-weight: 700;
  padding: 4px 10px; margin: 5px 0;
  background: #060b14; border-radius: 4px; border: 1px solid var(--card-bd);
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* ── Catalysts ──────────────────────────────────────────────────── */
.catalyst-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--card-bd);
}
.catalyst-item:last-child { border-bottom: none; }
.cat-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.cat-title { font-size: 0.81rem; font-weight: 600; color: #d8eeff; }
.cat-sub   { font-size: 0.71rem; color: var(--text-dim); margin-top: 2px; }

/* ── Business / Financial ────────────────────────────────────────── */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.biz-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 7px 10px; background: #07101c; border-radius: 6px;
  border: 1px solid var(--card-bd);
}
.biz-label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
.biz-value { font-size: 0.86rem; font-weight: 700; color: #d8eeff; }

/* ── Technical Indicators ────────────────────────────────────────── */
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table tr { border-bottom: 1px solid #0c1828; }
.tech-table tr:last-child { border-bottom: none; }
.tt-label  { padding: 7px 5px; color: var(--text-dim); font-size: 0.76rem; width: 48px; }
.tt-value  { padding: 7px 5px; color: var(--text); font-size: 0.84rem; font-weight: 700; }
.tt-status { padding: 7px 5px; font-size: 0.74rem; font-weight: 700; }

/* ── RSI Gauge ───────────────────────────────────────────────────── */
.rsi-gauge-wrap { margin-top: 10px; }
.rsi-gauge-track {
  position: relative; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--yellow) 50%, var(--red) 100%);
  margin-bottom: 4px;
}
.rsi-gauge-cursor {
  position: absolute; top: -3px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 2px solid var(--bg);
  transform: translateX(-50%);
  box-shadow: 0 0 4px rgba(255,255,255,0.5);
}
.rsi-gauge-labels {
  display: flex; justify-content: space-between;
  font-size: 0.6rem; color: var(--text-dim);
}

/* ── Key Levels ──────────────────────────────────────────────────── */
.levels-wrap { display: flex; flex-direction: column; gap: 9px; }
.level-row   { display: flex; flex-direction: column; gap: 4px; }
.lv-bar-wrap { background: #0a1524; border-radius: 3px; height: 5px; overflow: hidden; }
.lv-bar { height: 100%; border-radius: 3px; }
.resist2 .lv-bar { background: linear-gradient(90deg,#c0392b,#e74c3c); }
.resist1 .lv-bar { background: linear-gradient(90deg,#e55a28,#f07050); }
.current .lv-bar { background: linear-gradient(90deg,#d4e8ff,#94b8d8); }
.supp1   .lv-bar { background: linear-gradient(90deg,#1abc9c,#52d9c1); }
.supp2   .lv-bar { background: linear-gradient(90deg,#16a085,#1abc9c); }
.lv-info  { display: flex; align-items: center; gap: 8px; }
.lv-label { font-size: 0.71rem; color: var(--text-dim); width: 72px; flex-shrink: 0; }
.lv-price { font-size: 0.84rem; font-weight: 800; }
.lv-tag   { font-size: 0.65rem; color: var(--text-dim); }
.resist2 .lv-price { color: #e74c3c; }
.resist1 .lv-price { color: #f07050; }
.current .lv-price { color: #d4e8ff; }
.supp1   .lv-price { color: #1abc9c; }
.supp2   .lv-price { color: var(--green); }

/* ── Analyst ──────────────────────────────────────────────────────── */
.analyst-wrap { display: flex; flex-direction: column; gap: 8px; }
.analyst-rec {
  font-size: 1rem; font-weight: 800;
  padding: 9px 14px; border-radius: 7px;
  background: #08111e; text-align: center; letter-spacing: 0.3px;
}
.analyst-count { font-size: 0.72rem; color: var(--text-dim); text-align: center; }
.analyst-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 2px; border-bottom: 1px solid #0c1828;
}
.analyst-row:last-of-type { border-bottom: none; }
.ar-l { font-size: 0.74rem; color: var(--text-dim); }
.ar-v { font-size: 0.86rem; font-weight: 700; }
.analyst-upside {
  text-align: center; padding: 7px; border-radius: 6px;
  font-size: 0.94rem; font-weight: 800; background: #08111e;
}
.no-data { color: var(--text-dim); font-size: 0.8rem; text-align: center; padding: 24px 0; }

/* ── Bollinger Panel ──────────────────────────────────────────────── */
.bb-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.bb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 2px; border-bottom: 1px solid #0c1828;
}
.bb-row:last-child { border-bottom: none; }
.bb-l { font-size: 0.73rem; color: var(--text-dim); }
.bb-v { font-size: 0.86rem; font-weight: 700; }
.bb-pos-track {
  height: 8px; background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: 4px; position: relative; margin-top: 6px;
}
.bb-pos-cursor {
  position: absolute; top: -3px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 2px solid var(--bg);
  transform: translateX(-50%);
}

/* ── Quarterly Table ──────────────────────────────────────────────── */
.qtable { width: 100%; border-collapse: collapse; }
.qtable th {
  padding: 7px 10px; font-size: 0.68rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.4px;
  border-bottom: 1px solid var(--card-bd2); text-align: right;
}
.qtable th:first-child { text-align: left; }
.qtable td {
  padding: 7px 10px; font-size: 0.83rem; text-align: right;
  border-bottom: 1px solid #0c1828;
}
.qtable td:first-child { text-align: left; color: var(--text-dim); font-size: 0.75rem; }
.qtable tr:last-child td { border-bottom: none; }
.qtable .q-val { font-weight: 700; color: var(--text); }
.qtable .q-chg.pos { color: var(--green); }
.qtable .q-chg.neg { color: var(--red); }

/* ── Volume Analysis ──────────────────────────────────────────────── */
.vol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vol-stat {
  padding: 9px 11px; background: #07101c; border-radius: 7px;
  border: 1px solid var(--card-bd); display: flex; flex-direction: column; gap: 3px;
}
.vol-label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
.vol-value { font-size: 0.94rem; font-weight: 800; color: var(--text); }
.vol-bar-track { height: 5px; background: var(--card-bd2); border-radius: 3px; overflow: hidden; margin-top: 5px; }
.vol-bar-fill  { height: 100%; border-radius: 3px; transition: width .5s; }

/* ── Scenarios ────────────────────────────────────────────────────── */
.scenario { padding: 12px 14px; border-radius: 8px; margin-bottom: 9px; border-left: 3px solid; background: #080e1e; }
.scenario:last-child { margin-bottom: 0; }
.bull-s { border-color: var(--green); }
.neut-s { border-color: var(--yellow); }
.bear-s { border-color: var(--red); }
.sc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.sc-badge {
  padding: 2px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.bull-s .sc-badge { background: rgba(0,214,143,.15); color: var(--green); border: 1px solid rgba(0,214,143,.25); }
.neut-s .sc-badge { background: rgba(240,180,41,.15); color: var(--yellow); border: 1px solid rgba(240,180,41,.25); }
.bear-s .sc-badge { background: rgba(232,70,70,.15);  color: var(--red);    border: 1px solid rgba(232,70,70,.25); }
.sc-name   { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.sc-prob   { margin-left: auto; font-size: 0.72rem; font-weight: 700; }
.sc-target { font-size: 0.88rem; margin-bottom: 4px; font-weight: 600; }
.sc-cond   { font-size: 0.71rem; color: var(--text-dim); line-height: 1.4; }

/* ── Risks ────────────────────────────────────────────────────────── */
.risk-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid #0c1828; font-size: 0.81rem;
}
.risk-item:last-child { border-bottom: none; }
.risk-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.risk-item.high   .risk-dot { background: var(--red); }
.risk-item.medium .risk-dot { background: var(--yellow); }
.risk-item.low    .risk-dot { background: var(--green); }
.risk-text { color: var(--text); line-height: 1.45; }

/* ── Strategy ─────────────────────────────────────────────────────── */
.strategy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.strategy-item {
  padding: 13px 14px; border-radius: 8px;
  background: #07101c; border: 1px solid var(--card-bd2);
  border-top: 3px solid;
}
.long-t  { border-top-color: var(--green); }
.swing-t { border-top-color: var(--blue); }
.short-t { border-top-color: var(--yellow); }
.st-badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.67rem; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.long-t  .st-badge { background: rgba(0,214,143,.12); color: var(--green); }
.swing-t .st-badge { background: rgba(61,142,248,.12); color: var(--blue); }
.short-t .st-badge { background: rgba(240,180,41,.12); color: var(--yellow); }
.st-desc { font-size: 0.75rem; color: var(--text-mid); line-height: 1.5; }
.stop-loss-bar {
  padding: 10px 16px; border-radius: 7px;
  background: rgba(232,70,70,.06); border: 1px solid rgba(232,70,70,.2);
  font-size: 0.82rem; color: var(--text-mid); line-height: 1.5;
}

/* ── News ─────────────────────────────────────────────────────────── */
.news-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--card-bd); }
.news-header .card-title { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.news-timestamp { font-size: 0.68rem; color: var(--text-dim); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.news-item {
  padding: 12px 14px; border-radius: 8px;
  background: #07101c; border: 1px solid var(--card-bd);
  display: flex; flex-direction: column; gap: 7px;
  transition: border-color .2s;
}
.news-item:hover { border-color: var(--card-bd2); }
.news-pub {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3px;
  background: #0d1c30; color: var(--blue); border: 1px solid #182e50;
}
.news-title {
  font-size: 0.81rem; font-weight: 600; color: #cce0f5;
  line-height: 1.45; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-title:hover { color: var(--blue); }
.news-summary {
  font-size: 0.71rem; color: var(--text-dim); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-meta { display: flex; justify-content: space-between; align-items: center; }
.news-time { font-size: 0.65rem; color: var(--text-dim); }
.news-link {
  font-size: 0.68rem; color: var(--blue);
  padding: 2px 8px; border-radius: 4px; background: #0d1e38; border: 1px solid #182e50;
}
.news-loading { text-align: center; color: var(--text-dim); padding: 20px; font-size: 0.84rem; }
.news-empty   { text-align: center; color: var(--text-dim); padding: 24px; font-size: 0.8rem; }

/* ── Investment Core Value ────────────────────────────────────────── */
.iv-layout {
  display: grid; grid-template-columns: 180px 1fr 1fr; gap: 24px; align-items: start;
}
.iv-signal {
  padding: 16px 14px; border-radius: 10px; text-align: center;
  border: 2px solid; margin-bottom: 12px;
}
.iv-signal-en { font-size: 0.9rem; font-weight: 900; letter-spacing: 1px; opacity: 0.7; }
.iv-signal-cn { font-size: 1.6rem; font-weight: 900; margin-top: 2px; }
.sv-strong-buy { border-color: var(--green); background: rgba(0,214,143,0.08); color: var(--green); }
.sv-buy        { border-color: #50c8ff;      background: rgba(80,200,255,0.08); color: #50c8ff; }
.sv-hold       { border-color: var(--yellow); background: rgba(240,180,41,0.08); color: var(--yellow); }
.sv-caution    { border-color: #ff8040;      background: rgba(255,128,64,0.08); color: #ff8040; }
.sv-avoid      { border-color: var(--red);   background: rgba(232,70,70,0.08);  color: var(--red); }

.iv-score-wrap { text-align: center; }
.iv-score-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.iv-score-num   { font-size: 2rem; font-weight: 900; line-height: 1.2; }
.iv-score-track { height: 6px; background: var(--card-bd2); border-radius: 3px; overflow: hidden; margin-top: 5px; }
.iv-score-fill  { height: 100%; border-radius: 3px; transition: width .6s; }

.iv-grades-title { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.iv-grades-row  { display: flex; gap: 8px; margin-bottom: 8px; }
.iv-grade {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px; border-radius: 8px; border: 1px solid;
}
.iv-grade-val  { font-size: 1.3rem; font-weight: 900; line-height: 1; }
.iv-grade-lbl  { font-size: 0.65rem; color: var(--text-dim); margin-top: 4px; }
.ga-plus { border-color: rgba(0,214,143,0.4); background: rgba(0,214,143,0.08); color: var(--green); }
.ga      { border-color: rgba(100,200,80,0.4); background: rgba(100,200,80,0.06); color: #78d878; }
.gb      { border-color: rgba(61,142,248,0.4); background: rgba(61,142,248,0.06); color: var(--blue); }
.gc      { border-color: rgba(240,180,41,0.4); background: rgba(240,180,41,0.06); color: var(--yellow); }
.gd      { border-color: rgba(232,70,70,0.4);  background: rgba(232,70,70,0.06);  color: var(--red); }
.iv-grades-legend {
  display: flex; gap: 10px; font-size: 0.62rem; color: var(--text-dim); flex-wrap: wrap;
}

.iv-section-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.iv-point { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; font-size: 0.84rem; color: var(--text); line-height: 1.45; }
.iv-dot   { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.green-dot { background: var(--green); }
.red-dot   { background: var(--red); }

/* ── Business Section ─────────────────────────────────────────────── */
.biz-section { margin-bottom: 14px; }
.biz-section:last-child { margin-bottom: 0; }
.biz-section-title {
  font-size: 0.7rem; font-weight: 800; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 8px; padding-bottom: 5px;
  border-bottom: 1px solid var(--card-bd);
}
.biz-sub { display: block; font-size: 0.63rem; color: var(--text-dim); margin-top: 2px; font-weight: 400; }

/* ── Financial Trends ─────────────────────────────────────────────── */
.ft-layout {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.ft-section-title {
  font-size: 0.75rem; font-weight: 800; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.ft-bar-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 70px; margin-bottom: 6px;
}
.ft-bar-col  { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.ft-bar-inner {
  width: 100%; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #3d8ef8, #1a5ab8);
  min-height: 4px;
}
.ft-bar-label { font-size: 0.6rem; color: var(--text-dim); white-space: nowrap; }
.ft-rev-summary { font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; }

.ft-metric {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid #0c1828;
}
.ft-metric:last-child { border-bottom: none; }
.ft-m-label { font-size: 0.78rem; color: var(--text-dim); }
.ft-m-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ft-m-val   { font-size: 0.9rem; font-weight: 800; }
.ft-m-bar-bg  { width: 80px; height: 3px; background: var(--card-bd2); border-radius: 2px; overflow: hidden; }
.ft-m-bar-fill { height: 100%; border-radius: 2px; }
.trend-up { color: var(--green); font-weight: 800; }
.trend-dn { color: var(--red);   font-weight: 800; }

/* ── Risks Enhanced ───────────────────────────────────────────────── */
.risk-left { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.risk-cat  {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.3px;
  padding: 2px 5px; border-radius: 3px; white-space: nowrap;
  text-transform: uppercase;
}
.risk-item.high   .risk-cat { background: rgba(232,70,70,0.15);   color: var(--red); }
.risk-item.medium .risk-cat { background: rgba(240,180,41,0.15);  color: var(--yellow); }
.risk-item.low    .risk-cat { background: rgba(0,214,143,0.12);   color: var(--green); }
.risk-text { font-size: 0.85rem; color: var(--text); line-height: 1.5; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer-note {
  text-align: center; color: var(--text-dim);
  font-size: 0.7rem; padding: 8px; border-top: 1px solid var(--card-bd); margin-top: 4px;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .two-col   { grid-template-columns: 1fr; }
  .four-col  { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .stock-header  { grid-template-columns: 1fr; }
  .three-col     { grid-template-columns: 1fr 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .sample-grid   { grid-template-columns: repeat(2,1fr); }
  .feature-row   { grid-template-columns: repeat(2,1fr); }
  .news-grid     { grid-template-columns: 1fr; }
  .big-price     { font-size: 2rem; }
  .stat-grid8    { grid-template-columns: repeat(2,1fr); }
  .hero-title    { font-size: 2.4rem; }
  .market-bar    { gap: 0; }
  .mb-item       { padding: 3px 8px; }
}
@media (max-width: 600px) {
  .three-col  { grid-template-columns: 1fr; }
  .four-col   { grid-template-columns: 1fr 1fr; }
  .perf-row   { gap: 6px; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .hero-title  { font-size: 1.9rem; letter-spacing: -1px; }
  .hero-sub    { font-size: 0.88rem; }
  .market-bar  { font-size: 0.7rem; }
  .mb-item     { padding: 2px 6px; }
}

/* ── Skeleton Loading ─────────────────────────────────────────────── */
.loading-screen { display: block; min-height: auto; padding: 14px 18px; }
.skel-dash { max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.skel-row  { display: flex; gap: 12px; }
.skel-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.skel-row4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
.skel-block {
  border-radius: 10px; background: var(--card-bg);
  border: 1px solid var(--card-bd); flex: 1;
}
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.skel-shimmer {
  background: linear-gradient(90deg, var(--card-bg) 25%, #0f1a2e 50%, var(--card-bg) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite linear;
}

/* ── Watchlist Bar ────────────────────────────────────────────────── */
.watchlist-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #060e1a; border-bottom: 1px solid var(--card-bd);
  padding: 5px 22px; font-size: 0.78rem;
}
.wl-bar-label { color: var(--text-dim); font-size: 0.7rem; font-weight: 700;
                text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.watchlist-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.wl-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px 3px 12px; border-radius: 20px; cursor: pointer;
  background: #0d1c34; color: var(--blue); font-size: 0.74rem; font-weight: 700;
  border: 1px solid rgba(61,142,248,0.25); transition: all .15s;
}
.wl-chip:hover { background: #152540; border-color: var(--accent); }
.wl-rm {
  font-size: 0.9rem; color: var(--text-dim); line-height: 1;
  padding: 0 2px; cursor: pointer; transition: color .1s;
}
.wl-rm:hover { color: var(--red); }

/* ── Header Buttons ──────────────────────────────────────────────── */
.header-btns { display: flex; gap: 6px; margin-top: 8px; }
.watch-btn, .alert-btn {
  padding: 5px 12px; border-radius: 6px; border: 1px solid var(--card-bd2);
  background: #0d1828; color: var(--text-dim);
  font-size: 0.74rem; font-weight: 700; cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.watch-btn:hover { border-color: var(--gold); color: var(--gold); background: #120f00; }
.watch-btn.watched { background: rgba(232,200,74,0.1); color: var(--gold); border-color: rgba(232,200,74,0.4); }
.alert-btn { position: relative; }
.alert-btn:hover { border-color: var(--blue); color: var(--blue); background: #0a1428; }
.alert-dot {
  position: absolute; top: 2px; right: 2px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); border: 1px solid #0d1828;
}

/* ── NA Value ────────────────────────────────────────────────────── */
.na-val { color: var(--text-dim); font-weight: 400; }

/* ── Compare Card ────────────────────────────────────────────────── */
.cmp-title-row {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--card-bd); padding-bottom: 9px; margin-bottom: 4px;
}
.cmp-toggle-btn {
  padding: 4px 12px; border-radius: 5px; border: 1px solid var(--card-bd2);
  background: #0e1828; color: var(--text-dim);
  font-size: 0.74rem; font-weight: 700; cursor: pointer; transition: all .15s;
}
.cmp-toggle-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cmp-input-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cmp-input {
  flex: 1; max-width: 300px; padding: 7px 12px;
  background: #0a1320; border: 1px solid var(--card-bd2);
  border-radius: 6px; color: var(--text); font-size: 0.88rem; outline: none;
}
.cmp-input:focus { border-color: var(--accent); }
.cmp-load-btn {
  padding: 7px 18px; border-radius: 6px; border: none;
  background: var(--accent); color: #fff; font-size: 0.82rem; font-weight: 700; cursor: pointer;
}
.cmp-clear-btn {
  padding: 7px 14px; border-radius: 6px; border: 1px solid var(--card-bd2);
  background: #0a1320; color: var(--text-dim); font-size: 0.82rem; cursor: pointer;
}
.cmp-status { font-size: 0.78rem; margin-top: 6px; min-height: 18px; }

/* ── Alert Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal-box {
  background: #0c1828; border: 1px solid var(--card-bd2);
  border-radius: 12px; padding: 28px 28px 22px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.modal-title {
  font-size: 0.96rem; font-weight: 800; color: var(--text);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--card-bd2);
}
.modal-cur-price { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 16px; }
.modal-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.modal-lbl { font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
.modal-inp {
  padding: 9px 12px; background: #080e1c; border: 1px solid var(--card-bd2);
  border-radius: 7px; color: var(--text); font-size: 0.9rem; outline: none;
  transition: border-color .15s;
}
.modal-inp:focus { border-color: var(--accent); }
.modal-actions { display: flex; gap: 8px; margin-top: 18px; }
.btn-save   { flex: 2; padding: 8px; border-radius: 6px; border: none; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.84rem; cursor: pointer; }
.btn-clr    { flex: 1; padding: 8px; border-radius: 6px; border: 1px solid rgba(232,70,70,0.4); background: rgba(232,70,70,0.06); color: var(--red); font-size: 0.84rem; cursor: pointer; }
.btn-cancel { flex: 1; padding: 8px; border-radius: 6px; border: 1px solid var(--card-bd2); background: #0a1320; color: var(--text-dim); font-size: 0.84rem; cursor: pointer; }
.alert-msg  { min-height: 20px; font-size: 0.78rem; margin-top: 10px; text-align: center; }

/* ── Alert Banner ────────────────────────────────────────────────── */
.alert-banner-wrap {
  position: fixed; top: 70px; right: 16px; z-index: 500;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.alert-banner-item {
  background: #0d1e10; border: 1px solid rgba(0,214,143,0.4);
  border-left: 3px solid var(--green); color: var(--green);
  padding: 10px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: slideIn .3s ease; pointer-events: auto;
}
@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
