/* Preview-only styles: loaded ONLY with ?ptab=1 (Jovana 26/10 14:47, after two freezes). Nothing here
   reaches the normal URL until it is checked and moved into toplist-v2.css. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 { --c: 30px minmax(170px, 1fr) 56px 72px 80px 96px 72px 56px 64px 84px 96px 100px 136px 96px 40px !important; }
@media (max-width: 760px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 { --c: 30px 200px 64px repeat(5, 86px) 96px 96px 110px 150px 150px 38px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.is-scrolled { --c: 0px 60px 64px repeat(5, 86px) 96px 96px 110px 150px 150px 38px !important; }
}
/* Challenges table, desktop (Jovana 26/10 14:40): price, Visit and the chevron stay pinned at the
   right edge, so Visit is never cut off whatever the window width; the firm stays pinned left. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > :is(.v2-price, .v2-code, .v2-cta, .v2-tg) { position: sticky !important; z-index: 2; background: rgb(23, 27, 38); }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-tg { right: 14px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-cta { right: 54px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-code { right: 156px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-price { right: 298px; box-shadow: -8px 0 10px -8px rgba(0, 0, 0, .7); }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :is(:nth-last-child(-n+4)) { position: sticky; z-index: 2; align-self: stretch; display: flex; align-items: center; background: rgb(20, 23, 30); }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(1) { right: 14px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(2) { right: 54px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(3) { right: 156px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(4) { right: 298px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > :is(.v2-tg, .fx-tcell) { border-left: 0 !important; }
}
.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-grid--cx { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-grid--cx small { display: block; font-size: 11.5px; color: var(--text-3, #979CAD); }

/* Code column (Jovana 26/10 14:42), both tables, desktop: Price | Code | Visit | chevron, pinned at
   the right edge. The price cell is price, strikethrough and "i" only. Phone keeps the code under the
   price and has no Code column. */
