/* Tradedge Pulse · broker & prop firm reviews (loaded only on /brokers, /prop-firms and their review pages) */

/* hero additions */
.rv-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; max-width: 760px; }
.rv-glance div { background: var(--ink3); border: 1px solid var(--line-d); border-radius: 8px; padding: 9px 12px; display: grid; gap: 3px; min-width: 0; }
.rv-glance span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.rv-glance b { font-size: .9rem; color: #fff; overflow-wrap: anywhere; line-height: 1.3; }
@media (max-width: 760px) { .rv-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv-byline { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .84rem; color: var(--muted-d); }
.rv-byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-d); }
.rv-byline a { color: var(--gold); }
.pt-tag.spon { background: #EEF0F3; color: var(--muted); border: 1px dashed #B9BFC9; font-weight: 600; }
.dark .pt-tag.spon { background: transparent; color: var(--muted-d); border-color: var(--line-d); }

/* verdict card */
.rv-verdict { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--ink); color: var(--text-d); border-radius: 12px; padding: 24px 26px; margin-bottom: 30px; scroll-margin-top: 90px; position: relative; overflow: hidden; }
.rv-verdict::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,185,15,.14), transparent); pointer-events: none; }
.rv-score { position: relative; display: grid; justify-items: center; gap: 8px; }
.rv-score svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.rv-score circle { fill: none; stroke-width: 9; } .rv-score .trk { stroke: var(--ink3); } .rv-score .val { stroke: var(--gold); stroke-linecap: round; }
.rv-score > div { position: absolute; top: 0; left: 0; right: 0; height: 132px; display: grid; place-content: center; text-align: center; }
.rv-score b { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: #fff; } .rv-score span { font-size: .72rem; color: var(--muted-d); }
.rv-score em { font-style: normal; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.rv-vtext .eyebrow { color: var(--gold); }
.rv-vsum { margin: 6px 0 16px; font-size: 1.05rem; line-height: 1.6; color: #fff; }
.rv-bw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rv-bw h3 { margin: 0 0 8px; font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.rv-best h3 { color: #5FD39A; } .rv-watch h3 { color: #F59E8B; }
.rv-bw ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.rv-bw li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.45; color: var(--text-d); }
.rv-best li::before { content: "✓"; position: absolute; left: 0; color: #5FD39A; font-weight: 700; }
.rv-watch li::before { content: "!"; position: absolute; left: 3px; color: #F59E8B; font-weight: 800; }
@media (max-width: 640px) {
  .rv-verdict { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 16px; }
  .rv-score { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 14px; }
  .rv-score svg { width: 92px; height: 92px; } .rv-score > div { width: 92px; height: 92px; right: auto; } .rv-score b { font-size: 1.7rem; }
  .rv-bw { grid-template-columns: minmax(0, 1fr); }
}

/* sections */
.rv-sec { margin-top: 38px; scroll-margin-top: 90px; }
.rv-sec > h2 { margin: 0 0 10px; }
.rv-sec > p { color: var(--muted); }
.pt-pc { scroll-margin-top: 90px; }
.rv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.rv-tiles div { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; min-width: 0; }
.rv-tiles span { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rv-tiles b { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
@media (max-width: 600px) { .rv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv-toc a.on { font-weight: 600; }

/* comparison */
.rv-cmp table { min-width: 560px; }
.rv-cmp th, .rv-cmp td { white-space: normal; vertical-align: top; font-size: .88rem; line-height: 1.5; }
.rv-cmp tbody th { text-transform: none; letter-spacing: 0; font-family: inherit; font-size: .84rem; color: var(--ink); background: var(--paper2); width: 22%; }
.rv-cmp thead th { font-family: var(--body, inherit); font-size: .95rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); }
.rv-cmp thead th a { color: var(--ink); }
.rv-cmp .me { background: #FFF9E6; }
.rv-cmp thead th.me { box-shadow: inset 0 3px 0 var(--gold); }
.rv-cmp .btn { white-space: nowrap; }

/* steps */
.rv-steps { counter-reset: s; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.rv-steps li { counter-increment: s; position: relative; padding: 0 0 20px 52px; }
.rv-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.rv-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.rv-steps b { display: block; font-size: 1rem; padding-top: 6px; } .rv-steps p { margin: 4px 0 0; color: var(--muted); line-height: 1.6; font-size: .93rem; }

/* reviewer */
.rv-author { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 38px; padding: 18px 20px; background: var(--paper2); border-radius: 10px; }
.rv-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rv-by { font-weight: 600; } .rv-role { font-size: .8rem; color: var(--muted); } .rv-author p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* table of contents */
.rv-toc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; font-size: .88rem; }
.rv-toc b { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rv-toc ol, .rv-toc-m ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.rv-toc a, .rv-toc-m a { display: block; padding: 4px 0 4px 10px; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; }
.rv-toc a:hover, .rv-toc a.on { border-left-color: var(--gold); color: var(--gold-d); }
.rv-toc-m { display: none; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: .92rem; }
.rv-toc-m summary { cursor: pointer; font-weight: 600; } .rv-toc-m ol { margin-top: 10px; }
@media (max-width: 900px) { .rv-toc { display: none; } .rv-toc-m { display: block; } }
.rv-overall { display: flex; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.rv-overall b { font-family: var(--display); font-size: 2rem; line-height: 1; } .rv-overall span { color: var(--muted); font-size: .85rem; }

/* "get your broker listed" */
.rv-listme { display: grid; gap: 6px; padding: 18px; border-radius: 8px; background: var(--ink); color: var(--text-d); text-decoration: none; border: 1px solid var(--line-d); transition: border-color .2s; }
.rv-listme:hover { border-color: var(--gold); }
.rv-listme .eyebrow { color: var(--gold); font-size: .64rem; } .rv-listme b { color: #fff; font-size: 1.02rem; } .rv-listme small { color: var(--muted-d); line-height: 1.5; }
.rv-listme .more { color: var(--gold); font-weight: 600; font-size: .88rem; }
.rv-getlisted { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; margin: 34px 0 6px; padding: 26px 28px; border-radius: 12px; background: var(--ink); color: var(--text-d); background-image: radial-gradient(circle at 92% 10%, rgba(242,185,15,.18), transparent 45%); }
.rv-getlisted > div { flex: 1 1 420px; min-width: 0; }
.rv-getlisted .eyebrow { color: var(--gold); } .rv-getlisted h2 { margin: 6px 0 8px; color: #fff; font-size: 1.45rem; } .rv-getlisted p { margin: 0; color: var(--muted-d); max-width: 62ch; line-height: 1.6; }
@media (max-width: 600px) { .rv-getlisted { padding: 22px 18px; } .rv-getlisted .btn { width: 100%; justify-content: center; } }

/* list page: our picks + featured strip */
.rv-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .rv-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv-pick { display: grid; gap: 8px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .2s, transform .2s; }
.rv-pick:hover { border-color: var(--gold); transform: translateY(-2px); }
.rv-pick .eyebrow { font-size: .62rem; }
.rv-pick-n { display: flex; align-items: center; gap: 10px; min-width: 0; } .rv-pick-n b { font-size: 1rem; overflow-wrap: anywhere; }
.rv-pick small { color: var(--muted); font-size: .78rem; }
.rv-feat { margin: 4px 0 8px; padding: 14px 16px; border: 1px dashed #C9CED6; border-radius: 10px; background: #FBFBF9; }
.rv-feat-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; } .rv-feat-h small { color: var(--muted); font-size: .78rem; }
.rv-feat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.rv-feat-c { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.rv-feat-c > div { flex: 1; min-width: 0; display: grid; } .rv-feat-c a { color: var(--ink); text-decoration: none; } .rv-feat-c span { font-size: .78rem; color: var(--muted); }

/* sticky call-to-action on phones */
.rv-sticky { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom, 0px)); z-index: 82; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(11,14,20,.97); border: 1px solid rgba(242,185,15,.45); box-shadow: 0 12px 30px rgba(0,0,0,.35); color: #fff; animation: pbin .3s ease-out; }
.rv-sticky[hidden] { display: none; }
.rv-sticky > div { flex: 1; min-width: 0; display: grid; line-height: 1.2; } .rv-sticky b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rv-sticky span { font-size: .74rem; color: var(--muted-d); }
.rv-sticky .btn { flex: none; }
@media (min-width: 901px) { .rv-sticky { display: none !important; } }
@media (max-width: 900px) { body.rv-sticky-on { padding-bottom: 74px; } body.rv-sticky-on .ivy { bottom: 84px; } body.rv-sticky-on .promo-bar { display: none !important; } }

/* advertise page */
.ad-pk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
@media (max-width: 900px) { .ad-pk { grid-template-columns: minmax(0, 1fr); } }
.ad-pk article { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.ad-pk article.hot { border: 2px solid var(--gold); }
.ad-pk .flag { position: absolute; top: -11px; left: 20px; background: var(--gold); color: #111; font: 600 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 10px; }
.ad-pk h3 { margin: 0; font-size: 1.2rem; } .ad-pk p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .93rem; }
.ad-pk ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; } .ad-pk li { position: relative; padding-left: 22px; font-size: .92rem; line-height: 1.5; }
.ad-pk li::before { content: "✓"; position: absolute; left: 0; color: #1E8E5A; font-weight: 700; }
.ad-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .ad-rules { grid-template-columns: minmax(0, 1fr); } }
.ad-rules > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; } .ad-rules h3 { margin: 0 0 10px; }
.ad-rules ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; } .ad-rules li { position: relative; padding-left: 22px; font-size: .92rem; line-height: 1.5; }
.ad-yes li::before { content: "✓"; position: absolute; left: 0; color: #1E8E5A; font-weight: 700; } .ad-no li::before { content: "✕"; position: absolute; left: 0; color: #C0392B; font-weight: 700; }
.ad-cta { margin-top: 34px; padding: 28px; border-radius: 12px; background: var(--ink); color: var(--text-d); display: grid; gap: 12px; }
.ad-cta h2 { margin: 0; color: #fff; } .ad-cta p { margin: 0; color: var(--muted-d); max-width: 70ch; line-height: 1.6; }
.ad-cta ol { margin: 0; padding-left: 20px; color: var(--text-d); display: grid; gap: 4px; }
