/* ============================================================
   TradingView — light editorial (v5)
   A bright, magazine-style take: white canvas, serif display
   headlines, TradingView blue accents, airy whitespace, thin
   rules. The opposite of every dark version. Self-contained.
   No frameworks.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

:root {
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --bg-3: #eef2f8;
  --ink: #0d1421;
  --text: #3d4457;
  --muted: #6b7280;
  --faint: #9aa1af;
  --line: #e7eaf0;
  --line-2: #d6dbe4;
  --blue: #2962ff;
  --blue-d: #1e46c8;
  --blue-wash: #eef2ff;
  --up: #12a670;
  --down: #e5484d;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(13,20,33,0.04), 0 24px 48px -28px rgba(13,20,33,0.18);
  --shadow-sm: 0 1px 2px rgba(13,20,33,0.05), 0 10px 24px -16px rgba(13,20,33,0.16);
  --r: 10px;
  --r-lg: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body {
  margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 0.5rem 1rem; border-radius: var(--r); z-index: 1000; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow { display: inline-block; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.1rem; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.section__head { max-width: 40rem; margin: 0 0 3rem; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 1rem; }
.section__head p { font-family: var(--sans); font-size: 1.1rem; color: var(--muted); margin: 0; }
.accent { color: var(--blue); }
.serif-i { font-style: italic; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.98rem; font-weight: 650; text-decoration: none; border: 1px solid transparent; border-radius: 999px; padding: 0.72rem 1.4rem; cursor: pointer; transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.12s, box-shadow 0.16s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(41,98,255,0.7); }
.btn--primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 0.5rem 1.05rem; font-size: 0.88rem; }
.btn--lg { padding: 0.85rem 1.7rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 0.35rem; }
  .nav a { padding: 0.5rem 0.85rem; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 550; border-radius: 999px; transition: color 0.15s, background 0.15s; }
  .nav a:hover { color: var(--ink); background: var(--bg-2); }
}
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.lang summary:hover { background: var(--bg-2); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; list-style: none; margin: 0; padding: 0.35rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.lang__menu a { display: block; padding: 0.55rem 0.75rem; color: var(--muted); text-decoration: none; font-size: 0.92rem; border-radius: 7px; }
.lang__menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang__menu a[aria-current="true"] { color: var(--blue); font-weight: 700; }
.nav-cta { display: none; }
@media (min-width: 560px) { .nav-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3rem; text-align: center; }
.hero h1 { font-size: clamp(2.7rem, 6.5vw, 4.6rem); line-height: 1.02; margin: 0 auto 1.4rem; max-width: 15ch; }
.hero__lead { font-family: var(--sans); font-size: 1.2rem; color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: center; color: var(--faint); font-size: 0.9rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__trust svg { width: 15px; height: 15px; color: var(--up); }

/* Chart card visual */
.chartcard { margin: 3.5rem auto 0; max-width: 940px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.chartcard__bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); }
.chartcard__sym { font-weight: 800; color: var(--ink); font-size: 0.98rem; }
.chartcard__px { font-family: var(--mono); font-size: 0.9rem; color: var(--ink); }
.chartcard__chg { font-family: var(--mono); font-size: 0.82rem; font-weight: 700; color: var(--up); background: rgba(18,166,112,0.1); padding: 0.15rem 0.5rem; border-radius: 6px; }
.chartcard__bar { flex-wrap: wrap; }
.chartcard__syms { display: inline-flex; gap: 2px; }
.chartcard__syms button, .chartcard__tabs button { font-family: var(--mono); font-size: 0.76rem; font-weight: 700; color: var(--muted); background: none; border: none; padding: 0.28rem 0.62rem; border-radius: 6px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.chartcard__syms button:hover, .chartcard__tabs button:hover { background: var(--bg-2); color: var(--ink); }
.chartcard__syms button.on, .chartcard__tabs button.on { color: var(--blue); background: var(--blue-wash); }
.chartcard__tabs { margin-left: auto; display: none; gap: 2px; }
@media (min-width: 620px) { .chartcard__tabs { display: inline-flex; } }
.chartcard__body { position: relative; height: 340px; }
.chartcard__body svg.js-hchart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; text-align: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat__num .u { color: var(--blue); }
.stat__lbl { font-size: 0.92rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Capabilities grid ---------- */
.caps { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 760px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { padding: 1.9rem 1.7rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.cap:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--line-2); }
.cap__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-wash); color: var(--blue); margin-bottom: 1.1rem; }
.cap__ic svg { width: 23px; height: 23px; }
.cap h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.cap p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* ---------- Feature row (alternating) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; gap: 4rem; } .feature.rev .feature__text { order: 2; } }
.feature__text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; margin: 0 0 1rem; }
.feature__text p { font-size: 1.06rem; color: var(--muted); margin: 0 0 1.4rem; }
.feature__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.feature__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1rem; color: var(--text); }
.feature__list svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 0.15rem; }
.feature__visual { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.5rem; }
.feature__visual svg { display: block; width: 100%; height: auto; }

