/* Scoped casino layout: works with both deployed theme tokens and dark4. */
.toplist[data-toplist] .toplist-list{display:flex;flex-direction:column;gap:12px;border:0;border-radius:0;background:none;overflow:visible}
.toplist[data-toplist] .toplist-head.card-simple,
.toplist[data-toplist] article.card-simple{display:grid;grid-template-columns:26px 136px minmax(0,1fr) 170px;gap:16px;align-items:center;width:100%;box-sizing:border-box}
.toplist[data-toplist] .toplist-head.card-simple{grid-template-areas:none;margin:0;padding:0 18px 6px;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2,var(--faint,var(--muted)));background:none;border:0;border-radius:0}
.toplist[data-toplist] .toplist-head.card-simple>span{grid-area:auto;min-width:0}
.toplist[data-toplist] article.card-simple{grid-template-areas:"rank logo name cta";padding:16px 18px;border:1px solid var(--border,var(--line,#333047));border-radius:var(--radius,var(--r-lg,12px));background:var(--card,var(--surface,#1c1b2a));box-shadow:none}
.toplist[data-toplist] article.card-simple.is-top{border-color:var(--accent);background:var(--card,var(--surface,#1c1b2a))}
.toplist[data-toplist] .card-rank{display:block;grid-area:rank;font-size:18px;font-weight:800;text-align:center;color:var(--muted)}
.toplist[data-toplist] .card-logo{grid-area:logo;display:flex;align-items:center;justify-content:center;position:relative;width:136px;height:84px;min-height:0;border-radius:8px;background:var(--bg-soft,var(--surface,#171622));background-image:none;overflow:visible;text-decoration:none}
.toplist[data-toplist] .card-logo img{display:block;width:136px;height:84px;max-width:100%;max-height:100%;padding:0;object-fit:contain}
.toplist[data-toplist] .card-rank-mobile{display:none}
.toplist[data-toplist] .card-name{grid-area:name;min-width:0}
.toplist[data-toplist] .card-name .row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.toplist[data-toplist] .card-name h2{margin:0;font-size:17px;line-height:1.4;font-weight:800;color:var(--text);overflow-wrap:anywhere}
.toplist[data-toplist] .card-cta{grid-area:cta;display:flex;flex-direction:column;gap:7px;min-width:0}
.toplist[data-toplist] .card-cta .btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:44px;padding:12px 16px;font-size:15px;line-height:1.3;text-align:center;text-decoration:none}
@media(max-width:768px){
  .toplist[data-toplist] .toplist-head.card-simple{display:none}
  .toplist[data-toplist] article.card-simple{grid-template-columns:116px minmax(0,1fr);grid-template-areas:"logo name" "cta cta";gap:16px;padding:16px}
  .toplist[data-toplist] .card-rank{display:none}
  .toplist[data-toplist] .card-logo{width:116px;height:76px}
  .toplist[data-toplist] .card-logo img{width:116px;height:76px}
  .toplist[data-toplist] .card-rank-mobile{display:flex;align-items:center;justify-content:center;position:absolute;left:-7px;top:-7px;width:24px;height:24px;border-radius:6px;background:var(--accent);color:var(--on-accent,#12111c);font-size:12px;line-height:1;font-weight:800}
}
@media(max-width:360px){
  .toplist[data-toplist] article.card-simple{grid-template-columns:96px minmax(0,1fr);gap:14px}
  .toplist[data-toplist] .card-logo{width:96px;height:70px}
  .toplist[data-toplist] .card-logo img{width:96px;height:70px}
  .toplist[data-toplist] .card-name h2{font-size:16px}
}