.pfg-toplist--v2 tbody.pfg-row tr > .v2-code { display: flex !important; align-items: center; justify-content: center; padding: 0 6px !important; }
.pfg-toplist--v2 tbody.pfg-row tr > .v2-code .f-code { width: 132px; max-width: 100%; height: 30px !important; flex-direction: row; gap: 6px; border-radius: 999px; font-size: 12.5px; }
.pfg-toplist--v2 tbody.pfg-row tr > .v2-code .f-nocode { width: 132px; max-width: 100%; }
@media (min-width: 761px) {
	.pfg-toplist--v2 tbody.pfg-row tr > .v2-price > .f-pcode { display: none !important; }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hcode,
	.pfg-toplist--v2 tbody.pfg-row tr.v2-top.v2-t2 > .v2-code { order: 3; }
	.pfg-toplist--v2 .v2-head > .v2-hcode { justify-content: center; text-align: center; }
	/* Firms: the same pinned right group as Challenges. */
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > :is(.v2-price, .v2-code, .v2-cta, .v2-tg) { position: sticky !important; z-index: 2; background: rgb(23, 27, 38); }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-tg { right: 14px; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-cta { right: 70px; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-code { right: 190px; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-price { right: 340px; box-shadow: -8px 0 10px -8px rgba(0, 0, 0, .7); }
	.pfg-toplist--v2 .v2-head.v2-t2 > :is(.v2-hprice, .v2-hcode, .v2-hcta, .v2-htg) { position: sticky; z-index: 2; align-self: stretch; display: flex; align-items: center; background: rgb(20, 23, 30); }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-htg { right: 14px; order: 3; }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hcta { right: 70px; }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hcode { right: 190px; }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hprice { right: 340px; }
}
/* Phone (owner, 10/11): the code gets its own column here too, Price | Code | Visit | chevron as on
   desktop. Under the price it squeezed both into one 124px cell. (Was Jovana 26/10: code under the
   price, no Code column on phones.) */
@media (max-width: 760px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top > .v2-code, .pfg-toplist--v2 .v2-tableview .v2-head:not(.v2-t3) > .v2-hcode { order: 3; }
	.pfg-toplist--v2 .v2-tableview .v2-head > .v2-hcode { display: flex !important; align-items: center; justify-content: center; text-align: center; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top, .v2-alt--ch) > .v2-price > .f-pcode { display: none !important; }
	/* Challenges rows: the Code track is in the Fix 37 phone templates (124px 150px 92px 38px). */
}
/* Header labels centred over their columns, one line each (Jovana 26/10 14:44). */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-head:is(.v2-t2, .v2-t3) > :not(:nth-child(-n+2)) { display: flex; justify-content: center; align-items: flex-end; text-align: center; white-space: nowrap; }
	.pfg-toplist--v2 .v2-head:is(.v2-t2, .v2-t3) > :not(:nth-child(-n+2)) .s { white-space: nowrap; }
}
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-head:is(.v2-t2, .v2-t3) > .v2-fc { flex-direction: row; align-items: flex-end; justify-content: center; padding: 0 8px; }
}

/* Fix 14 (Jovana 26/10 14:46): in every icon cell the icon sits on top, centred, with the text
   centred below; Payout methods keeps its icon left of the text. */
.pfg-toplist--v2 tbody.pfg-row tr > .v2-fc:not(.v2-fc--methods) > .v2-ico { flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; width: 100%; }
.pfg-toplist--v2 tbody.pfg-row tr > .v2-fc:not(.v2-fc--methods) > .v2-ico > span { text-align: center; }
.pfg-toplist--v2 tbody.pfg-row tr > .v2-fc--hq > .v2-ico { gap: 5px; }

/* Rows past the first 20 carry [hidden] until "Show more", but tbody.pfg-row{display:block} won,
   so all 176 challenge rows were laid out (46k nodes; ~60ms per sideways scroll step). */
.pfg-toplist--v2 tbody.pfg-row[hidden] { display: none !important; }

/* Fix 16: Challenges cells read number on top, description below; nothing truncates. */
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-cx { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; white-space: normal; }
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-cx small { display: block; font-size: 11.5px; line-height: 1.25; color: var(--text-3, #979CAD); white-space: normal; }
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-cx .v2-txt { white-space: normal; line-height: 1.25; }
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-cx .v2-na2 { color: var(--text-3, #979CAD); }

/* Fix 17: platform pills on one line in the table, never taller than the row. */
.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > .pfg-metric--platforms .f-plats { flex-wrap: nowrap !important; justify-content: center; }

/* Fix 18: Firms cards, the code back under the price. */
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__price .f-pcode { order: 2 !important; margin: 8px 0 0 !important; }

/* Fix 14 in the Firms card expand: icon on top, text below, except Payout methods. */
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico { flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; text-align: center; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico > span { text-align: center; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos { align-items: flex-start; margin: 0 auto; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos .v2-ico { flex-direction: row; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > :is(.v2-allocation-value) { display: block; }

/* Challenges cards keep the code to the right of the price (Jovana 26/10 15:12); equal pill heights. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy .f-nocode { height: 36px !important; min-height: 36px; box-sizing: border-box; display: inline-flex; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy .f-code { height: 36px !important; min-height: 36px !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box; }

/* Fix 20: the chevron keeps its padding at the edge, and a column passing under the pinned
   Price | Code | Visit group fades out instead of showing a cut word. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-tg { padding-right: 16px !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-price { overflow: visible !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-price::before,
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hprice::before { content: ""; position: absolute; top: -12px; bottom: -12px; right: 100%; width: 44px; pointer-events: none; background: linear-gradient(to right, rgba(23, 27, 38, 0), rgb(23, 27, 38) 85%); }
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hprice::before { top: 0; bottom: 0; background: linear-gradient(to right, rgba(20, 23, 30, 0), rgb(20, 23, 30) 85%); }
	.pfg-toplist--v2 tbody.pfg-row tr.v2-top.v2-t2 > :is(.v2-fc--bots, .v2-fc--copy, .v2-fc--overnight) { white-space: normal; }
	.pfg-toplist--v2 tbody.pfg-row tr.v2-top.v2-t2 > :is(.v2-fc--bots, .v2-fc--copy, .v2-fc--overnight) .v2-ico > span { white-space: normal; overflow: visible; text-overflow: clip; }
	.pfg-toplist--v2 .v2-head.v2-t2 > :is(.v2-fc--bots, .v2-fc--copy) { white-space: nowrap; }
}

/* Fix 23 (Jovana 26/10 15:08): the pill sits 8px under whatever is above it, the price or the
   strikethrough, so a card without an old price has no blank band. */
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__price { gap: 0 !important; row-gap: 0 !important; }
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__price .f-pcode { margin-top: 8px !important; }
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__price .f-pr:not(:has(.fx-was)) { grid-template-areas: 'pay pay pay pay' !important; grid-template-rows: auto !important; }

/* Fix 22 (Jovana 26/10 15:08): Visit never reads as squeezed: 10px more for its column below 1600. */
@media (min-width: 768px) and (max-width: 1599px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.2fr) 68px minmax(0, 1.1fr) minmax(0, .95fr) minmax(190px, .95fr) 146px 122px 40px; }
}
@media (min-width: 768px) and (max-width: 1365px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.05fr) 64px minmax(0, 1.3fr) minmax(0, .9fr) minmax(166px, .75fr) 132px 110px 36px; }
}
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { min-width: 88px; }

/* Fix 25 (Jovana 26/10 15:13): Challenges cards' price row has one height; the big price sits at the
   same place on every card, the strikethrough hangs below it, and the pill centres on the price line. */
.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy > .v2-price { height: 75px !important; min-height: 75px !important; justify-content: flex-start !important; padding-top: 14px !important; padding-bottom: 0 !important; box-sizing: border-box; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy :is(.f-code, .f-nocode) { align-self: start !important; margin-top: 10px !important; }

/* Fix 26 (Jovana 26/10 15:14): the Challenges table only scrolls when its columns really overflow.
   When they fit, it fills the container (the firm column flexes), with no scrollbar and no edge
   shadow; toplist-v2.js adds .is-ovf when scrollWidth > clientWidth (throttled resize check). */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3:not(.is-ovf) { overflow-x: hidden !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3:not(.is-ovf) > :is(.v2-head, table),
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3:not(.is-ovf) tbody.pfg-row { width: 100% !important; min-width: 0 !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3:not(.is-ovf) tr.v2-t3 > :is(.pfg-row__main, .v2-price) { box-shadow: none !important; }
}

@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 :is(.v2-head, tr.v2-t3) { column-gap: 6px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-code .f-code, .pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-code .f-nocode { width: 124px; }
}
/* Fix 25 correction (15:15): the price centred in its half, strikethrough centred under it. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy > .v2-price { align-items: center !important; text-align: center !important; }

/* Fix 26 detail (Jovana 26/10 15:16): rows and header end at the container's edge (border-box), and
   the row's right border and rounded corners show at every scroll position: the pinned group sits
   14px in, and a strip after the chevron draws the row's own right edge. Both tables. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview :is(.v2-head, table, tbody.pfg-row, tr) { box-sizing: border-box; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr:is(.v2-top.v2-t2, .v2-t3) { border-color: inherit !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr:is(.v2-top.v2-t2, .v2-t3) > .v2-tg { overflow: visible !important; border-top-color: inherit !important; border-right-color: inherit !important; border-bottom-color: inherit !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr:is(.v2-top.v2-t2, .v2-t3) > .v2-tg::after { content: ""; position: absolute; left: 100%; top: -40px; bottom: -40px; width: 14px; background: rgb(23, 27, 38); border: 1px solid; border-left: 0; border-color: inherit; border-radius: 0 12px 12px 0; pointer-events: none; }
	.pfg-toplist--v2 .v2-head:is(.v2-t2, .v2-t3) > :is(.v2-htg, :last-child)::after { content: ""; position: absolute; left: 100%; top: 0; bottom: 0; width: 14px; background: rgb(20, 23, 30); pointer-events: none; }
}
/* The narrower firm column wraps the name; the row grows instead of clipping it. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr.v2-t3 > * { height: auto !important; min-height: 60px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr.v2-t3 > .pfg-row__main { overflow: visible !important; align-self: center !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr.v2-t3 > .pfg-row__main :is(.v2-sub, .g-name) { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
}
@media (min-width: 761px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr.v2-t3 { grid-template-rows: auto !important; height: auto !important; min-height: 84px; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr.v2-t3 > * { max-height: none !important; }
}

/* Fix 27 (Jovana 26/10 15:21): in the card dropdown each icon or flag sits LEFT of its text on one
   line, the pair centred under its label (the table keeps icon above text). */
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico { flex-direction: row !important; justify-content: center; align-items: center; gap: 7px; width: auto; }

/* Fix 28 (Jovana 26/10 15:22): Visit on cards is at least as wide as the code pill; the column takes
   the room from Platforms, never from the price block. */
@media (min-width: 1600px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(190px, 1.15fr) 84px minmax(200px, 1.25fr) minmax(170px, 1fr) minmax(110px, .6fr) 172px 180px 52px; }
}
@media (min-width: 768px) and (max-width: 1599px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.2fr) 68px minmax(0, 1.1fr) minmax(0, .95fr) minmax(150px, .75fr) 146px 176px 40px; }
}
@media (min-width: 768px) and (max-width: 1365px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.05fr) 64px minmax(0, 1.3fr) minmax(0, .9fr) minmax(130px, .6fr) 132px 166px 36px; }
}
@media (min-width: 768px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { min-width: 150px; width: 150px; height: 44px; }
}
/* The price box stacks (column): top-aligned vertically, centred horizontally in its half. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy > .v2-price { flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy > .v2-price .f-pr { flex-direction: column !important; align-items: center !important; }

/* Board 15:25: the header is one continuous bar; the pinned header cells share its background
   instead of reading as separate boxes. Both tables. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview > .v2-head:is(.v2-t2, .v2-t3) { background: rgb(20, 23, 30); border-radius: 10px; }
}
/* Two-phase targets: first figure on top, "then 5%" below (fix 29). */
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-f:has(> .v2-num) { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-f > small { display: block; font-size: 11.5px; color: var(--text-3, #979CAD); white-space: nowrap; }

/* Fix 30 (Jovana 15:53): card Visit sits 16-20px from the chevron; the space on its left grows. */
@media (min-width: 768px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { align-items: flex-end !important; padding-right: 8px !important; }
}

/* Fix 31 (Jovana 15:54): Challenges cards, the pill centres on the whole price block (price and
   strikethrough); both halves centre in the same fixed-height row. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy > .v2-price { justify-content: center !important; padding-top: 0 !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--ch2 .v2-card.v2-card--ch.v2-card--t2 .v2-card__buy :is(.f-code, .f-nocode) { align-self: center !important; margin-top: 0 !important; }

/* Fix 37 (Jovana 26/10 16:17): on the phone table, price (code under it), Visit and the chevron are
   the last columns of the scroll, as on desktop; they were stranded between Payouts and Platforms. */
@media (max-width: 767px) {
	.pfg-toplist--v2 .v2-head.v2-t2 > :is(.v2-hprice, .v2-hcta, .v2-htg),
	.pfg-toplist--v2 tbody.pfg-row tr.v2-top.v2-t2 > :is(.v2-price, .v2-cta, .v2-tg) { order: 3; }
}
/* Fix 30: a 16px Visit-to-chevron gap at every card width. */
@media (min-width: 1600px) { .pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { padding-right: 0 !important; margin-right: -9px; } }
@media (min-width: 1366px) and (max-width: 1599px) { .pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { padding-right: 3px !important; } }
@media (min-width: 768px) and (max-width: 1365px) { .pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { padding-right: 15px !important; } }
@media (min-width: 768px) { .pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { margin-left: auto !important; margin-right: 0 !important; justify-self: end !important; align-self: flex-end !important; } }
@media (min-width: 768px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { padding-right: 0 !important; margin-right: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { margin-right: 6px !important; }
}
@media (min-width: 1600px) { .pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { margin-right: -2px !important; } }
@media (min-width: 1366px) and (max-width: 1599px) { .pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { margin-right: 10px !important; } }
@media (min-width: 768px) and (max-width: 1365px) { .pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { margin-right: 15px !important; width: 140px !important; min-width: 140px !important; } }

/* Fix 37, Challenges phone table (Jovana 26/10 16:24): one line per row. The template must out-rank
   the older 11-column phone rule keyed on :has(tr.v2-alt--ch); price, Visit and the chevron end the scroll. */
@media (max-width: 760px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3:has(tr.v2-alt--ch) { --c: 30px 200px 64px repeat(5, 86px) 96px 96px 96px 110px 124px 150px 92px 38px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.is-scrolled:has(tr.v2-alt--ch) { --c: 0px 60px 64px repeat(5, 86px) 96px 96px 96px 110px 124px 150px 92px 38px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > :is(.v2-price, .v2-code, .v2-cta, .v2-tg) { position: static !important; box-shadow: none !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > * { position: static; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-child(2) { position: sticky; left: 0; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row > tr.v2-t3 > .v2-tg::after, .pfg-toplist--v2 .v2-head.v2-t3 > :last-child::after { display: none; }
}

/* Fix 32 (Jovana 26/10 15:56): the price "i" tip is fixed-positioned by toplist-v2.js, above every
   pinned cell; its row keeps clipping, so no second box shows. */
.pfg-toplist--v2 .f-sz__tip { z-index: 1000; }

/* Phone tables: price (136), Visit (98) and the chevron (38) fit beside the pinned logo column (60px)
   with room to spare down to 360px, so at full scroll the code pill is never under the pin. */
@media (max-width: 767px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-alt--ch.v2-t3) > .v2-price { padding-left: 2px !important; padding-right: 2px !important; box-sizing: border-box; }
	.pfg-toplist--v2 .v2-tableview .v2-head.v2-t2 > .v2-hprice { padding-left: 0; }
	.pfg-toplist--v2 .v2-tableview .v2-head.v2-t3 > :nth-last-child(4) { padding-left: 0; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-alt--ch.v2-t3) > .v2-cta .f-visit { width: 100% !important; min-width: 0 !important; }
}
@media (max-width: 767px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-alt--ch.v2-t3) > .v2-price :is(.f-code, .f-nocode) { width: 118px !important; max-width: 118px !important; font-size: 11px; }
}

/* Fix 39 (Jovana 26/10 16:51): the round expand chevron is yellow on both tables and both card views;
   open = filled yellow with a dark icon. */
.pfg-toplist--v2 .v2-tog,
.pfg-toplist--v2 .v2-cardview .v2-pcard__more > summary { border-color: var(--acc, #e6ff00) !important; color: var(--acc, #e6ff00) !important; }
.pfg-toplist--v2 tbody.pfg-row.is-x .v2-tog,
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard:has(.v2-pcard__more[open]) .v2-pcard__tog,
.pfg-toplist--v2 .v2-cardview .v2-pcard__more[open] > summary { background: var(--acc, #e6ff00) !important; border-color: var(--acc, #e6ff00) !important; color: #0b0d14 !important; }

/* Fix 40 (Jovana 26/10 16:51): the first column fits its content (long names wrap); on Challenges the
   spare width spreads over the data columns instead of opening a gap before Grade. */
@media (min-width: 768px) {
	.pfg-toplist--v2 .v2-tableview:not(.v2-tv-t3) { --firmw: 190px; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 { --c: 30px 156px minmax(62px, 1fr) minmax(66px, 1fr) minmax(70px, 1fr) minmax(84px, 1fr) minmax(84px, 1fr) minmax(60px, 1fr) minmax(84px, 1fr) minmax(98px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr) 136px 96px 40px !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr > .pfg-row__main .g-name { white-space: normal; }
}

/* Fix 41 (Jovana 26/10 16:52): a soft yellow glow, not a dark fade, where columns slide under a pinned
   column, shown only while there is more to scroll that way (.has-more-r / .has-more-l, set by a
   throttled scroll listener in toplist-v2.js). */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > .v2-price::before,
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-t3 > .v2-price::before { content: ""; position: absolute; top: -12px; bottom: -12px; right: 100%; width: 48px; pointer-events: none; background: linear-gradient(to right, rgba(var(--acc-rgb, 230, 255, 0), 0) 0%, rgba(var(--acc-rgb, 230, 255, 0), .16) 100%), linear-gradient(to right, rgba(23, 27, 38, 0) 0%, rgb(23, 27, 38) 90%) !important; opacity: 0; transition: opacity .2s; }
	.pfg-toplist--v2 .v2-tableview.has-more-r tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .v2-price::before { opacity: 1; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .pfg-row__main::after { content: ""; position: absolute; top: -12px; bottom: -12px; left: 100%; width: 48px; pointer-events: none; background: linear-gradient(to left, rgba(var(--acc-rgb, 230, 255, 0), 0) 0%, rgba(var(--acc-rgb, 230, 255, 0), .16) 100%), linear-gradient(to left, rgba(23, 27, 38, 0) 0%, rgb(23, 27, 38) 90%); opacity: 0; transition: opacity .2s; }
	.pfg-toplist--v2 .v2-tableview.has-more-l tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .pfg-row__main::after { opacity: 1; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .pfg-row__main { box-shadow: none !important; }
}

/* Fix 42 (Jovana 26/10 16:53): the right-edge strip is sized to the closed row; on an open row it left
   a corner stub inside the panel. An open row drops it, and its own border wraps row and panel. */
.pfg-toplist--v2 .v2-tableview tbody.pfg-row.is-x > tr > .v2-tg::after { display: none !important; }

/* Fix 43 (Jovana 26/10 17:10): no left glow; on the right the passing column's text dissolves into the
   row (a 64px fade to the row's own colour, no yellow band), only while more is to the right. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .pfg-row__main::after { display: none !important; }
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .v2-price::before { width: 64px !important; background: linear-gradient(to right, rgba(23, 27, 38, 0) 0%, rgba(23, 27, 38, .55) 45%, rgb(23, 27, 38) 100%) !important; }
}

/* Fix 44 (Jovana 26/10 17:13): card dropdown Payout methods side by side, wrapping only if needed. */
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; margin: 0 auto; }
@media (max-width: 1365px) {
	.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos { gap: 4px 8px; }
	.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos .v2-ico { gap: 4px; }
}
/* Board 17:16: the header fade only shows while more is to the right, so a header in full view is never faded. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hprice::before { width: 64px !important; opacity: 0; transition: opacity .2s; }
	.pfg-toplist--v2 .v2-tableview.has-more-r > .v2-head.v2-t2 > .v2-hprice::before { opacity: 1; }
}
/* Fix 44 at the narrowest phones: Bank and Crypto stay on one line. */
@media (max-width: 380px) {
	.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos { gap: 4px 6px; font-size: 12.5px; }
	.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos .v2-ico__i { width: 15px; height: 15px; }
}


/* When the Challenges table overflows, its columns sit at their minimums (fr tracks in a max-content
   table otherwise grow to their content). */
@media (min-width: 761px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.is-ovf { --c: 30px 156px 62px 66px 70px 84px 84px 60px 84px 98px 96px 96px 136px 96px 40px !important; }
}
@media (min-width: 761px) { .pfg-toplist--v2 .v2-tableview.v2-tv-t3 > .v2-head.v2-t3 { font-size: 11px; letter-spacing: .02em; } }

/* Consistency is its own column again (Jovana 26/10 17:32). At 1600px and wider every label is one line;
   below that Max loss, Daily loss, Min days and First payout wrap to two lines, so the table stays
   unscrolled with 16px between labels. Children: 6 Max loss, 7 Daily loss, 9 Min days, 11 First payout. */
@media (min-width: 761px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 { --c: 30px minmax(156px, 2.2fr) minmax(62px, 1fr) minmax(66px, 1fr) minmax(70px, 1fr) minmax(84px, 1fr) minmax(84px, 1fr) minmax(60px, 1fr) minmax(84px, 1fr) minmax(100px, 1fr) minmax(98px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr) 136px 96px 40px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.is-ovf { --c: 30px 156px 62px 66px 70px 84px 84px 60px 84px 100px 98px 96px 96px 136px 96px 40px !important; }
}
@media (min-width: 761px) and (max-width: 1599px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 { --c: 30px minmax(140px, 2.2fr) minmax(58px, 1fr) minmax(66px, 1fr) minmax(68px, 1fr) minmax(66px, 1fr) minmax(64px, 1fr) minmax(60px, 1fr) minmax(70px, 1fr) minmax(116px, 1fr) minmax(80px, 1fr) minmax(78px, 1fr) minmax(88px, 1fr) 118px 84px 40px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.is-ovf { --c: 30px 170px 58px 66px 68px 66px 64px 60px 70px 116px 80px 78px 88px 118px 84px 40px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 :is(.v2-head, tr.v2-t3) { column-gap: 0 !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 > .v2-head.v2-t3 > :is(:nth-child(6), :nth-child(7), :nth-child(9), :nth-child(11)),
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 > .v2-head.v2-t3 > :is(:nth-child(6), :nth-child(7), :nth-child(9), :nth-child(11)) .s { white-space: normal !important; line-height: 1.2; text-align: center; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-code { right: 138px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-price { right: 256px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(3) { right: 138px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 .v2-head.v2-t3 > :nth-last-child(4) { right: 256px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-cta { right: 54px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > .v2-code :is(.f-code, .f-nocode) { width: 110px !important; }
}
/* Names wrap between words, never inside one ("Funde/d"). */
.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > .pfg-row__main :is(.pfg-row__name, .g-name, .g-line, .v2-sub) { word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; }
@media (min-width: 761px) and (max-width: 1599px) {
	/* The narrower Challenges firm column: a smaller logo and name so single words fit. */
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr > .pfg-row__main .pfg-tile { width: 34px !important; height: 34px !important; flex: 0 0 34px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr > .pfg-row__main .pfg-tile img { width: 34px !important; height: 34px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr > .pfg-row__main .pfg-row__name { font-size: 14px !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr > .pfg-row__main .pfg-row__id { gap: 8px !important; }
}

/* Fix 45: the no-data dash, muted and centred; a one-line legend under the Challenges table. */
.pfg-toplist--v2 .v2-nd { color: var(--text-3, #979CAD); cursor: help; }
.pfg-toplist--v2 .v2-nd:focus:not(:focus-visible) { outline: none; }
.pfg-toplist--v2 .v2-legend { margin: 8px 2px 0; font-size: 12px; color: var(--text-3, #979CAD); }
html.pfg-v2-cards .pfg-toplist--v2 .v2-legend { display: none; }

/* Fix 36 (Jovana 26/10 16:04, 17:41-17:42): phone Firms card, top to bottom: header; price and code
   side by side; Max loss / Split / Payouts; Platforms; the three USPs; full-width Visit with the
   chevron beside it. The key row has one divider above and two equal centred separators. */
@media (max-width: 767px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px !important; grid-template-areas: 'identity identity grade' 'price price price' 'key key key' 'plats plats plats' 'usps usps usps' 'buy buy tog' 'more more more' !important; row-gap: 14px; padding-bottom: 14px; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price { grid-area: price !important; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 12px; padding: 12px 0 0 !important; border-top: 1px solid var(--discovery-border) !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price .f-pr { flex: 1 1 auto; justify-content: center; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price .f-pcode { order: 2 !important; flex: 0 0 auto; width: auto !important; margin: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price :is(.f-code, .f-nocode) { width: 150px !important; max-width: 46vw; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key { grid-area: key !important; border-top: 1px solid var(--discovery-border) !important; border-bottom: 0 !important; padding-top: 14px !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key > div { position: relative; border: 0 !important; border-top: 0 !important; margin: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key > div + div::before { content: ""; position: absolute; left: 0; top: 50%; height: 36px; transform: translateY(-50%); border-left: 1px solid var(--discovery-border); }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__pcol { grid-area: plats !important; display: flex !important; justify-content: center; padding: 0 !important; border: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__body > .v2-pcard__plats { display: none !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__usps { grid-area: usps !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy { grid-area: buy !important; display: flex !important; align-items: center; padding: 0 !important; margin: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__tog { grid-area: tog !important; display: inline-flex !important; justify-self: end; align-self: center; width: 44px; height: 44px; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__more { border-top: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__more > summary { display: none !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__more[open] { padding-top: 12px !important; border-top: 1px solid var(--discovery-border) !important; }
}
@media (max-width: 767px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price { justify-content: space-around !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__price .f-pr { flex: 0 0 auto !important; width: auto !important; position: relative; }
}

/* Fix 47 (Jovana 26/10 17:45): Steps leads the Firms card's key facts. Phone: one row of four
   (Steps | Max loss | Split | Payouts) with the same centred separators. */
@media (max-width: 767px) {
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key > div { padding: 0 4px !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key .v-steps { flex-direction: column; align-items: center; gap: 3px; }
}

/* Fix 48 / 50 (Jovana 26/10 17:54, 17:57): the expand chevron stays round in every state. The theme's
   global button:focus-visible squares it (radius 4px) and adds a thick ring; ours is a thin ring that
   follows the circle, keyboard only (a click or tap blurs it, see toplist-v2.js). */
.pfg-toplist--v2 .v2-tog,
.pfg-toplist--v2 .v2-tog:focus,
.pfg-toplist--v2 .v2-tog:focus-visible { border-radius: 50% !important; outline: none !important; box-shadow: none !important; }
.pfg-toplist--v2 .v2-tog:focus-visible { box-shadow: 0 0 0 2px var(--wp--preset--color--bg-page, #101219), 0 0 0 3px var(--acc, #e6ff00) !important; }

/* Phones too (Jovana 12/11): the chevron sits centred in its cell, not pushed to the card's edge. */
@media (max-width: 767px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > td.v2-tg,
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-tg { display: flex !important; justify-content: center !important; align-items: center !important; padding-left: 0 !important; padding-right: 0 !important; }
}
/* Fix 50 (Jovana 26/10 17:57): in both tables Visit and the chevron sit centred in their own cells. */
@media (min-width: 768px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-cta { padding-left: 6px !important; padding-right: 6px !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-cta .f-act2 { align-items: center; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-cta .f-visit { width: 100%; max-width: 160px; margin-left: auto; margin-right: auto; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > td.v2-tg,
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-tg { display: flex !important; justify-content: center !important; align-items: center !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* Fix 48.2 (Jovana 26/10 17:54): Headquarters in the card dropdown: flag and name are one centred
   group; a long name wraps under it without pushing the flag away. */
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico--hq { display: block !important; text-align: center; }
.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico--hq .v2-flag { display: inline-block; vertical-align: -2px; margin-right: 7px; }

/* Fix 49 (Jovana 26/10 17:56): a bigger rank circle on every Firms card, still on the logo's centre line. */
.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .pfg-pick__identity { padding-left: 36px !important; }
.pfg-toplist--v2 .v2-cardview .v2-pcard .v2-pcard__logo > .pfg-pick__rank { width: 28px; height: 28px; font-size: 14px; font-weight: 600; right: calc(100% + 7px); }

@media (max-width: 767px) {
	/* Fix 49: the grade sits 20px after the name block, the spare room on the far right.
	   Fix 48: the chevron is Visit's height with 12px between them. */
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: fit-content(calc(100% - 100px)) minmax(0, 1fr) 58px !important; grid-template-areas: 'identity grade grade' 'price price price' 'key key key' 'plats plats plats' 'usps usps usps' 'buy buy tog' 'more more more' !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .pfg-pick__grade { justify-self: start; align-self: center; margin-left: 20px; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__tog { width: 46px !important; height: 46px !important; }
	/* Fix 47: Steps | Max loss | Split | Payouts in one row. */
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key > div { padding: 0 4px !important; }
}

/* Fix 52 (26/10): tablets, 768 to 1199px. The one-row desktop card squeezed names and values to one
   letter per line; here it is two rows: identity, grade, price, Visit, chevron; then the key facts,
   the three lines and platforms. */
@media (min-width: 768px) and (max-width: 1199px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.4fr) 84px minmax(0, 1fr) minmax(0, 1fr) 52px !important; grid-template-areas: 'identity grade price buy tog' 'key key usps plats plats' 'more more more more more' !important; row-gap: 0; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 > :is(.v2-pcard__key, .v2-pcard__usps, .v2-pcard__pcol) { margin-top: 14px !important; padding-top: 14px !important; border-top: 1px solid var(--discovery-border) !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 > .v2-pcard__key { border-left: 0 !important; padding-left: 0 !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__key > div { grid-template-columns: 86px minmax(0, 1fr) !important; }
	.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 .v2-pcard__buy .f-visit { width: 100% !important; min-width: 0 !important; max-width: 160px; }
}

/* Fix 38 (Jovana 26/10 16:19): the Challenges card grade is the Firms card's size with "PFG grade"
   under it, centred on the header block and inset from the corner. */
.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-card__grade { top: 14px !important; right: 26px !important; flex-direction: column; align-items: center; gap: 2px; }
.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-card__grade .v2-grade-trigger { --pfg-gring: 50px; min-width: 54px; min-height: 54px; }
.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-card__grade .v2-grade-trigger svg { --pfg-gring: 50px !important; width: 50px !important; height: 50px !important; flex-basis: 50px !important; }
.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-card__grade small { color: #bfc5d5; font-size: 10px; white-space: nowrap; line-height: 1.2; }
.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-card__id { padding-right: 96px; }

/* Fix 54 (26/10): on phone the table's own headers sort, so the Sort pill shows only in Cards view;
   in Table view Filters and the Table/Cards toggle share its width. */
@media (max-width: 760px) {
	html:not(.pfg-v2-cards) .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortsel { display: none !important; }
}
@media (max-width: 760px) {
	/* Fix 54: the pill is the bar's height, so Table <-> Cards does not move the list. */
	.pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortsel { box-sizing: border-box; height: 44px; min-height: 44px !important; }

	/* Fix 55 (26/10): phone tables. No box around the Challenges price: one divider before it, none
	   between price, Visit and the chevron. */
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-price { border-top: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row tr > :is(td.v2-code, td.v2-cta, td.v2-tg) { border-left: 0 !important; }
	/* The pinned column casts a soft shadow only while columns sit under it; its header cell is the page colour. */
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > .pfg-row__main { box-shadow: none !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.has-more-l tbody.pfg-row tr > .pfg-row__main { box-shadow: 6px 0 8px -6px rgba(0, 0, 0, .35) !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview .v2-head > :is(:first-child, :nth-child(2)) { background: var(--wp--preset--color--bg-page, #101219) !important; box-shadow: none !important; }
}

/* Fix 56 (26/10): every expand chevron (both tables, both card views) is solid yellow with a dark icon,
   closed and open alike; only the arrow turns. The icon sits dead centre. */
.pfg-toplist--v2.pfg-toplist--v2 .v2-tog,
.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__more > summary { background: var(--acc, #e6ff00) !important; border-color: var(--acc, #e6ff00) !important; color: #0b0d14 !important; align-items: center !important; justify-content: center !important; place-items: center !important; padding: 0 !important; transition: filter .15s ease; }
.pfg-toplist--v2.pfg-toplist--v2 .v2-tog svg,
.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__more > summary svg { display: block; margin: 0 !important; flex: 0 0 auto; }
.pfg-toplist--v2.pfg-toplist--v2 .v2-tog:hover,
.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__more > summary:hover { filter: brightness(1.08); }

/* Fix 57 (26/10): phone and tablet Firms card dropdown in the Challenges card's facts style: two
   columns, label over value, left-aligned, a thin divider under each pair, no vertical separators. */
@media (max-width: 1199px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 24px !important; padding-bottom: 4px; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub > div { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 0 !important; text-align: left !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub > div::before { content: none !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub > div:last-child,
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub > div:nth-last-child(2):nth-child(odd) { border-bottom: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub dt { margin: 0 !important; font-size: 12.5px; font-weight: 500; color: #aeb7ca; text-align: left; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__sub dd { display: block !important; width: 100%; font-size: 13.5px; font-weight: 600; color: #f2f3f8; text-align: left !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico { display: inline-flex !important; flex-direction: row !important; justify-content: flex-start !important; align-items: center; gap: 6px; width: auto; margin: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico > span { text-align: left; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-icos { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 4px 12px; margin: 0 !important; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard__sub dd > .v2-ico--hq { display: block !important; text-align: left !important; }
}

/* Fix 60 (26/10): the Sort pill's native select never shows the theme's square focus box; Tab gives
   the whole pill a thin ring that follows its round shape. Bar pills keep their round shape on
   keyboard focus too. */
.v2-sortsel select:is(:focus, :focus-visible) { outline: none !important; box-shadow: none !important; border-radius: 0 !important; }
.v2-sortsel:has(select:focus-visible):not(.is-ptr) { box-shadow: 0 0 0 1px var(--acc, #e6ff00); }
.pfg-fbar-wrap--v2 :is(.pfg-fbar__filterbtn, .pfg-sf-btn):focus-visible { border-radius: 999px !important; }
/* The phone table's pinned column changes width once scrolled; no scroll anchoring on top of that. */
.pfg-toplist--v2 .v2-tableview { overflow-anchor: none; }

/* Fix 62 (26/10): the Challenges table divides Firm and Grade like the Firms table, and its column
   dividers use the Firms table's colour. */
.pfg-toplist--v2.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-grade { border-left: 1px solid rgba(255, 255, 255, .07) !important; }
.pfg-toplist--v2.pfg-toplist--v2 tbody.pfg-row tr.v2-alt--ch > .v2-f.v2-cx { border-left-color: rgba(255, 255, 255, .07) !important; }

/* Fix 63 (26/10): no applied-filters line under the phone bar. The size shows on the Filters badge,
   the discount in its toggle, and "Reset all" lives in the Filters panel. */
@media (max-width: 760px) {
	.pfg-fbar-wrap--v2 .v2-status { display: none !important; }
}
.pfg-sf__reset--phone { display: none !important; }
@media (max-width: 760px) {
	.pfg-sf__reset--desk { display: none !important; }
	.pfg-sf__reset--phone { display: grid !important; place-items: center; padding: 0 18px !important; text-align: center; }
}

/* Fix 64 (26/10): one count on the Filters button on desktop (the phone badge stays phone-only), and
   the applied-filter chips sit 14px under the bar instead of over the pills. */
@media (min-width: 761px) {
	.pfg-fbar-wrap--v2 .pfg-sf-btn .v2-n-phone { display: none !important; }
	.pfg-fbar-wrap--v2 .pfg-sf-chips { margin-top: 14px !important; }
}

/* Fix 66 (26/10): the theme turns every link's hover text yellow, which blanked the yellow chips.
   Chips keep dark text; hover and keyboard focus darken the chip a touch and lift the ×. */
.pfg-fbar-wrap--v2 .pfg-sf-chip,
.pfg-fbar-wrap--v2 .pfg-sf-chip:is(:hover, :focus, :focus-visible) { color: var(--on-acc, #14161F) !important; text-decoration: none !important; }
.pfg-fbar-wrap--v2 .pfg-sf-chip:is(:hover, :focus-visible) { filter: brightness(.9); }
.pfg-fbar-wrap--v2 .pfg-sf-chip > span[aria-hidden] { font-size: 15px; line-height: 1; opacity: .75; }
.pfg-fbar-wrap--v2 .pfg-sf-chip:is(:hover, :focus-visible) > span[aria-hidden] { opacity: 1; }
.pfg-fbar-wrap--v2 .pfg-sf-clear:hover { color: var(--text-1, #F2F3F8) !important; }
/* Fix 64: nothing peeks out from under the open Filters panel. */
.pfg-fbar-wrap--v2:has(.pfg-sf-btn[aria-expanded="true"]) .pfg-sf-chips { visibility: hidden; }

/* Fix 65 (26/10): top challenge per firm. Folded challenges stay in the page and out of view;
   "+N more from {Firm}" shows on the firm's leading row or card only; opened ones read lighter. */
.pfg-toplist--v2 :is(tbody.pfg-row, li.pfg-picks__item)[data-v2-fold] { display: none !important; }
.pfg-toplist--v2 .v2-firmmore { display: none; }
.pfg-toplist--v2 :is(tbody.pfg-row, li.pfg-picks__item)[data-v2-lead]:not([data-v2-n="0"]) .v2-firmmore { display: inline-flex; align-items: center; width: max-content; margin: 4px 0 0; padding: 0; border: 0; background: none; color: var(--text-3, #979CAD); font: 600 12px/1.3 var(--wp--preset--font-family--body, Manrope), sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.pfg-toplist--v2 .v2-firmmore:hover { color: var(--text-1, #F2F3F8); }
.pfg-toplist--v2 .v2-firmmore:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.pfg-toplist--v2 .v2-firmmore:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--acc, #e6ff00); border-radius: 4px; }
.pfg-toplist--v2 li.pfg-picks__item[data-v2-lead]:not([data-v2-n="0"]) .v2-card .v2-firmmore { display: flex; order: 9; margin: 10px auto 0; }
.pfg-toplist--v2 tbody.pfg-row.v2-sub > tr > :not(.v2-cta):not(.v2-tg):not(.v2-price):not(.v2-code) { opacity: .82; }
.pfg-toplist--v2 tbody.pfg-row.v2-sub > tr > .pfg-row__main .pfg-row__tilelink { visibility: hidden; }
.pfg-toplist--v2 li.pfg-picks__item.v2-sub .v2-card { opacity: .9; border-style: dashed; }
.pfg-toplist--v2 tbody.pfg-row[data-v2-lead] .v2-firmmore { white-space: normal !important; width: auto !important; max-width: 100%; text-align: left; }

/* Fix 67 (26/10): one yellow edge left of the pinned price group while more columns wait on the
   right, and "More columns" / "Back" buttons in the header row (toplist-v2.js places them). The
   fix 41/43 per-row glow and text fade go. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr:is(.v2-top.v2-t2, .v2-t3) > .v2-price::before,
	.pfg-toplist--v2 .v2-head.v2-t2 > .v2-hprice::before { display: none !important; }

}
.pfg-toplist--v2 .v2-edge { position: absolute; z-index: 5; width: 40px; pointer-events: none; border-right: 1px solid var(--border-2, rgba(255, 255, 255, .1)); }
.pfg-toplist--v2 .v2-edge.is-off { display: none; }
.pfg-toplist--v2 .v2-colnav { position: relative; z-index: 6; pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; margin-right: 8px; padding: 0 16px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 999px; background: var(--wp--preset--color--bg-page, #101219); color: var(--text-1, #F2F3F8); font: 600 13px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; white-space: nowrap; cursor: pointer; }
.pfg-toplist--v2 .v2-colnav:hover:not(:disabled) { border-color: var(--acc, #e6ff00); }
.pfg-toplist--v2 .v2-colnav:disabled { opacity: .4; cursor: default; }
.pfg-toplist--v2 .v2-colnav:focus { outline: none; box-shadow: none; border-radius: 999px !important; }
.pfg-toplist--v2 .v2-colnav:focus-visible { box-shadow: 0 0 0 1px var(--acc, #e6ff00); }
.pfg-toplist--v2 .v2-colnav--back:not(.is-on) { display: none; }
.pfg-toplist--v2 .v2-colnav[hidden], .pfg-toplist--v2 .v2-edge[hidden] { display: none !important; }
.pfg-toplist--v2 .v2-tableview:focus { outline: none; }
.pfg-toplist--v2 .v2-tableview:focus-visible { outline: 2px solid var(--acc, #e6ff00); outline-offset: 2px; border-radius: 12px; }

/* Fix 65 follow-up (26/10): an opened firm's other challenges read as part of it, not as new
   entries: no rank, no border, tucked under the leader, with a yellow connector on the left. */
.pfg-toplist--v2.pfg-toplist--v2 table.pfg-toplist__rows > tbody.pfg-row.v2-sub { border-color: transparent !important; margin-top: -4px; border-top-left-radius: 0; border-bottom-left-radius: 0; box-shadow: inset 3px 0 0 rgba(var(--acc-rgb, 230, 255, 0), .45); }
/* Fix 68 indent removed (Jovana 27/10 00:59): child rows share the parent's columns and left edge. */
.pfg-toplist--v2.pfg-toplist--v2 table.pfg-toplist__rows > tbody.pfg-row.v2-sub .pfg-row__name { font-weight: 500; color: var(--text-2, #C6CBDD); }
.pfg-toplist--v2 li.pfg-picks__item.v2-sub .v2-card { border-style: solid !important; border-color: rgba(255, 255, 255, .05) !important; box-shadow: inset 3px 0 0 rgba(var(--acc-rgb, 230, 255, 0), .45); opacity: .92; }
/* Fix 68: in cards the button follows the market pills in the header. */
.pfg-toplist--v2 li.pfg-picks__item[data-v2-lead]:not([data-v2-n="0"]) .v2-card .v2-firmmore { display: inline-flex; order: 0; margin: 4px 0 0; }

/* Board 20:01: compact sub-labels in table cells ("End of day trailing, locks at start balance",
   "Phase 1: 5%") wrap to two lines inside their cell instead of being cut at both ends. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row td.v2-f .v2-one { white-space: normal !important; overflow: hidden !important; text-overflow: clip !important; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.25; overflow-wrap: anywhere; text-align: center; }
}
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row td.v2-f small:not(.v2-one) { display: block; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.25; text-align: center; }
}
@media (min-width: 761px) and (max-width: 1599px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row td.v2-f { padding-left: 6px !important; padding-right: 6px !important; }
}
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row td.v2-f :is(.v2-txt, small) { -webkit-hyphens: auto; hyphens: auto; }
}
.pfg-toplist--v2 .v2-firmmore:is(:focus, :focus-visible) { outline: none !important; box-shadow: none !important; border-radius: 999px !important; }
.pfg-toplist--v2 .v2-firmmore:focus-visible { box-shadow: 0 0 0 1px var(--acc, #e6ff00) !important; padding: 0 4px !important; margin-left: -4px !important; }
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row td.v2-f small:not(.v2-one) { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}

/* 26/10-2b (Jovana 20:28): the approved "Best for" lines show again, on the first 3 cards of the
   list's current order that have one (server cap, recounted by toplist-v2.js after a sort). */
.pfg-toplist--v2.v2-t2on .pfg-pick__fit:not([data-v2-fit-off]) { display: inline-block !important; }
.pfg-toplist--v2 .pfg-pick__fit[data-v2-fit-off] { display: none !important; }

/* Fix 69: the column buttons live in the bar row and only in Table view. */
.pfg-toplist--v2 .v2-viewbar { align-items: center; }
html.pfg-v2-cards .pfg-toplist--v2 .v2-colnav { display: none !important; }
/* Fix 74 (26/10 20:40): the scroll edge and column buttons belong to Table view only. */
html.pfg-v2-cards .pfg-toplist--v2 :is(.v2-edge, .v2-colnav) { display: none !important; }

/* Fix 75 (26/10): "Top per firm | All" is a small two-part switch in the Table | Cards style. */
.pfg-fbar-wrap--v2 .v2-plans { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 999px; background: var(--wp--preset--color--surface-1, #14171E); flex: 0 0 auto; }
.pfg-fbar-wrap--v2 .v2-plans__opt { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; color: var(--text-2, #C6CBDD) !important; font: 600 12.5px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; text-decoration: none !important; white-space: nowrap; }
.pfg-fbar-wrap--v2 .v2-plans__opt:hover { color: var(--text-1, #F2F3F8) !important; }
.pfg-fbar-wrap--v2 .v2-plans__opt.is-on { background: var(--acc, #e6ff00); color: #0b0d14 !important; }
.pfg-fbar-wrap--v2 .v2-plans__opt:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.pfg-fbar-wrap--v2 .v2-plans__opt:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--acc, #e6ff00); border-radius: 999px !important; }
@media (max-width: 760px) {
	.pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-plans { display: none !important; }
	.pfg-sf__phone .v2-plans { justify-self: start; }
}

/* Fix 70/83 (26/10): Sort is exactly the Market / Size / Steps popover (same pills, no overrides); like the old pill it shows in
   Cards view only (the table's headers sort), and on phone in the bar in Cards view (fix 54). */
.pfg-fbar-wrap--v2 .v2-sortsel-native { display: none !important; }
.pfg-fbar-wrap--v2 .v2-sortpop { display: none !important; }
html.pfg-v2-cards .pfg-fbar-wrap--v2 .v2-sortpop { display: block !important; }
.pfg-fbar-wrap--v2 .v2-sortpop .pfg-fbar__opt:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.pfg-fbar-wrap--v2 .v2-sortpop .pfg-fbar__opt:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--acc, #e6ff00); border-radius: 999px !important; }
@media (max-width: 760px) {
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop { display: block !important; flex: 1 1 0; min-width: 0; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary { width: 100%; min-height: 44px; justify-content: center; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop .pfg-fbar__filtervalue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}

/* Fix 71 (26/10): the arrow shows the order on screen: ↑ low to high, ↓ high to low. */
.pfg-toplist--v2 .v2-head button.s.asc::after { content: "\2191" !important; }
.pfg-toplist--v2 .v2-head button.s.desc::after { content: "\2193" !important; }

/* Fix 77 (26/10 22:00): the phone Sort pill shrinks inside its share of the bar (value ellipsed);
   at the narrowest phones it is an icon button, its words kept for screen readers. */
@media (max-width: 760px) {
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary { display: flex !important; align-items: center; gap: 6px; width: 100%; min-width: 0; overflow: hidden; padding-left: 12px !important; padding-right: 12px !important; box-sizing: border-box; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop .pfg-fbar__filterlabel,
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop .pfg-fbar__filterchev { flex: 0 0 auto; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop .pfg-fbar__filtervalue { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.pfg-fbar-wrap--v2 .pfg-fbar__tier2 { gap: 8px !important; }
	.pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-viewtoggle { flex: 0 0 auto; }
}
/* Fix 81 (Jovana 26/10 22:16): on phone the pill reads "Sort" with the sort icon; the order in use
   shows in the popover, and a yellow dot marks any order other than Best grade. */
@media (max-width: 760px) {
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop { flex: 0 0 auto !important; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary { position: relative; justify-content: center; gap: 6px; padding: 0 16px !important; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary > * { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary::before { content: "Sort"; font-weight: 600; font-size: 14px; color: var(--text-1, #F2F3F8); }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop > summary::after { content: "\21C5"; font-size: 15px; line-height: 1; color: var(--text-1, #F2F3F8); }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop.is-set > summary { box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb, 230, 255, 0), .5); }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop.is-set > summary > .pfg-fbar__filterchev { position: absolute !important; top: 6px; right: 8px; width: 7px; height: 7px; clip: auto; border-radius: 50%; background: var(--acc, #e6ff00); }
	html.pfg-v2-cards .pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .v2-sortpop.is-set > summary > .pfg-fbar__filterchev svg { display: none; }
	.pfg-fbar-wrap--v2 .pfg-fbar__tier2 > .pfg-sf-btn { flex: 1 1 auto; min-width: 0; }
}
/* Fix 81: Table | Cards has no square focus box after a tap; keyboards get a round ring. */
.pfg-toplist--v2 .v2-viewtoggle button:focus:not(:focus-visible),
.pfg-fbar-wrap--v2 .v2-viewtoggle button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.pfg-toplist--v2 .v2-viewtoggle button:focus-visible,
.pfg-fbar-wrap--v2 .v2-viewtoggle button:focus-visible { outline: none !important; box-shadow: 0 0 0 1px var(--acc, #e6ff00) !important; border-radius: 10px !important; }
}

/* Fix 78 (26/10 22:01): the phone Challenges expand panel is a 2-column grid like the phone Firms
   card dropdown: label over value, icon before the value, left-aligned, no vertical dividers. */
@media (max-width: 760px) {
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-grid--cx { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 24px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-cell--cx { display: grid !important; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'k k' 'i v'; align-items: center; column-gap: 6px; row-gap: 3px; padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-cell--cx .x-t { display: contents; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-cell--cx .x-ic { grid-area: i; width: 16px; height: 16px; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-cell--cx .x-k { grid-area: k; margin: 0; font: 500 12.5px/1.3 var(--wp--preset--font-family--body, Manrope), sans-serif; letter-spacing: 0; text-transform: none; color: #aeb7ca; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-cell--cx .x-v { grid-area: v; font-size: 13.5px; font-weight: 600; text-align: left; overflow-wrap: normal; word-break: normal; }
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-grid--cx > .x-cell--cx:nth-last-child(-n+2):nth-child(odd),
	.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-more .x-grid--cx > .x-cell--cx:last-child { border-bottom: 0 !important; }
}
/* Fix 79: the sheet's close × keeps its shape; a ring only for keyboards. */
.pfg-sf__x:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.pfg-sf__x:focus-visible { outline: none !important; box-shadow: 0 0 0 1px var(--acc, #e6ff00) !important; border-radius: 999px !important; }

/* ===== Filters v2 (render only, ?pfilters=v2; Codex brief 14). ===== */
.sf2 { --sf2-bg: #14171E; --sf2-line: rgba(255, 255, 255, .08); --sf2-muted: #aeb7ca; position: fixed; z-index: 1000; display: none; flex-direction: column; background: var(--sf2-bg); color: var(--text-1, #F2F3F8); font-family: var(--wp--preset--font-family--body, Manrope), sans-serif; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); }
.sf2.is-open { display: flex; }
.sf2__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--sf2-line); background: var(--sf2-bg); }
.sf2__title { margin: 0; font: 700 18px/1.2 var(--wp--preset--font-family--body, Manrope), sans-serif; color: var(--text-1, #F2F3F8); letter-spacing: 0; }
.sf2__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--text-1, #F2F3F8); cursor: pointer; }
.sf2__x svg { width: 20px; height: 20px; }
.sf2__x:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.sf2__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; }
.sf2-sec { padding: 16px 0 8px; border-bottom: 1px solid var(--sf2-line); }
.sf2-sec + .sf2-sec { margin-top: 8px; }
.sf2-sec:last-child { border-bottom: 0; }
.sf2-sec__t { margin: 0 0 4px; font: 700 15px/1.3 var(--wp--preset--font-family--body, Manrope), sans-serif; color: var(--text-1, #F2F3F8); letter-spacing: 0; text-transform: none; }
.sf2-h { margin: 14px 0 8px; font: 600 12.5px/1.3 var(--wp--preset--font-family--body, Manrope), sans-serif; color: var(--sf2-muted); text-transform: none; letter-spacing: 0; }
.sf2-sec--bar .sf2-h:first-child { margin-top: 4px; }
.sf2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf2-chips .sf2-more { display: none; }
.sf2-chips.is-all .sf2-more { display: inline-flex; }
.sf2-chips.is-all .sf2-showall { display: none; }
.sf2-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 999px; background: transparent; color: var(--text-1, #F2F3F8) !important; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none !important; max-width: 100%; }
.sf2-chip > span:first-of-type { overflow-wrap: anywhere; }
.sf2-chip__n { color: var(--sf2-muted); font-weight: 500; font-size: 12.5px; }
.sf2-chip:hover { border-color: rgba(var(--acc-rgb, 230, 255, 0), .6); }
.sf2-chip.is-on { border-color: var(--acc, #e6ff00); background: rgba(var(--acc-rgb, 230, 255, 0), .1); }
.sf2-chip__ck { width: 14px; height: 14px; color: var(--acc, #e6ff00); flex: 0 0 auto; }
.sf2-chip:focus:not(:focus-visible), .sf2-check:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.sf2-chip:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--acc, #e6ff00); border-radius: 999px !important; }
.sf2-showall { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--acc, #e6ff00); font: 600 14px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sf2-cost { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: end; margin-top: 10px; }
.sf2-in { display: grid; gap: 6px; font-size: 12.5px; color: var(--sf2-muted); }
.sf2-in input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 12px; background: #0f1218; color: var(--text-1, #F2F3F8); font: 600 15px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; }
.sf2-disc { grid-column: 1 / -1; min-height: 44px; }
.sf2-cb, .sf2-check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-1, #F2F3F8) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.sf2-cb input { position: absolute; opacity: 0; pointer-events: none; }
.sf2-check__box { flex: 0 0 auto; width: 20px; height: 20px; border: 1.5px solid #5A6072; border-radius: 6px; }
.sf2-check.is-on .sf2-check__box, .sf2-cb input:checked + .sf2-check__box { border-color: var(--acc, #e6ff00); background: var(--acc, #e6ff00) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%230b0d14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.sf2-check__l { flex: 1 1 auto; }
.sf2-x { border-top: 1px solid var(--sf2-line); }
.sf2-sec__t + .sf2-x, .sf2-chips + .sf2-x { margin-top: 14px; }
.sf2-x > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 600; }
.sf2-x > summary::-webkit-details-marker { display: none; }
.sf2-x > summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-left: 4px; border-right: 1.8px solid var(--sf2-muted); border-bottom: 1.8px solid var(--sf2-muted); transform: rotate(45deg) translateY(-3px); }
.sf2-x[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.sf2-x__sum { margin-left: auto; color: var(--sf2-muted); font-weight: 500; font-size: 13px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.sf2-x[open] { padding-bottom: 14px; }
.sf2-list { display: grid; gap: 6px; }
.sf2-find { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 12px; background: #0f1218; color: var(--text-1, #F2F3F8); font-size: 15px; }
.sf2-list__rows { max-height: 264px; overflow-y: auto; }
.sf2__foot { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 88px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-sizing: border-box; border-top: 1px solid var(--sf2-line); background: var(--sf2-bg); }
.sf2-clear { display: grid; place-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--border-strong, rgba(255, 255, 255, .16)); border-radius: 999px; color: var(--text-1, #F2F3F8) !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.sf2-show { min-height: 52px; border: 0; border-radius: 999px; background: var(--acc, #e6ff00); color: #0b0d14; font: 800 15.5px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; cursor: pointer; }
.sf2__barsum { display: none; }
/* Phone: a bottom sheet, up to 94% of the viewport, no tab row. */
@media (max-width: 760px) {
	.sf2 { left: 0; right: 0; bottom: 0; max-height: 94dvh; border-radius: 18px 18px 0 0; }
}
/* Desktop: a 440px drawer on the right; the results stay visible. Market, Size and Steps stay
   on the bar, so the drawer shows their summary and starts at Account rules. */
@media (min-width: 761px) {
	.sf2 { top: 0; right: 0; bottom: 0; width: 440px; border-left: 1px solid var(--sf2-line); }
	.sf2__body { padding: 4px 24px 24px; }
	.sf2__head { padding: 0 12px 0 24px; }
	.sf2__foot { padding: 16px 24px; }
	.sf2-sec--bar { display: none; }
	.sf2__barsum { display: block; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--sf2-muted); font-size: 13px; }
}
@media (max-width: 760px) { .sf2 { z-index: 100000; } }
@media (min-width: 761px) { .sf2 { top: var(--wp--custom--layout--header-height, 73px); z-index: 900; } }
/* ===== Filters v2 wired (27/10): draft chips, Selected row, price histogram. ===== */
.sf2-chip:not(.is-on) .sf2-chip__ck { display: none; }
.sf2-chip { cursor: pointer; font-family: inherit; }
.sf2-chip--sel { border-color: var(--text-1, #F2F3F8); border-width: 1.5px; background: transparent; }
.sf2-chip--sel:hover { border-color: var(--acc, #e6ff00); }
.sf2-chip__x { width: 14px; height: 14px; flex: 0 0 auto; color: var(--sf2-muted); }
.sf2-sel { padding-top: 16px; }
.sf2-sel .sf2-sec__t { margin-bottom: 10px; }
.sf2-sel__n { color: var(--sf2-muted); font-weight: 600; }
.sf2-note { margin: 2px 0 10px; color: var(--sf2-muted); font-size: 12.5px; line-height: 1.4; }
.sf2-show.is-busy { opacity: .72; }
.sf2-cb .sf2-chip__n { margin-left: auto; }
.pfg-hist { --lo: 0%; --hi: 100%; position: relative; margin: 6px 0 4px; padding: 0 11px; }
.pfg-hist__bars { display: flex; align-items: flex-end; gap: 2px; height: 64px; }
.pfg-hist__bars i { flex: 1 1 0; min-width: 0; border-radius: 2px 2px 0 0; background: #3a4152; }
.pfg-hist__bars i.is-in { background: var(--acc, #e6ff00); }
.pfg-hist__track { position: relative; height: 28px; }
.pfg-hist__track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; border-radius: 2px; background: #3a4152; }
.pfg-hist__track::after { content: ""; position: absolute; left: var(--lo); right: calc(100% - var(--hi)); top: 13px; height: 2px; background: var(--acc, #e6ff00); }
.pfg-hist__track input { position: absolute; left: -11px; right: -11px; top: 0; width: calc(100% + 22px); height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 1; }
.pfg-hist__track input::-webkit-slider-runnable-track { background: none; border: 0; height: 28px; }
.pfg-hist__track input::-moz-range-track { background: none; border: 0; }
.pfg-hist__track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #fff; border: 1.5px solid #0b0d14; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); cursor: grab; }
.pfg-hist__track input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #0b0d14; cursor: grab; }
.pfg-hist__track input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(var(--acc-rgb, 230, 255, 0), .6); }
.pfg-hist__track input:focus { outline: none; }
.sf2-sec--plans .sf2-chips { margin-top: 6px; }
/* ===== Filters v3 render (?pfilters=v3; Codex FINAL spec 27/10): Airbnb-style sheet. ===== */
.sf3 { inset: 0; top: 0 !important; width: auto !important; border: 0 !important; box-shadow: none !important; background: transparent !important; z-index: 100000 !important; align-items: flex-end; justify-content: center; }
.sf3__backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, .62); }
.sf3__card { position: relative; display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 12px); background: var(--sf2-bg); border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); }
.sf3__head { justify-content: center; min-height: 56px; padding: 0 6px; position: relative; }
.sf3__hl { width: 44px; }
.sf3__title { flex: 1 1 auto; text-align: center; font-size: 16.5px !important; }
.sf3__body { padding: 0 20px 24px !important; }
.sf3-sec { padding: 24px 0; border-bottom: 1px solid var(--sf2-line); }
.sf3-sec:last-child { border-bottom: 0; }
.sf3-t { margin: 0 0 14px; font: 700 20px/1.25 var(--wp--preset--font-family--body, Manrope), sans-serif; color: var(--text-1, #F2F3F8); letter-spacing: -.01em; text-transform: none; }
.sf3-t--sub { margin-top: 28px; font-size: 17px; }
.sf3-h { margin: 18px 0 10px; font: 600 14px/1.3 var(--wp--preset--font-family--body, Manrope), sans-serif; color: var(--sf2-muted); text-transform: none; letter-spacing: 0; }
.sf3-t + .sf3-h { margin-top: 0; }
.sf3-ico { width: 22px; height: 22px; flex: 0 0 auto; }
/* Quick tiles: three squares, label beneath; selected = thick inset outline + check. */
.sf3-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sf3-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--text-1, #F2F3F8); cursor: pointer; font: inherit; }
.sf3-tile__box { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-height: 112px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 16px; background: rgba(255, 255, 255, .02); transition: border-color .15s, box-shadow .15s; }
.sf3-tile__box .sf3-ico { width: 34px; height: 34px; color: var(--text-1, #F2F3F8); }
.sf3-tile__ck { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--acc, #e6ff00); color: #0b0d14; opacity: 0; }
.sf3-tile:hover .sf3-tile__box { border-color: rgba(255, 255, 255, .3); }
.sf3-tile.is-on .sf3-tile__box { border-color: var(--acc, #e6ff00); box-shadow: inset 0 0 0 2px var(--acc, #e6ff00); }
.sf3-tile.is-on .sf3-tile__ck { opacity: 1; }
.sf3-tile__l { font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: center; }
.sf3-tile:focus:not(:focus-visible) { outline: none; }
/* Segmented control. */
.sf3-seg { display: flex; padding: 4px; min-height: 52px; box-sizing: border-box; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 14px; gap: 2px; }
.sf3-seg__o { flex: 1 1 0; min-width: 0; display: grid; place-items: center; padding: 0 6px; border: 0; border-radius: 10px; background: none; color: var(--text-2, #C6CBDD) !important; font: 600 14px/1.15 var(--wp--preset--font-family--body, Manrope), sans-serif; text-align: center; text-decoration: none !important; cursor: pointer; }
.sf3-seg__o.is-on { color: var(--text-1, #F2F3F8) !important; box-shadow: inset 0 0 0 2px var(--text-1, #F2F3F8); background: rgba(255, 255, 255, .04); }
.sf3-seg--soft { background: rgba(255, 255, 255, .05); border-color: transparent; border-radius: 999px; }
.sf3-seg--soft .sf3-seg__o { border-radius: 999px; }
.sf3-seg--soft .sf3-seg__o.is-on { background: #262c3b; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.sf3-seg__o:focus:not(:focus-visible) { outline: none; }
/* Icon chips: thick outline + check, no size shift. */
.sf3-chips { gap: 8px; }
.sf3-chip { min-height: 48px; padding: 0 14px; gap: 8px; border-radius: 999px; box-shadow: inset 0 0 0 0 transparent; }
.sf3-chip.is-on { background: transparent; border-color: var(--text-1, #F2F3F8); box-shadow: inset 0 0 0 1px var(--text-1, #F2F3F8); }
.sf3-chip .sf2-chip__ck { order: 9; color: var(--acc, #e6ff00); }
.sf3 .sf2-chip--sel { min-height: 44px; border-color: var(--text-1, #F2F3F8); box-shadow: inset 0 0 0 1px var(--text-1, #F2F3F8); }
.sf3-more { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--text-1, #F2F3F8); }
.sf3-more svg { width: 16px; height: 16px; }
/* Price. */
.sf3-note { margin: 12px 0 4px; }
.sf3-hist { margin-top: 10px; }
.sf3-hist .pfg-hist__bars { height: 72px; }
.sf3-mm { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; }
.sf3-pill { display: grid; gap: 6px; justify-items: center; font-size: 12.5px; color: var(--sf2-muted); }
.sf3-pill:last-child { justify-items: end; }
.sf3-pill:first-child { justify-items: start; }
.sf3-pill input { box-sizing: border-box; width: 120px; min-height: 56px; padding: 0 16px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 999px; background: #0f1218; color: var(--text-1, #F2F3F8); font: 600 16px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; text-align: center; }
.sf3-sw { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; margin-top: 14px; cursor: pointer; }
.sf3-sw__t { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--text-1, #F2F3F8); }
.sf3-sw input { position: absolute; opacity: 0; pointer-events: none; }
.sf3-sw__k { position: relative; flex: 0 0 auto; width: 52px; height: 32px; border-radius: 999px; background: #3a4152; transition: background .15s; }
.sf3-sw__k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .15s; }
.sf3-sw input:checked + .sf3-sw__k { background: var(--acc, #e6ff00); }
.sf3-sw input:checked + .sf3-sw__k::after { transform: translateX(20px); background: #0b0d14; }
.sf3-sw input:focus-visible + .sf3-sw__k { box-shadow: 0 0 0 3px rgba(var(--acc-rgb, 230, 255, 0), .5); }
/* Steppers. */
.sf3-step { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.sf3-step + .sf3-step { border-top: 1px solid var(--sf2-line); }
.sf3-step__t { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--text-1, #F2F3F8); min-width: 0; }
.sf3-step__ctl { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sf3-step__v { min-width: 92px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--text-2, #C6CBDD); }
.sf3-step.is-set .sf3-step__v { color: var(--text-1, #F2F3F8); }
.sf3-step__b { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #5A6072; border-radius: 50%; background: none; color: var(--text-1, #F2F3F8); cursor: pointer; }
.sf3-step__b svg { width: 16px; height: 16px; }
.sf3-step__b:disabled { opacity: .3; cursor: default; }
.sf3-step__b:focus:not(:focus-visible) { outline: none; }
/* Grade cards. */
.sf3-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf3-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; align-items: center; min-height: 112px; padding: 16px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 16px; background: rgba(255, 255, 255, .02); color: var(--text-1, #F2F3F8); text-align: left; cursor: pointer; font: inherit; }
.sf3-card__badge { grid-row: 1 / 4; display: grid; place-items: center; width: 40px; height: 40px; border: 1.8px solid currentColor; border-radius: 10px; font-weight: 800; font-size: 18px; }
.sf3-card__t { font-weight: 700; font-size: 15.5px; }
.sf3-card__d, .sf3-card__n { color: var(--sf2-muted); font-size: 13px; }
.sf3-card.is-on { border-color: var(--text-1, #F2F3F8); box-shadow: inset 0 0 0 1px var(--text-1, #F2F3F8); }
.sf3-card:focus:not(:focus-visible) { outline: none; }
.sf3-x { border-top: 0 !important; }
.sf3-x > summary { font-size: 17px; font-weight: 700; min-height: 56px; }
/* Footer. */
.sf3__foot { display: flex !important; justify-content: space-between; min-height: 80px !important; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) !important; background: #101219 !important; }
.sf3-clear { padding: 12px 4px; color: var(--text-1, #F2F3F8) !important; font-weight: 700; font-size: 15.5px; text-decoration: underline !important; text-underline-offset: 3px; }
.sf3-show { min-height: 48px; padding: 0 24px; }
@media (min-width: 761px) {
	.sf3 { align-items: center; }
	.sf3__card { width: 760px; max-width: calc(100vw - 48px); max-height: calc(100dvh - 64px); border-radius: 20px; }
	.sf3__head { min-height: 64px; }
	.sf3__body { padding: 0 32px 24px !important; }
	.sf3__foot { min-height: 88px !important; padding: 16px 32px !important; }
	.sf3 .sf2-sec--bar { display: block; }
	.sf3-tiles { grid-template-columns: repeat(3, 150px); }
	.sf3-pill input { width: 160px; }
}
.sf3 { max-height: none !important; height: 100dvh; border-radius: 0 !important; bottom: auto !important; }
.sf3__card { max-height: calc(100dvh - 16px); }
.sf3-step__ctl { gap: 6px; }
.sf3-step__v { min-width: 72px; font-size: 14px; }
.sf3-step__t { font-size: 15px; line-height: 1.25; }
/* Filters v2 desktop (Jovana 27/10 00:27): anchored under the Filters button, section tabs. */
.pfg-hist__bars i { display: block; }
.pfg-hist.is-empty .pfg-hist__bars { display: none; }
.sf2-tabs { display: none; }
@media (max-width: 420px) { .sf3-seg__o { font-size: 13px; padding: 0 3px; } .sf3-seg { padding: 3px; } }
@media (min-width: 761px) {
	.sf2:not(.sf3) { top: 140px; right: auto; bottom: auto; left: 32px; width: 680px; max-height: 640px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 16px; overflow: hidden; z-index: 900; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .75); }
	.sf2:not(.sf3) .sf2__head { min-height: 52px; }
	.sf2:not(.sf3) .sf2__body { padding: 0 24px 20px; }
	.sf2:not(.sf3) .sf2__barsum { margin-top: 12px; }
	.sf2:not(.sf3) .sf2-sel { padding-top: 12px; }
	.sf2:not(.sf3) .sf2-sec--plans { padding-top: 12px; }
	.sf2-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 4px; margin: 12px -24px 0; padding: 0 24px; border-bottom: 1px solid var(--sf2-line); background: var(--sf2-bg); }
	.sf2-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border: 0; background: none; color: var(--sf2-muted); font: 600 14px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; cursor: pointer; }
	.sf2-tab[aria-selected="true"] { color: var(--text-1, #F2F3F8); }
	.sf2-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--acc, #e6ff00); }
	.sf2-tab__n:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--acc, #e6ff00); color: #0b0d14; font-size: 11px; font-weight: 800; }
	.sf2-tab:focus:not(:focus-visible) { outline: none; }
	.sf2:not(.sf3) [data-sf2-sec] { border-bottom: 0; padding-top: 12px; margin-top: 0; }
	.sf2:not(.sf3) [data-sf2-sec] > .sf2-sec__t { display: none; }
	.sf2:not(.sf3) [data-sf2-sec][data-off] { display: none; } /* tabs differ per panel (27/10-6) */
	.sf2:not(.sf3) .sf2__foot { min-height: 72px; padding: 12px 24px; }
	.sf2:not(.sf3) .sf2-show, .sf2:not(.sf3) .sf2-clear { min-height: 46px; }
}
@media (min-width: 761px) { .sf2:not(.sf3) .sf2-sec--plans { display: none; } }
/* Filters combo (Jovana 27/10 00:55): the desktop panel on desktop, the phone sheet on phones. */
@media (max-width: 760px) { .sf2:not(.sf3) { display: none !important; } }
@media (min-width: 761px) { .sf3 { display: none !important; } }
.sf2-chip[hidden], .sf2-check[hidden] { display: none !important; }
a.sf3-card { text-decoration: none !important; }
.sf3-card__n .sf2-chip__n { color: inherit; font-size: inherit; font-weight: inherit; }
/* The price "i" fee tip (Jovana 27/10 00:58): ours, not the browser's title. */
.pfg-fee-tip { position: fixed; z-index: 100001; max-width: 260px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: #262B38; color: var(--text-1, #F2F3F8); font: 500 13px/1.4 var(--wp--preset--font-family--body, Manrope), sans-serif; box-shadow: 0 10px 28px rgba(0, 0, 0, .55); pointer-events: none; }
.pfg-fee-tip[hidden] { display: none; }
.sf3-card { align-content: center; column-gap: 12px; padding: 14px; }
.sf3-card__badge { width: 36px; height: 36px; font-size: 16px; }
.sf3-card__n { white-space: nowrap; }
.pfg-toplist--v2 .f-sz .f-sz__tip { display: none !important; } /* shown by the floating .pfg-fee-tip (27/10) */
/* Jovana 27/10 01:11: the "i" after a price is positioned outside the price, so the column never
   made room for it and "$89.50/mo" pushed it past the cell edge. The price keeps room for it. */
.pfg-toplist--v2 .f-pay .f-cyc { font-size: .62em; font-weight: 600; letter-spacing: 0; margin-left: 1px; opacity: .85; }
/* Board 01:12: a one-word name wider than its column ran under the heart; the heart wraps instead. */
.pfg-toplist--v2 .g-line { flex-wrap: wrap; row-gap: 2px; max-width: 100%; }
.pfg-toplist--v2 .g-line > .pfg-row__name { flex: 1 1 0; min-width: auto; }
/* The price "i" in the flow, not past the cell edge (Jovana 27/10 01:11): the column counts it, and
   a narrow column puts it under the price instead of clipping it. */
.pfg-toplist--v2 .v2-tableview .f-pr > :is(.f-sz, .f-info) { position: static !important; left: auto !important; margin-left: 3px !important; vertical-align: 1px; }
.pfg-toplist--v2 .v2-tableview .f-pr:has(> .f-sz) > .f-info { left: auto !important; }
.pfg-toplist--v2 .v2-tableview .f-pay .f-cyc { display: inline-block; } /* may wrap under the amount in a tight column */
.pfg-toplist--v2 .v2-tableview .f-pr, .pfg-toplist--v2 .v2-tableview .f-pay { white-space: normal !important; }

/* Market tiles at the top of the phone sheet (27/10): one row of up to five, smaller than the quick tiles were. */
.sf3 .sf3-tiles--market { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.sf3 .sf3-tiles--market .sf3-tile { gap: 8px; min-width: 0; }
.sf3 .sf3-tiles--market .sf3-tile__box { border-radius: 14px; }
.sf3 .sf3-tiles--market .sf3-tile__box .sf3-ico { width: 28px; height: 28px; }
.sf3 .sf3-tiles--market .sf3-tile__ck { top: 5px; right: 5px; width: 15px; height: 15px; }
.sf3 .sf3-tiles--market .sf3-tile__l { font-size: 12.5px; }

/* Market blocks (27/10-6): a market's own filters, shown by the panel script while it is picked. */
.sf2-mkt[hidden] { display: none !important; }
.sf2-mkt { margin-top: 4px; }
/* Desktop: the market picker as the phone's big square icon tiles under a "Market" heading, the first
   thing under Selected (Jovana 27/10 13:07: "like they are the main ones..like on mobile"; replaces
   the 10:48 compact chips). */
@media (min-width: 761px) {
	.sf2:not(.sf3) .sf2-sec--market { padding-top: 14px; border-bottom: 0; }
	.sf2:not(.sf3) .sf2-market__h { margin: 0 0 10px; }
	/* 13:16 "way too big": phone-sized 80px squares, left-aligned, room for six markets with Perps. */
	.sf2:not(.sf3) .sf3-tiles--market { display: flex; flex-wrap: wrap; gap: 10px; }
	.sf2:not(.sf3) .sf3-tiles--market .sf3-tile { flex: 0 0 80px; gap: 6px; min-width: 0; }
	.sf2:not(.sf3) .sf3-tiles--market .sf3-tile__box { width: 80px; height: 80px; aspect-ratio: auto; border-radius: 14px; }
	.sf2:not(.sf3) .sf3-tiles--market .sf3-tile__box .sf3-ico { width: 24px; height: 24px; }
	.sf2:not(.sf3) .sf3-tiles--market .sf3-tile__ck { top: 5px; right: 5px; width: 15px; height: 15px; }
	.sf2:not(.sf3) .sf3-tiles--market .sf3-tile__l { font-size: 13px; font-weight: 600; }
	.sf2:not(.sf3) .sf2-sec--presets { padding-top: 4px; border-bottom: 0; }
	/* Recommended: a step smaller than the market tiles, not stretched. */
	.sf2:not(.sf3) .sf2-pts { display: flex; flex-wrap: wrap; gap: 8px; }
	.sf2:not(.sf3) .sf2-pt { flex: 0 0 auto; width: 124px; min-height: 64px; gap: 6px; padding: 9px 10px; border-radius: 12px; font-size: 12.5px; }
	.sf2:not(.sf3) .sf2-pt .sf2-pt__i { width: 18px; height: 18px; }
}

/* Range filters (27/10-9): title left, the picked span right, the price slider's histogram below. */
.sf2-range__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sf2-range__v { color: var(--text-1, #F2F3F8); font-weight: 600; text-transform: none; letter-spacing: 0; }
.sf2-range .pfg-hist__bars { height: 40px; }
.sf3 .sf2-range.sf3-hist .pfg-hist__bars { height: 44px; }

/* Futures lists (27/10-10): the activation fee is a column after Payouts, one more track. */
@media (max-width: 760px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee:has(tr.v2-alt--ch) { --c: 30px 200px 64px repeat(5, 86px) 96px 96px 96px 110px 96px 124px 150px 92px 38px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee.is-scrolled:has(tr.v2-alt--ch) { --c: 0px 60px 64px repeat(5, 86px) 96px 96px 96px 110px 96px 124px 150px 92px 38px !important; }
}

/* Futures lists (27/10-10): the same templates with the activation fee after Payouts (track 13). */
@media (min-width: 761px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee { --c: 30px minmax(156px, 2.2fr) minmax(62px, 1fr) minmax(66px, 1fr) minmax(70px, 1fr) minmax(84px, 1fr) minmax(84px, 1fr) minmax(60px, 1fr) minmax(84px, 1fr) minmax(100px, 1fr) minmax(98px, 1fr) minmax(96px, 1fr) minmax(84px, 1fr) minmax(96px, 1fr) 136px 96px 40px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee.is-ovf { --c: 30px 156px 62px 66px 70px 84px 84px 60px 84px 100px 98px 96px 84px 96px 136px 96px 40px !important; }
}
@media (min-width: 761px) and (max-width: 1599px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee { --c: 30px minmax(140px, 2.2fr) minmax(58px, 1fr) minmax(66px, 1fr) minmax(68px, 1fr) minmax(66px, 1fr) minmax(64px, 1fr) minmax(60px, 1fr) minmax(70px, 1fr) minmax(116px, 1fr) minmax(80px, 1fr) minmax(78px, 1fr) minmax(84px, 1fr) minmax(88px, 1fr) 118px 84px 40px !important; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3.v2-tv-fee.is-ovf { --c: 30px 170px 58px 66px 68px 66px 64px 60px 70px 116px 80px 78px 84px 88px 118px 84px 40px !important; }
}

/* Scroll arrows (27/10-14, Jovana's shot jovana-scroll-arrows-1204.png): two round outlined buttons
   in the bar, left of Table | Cards; desktop and tablet only (the nav is off below 761px). They
   replace the More columns and Back pills (12:09). */
.pfg-toplist--v2 .v2-arrow { position: relative; z-index: 6; pointer-events: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: 8px; padding: 0; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 50%; background: var(--wp--preset--color--bg-page, #101219); color: var(--text-1, #F2F3F8); cursor: pointer; }
.pfg-toplist--v2 .v2-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfg-toplist--v2 .v2-arrow:hover:not(:disabled) { border-color: var(--acc, #e6ff00); }
.pfg-toplist--v2 .v2-arrow:disabled { opacity: .4; cursor: default; }
.pfg-toplist--v2 .v2-arrow:focus { outline: none; }
.pfg-toplist--v2 .v2-arrow:focus-visible { box-shadow: 0 0 0 2px var(--acc, #e6ff00); }
.pfg-toplist--v2 .v2-arrow[hidden] { display: none !important; }
html.pfg-v2-cards .pfg-toplist--v2 .v2-arrow { display: none !important; }
@media (max-width: 760px) { .pfg-toplist--v2 .v2-arrow { display: none !important; } }

/* 27/10-20 (Jovana 12:26, 12:31; board 12:28, 12:33): the filter panel.
   1. Platforms: no scroll inside the panel's scroll (its white bar covered the counts). Top eight,
      the rest behind an inline Show more; a search reaches every row.
   2. Options the current draft cannot narrow hide (panel-draft.php recount) instead of reading 0.
   3. Thin dark scrollbars on the panel body, in our tokens.
   4. A clicked tab shows only its underline; the outline is for keyboard focus. */
.sf2-list__rows { max-height: none; overflow: visible; }
.sf2-list .sf2-more { display: none; }
.sf2-list:is(.is-all, .is-q) .sf2-more { display: flex; }
.sf2-list:is(.is-all, .is-q) .sf2-showall { display: none; }
.sf2-list .sf2-showall { justify-self: start; padding: 0; }
.sf2 .is-gone { display: none !important; }
.sf2 :is(.sf2__body, .sf3__body, .sf2-list__rows) { scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--grid-line, #2A3040) transparent; }
.sf2 ::-webkit-scrollbar { width: 8px; height: 8px; }
.sf2 ::-webkit-scrollbar-track { background: transparent; }
.sf2 ::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--wp--preset--color--grid-line, #2A3040); }
.sf2 ::-webkit-scrollbar-thumb:hover { background: #3A4256; }
.sf2 .sf2-tab:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; border-color: transparent !important; }
.sf2 .sf2-tab:focus-visible { outline: 2px solid var(--acc, #e6ff00); outline-offset: -2px; border-radius: 8px; }

/* 27/10-22 (Jovana 12:35, "the yellow glow transfers on the expansion box"): the scroll-hint fade
   (.v2-edge, z 5) is drawn the full height of the table, so it ran down through an open detail box.
   The open box paints above it, on the row's own background; the box already stays the width of
   the visible table (sticky td, 100cqw). */
.pfg-toplist--v2 .v2-tableview tbody.pfg-row.is-x > tr.v2-more > td { z-index: 6; background: rgb(23, 27, 38); }

/* Board 12:54 (her after-crop of 27/10-22): an open row showed a 14px strip of scrolled cells
   (Overnight "Allowed") right of the pinned chevron, because the 14px cover above is switched off
   on open rows (line 283). Open rows keep the cover, flat: no border, no rounding. */
@media (min-width: 761px) {
	.pfg-toplist--v2 .v2-tableview tbody.pfg-row.is-x > tr:is(.v2-top.v2-t2, .v2-t3) > .v2-tg::after { display: block !important; top: 0; bottom: 0; border: 0; border-radius: 0; }
}

/* 27/10-23 (Jovana's ref briefs/presets-2026-10-27/, picks 13:06-13:07): four Recommended tiles,
   smaller than the market tiles, under them in both panels. */
.sf2-presets { display: grid; gap: 10px; margin: 14px 0 4px; }
.sf2-presets__h { margin: 6px 0 0; }
.sf2-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sf2-pt { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 76px; padding: 10px 12px; border: 1px solid var(--wp--preset--color--grid-line, #2A3040); border-radius: 14px; background: rgba(255, 255, 255, .02); color: var(--text-1, #F2F3F8); font: 600 13px/1.25 var(--wp--preset--font-family--body, Manrope), sans-serif; text-align: left; cursor: pointer; }
.sf2-pt__i { width: 20px; height: 20px; color: var(--text-2, #C5C9D6); }
.sf2-pt:hover { border-color: #3A4256; }
.sf2-pt.is-on { border-color: var(--acc, #e6ff00); box-shadow: inset 0 0 0 1px var(--acc, #e6ff00); }
.sf2-pt.is-on .sf2-pt__i { color: var(--acc, #e6ff00); }
.sf2-pt:focus:not(:focus-visible) { outline: none; }
.sf2-pt:focus-visible { outline: 2px solid var(--acc, #e6ff00); outline-offset: 2px; }
@media (max-width: 760px) {
	.sf2-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sf2-pt { min-height: 64px; }
}

/* 27/10-21 (Jovana 12:29 "too messy", picked "Plain sliders"; 13:21 "basic sliders"): the rule
   ranges (Max loss, Daily loss limit, Profit target, Min days) are plain thin sliders, the picked
   span written on the right. Only Price keeps a small chart: grey bars, the picked range yellow. */
.sf2 .sf2-range .pfg-hist__bars { display: none !important; }
.sf2 .sf2-range { margin: 2px 0 10px; }
.sf2 .sf2-range .pfg-hist__track { height: 24px; }
.sf2 .sf2-range .pfg-hist__track::before, .sf2 .sf2-range .pfg-hist__track::after { top: 11px; }
.sf2 .sf2-range .pfg-hist__track input { height: 24px; }
.sf2 .sf2-range .pfg-hist__track input::-webkit-slider-runnable-track { height: 24px; }
.sf2 .sf2-range .pfg-hist__track input::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: 3px; }
.sf2 .sf2-range .pfg-hist__track input::-moz-range-thumb { width: 18px; height: 18px; }
.sf2 .pfg-hist:not(.sf2-range) .pfg-hist__bars { height: 36px; }
.sf2 .pfg-hist:not(.sf2-range) .pfg-hist__bars i { background: #2f3545; }
.sf2 .pfg-hist:not(.sf2-range) .pfg-hist__bars i.is-in { background: var(--acc, #e6ff00); }

/* Batch 27/10 (Jovana 13:20 "slightly less prominent not so yellow"): the applied chips under the
   bar read like the panel's Selected chips: dark fill, thin soft-yellow outline, white text, small
   x. Yellow stays for the main actions (Show N, Visit, the toggle). Replaces Fix 66's solid chip. */
.pfg-fbar-wrap--v2 .pfg-sf-chip,
.pfg-fbar-wrap--v2 .pfg-sf-chip:is(:hover, :focus, :focus-visible) { background: var(--wp--preset--color--bg-page, #101219) !important; border: 1px solid rgba(var(--acc-rgb, 230, 255, 0), .45) !important; color: var(--text-1, #F2F3F8) !important; filter: none !important; }
.pfg-fbar-wrap--v2 .pfg-sf-chip:is(:hover, :focus-visible) { border-color: var(--acc, #e6ff00) !important; }
.pfg-fbar-wrap--v2 .pfg-sf-chip > span[aria-hidden] { font-size: 13px; opacity: .7; }

/* Batch 27/10 (board 13:35): Recommended tiles a touch smaller than the 80px market tiles, label
   on two lines, instead of 124px wide. */
@media (min-width: 761px) {
	.sf2:not(.sf3) .sf2-pt { width: 84px; min-height: 76px; padding: 8px; gap: 4px; font-size: 11.5px; line-height: 1.2; }
	.sf2:not(.sf3) .sf2-pt .sf2-pt__i { width: 16px; height: 16px; }
}

/* 27/10-33 (Jovana 14:02-14:04): the drawdown sketch, last fact tile in the Challenges expand row,
   two columns wide, chart 60px; numbers in the table never break onto two lines. */
.pfg-toplist--v2 tr.v2-more .x-grid--cx > .v2-dd { grid-column: span 2; }
.v2-dd__row { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; }
.v2-dd__svg { display: block; width: 240px; max-width: 100%; height: 60px; flex: none; }
.v2-dd__bal { fill: none; stroke: var(--acc, #e6ff00); stroke-width: 2; stroke-linejoin: round; }
.v2-dd__floor { fill: none; stroke: #EB4749; stroke-width: 1.6; stroke-dasharray: 4 3; }
.v2-dd__svg .dd-day { stroke: #2A3040; stroke-width: 1; }
.v2-dd__leg { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #979CAD; white-space: nowrap; }
.v2-dd__k { display: inline-block; width: 12px; margin-right: 5px; vertical-align: middle; border-top: 2px solid var(--acc, #e6ff00); }
.v2-dd__k--floor { border-top: 2px dashed #EB4749; }
.v2-dd__facts { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-1, #F2F3F8); }
.v2-dd__note { display: block; margin-top: 2px; font-size: 10.5px; color: #7A8094; }
@media (max-width: 760px) {
	.pfg-toplist--v2 tr.v2-more .x-grid--cx > .v2-dd { grid-column: 1 / -1; }
}
.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > td.v2-f { overflow-wrap: normal; word-break: keep-all; }
.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > td.v2-f:not(.v2-cx--first):not(.v2-cx--freq) { white-space: nowrap; }
@media (max-width: 760px) {
	/* 27/10-33 phone: the Challenges expand box breathes at the edges, and short values never split. */
	.pfg-toplist--v2 .v2-tableview:has(tr.v2-alt--ch) tr.v2-more > td { padding-left: 12px !important; padding-right: 12px !important; }
	.pfg-toplist--v2 tr.v2-more .x-cell .x-v { overflow-wrap: normal !important; word-break: normal !important; }
}

/* Board 14:15 (Jovana 14:12 shot): "+N more" under a firm name shows no boxed ring after a click;
   the ring stays for keyboard focus only, like the tabs. */
.pfg-toplist--v2 .v2-firmmore:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.pfg-toplist--v2 .v2-firmmore:focus-visible { outline: 2px solid var(--acc, #e6ff00); outline-offset: 2px; border-radius: 4px; }

/* The expand control is a quiet "More", not a yellow disc beside Visit: accent belongs to the CTA.
   In the table the whole row opens it (toplist-v2.js); links, buttons and codes keep their own click. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tog,
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 tbody.pfg-row.is-x .v2-tog,
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard .v2-pcard__tog,
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard:has(.v2-pcard__more[open]) .v2-pcard__tog { display: inline-flex !important; align-items: center !important; gap: 3px; width: auto !important; min-width: 0; height: auto !important; min-height: 32px; padding: 0 2px !important; background: none !important; border: 0 !important; border-radius: 6px !important; color: var(--text-2, #B8BDCB) !important; font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; transform: none !important; filter: none !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-tog:hover,
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 tbody.pfg-row.is-x .v2-tog,
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard:has(.v2-pcard__more[open]) .v2-pcard__tog { color: var(--text-1, #F2F3F8) !important; }
.pfg-toplist--v2.pfg-toplist--v2 .v2-tog svg { width: 11px; height: 11px; }
.pfg-toplist--v2.pfg-toplist--v2 tbody.pfg-row.is-x .v2-tog svg { transform: rotate(180deg); }
.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr:not(.v2-more) { cursor: pointer; }
.pfg-toplist--v2 .v2-tableview tbody.pfg-row > tr:not(.v2-more):hover > td { border-color: var(--border-strong, rgba(255, 255, 255, .14)); }

/* The activation fee the price sort counts, stated under the price. Quiet: the price stays the accent. */
.pfg-toplist--v2 .f-pr .f-fee { display: block; flex-basis: 100%; grid-column: 1 / -1; margin-top: 2px; color: var(--text-3, #979CAD); font-size: 11px; font-weight: 400; line-height: 1.2; text-align: center; white-space: nowrap; }

/* ===== One deal control (Jovana and Tim, 12/11): the code and "Copy & visit" in one dashed pill,
   spanning the Code and CTA columns; a firm without a code gets just Visit, lined up with it. ===== */
.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr > td.v2-cv { grid-column: span 2 !important; grid-area: auto / span 2 !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end !important; min-width: 0; padding: 0 6px !important; border-left: 0 !important; }
@media (min-width: 761px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview tbody.pfg-row tr.v2-top.v2-t2 > td.v2-cv { right: 70px; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tr.v2-t3 > td.v2-cv { right: 54px !important; }
}
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 300px; height: 40px; box-sizing: border-box; padding: 3px 3px 3px 14px; border: 1px dashed rgba(var(--acc-rgb), .7); border-radius: 999px; background: rgba(var(--acc-rgb), .06); }
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv .f-cv__code { flex: 1 1 auto; min-width: 0; width: auto !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; font: 700 13px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; letter-spacing: .04em; color: var(--text-1, #F2F3F8); }
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv .f-cv__code .f-c1 { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfg-toplist--v2 .f-cv__go { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--acc); color: var(--acc-ink, #1C042F) !important; font: 700 13px/1 var(--wp--preset--font-family--body, Manrope), sans-serif; white-space: nowrap; text-decoration: none !important; }
[data-world="futures"] .pfg-toplist--v2 .f-cv__go, .pfg-toplist--v2[data-world="futures"] .f-cv__go { color: #14160A !important; }
.pfg-toplist--v2 .f-cv__go svg { width: 14px; height: 14px; flex: 0 0 auto; }
.pfg-toplist--v2 .f-cv__go:hover { filter: brightness(1.06); }
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv.f-cv--plain { justify-content: flex-end; border-color: transparent; background: none; padding-left: 3px; }
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv--plain .f-visit { width: auto !important; min-width: 122px; max-width: none !important; box-sizing: border-box; height: 32px !important; margin: 0 !important; padding: 0 14px; border-radius: 999px; font: 700 13px/1 var(--wp--preset--font-family--body, Manrope), sans-serif !important; letter-spacing: normal; }
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv--plain .f-code { width: auto; flex: 1 1 auto; margin-right: 8px; }
/* The row toggle is the chevron alone on phones; "More" crowded the CTA (Jovana 12/11). */
@media (max-width: 767px) { .pfg-toplist--v2 .v2-tableview .v2-tog__t { display: none !important; } }
/* Challenges between 761 and 1599px: the two columns are narrower, so the pill tightens and drops the arrow. */
@media (min-width: 761px) and (max-width: 1599px) {
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row td.v2-cv .f-cv { padding-left: 10px; gap: 6px; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row td.v2-cv .f-cv__go { padding: 0 11px; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row td.v2-cv .f-cv__go svg { display: none; }
	.pfg-toplist--v2.pfg-toplist--v2 .v2-tableview.v2-tv-t3 tbody.pfg-row td.v2-cv .f-cv--plain .f-visit { min-width: 92px; }
}
.pfg-toplist--v2.pfg-toplist--v2 :is(tbody.pfg-row td.v2-cv, .v2-cta) .f-cv--long :is(.f-cv__code, .f-c1) { font-size: 10.5px !important; letter-spacing: 0 !important; }
/* Cards (owner 13/11): the same horizontal pill as the table, code then "Copy & visit"; a firm with
   no code gets the same 122x32 Visit. The buy column is widened below so the pill fits. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv { width: fit-content; max-width: 100%; min-width: 0; margin: 0 auto !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv:not(.f-cv--plain) { flex-direction: row; align-items: center; height: 40px; padding: 3px 3px 3px 14px; gap: 8px; border-radius: 999px; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv .f-cv__code { order: 0 !important; margin: 0 !important; flex: 1 1 auto; min-width: 0; height: auto !important; justify-content: flex-start !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv .f-cv__go { order: 1 !important; margin: 0 !important; width: auto; height: 32px; padding: 0 14px; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv--plain { display: flex; justify-content: flex-end; height: 40px; padding: 3px; border-color: transparent; background: none; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-cta .f-cv--plain .f-visit.f-visit.f-visit.f-visit { width: auto !important; min-width: 122px !important; max-width: none !important; height: 32px !important; min-height: 32px !important; margin: 0 !important; padding: 0 14px; font: 700 13px/1 var(--wp--preset--font-family--body, Manrope), sans-serif !important; }
/* The chevron sits a few px into the buy column on tablet and laptop cards: keep 15px clear of it. */
@media (min-width: 768px) { .pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-cta .f-cv { width: 258px !important; } }
@media (min-width: 768px) and (max-width: 1599px) { .pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-pcard .v2-cta .f-cv { margin: 0 15px 0 auto !important; } }
@media (max-width: 767px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cta .f-cv { width: 100%; }
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .v2-cta .f-cv--plain .f-visit.f-visit.f-visit.f-visit { width: 100% !important; }
}
@media (min-width: 1600px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(190px, 1.15fr) 84px minmax(200px, 1.25fr) minmax(170px, 1fr) minmax(110px, .6fr) 172px 276px 52px; }
}
@media (min-width: 1366px) and (max-width: 1599px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.2fr) 68px minmax(0, 1.1fr) minmax(0, .95fr) minmax(120px, .75fr) 136px 286px 40px; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.05fr) 64px minmax(0, 1.3fr) minmax(0, .9fr) minmax(110px, .6fr) 124px 282px 36px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview .pfg-pick.v2-pcard.v2-pcard--t2 { grid-template-columns: minmax(0, 1.4fr) 84px minmax(0, .8fr) minmax(282px, auto) 52px !important; }
}
/* Challenge cards (owner 13/11): the buy half is ~160-200px, too narrow for the horizontal pill, so
   the deal control takes its own full-width row under the price: code then "Copy & visit", or Visit. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-cta .f-cv { grid-column: 1 / -1 !important; grid-row: auto !important; order: 1; width: 100% !important; max-width: none; margin: 0 0 14px !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid .v2-card--ch .v2-cta .f-cv--plain .f-visit.f-visit.f-visit.f-visit { width: 100% !important; }
/* Challenge cards (owner 13/11): four across on desktop, three on small laptops, two on tablets. */
@media (min-width: 1280px) { .pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid .pfg-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid .pfg-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Challenge cards (owner 13/11): the price reads on one line from the card's left edge, the
   strike-through or the fee beside it, in a fixed-height row so every card's price and button line up. */
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price { grid-column: 1 / -1 !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; height: 64px; margin: 16px 0 0 !important; padding: 12px 0 !important; box-sizing: border-box; text-align: left !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price .f-pr { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: baseline !important; justify-content: flex-start !important; gap: 4px 8px; margin: 0 !important; text-align: left !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price .f-pay { order: 0; font-size: 24px; line-height: 1; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price :is(.fx-was, .f-fee) { order: 1; margin: 0 !important; font-size: 13px; line-height: 1; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price .f-sz { order: 2; align-self: center; margin: 0 !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price :is(.fx-was, .f-fee) { flex: 0 0 auto !important; width: auto !important; }
.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2.pfg-toplist--v2 .v2-cardview--chgrid.v2-cardview--chgrid .v2-card.v2-card--ch.v2-card--ch .v2-card__buy > .v2-price .f-sz { position: static !important; }
