/* Pacorips World Wealthiest Country interactive widget. Version: 11.19.85.
   Fully scoped: safe inside unrelated themes, blocks and network subsites. */
.tbfab-top-ten {
    --active-hue: 160;
    --ww-ink: #effbff;
    --ww-muted: #aec4d4;
    --ww-line: rgba(174, 211, 228, .18);
    position: relative;
    isolation: isolate;
    width: min(100%, 1120px);
    box-sizing: border-box;
    margin: 1.4rem auto;
    overflow: visible;
    border: 1px solid rgba(104, 190, 220, .34);
    border-radius: 26px;
    background: #0c1d31;
    color: var(--ww-ink);
    box-shadow: 0 22px 70px rgba(5, 24, 47, .24);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tbfab-top-ten *, .tbfab-top-ten *::before, .tbfab-top-ten *::after {box-sizing: border-box}
.tbfab-top-ten [hidden] {display: none !important}
.tbfab-top-ten button, .tbfab-top-ten a {font: inherit}
.tbfab-top-ten a {text-decoration: none}
.tbfab-top-ten button {cursor: pointer}
.tbfab-top-ten :is(a,button):focus-visible {outline: 3px solid #f8d36b;outline-offset: 3px}
.tbfab-top-ten__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4.5vw, 48px);
    border-radius: 25px 25px 0 0;
    background:
        radial-gradient(circle at 92% 18%, rgba(90, 76, 240, .6), transparent 39%),
        radial-gradient(circle at 64% 85%, rgba(20, 203, 181, .3), transparent 49%),
        linear-gradient(115deg, #0d2d40, #151c4c 80%);
}
.tbfab-top-ten__hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -110px;
    top: -112px;
    border: 36px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}
