/* Best EAs (/robots) - MQL5 Market EAs with our own backtests. Navy + gold, like a premium robot catalog */
.rb-page { --rgold: #ffc23d; --rgold2: #ffdc85; --navy: #071223; --navy2: #0b1a30; --glass: rgba(10, 22, 40, .72); }
.rb-gold { background: linear-gradient(90deg, #ffb547, #ffd36b 55%, #ffe9b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb-btn-gold { background: linear-gradient(135deg, #ffc23d, #ffb020); color: #1b1300; border-color: transparent; font-weight: 700; box-shadow: 0 10px 34px rgba(255, 186, 52, .28); }
.rb-btn-gold:hover { box-shadow: 0 14px 44px rgba(255, 186, 52, .45); color: #1b1300; }
.rb-btn-dark { background: rgba(255, 255, 255, .05); border-color: var(--line2); }
.rb-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--label); margin-bottom: 10px; }
.rb-livedot { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #4fe3a9; }
.rb-livedot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22d39a; box-shadow: 0 0 12px #22d39a; animation: blink 1.4s infinite; }

/* hero */
.rb-hero { position: relative; overflow: hidden; padding: 84px 0 120px; background: radial-gradient(1000px 520px at 78% 30%, rgba(255, 186, 52, .10), transparent 60%), radial-gradient(900px 600px at 10% 0%, rgba(26, 115, 255, .16), transparent 60%), linear-gradient(180deg, #050c18, var(--bg)); }
.rb-fx { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.rb-glow { position: absolute; right: -10%; top: 8%; width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255, 194, 61, .10); box-shadow: inset 0 0 120px rgba(255, 194, 61, .06); pointer-events: none; animation: rbSpin 60s linear infinite; }
.rb-glow::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(92, 200, 255, .12); }
@keyframes rbSpin { to { transform: rotate(360deg); } }
.rb-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.rb-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rgold); }
.rb-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--rgold); box-shadow: 0 0 14px var(--rgold); }
.rb-hero h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin: 18px 0 20px; }
.rb-hero .lead { font-size: 17.5px; color: var(--label); max-width: 620px; margin: 0; }
.rb-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.rb-checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--label); font-size: 13.5px; }
.rb-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; font-size: 11px; color: #22d39a; border: 1px solid rgba(34, 211, 154, .5); }