/* ---------- Markets strip ---------- */
.markets { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.markets span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem; font-size: 0.98rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; }
.markets span i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- Platforms / download ---------- */
.platforms { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 620px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.pcard:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--line-2); }
.pcard.is-current { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm); }
.pcard__badge { position: absolute; top: -9px; right: 14px; display: none; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 0.2rem 0.55rem; border-radius: 999px; }
.pcard.is-current .pcard__badge { display: inline-block; }
.pcard__ic { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line); }
.pcard__ic img { width: 24px; height: 24px; object-fit: contain; }
.pcard__b { flex: 1; min-width: 0; }
.pcard__b b { font-weight: 700; font-size: 1.02rem; }
.pcard__b small { display: block; color: var(--faint); font-size: 0.82rem; }
.pcard__go { color: var(--blue); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta { background: var(--blue); border-radius: 0; }
.cta .wrap { text-align: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.8rem; }
.cta p { color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: 1.12rem; max-width: 34rem; margin: 0 auto 1.8rem; }
.cta .btn--primary { background: #fff; color: var(--blue); box-shadow: 0 12px 26px -14px rgba(0,0,0,0.5); }
.cta .btn--primary:hover { background: #f0f3ff; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 0.6rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); font-size: 1.04rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.footer__note { font-size: 0.86rem; color: var(--faint); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 2rem; line-height: 1.7; background: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 24rem; margin: 0.7rem 0 0; }
.footer__col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin: 0 0 0.9rem; font-weight: 700; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__col a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: var(--faint); }
@media (min-width: 760px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .tape__track { animation-duration: 90s; } }

/* ---------- Market tape (stocks + crypto loop) ---------- */
.tape { border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #fbfcfe); overflow: hidden; }
.tape__track { display: inline-flex; align-items: center; white-space: nowrap; padding: 0.55rem 0; animation: tape 64s linear infinite; will-change: transform; }
.tape:hover .tape__track { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tik { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0 1.25rem; border-right: 1px solid var(--line); }
.tik__k { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.08rem 0.34rem; border-radius: 4px; text-transform: uppercase; }
.tik__k.eq { color: #0a58ca; background: #e7efff; }
.tik__k.cx { color: #9a6a00; background: #fdf1d6; }
.tik__sym { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.tik__px { font-family: var(--mono); font-size: 0.84rem; color: var(--muted); }
.tik__chg { font-family: var(--mono); font-size: 0.82rem; font-weight: 700; }
.tik__spark { width: 48px; height: 18px; display: block; }
.tik .up { color: var(--up); } .tik .down { color: var(--down); }

/* Hero gets a soft blue wash so the page feels less flat */
.hero { background: radial-gradient(120% 90% at 50% -10%, #eff3ff 0%, rgba(239,243,255,0) 55%); }

/* ---------- Blog index ---------- */
.blog-head { padding: 3.5rem 0 1rem; text-align: center; }
.blog-head .eyebrow { }
.blog-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; }
.blog-head p { font-family: var(--sans); color: var(--muted); font-size: 1.1rem; max-width: 42rem; margin: 0 auto; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 2rem 0 0; }
.blog-cats a { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 0.4rem 0.9rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.blog-cats a:hover { border-color: var(--blue); color: var(--blue); }
.cat-title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 3rem 0 1.2rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--line); }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.post-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--line-2); }
.post-card .tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); background: var(--blue-wash); padding: 0.2rem 0.55rem; border-radius: 999px; }
.post-card h3 { font-size: 1.16rem; line-height: 1.3; margin: 0.3rem 0 0; }
.post-card p { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin: 0; flex: 1; }
.post-card .meta { font-family: var(--mono); font-size: 0.76rem; color: var(--faint); margin-top: 0.3rem; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.crumbs { font-size: 0.86rem; color: var(--faint); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.article__head { margin-bottom: 2rem; }
.article__head .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); background: var(--blue-wash); padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 1.1rem; }
.article__head h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.12; margin: 0 0 0.9rem; }
.article__meta { font-family: var(--mono); font-size: 0.82rem; color: var(--faint); margin: 0; }
.prose { font-size: 1.06rem; line-height: 1.8; color: #2b3245; }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--text); }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.2; margin: 2.4rem 0 0.9rem; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 1.8rem 0 0.6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 0.08em 0.4em; }
.prose blockquote { margin: 1.4rem 0; padding: 0.6rem 1.2rem; border-left: 3px solid var(--blue); color: var(--muted); background: var(--bg-2); border-radius: 0 8px 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.96rem; }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.8rem; border: 1px solid var(--line); }
.prose thead th { background: var(--bg-2); font-weight: 700; color: var(--ink); }
.callout { margin: 1.8rem 0; padding: 1.2rem 1.4rem; background: var(--blue-wash); border: 1px solid #d7e0ff; border-radius: var(--r-lg); }
.callout b { color: var(--ink); display: block; margin-bottom: 0.5rem; }
.callout ul { margin: 0; padding-left: 1.2rem; }
.callout li { margin: 0.3rem 0; color: #2b3245; }
.article__cta { margin: 2.4rem 0; padding: 1.6rem; text-align: center; background: var(--ink); border-radius: var(--r-lg); }
.article__cta p { color: rgba(255,255,255,0.82); margin: 0 0 1rem; font-size: 1rem; }
.article__cta .btn--primary { background: var(--blue); color: #fff; }
.related { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.related h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0 0 1rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.related a { color: var(--blue); text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }


/* ---------- Live watchlist widget (feature visual) ---------- */
.wl2 { font-family: var(--sans); }
.wl2__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.wl2__head b { font-weight: 800; color: var(--ink); font-size: 1rem; }
.wl2__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--up); }
.wl2__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(18,166,112,0.15); animation: wl2pulse 1.8s infinite; }
@keyframes wl2pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(18,166,112,0.15); } 50% { box-shadow: 0 0 0 6px transparent; } }
.wl2__list { list-style: none; margin: 0; padding: 0; }
.wl2__list li { display: grid; grid-template-columns: 1fr auto 60px 62px; align-items: center; gap: 0.7rem; padding: 0.58rem 0.15rem; border-top: 1px solid var(--line); transition: background 0.15s; }
.wl2__list li:first-child { border-top: none; }
.wl2__list li:hover { background: var(--bg-2); }
.wl2__s { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--ink); font-size: 0.92rem; min-width: 0; }
.wl2__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.wl2__px { font-family: var(--mono); font-size: 0.9rem; color: var(--ink); text-align: right; white-space: nowrap; }
.wl2__spark { width: 60px; height: 24px; display: block; }
.wl2__chg { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; text-align: center; padding: 3px 0; border-radius: 5px; white-space: nowrap; }
.wl2__chg.chg-up { color: var(--up); background: rgba(18,166,112,0.1); }
.wl2__chg.chg-down { color: var(--down); background: rgba(229,72,77,0.1); }