.tbfab-top-ten__brand {display: flex;align-items: center;gap: 9px;flex-wrap: wrap;font-size: .7rem;font-weight: 800;letter-spacing: .16em;color: #b8eaff}
.tbfab-top-ten__brand span:last-child {color: #cbbdff}
.tbfab-top-ten__brand-mark {display: inline-grid;place-items: center;width: 29px;height: 29px;border-radius: 10px;background: #19cfa9;color: #092e31;font-size: 1.25rem;letter-spacing: 0}
.tbfab-top-ten__hero h2 {position: relative;margin: 16px 0 8px;color: #fff;font-size: clamp(1.85rem, 3.8vw, 3.25rem);line-height: 1.08;letter-spacing: -.04em;font-weight: 850}
.tbfab-top-ten__hero p {position: relative;margin: 0;max-width: 650px;color: #d8e6fa;font-size: clamp(.93rem, 1.55vw, 1.08rem);line-height: 1.55}
.tbfab-top-ten__hero-meta {display: flex;flex-wrap: wrap;gap: 8px;align-items: center;width: fit-content;max-width: 100%;margin-top: 25px;padding: 8px 12px;border: 1px solid rgba(194, 230, 249, .2);border-radius: 999px;background: rgba(0, 14, 25, .23);color: #c8e4ee;font-size: .78rem}
.tbfab-top-ten__hero-meta strong {color: #fff}
.tbfab-top-ten__live-dot {width: 8px;height: 8px;border-radius: 50%;background: #48f4ad;box-shadow: 0 0 0 4px rgba(72, 244, 173, .16)}
.tbfab-top-ten__meta-sep {opacity: .45}
.tbfab-top-ten__nav-head {display: flex;justify-content: space-between;gap: 10px;align-items: baseline;margin: 24px 26px 10px}
.tbfab-top-ten__nav-head strong {font-size: .93rem;color: #f6fbff}
.tbfab-top-ten__nav-head > span {color: var(--ww-muted);font-size: .76rem}
.tbfab-top-ten__category-navigation {display: flex;align-items: center;gap: 9px;margin: 0 22px}
.tbfab-top-ten__category-track {display: flex;gap: 8px;min-width: 0;overflow-x: auto;padding: 7px 3px 13px;scrollbar-width: thin;scrollbar-color: #547a92 transparent;scroll-snap-type: x proximity;overscroll-behavior-inline: contain}
.tbfab-top-ten__tab {flex: 0 0 auto;max-width: min(295px, 80vw);display: inline-flex;align-items: center;gap: 8px;padding: 11px 15px;border: 1px solid var(--ww-line);border-radius: 999px;background: #1c344b;color: #cbdbea;font-size: .78rem;font-weight: 700;white-space: nowrap;scroll-snap-align: start;transition: background .16s,border-color .16s,color .16s}
.tbfab-top-ten__tab span {font-size: 1.1rem;color: hsl(var(--lens-hue, 164) 88% 69%)}
.tbfab-top-ten__tab:hover {color: #fff;background: #2b4a65;border-color: #6993ad}
.tbfab-top-ten__tab.is-active {color: #071e2e;background: #e9fbfe;border-color: #d3faff;box-shadow: 0 3px 16px rgba(84, 240, 233, .17)}
.tbfab-top-ten__tab.is-active span {color: #007f6c}
.tbfab-top-ten__scroll {display: grid;place-items: center;flex: 0 0 33px;width: 33px;height: 33px;padding: 0;border: 1px solid #49758f;border-radius: 50%;background: #18354e;color: white;font-size: 1.45rem;line-height: 1}
.tbfab-top-ten__scroll:hover {background: #286080}
.tbfab-top-ten__list-head {display: flex;justify-content: space-between;gap: 16px;align-items: center;margin: 12px 27px 15px;padding-top: 18px;border-top: 1px solid var(--ww-line)}
.tbfab-top-ten__list-head small {display: block;color: #7ff1ce;font-size: .66rem;font-weight: 800;letter-spacing: .18em}
.tbfab-top-ten__list-head h3 {margin: 4px 0 0;color: #fff;font-size: clamp(1.05rem,2vw,1.4rem);font-weight: 800;line-height: 1.3}
.tbfab-top-ten__list-head > span {white-space: nowrap;color: #9fbee0;font-size: .78rem}
.tbfab-top-ten__list {display: grid;gap: 9px;list-style: none;margin: 0;padding: 0 25px 26px}
.tbfab-top-ten__row {display: grid;grid-template-columns: 52px minmax(0, 1fr) 44px 112px;gap: clamp(8px,1.6vw,17px);align-items: center;min-height: 74px;padding: 11px 16px;border-radius: 17px;border: 1px solid rgba(155, 190, 214, .14);background: linear-gradient(108deg, rgba(28, 55, 76, .94), rgba(24, 40, 66, .84));transition: transform .15s ease,border-color .15s ease,background .15s ease}
.tbfab-top-ten__row:hover {transform: translateY(-1px);border-color: rgba(90, 224, 194, .5);background: linear-gradient(110deg, #1e4b61, #25375e)}
.tbfab-top-ten__rank {display: grid;place-items: center;min-width: 42px;min-height: 42px;padding: 7px 3px;border-radius: 13px;background: rgba(49, 171, 170, .16);color: #78f5dd;font-weight: 850;font-size: 1.04rem;font-variant-numeric: tabular-nums;border: 1px solid rgba(75, 214, 196, .21)}
.tbfab-top-ten__rank:hover {background: #1b7d79;color: #fff}
.tbfab-top-ten__row:first-child .tbfab-top-ten__rank {background: #ffcf65;border-color: #ffe99b;color: #573e09}
.tbfab-top-ten__country {display: flex;gap: 12px;align-items: center;min-width: 0;color: #fff!important}
.tbfab-top-ten__country:hover strong {text-decoration: underline;text-decoration-thickness: 1px;text-underline-offset: 3px}
.tbfab-top-ten__flag {flex: 0 0 35px;display: grid;place-items: center;width: 35px;height: 35px;border-radius: 11px;background: #243e53;font-size: 1.36rem}
.tbfab-top-ten__names {display: flex;flex-direction: column;gap: 4px;min-width: 0}
.tbfab-top-ten__names strong {color: #f5fbff;font-size: clamp(.87rem,1.7vw,1rem);font-weight: 750;line-height: 1.24;overflow-wrap: anywhere}
.tbfab-top-ten__names small {color: #afc6d8;font-size: .73rem;line-height: 1.3}
.tbfab-top-ten__bars {display: grid;place-items: center;width: 42px;height: 42px;border: 1px solid rgba(132, 157, 237, .38);border-radius: 13px;background: rgba(84, 96, 189, .18);color: #c3c4ff!important}
.tbfab-top-ten__bars:hover {background: #5c5fbb;color: #fff!important}
.tbfab-top-ten__score {display: grid;gap: 9px;text-align: right;justify-items: end;min-width: 0}
.tbfab-top-ten__score strong {color: #fff;font-size: .99rem;font-weight: 800;letter-spacing: -.01em;font-variant-numeric: tabular-nums}
.tbfab-top-ten__meter {display: block;overflow: hidden;width: 100%;height: 7px;border-radius: 20px;background: #324a65}
.tbfab-top-ten__meter i {display: block;height: 100%;border-radius: inherit;background: linear-gradient(90deg, #52bff4, #4ae9b3);min-width: 0}
.tbfab-top-ten__none {padding: 30px;text-align: center;color: var(--ww-muted)}
.tbfab-top-ten__footer {display: flex;align-items: center;justify-content: space-between;gap: 22px;padding: 18px 27px 24px;border-top: 1px solid var(--ww-line)}
.tbfab-top-ten__footer p {max-width: 560px;margin: 0;color: #a9c3d0;font-size: .79rem;line-height: 1.5}
.tbfab-top-ten__footer > a {flex: 0 0 auto;color: #68efd9!important;font-size: .83rem;font-weight: 800}
.tbfab-top-ten__footer > a:hover {text-decoration: underline}
.tbfab-top-ten__dialog {position: fixed;inset: 0;z-index: 2147483600;width: min(780px,calc(100vw - 24px));max-width: 100%;max-height: min(88dvh,950px);margin: auto;padding: 0;border: 1px solid #72b4d1;border-radius: 23px;background: #10283a;color: #f4fbff;box-shadow: 0 30px 105px rgba(2,8,18,.58);overscroll-behavior: contain}
.tbfab-top-ten__dialog::backdrop {background: rgba(3,10,26,.8);backdrop-filter: blur(6px)}
.tbfab-top-ten__dialog-frame {display: flex;flex-direction: column;min-height: 0;max-height: inherit}
.tbfab-top-ten__dialog-head {display: flex;justify-content: space-between;align-items: flex-start;gap: 16px;position: sticky;top: 0;z-index: 2;padding: 23px 25px 16px;background: linear-gradient(110deg, #183a54, #1f2863);border-bottom: 1px solid rgba(164,223,241,.22)}
.tbfab-top-ten__dialog-head small {color: #85ead5;font-weight: 800;letter-spacing: .13em;font-size: .65rem}
.tbfab-top-ten__dialog-head h3 {margin: 6px 0 0;color: #fff;line-height: 1.2;font-size: clamp(1.24rem,3vw,1.8rem)}
.tbfab-top-ten__close {display: grid;place-items: center;flex: 0 0 40px;width: 40px;height: 40px;padding: 0;border: 1px solid #75a0b5;border-radius: 50%;background: rgba(19,36,58,.6);color: #fff;font-size: 1.7rem;line-height: 1}
.tbfab-top-ten__close:hover {background: #2f6675}
.tbfab-top-ten__dialog-body {padding: 20px 24px;overflow-y: auto;overscroll-behavior: contain}
.tbfab-top-ten__dialog-intro {margin: 0 0 17px;color: #c0d5df;font-size: .85rem;line-height: 1.5}
.tbfab-top-ten__score-grid {display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 10px}
.tbfab-top-ten__score-detail {padding: 12px 13px;border: 1px solid rgba(139,189,211,.2);border-radius: 12px;background: #18344a}
.tbfab-top-ten__score-detail.is-highlighted {border-color: #65e8b6;background: #224d52}
.tbfab-top-ten__score-detail-top {display: flex;justify-content: space-between;gap: 9px;align-items: baseline;margin-bottom: 12px}
.tbfab-top-ten__score-detail-top span {font-size: .78rem;line-height: 1.4;color: #e3f1f9}
.tbfab-top-ten__score-detail-top strong {flex: 0 0 auto;color: #fff;font-size: .8rem;font-weight: 800;font-variant-numeric: tabular-nums}
.tbfab-top-ten__diverge {position: relative;height: 8px;border-radius: 20px;background: linear-gradient(90deg,#3e5274 0%,#3e5274 50%,#496783 50%,#496783 100%)}
.tbfab-top-ten__zero {position: absolute;top: -3px;bottom: -3px;left: calc(50% - 1px);z-index: 1;width: 2px;background: #bbd5e2}
.tbfab-top-ten__diverge-fill {position: absolute;top: 0;bottom: 0;border-radius: 10px;background: hsl(var(--detail-hue,170) 79% 61%)}
.tbfab-top-ten__rank-panel .tbfab-rank-chart {position: relative;max-width: 100%;color: #e9fcff}
.tbfab-top-ten__rank-panel .tbfab-history-graph-scroll {overflow-x:auto;max-width: 100%;border: 1px solid #3a6579;border-radius: 12px;background: #18394c;overscroll-behavior-x: contain}
.tbfab-top-ten__rank-panel .tbfab-history-graph-scroll svg {display: block;width: max-content;max-width: none;min-width: 650px;height: 254px;color: #e9fcff}
.tbfab-top-ten__rank-panel .tbfab-history-graph-scroll text {fill: currentColor;font-size: 13px}
.tbfab-top-ten__rank-panel .tbfab-history-axis {stroke: currentColor;stroke-opacity: .35}
.tbfab-top-ten__rank-panel .tbfab-history-line {stroke: #51e5b3;stroke-width: 3;stroke-linecap: round;stroke-linejoin: round;fill:none}
.tbfab-top-ten__rank-panel .tbfab-rank-current-label {fill: #7df2cc;font-weight: 800;font-size: 14px}
.tbfab-top-ten__rank-panel [data-tbfab-rank-dot] circle {fill: #d8faff;stroke: #128872;stroke-width: 2.5;cursor: pointer}
.tbfab-top-ten__rank-panel [data-tbfab-rank-dot].is-selected circle,
.tbfab-top-ten__rank-panel [data-tbfab-rank-dot]:focus circle {fill: #ffd77a;stroke: #a46817;stroke-width: 3}
.tbfab-top-ten__rank-panel .tbfab-rank-chart-tooltip {position: absolute;z-index: 3;max-width: min(260px,90%);padding: 9px 12px;border-radius: 10px;border: 1px solid #7ef1c5;background: #092c35;color: #fff;font-size: .79rem;pointer-events: none}
.tbfab-top-ten__rank-panel .tbfab-rank-chart-tooltip[hidden] {display: none}
.tbfab-top-ten__rank-panel .tbfab-rank-chart-hint {margin: 10px 0;color: #b1c6d4;font-size: .76rem;line-height: 1.5}
.tbfab-top-ten__dialog-footer {display: flex;flex-wrap: wrap;gap: 14px;justify-content: space-between;align-items: center;padding: 15px 24px 20px;border-top: 1px solid rgba(150,195,214,.25)}
.tbfab-top-ten__dialog-footer a {color: #79e9d4!important;font-weight: 750;font-size: .84rem}
.tbfab-top-ten__dialog-footer a:hover {text-decoration: underline}
/* A genuine zero axis: below-zero country scores extend LEFT in red. */
.tbfab-top-ten__row.is-negative {border-color: rgba(255,113,130,.33);background: linear-gradient(108deg,rgba(91,38,62,.6),rgba(41,38,65,.88))}
.tbfab-top-ten__row.is-negative:hover {border-color: rgba(255,151,143,.67);background:linear-gradient(108deg,#57314b,#313452)}
.tbfab-top-ten__row.is-negative .tbfab-top-ten__score strong {color: #ffb8b7}
.tbfab-top-ten__meter {position:relative;overflow:hidden;background:linear-gradient(90deg,#57364e 0%,#57364e 50%,#245363 50%,#245363 100%)}
.tbfab-top-ten__meter::after {content:"";position:absolute;left:calc(50% - 1px);top:0;bottom:0;width:2px;background:#b7d6e4;z-index:1}
.tbfab-top-ten__meter i {position:absolute;top:0;bottom:0;border-radius:8px;background:linear-gradient(90deg,#54c8e9,#4af4b4)}
.tbfab-top-ten__row.is-negative .tbfab-top-ten__meter i {background:linear-gradient(90deg,#ff7b8c,#ed486d)}
.tbfab-top-ten__score-detail.is-negative {border-color:rgba(255,122,139,.35);background:#392c42}
.tbfab-top-ten__score-detail.is-negative.is-highlighted {border-color:#ff91ab;background:#4a324a}
.tbfab-top-ten__score-detail.is-negative .tbfab-top-ten__score-detail-top strong {color:#ffb8b7}
.tbfab-top-ten__score-detail.is-negative .tbfab-top-ten__diverge-fill {background:linear-gradient(90deg,#ff897f,#f25c80)}
.tbfab-top-ten__score-context {display:flex;gap:17px;align-items:center;flex-wrap:wrap;margin:0 0 20px}
.tbfab-top-ten__score-context .tbfab-top-ten__dialog-intro {margin:0;flex:1 1 280px}
.tbfab-top-ten__overall-badge {display:grid;gap:4px;flex:0 0 auto;min-width:126px;padding:12px 15px;border-radius:13px;background:#144c4b;border:1px solid rgba(112,232,193,.45)}
.tbfab-top-ten__overall-badge small {color:#a7e5d5;font-size:.59rem;font-weight:800;letter-spacing:.11em}
.tbfab-top-ten__overall-badge strong {color:#9df4d1;font-size:1.42rem;font-variant-numeric:tabular-nums}
.tbfab-top-ten__overall-badge.is-negative {background:#592f47;border-color:#f48397}
.tbfab-top-ten__overall-badge.is-negative small {color:#ffd5df}
.tbfab-top-ten__overall-badge.is-negative strong {color:#ffb6c3}
.tbfab-top-ten__section-title {margin:0 0 12px;color:#f4fbff;font-size:1.02rem;font-weight:800}
.tbfab-top-ten__money-section {margin-top:22px;padding-top:21px;border-top:1px solid var(--ww-line)}
.tbfab-top-ten__money-section + .tbfab-top-ten__section-title {margin-top:23px;padding-top:19px;border-top:1px solid var(--ww-line)}
.tbfab-top-ten__money-summary {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;border-radius:14px;background:linear-gradient(105deg,#173e56,#263363);border:1px solid rgba(147,188,239,.28)}
.tbfab-top-ten__money-summary > div {display:grid;gap:6px}
.tbfab-top-ten__money-summary small {color:#b3dbea;font-size:.65rem;font-weight:800;letter-spacing:.1em}
.tbfab-top-ten__money-summary strong {color:#fff;font-size:clamp(1.08rem,3vw,1.5rem)}
.tbfab-top-ten__gate-status {display:inline-flex;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,140,157,.4);background:#6c3048;color:#ffd5d9;font-size:.73rem;font-weight:800}
.tbfab-top-ten__gate-status.is-cleared {background:#145a51;border-color:#69d9bc;color:#d7fff3}
.tbfab-top-ten__money-total-track {height:10px;margin:11px 0 7px;background:#425071;border-radius:999px;overflow:hidden}
.tbfab-top-ten__money-total-track > span {display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fa9472,#fbc66c,#53dfb2)}
.tbfab-top-ten__money-note {font-size:.77rem;color:#b9d2dd;line-height:1.5;margin:9px 0 13px}
.tbfab-top-ten__money-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tbfab-top-ten__money-item {padding:12px;border:1px solid rgba(141,195,215,.23);background:#1b3850;border-radius:12px}
.tbfab-top-ten__money-item-head {display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:11px}
.tbfab-top-ten__money-item-head > span {color:#e4f5ff;font-size:.83rem}
.tbfab-top-ten__money-item-head > strong {color:#d3ffe9;font-size:.82rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.tbfab-top-ten__money-item.is-limited .tbfab-top-ten__money-item-head > strong {color:#ffc4ad}
.tbfab-top-ten__money-meter {overflow:hidden;height:8px;border-radius:10px;background:#4c5676}
.tbfab-top-ten__money-meter > span {display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#fa9b7c,#f5c76b,#57dabb)}
@media(max-width: 700px) {
    .tbfab-top-ten {border-radius: 19px}
    .tbfab-top-ten__hero {border-radius: 18px 18px 0 0;padding: 24px 21px}
    .tbfab-top-ten__nav-head {margin: 19px 16px 8px}
    .tbfab-top-ten__category-navigation {margin: 0 12px;gap: 5px}
    .tbfab-top-ten__scroll {flex-basis: 29px;width: 29px;height: 29px}
    .tbfab-top-ten__tab {padding: 10px 12px}
    .tbfab-top-ten__list-head {margin: 11px 15px 14px}
    .tbfab-top-ten__list {padding: 0 12px 17px;gap: 8px}
    .tbfab-top-ten__row {grid-template-columns: 43px minmax(0,1fr) 38px;gap: 7px;min-height: 82px;padding: 10px}
    .tbfab-top-ten__rank {min-width: 40px;min-height: 40px;font-size: .94rem}
    .tbfab-top-ten__flag {width: 29px;flex-basis: 29px;height: 29px;font-size: 1.13rem}
    .tbfab-top-ten__country {gap: 7px}
    .tbfab-top-ten__bars {width: 37px;height: 37px}
    .tbfab-top-ten__score {grid-column: 2 / span 2;grid-row: 2;display:flex;align-items:center;justify-content:flex-end;gap: 10px}
    .tbfab-top-ten__score strong {font-size: .86rem}
    .tbfab-top-ten__meter {width: min(42%,100px);height: 5px}
    .tbfab-top-ten__footer {padding: 16px;flex-wrap: wrap}
    .tbfab-top-ten__dialog-head {padding: 20px 16px 15px}
    .tbfab-top-ten__dialog-body {padding: 15px}
    .tbfab-top-ten__score-grid, .tbfab-top-ten__money-grid {grid-template-columns: minmax(0,1fr)}
    .tbfab-top-ten__score-context {align-items:stretch}
    .tbfab-top-ten__overall-badge {width:fit-content}
    .tbfab-top-ten__money-item-head {flex-wrap:wrap}
    .tbfab-top-ten__dialog-footer {padding: 15px}
}
@media(prefers-reduced-motion:reduce) {
    .tbfab-top-ten *, .tbfab-top-ten *::before, .tbfab-top-ten *::after {transition: none!important;scroll-behavior: auto!important}
}