/* featured panel */
.rb-feat { position: relative; padding: 20px; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(13, 27, 48, .88), rgba(6, 13, 25, .92)); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 194, 61, .05) inset; backdrop-filter: blur(10px); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s ease; }
.rb-feat:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.rb-feat-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rb-feat-list { display: grid; gap: 12px; }
.rb-fi { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: inherit; text-decoration: none; transition: border-color .3s, transform .3s, background .3s; opacity: 0; transform: translateX(24px); }
.rb-fi.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease, border-color .3s, background .3s; }
.rb-fi:hover { border-color: rgba(255, 194, 61, .45); background: rgba(255, 194, 61, .05); }
.rb-fi small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rb-fi b { display: block; font-size: 16px; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-fi em { font-style: normal; font-size: 12px; color: var(--label); }
.rb-fi .rb-fi-r { text-align: right; }
.rb-fi .rb-fi-r b { color: var(--rgold); font-size: 14px; }
.rb-skel { height: 98px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: rbShimmer 1.6s infinite; }
@keyframes rbShimmer { to { background-position: -200% 0; } }
.rb-feat-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rb-feat-kpi > div { text-align: center; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.rb-feat-kpi b { display: block; font-size: 20px; color: #fff; }
.rb-feat-kpi small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rb-feat-empty { padding: 26px 16px; text-align: center; color: var(--label); border: 1px dashed var(--line2); border-radius: 18px; font-size: 14px; }

/* product box art (cover image or a rendered box) */
.rb-art { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(255, 194, 61, .25), transparent 60%), linear-gradient(160deg, #10233f, #050b16); display: grid; place-items: center; }
.rb-art img { width: 100%; height: 100%; object-fit: cover; }
.rb-box { position: relative; width: 62%; aspect-ratio: .74; transform: perspective(500px) rotateY(-22deg); transform-style: preserve-3d; }
.rb-box > div { position: absolute; inset: 0; border-radius: 6px; padding: 9% 9%; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #0d1f3a 0%, #06101f 60%, #0d1f3a), #071223; border: 1px solid rgba(255, 194, 61, .45); box-shadow: 14px 18px 30px rgba(0, 0, 0, .55), inset 0 0 30px rgba(255, 194, 61, .12); overflow: hidden; }
.rb-box > div::before { content: ""; position: absolute; inset: auto -20% 18% -20%; height: 40%; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(34, 211, 154, .25) 7px 9px); transform: skewY(-12deg); opacity: .6; }
.rb-box > div::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); animation: rbGlint 5s ease-in-out infinite; }
@keyframes rbGlint { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.rb-box b { position: relative; font-size: clamp(9px, 1.3vw, 17px); line-height: 1.05; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .02em; word-break: break-word; }
.rb-box b span { color: var(--rgold); }
.rb-box small { position: relative; font-size: clamp(6px, .7vw, 9px); letter-spacing: .14em; color: var(--rgold2); font-weight: 700; }
.rb-box i { position: absolute; top: 2%; bottom: 2%; right: -10px; width: 10px; transform: rotateY(90deg); transform-origin: left; background: linear-gradient(180deg, #a87412, #ffc23d, #a87412); border-radius: 0 3px 3px 0; }
.rb-fi .rb-art { border-radius: 12px; }
.rb-fi .rb-box b { font-size: 7px; } .rb-fi .rb-box small { font-size: 4.5px; }

/* tiles */
.rb-tiles-sec { position: relative; z-index: 2; margin-top: -66px; }
.rb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rb-tile { padding: 20px 18px; border-radius: 18px; border: 1px solid var(--line2); background: var(--glass); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); transition: transform .35s, border-color .35s; }
.rb-tile:hover { transform: translateY(-4px); border-color: rgba(255, 194, 61, .4); }
.rb-tile i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-style: normal; color: var(--rgold); background: rgba(255, 194, 61, .1); border: 1px solid rgba(255, 194, 61, .3); margin-bottom: 12px; }
.rb-tile b { display: block; margin-bottom: 4px; }
.rb-tile span { font-size: 13px; color: var(--label); line-height: 1.5; }

/* top 3 */
.rb-top { padding: 28px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .1); background: radial-gradient(800px 300px at 80% 0%, rgba(255, 194, 61, .08), transparent 70%), linear-gradient(180deg, #0b1830, #050c18); box-shadow: var(--shadow); }
.rb-top-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 22px; }
.rb-top-h h2 { margin: 8px 0 0; }
.rb-top-h p { max-width: 420px; color: var(--label); font-size: 14px; margin: 0; }
.rb-top-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rb-t3 { position: relative; padding: 18px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease, border-color .3s; }
.rb-t3.in { opacity: 1; transform: none; }
.rb-t3:hover { border-color: rgba(255, 194, 61, .45); }
.rb-t3-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.rb-t3-h small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rb-t3-h h3 { margin: 4px 0 2px; font-size: 19px; }
.rb-t3-h em { font-style: normal; color: var(--rgold); font-weight: 700; font-size: 14px; }
.rb-rank { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 800; font-size: 13px; color: var(--rgold); border: 1px solid rgba(255, 194, 61, .55); background: rgba(255, 194, 61, .08); }
.rb-t3[data-rank="1"] .rb-rank { color: #1b1300; background: linear-gradient(135deg, #ffd36b, #ffb020); box-shadow: 0 0 22px rgba(255, 194, 61, .45); }
.rb-stats { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #f5f8fc; color: #0b1626; border-radius: 12px; overflow: hidden; }
.rb-stats td { padding: 6px 12px; border-bottom: 1px solid #e3e9f2; }
.rb-stats td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rb-stats tr:last-child td { border-bottom: 0; }
.rb-pos { color: #0a9d62 !important; } .rb-neg { color: #e0283f !important; }
.rb-spark { width: 100%; height: 64px; display: block; }
.rb-spark path.l { fill: none; stroke-width: 2; stroke-linejoin: round; }
.rb-acts { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
.rb-acts .btn { justify-content: center; padding: 10px; font-size: 13.5px; white-space: nowrap; }
.rb-acts .full { grid-column: 1 / -1; }
.rb-note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; }

/* catalog */
.rb-cat-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 22px; }
.rb-cat-h h2 { margin: 0; }
.rb-cat-h p { max-width: 380px; color: var(--label); font-size: 14px; margin: 0; }
.rb-bar { position: sticky; top: 72px; z-index: 20; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; padding: 10px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(7, 14, 26, .88); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .4); margin-bottom: 22px; }
.rb-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); min-width: 0; }
.rb-search span { color: var(--muted); }
.rb-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 11px 0; font: inherit; outline: none; }
.rb-chips { display: flex; gap: 6px; flex-wrap: nowrap; flex: 0 0 auto; }
.rb-chips button, #rb-sort { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--label); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.rb-chips button:hover { color: #fff; border-color: var(--line2); }
.rb-chips button.on { background: #fff; color: #071223; border-color: #fff; }
#rb-sort { background: #0b1626; color: #fff; flex: 0 0 auto; width: auto; min-width: 170px; margin: 0; }
.rb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rb-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(13, 26, 46, .95), rgba(6, 12, 22, .98)); overflow: hidden; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s; }
.rb-card.in { opacity: 1; transform: none; }
.rb-card:hover { border-color: rgba(255, 194, 61, .45); box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 194, 61, .07); }
.rb-card .rb-art { border-radius: 0; aspect-ratio: 16 / 10; }
.rb-card .rb-box { width: 34%; }
.rb-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 11px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #1b1300; background: var(--rgold); box-shadow: 0 6px 20px rgba(255, 194, 61, .35); }
.rb-bt { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #a8dcff; border: 1px solid rgba(25, 184, 255, .5); background: rgba(5, 12, 24, .8); backdrop-filter: blur(6px); }
.rb-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rb-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rb-meta .rb-stars { color: var(--rgold); letter-spacing: 0; text-transform: none; font-weight: 700; }
.rb-body h3 { margin: 0; font-size: 20px; }
.rb-body .rb-tag { margin: 0; color: var(--label); font-size: 13.5px; line-height: 1.5; min-height: 40px; }
.rb-price { display: flex; justify-content: space-between; align-items: flex-end; }
.rb-price small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rb-price b { font-size: 22px; }
.rb-price .pill { font-size: 11px; }
.rb-mini { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rb-mini > div { padding: 8px 6px; text-align: center; border-right: 1px solid var(--line); }
.rb-mini > div:last-child { border-right: 0; }
.rb-mini small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.rb-mini b { font-size: 14px; font-variant-numeric: tabular-nums; }
.rb-up { color: #2fe0a5; } .rb-down { color: #ff5c73; }
.rb-cmp { width: 100%; padding: 8px; border-radius: 10px; border: 1px dashed var(--line2); background: transparent; color: var(--label); font: inherit; font-size: 13px; cursor: pointer; transition: all .2s; }
.rb-cmp:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.rb-cmp.on { color: var(--rgold); border-style: solid; border-color: rgba(255, 194, 61, .55); background: rgba(255, 194, 61, .07); }
.rb-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rb-links .btn { justify-content: center; padding: 9px 8px; font-size: 13px; white-space: nowrap; }
.rb-links .full { grid-column: 1 / -1; }
.rb-empty { grid-column: 1 / -1; padding: 46px 24px; text-align: center; color: var(--label); border: 1px dashed var(--line2); border-radius: 22px; background: rgba(255, 255, 255, .02); }
.rb-empty b { display: block; color: #fff; font-size: 19px; margin-bottom: 6px; }

/* steps */
.rb-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rb-beam { position: absolute; left: 6%; top: 34px; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, #ffb020, #ffd36b, #22d39a); box-shadow: 0 0 16px rgba(255, 194, 61, .6); transition: width 1.2s ease; }
.rb-step { position: relative; z-index: 1; padding: 18px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: border-color .5s, box-shadow .5s, transform .5s; }
.rb-step i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-weight: 800; margin-bottom: 12px; color: var(--label); border: 1px solid var(--line2); background: #07101c; transition: all .5s; }
.rb-step b { display: block; margin-bottom: 6px; }
.rb-step span { color: var(--label); font-size: 13.5px; line-height: 1.5; }
.rb-step.on { border-color: rgba(255, 194, 61, .5); box-shadow: 0 0 30px rgba(255, 194, 61, .1); transform: translateY(-3px); }
.rb-step.on i { color: #1b1300; border-color: transparent; background: linear-gradient(135deg, #ffd36b, #ffb020); box-shadow: 0 0 18px rgba(255, 194, 61, .55); }

/* guide */
.rb-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(26, 115, 255, .07), rgba(255, 194, 61, .05)); }
.rb-guide-l h2 { font-size: clamp(24px, 2.8vw, 34px); }
.rb-guide-l p { color: var(--label); }
.rb-guide-r { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.rb-guide-r > div { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); }
.rb-guide-r b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.rb-guide-r span { font-size: 13px; color: var(--label); }
.rb-disc { margin-top: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--label); font-size: 13px; }
.rb-disc b { color: #fff; }

/* compare bar */
.rb-cmpbar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-radius: 99px; border: 1px solid rgba(255, 194, 61, .45); background: rgba(7, 14, 26, .94); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); animation: rbUp .35s ease; }
.rb-cmpbar[hidden] { display: none; }
@keyframes rbUp { from { transform: translate(-50%, 30px); opacity: 0; } }
.rb-cmpbar span { font-weight: 700; font-size: 14px; }

/* modal */
.rb-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.rb-modal[hidden] { display: none; }
.rb-modal-bg { position: absolute; inset: 0; background: rgba(1, 4, 9, .78); backdrop-filter: blur(6px); animation: rbFade .25s ease; }
@keyframes rbFade { from { opacity: 0; } }
.rb-modal-box { position: relative; width: min(1060px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; border-radius: 26px; border: 1px solid var(--line2); background: linear-gradient(180deg, #0c1a30, #050b16); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); animation: rbPop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes rbPop { from { transform: translateY(20px) scale(.97); opacity: 0; } }
.rb-x { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.rb-m-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 20px; padding-right: 40px; }
.rb-m-head h2 { margin: 4px 0 6px; font-size: clamp(22px, 3vw, 32px); }
.rb-m-head p { margin: 0; color: var(--label); }
.rb-m-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.rb-m-kpis > div { padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.rb-m-kpis small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rb-m-kpis b { font-size: 19px; font-variant-numeric: tabular-nums; }
.rb-eqbox { position: relative; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); padding: 14px 14px 6px; margin-bottom: 18px; }
.rb-eqbox h4, .rb-m-sec h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.rb-eqbox svg { width: 100%; height: 260px; display: block; }
.rb-tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 8px; font-size: 12px; background: #fff; color: #071223; font-weight: 700; white-space: nowrap; transform: translate(-50%, -120%); opacity: 0; transition: opacity .15s; }
.rb-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
.rb-months > div { padding: 7px 6px; border-radius: 9px; text-align: center; font-size: 12px; border: 1px solid var(--line); }
.rb-months small { display: block; color: var(--muted); font-size: 10.5px; }
.rb-months .p { background: rgba(34, 211, 154, .09); border-color: rgba(34, 211, 154, .3); color: #2fe0a5; }
.rb-months .n { background: rgba(255, 61, 87, .09); border-color: rgba(255, 61, 87, .3); color: #ff6b80; }
.rb-m-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; margin-top: 18px; }
.rb-m-sec { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rb-m-sec p { color: var(--label); font-size: 14px; margin: 0 0 8px; }
.rb-m-sec ul { margin: 0; padding-left: 18px; color: var(--label); font-size: 14px; }
.rb-m-sec li { margin-bottom: 4px; }
.rb-m-sec ul.ok li::marker { content: "✓  "; color: #2fe0a5; }
.rb-m-sec ul.warn li::marker { content: "!  "; color: var(--rgold); }
.rb-cond { width: 100%; border-collapse: collapse; font-size: 13px; }
.rb-cond td { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--label); }
.rb-cond td:last-child { text-align: right; color: #fff; font-weight: 600; }
.rb-m-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.rb-ctable { width: 100%; border-collapse: collapse; font-size: 14px; }
.rb-ctable th, .rb-ctable td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rb-ctable th { color: var(--muted); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.rb-ctable td b { font-size: 16px; }
.rb-ctable .best { color: var(--rgold); font-weight: 800; }

@media (max-width: 1080px) {
  .rb-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .rb-feat { transform: none; max-width: 560px; }
  .rb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-m-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .rb-top-grid, .rb-steps { grid-template-columns: 1fr; }
  .rb-beam { display: none; }
  .rb-top-h, .rb-cat-h { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rb-bar { flex-wrap: wrap; position: static; }
  .rb-search { flex-basis: 100%; }
  .rb-guide { grid-template-columns: 1fr; padding: 22px; }
  .rb-m-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .rb-hero { padding: 50px 0 100px; }
  .rb-grid, .rb-tiles, .rb-guide-r { grid-template-columns: 1fr; }
  .rb-chips { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .rb-chips button { flex: none; }
  #rb-sort { flex: 1; }
  .rb-modal { padding: 0; }
  .rb-modal-box { max-height: 100vh; border-radius: 0; padding: 20px 16px; }
  .rb-m-head { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .rb-m-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-eqbox svg { height: 200px; }
  .rb-cmpbar { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  @keyframes rbUp { from { transform: translateY(30px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .rb-glow, .rb-box > div::after, .rb-skel { animation: none; }
  .rb-card, .rb-t3, .rb-fi { opacity: 1; transform: none; }
}

/* result source labels: our backtest / vendor results */
.rb-bt.vendor { color: #ffdc85; border-color: rgba(255, 194, 61, .5); }
.rb-bt.inline { position: static; display: inline-block; margin-bottom: 4px; }
.rb-t3-src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--label); }
.rb-t3-src .rb-bt, .rb-m-src .rb-bt { position: static; }
.rb-src { margin: -4px 0 0; font-size: 11.5px; color: var(--muted); }
.rb-m-src { display: flex; align-items: center; gap: 10px; margin: -6px 0 12px; font-size: 13px; color: var(--label); }
.rb-vtable td, .rb-vtable th { white-space: nowrap; font-size: 13px; }
