/* r51: independent club/league rankings and optional historical bet rankings */
.atlas-r51-global{display:grid;gap:12px;padding:2px 0 20px}
.atlas-r51-global .section-title{margin-bottom:0}
.atlas-r51-switches{display:flex;flex-wrap:wrap;gap:8px}
.atlas-r51-markets{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:thin}
.atlas-r51-switches button{cursor:pointer;flex:0 0 auto;border-radius:12px;border:1px solid var(--border,#74839b);background:var(--surface,#1b253d);color:var(--text,#f6f8fd);padding:10px 13px;min-height:43px;font-size:.94rem}
.atlas-r51-switches button.is-selected{background:#116de9;color:#fff;border-color:#116de9;font-weight:700}
.atlas-r51-context{color:var(--muted,#9faabd);font-size:.91rem;margin:0}
.atlas-r51-rows{display:grid;gap:10px}
.atlas-r51-result{border:1px solid var(--border,#42516b);border-radius:14px;background:var(--surface,#182135);overflow:hidden}
.atlas-r51-result summary{display:flex;align-items:center;gap:10px;padding:13px 12px;cursor:pointer;list-style:none}
.atlas-r51-result summary::-webkit-details-marker{display:none}
.atlas-r51-number{font-weight:800;min-width:25px}
.atlas-r51-team{display:grid;gap:3px;flex:1;min-width:0}
.atlas-r51-team strong{overflow-wrap:anywhere;font-size:.96rem}
.atlas-r51-team small{color:var(--muted,#9faabd);font-size:.81rem}
.atlas-r51-percent{font-size:1.11rem;font-weight:750;color:var(--good,#25c878)}
.atlas-r51-chevron{margin-left:3px;font-size:1.1rem;transition:transform .15s}
.atlas-r51-result[open] .atlas-r51-chevron{transform:rotate(180deg)}
.atlas-r51-analysis{padding:14px;border-top:1px solid var(--border,#42516b);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.atlas-r51-analysis>div{display:grid;gap:4px}
.atlas-r51-analysis small{color:var(--muted,#9faabd);font-size:.79rem}
.atlas-r51-analysis strong{font-size:.92rem}
.atlas-r51-analysis p{grid-column:1/-1;color:var(--muted,#9faabd);font-size:.81rem;margin:0}
.atlas-r51-message{margin:0;border:1px dashed var(--border,#42516b);border-radius:12px;padding:16px;color:var(--muted,#9faabd)}
.atlas-r51-own-bets{border-top:1px solid var(--border,#42516b);padding-top:14px}
.atlas-r51-own-bets>summary{cursor:pointer;font-weight:700;font-size:1.02rem;list-style-position:inside;padding:12px 0}
.atlas-r51-own-bets[open]>.section-title{margin-top:10px}
.atlas-r51-switches button:focus-visible,.atlas-r51-result summary:focus-visible,.atlas-r51-own-bets summary:focus-visible{outline:3px solid #50a2ff;outline-offset:3px}
body.atlas-theme-light .atlas-r51-switches button:not(.is-selected){background:#fff;border-color:#9bb1cd;color:#142842}
body.atlas-theme-light .atlas-r51-result{background:#fff;border-color:#b1c5dd;color:#152840}
body.atlas-theme-light .atlas-r51-team small,body.atlas-theme-light .atlas-r51-context,body.atlas-theme-light .atlas-r51-analysis small,body.atlas-theme-light .atlas-r51-analysis p{color:#42536b}
body.atlas-theme-light .atlas-r51-percent{color:#087345}
@media(max-width:520px){.atlas-r51-analysis{grid-template-columns:1fr 1fr}.atlas-r51-switches button{padding:9px 11px}.atlas-r51-result summary{padding:11px 10px;gap:7px}}
