/* Studio covers stay on the page; selecting one opens the source-style dialog. */
body.legacy-player .legacy-slot-provider-page{min-height:500px;padding:0 0 25px}
body.legacy-player .legacy-slot-provider-page .legacy-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.legacy-player .legacy-slot-provider-page .legacy-provider{width:100%;min-width:0;border:2px solid var(--legacy-border);background:#070707}
body.legacy-player .legacy-slot-provider-page .legacy-provider img{width:100%;aspect-ratio:4/3;object-fit:contain}
body.legacy-player .legacy-slot-provider-page .legacy-provider>span{min-height:49px;padding:12px 5px;background:var(--legacy-gradient);font-size:15px;font-weight:700}
body.legacy-player .legacy-slot-provider-page .legacy-provider:hover:not(:disabled){filter:brightness(1.15)}
.legacy-slot-backdrop{position:fixed;inset:0;z-index:135;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.84)}
.legacy-slot-backdrop[hidden]{display:none!important}
body.legacy-player .legacy-slot-dialog{position:relative;width:min(1438px,96vw);height:min(950px,calc(100dvh - 40px));min-height:420px;overflow:hidden;background:#101114;border:2px solid var(--legacy-border);border-radius:5px;box-shadow:0 20px 90px #000d;color:#fff}
body.legacy-player .legacy-slot-close{position:absolute;top:20px;right:18px;z-index:2;display:grid;place-items:center;width:55px;height:55px;padding:0;border:1px solid #8f949a;background:#393d40;color:#fff;font-size:43px;line-height:1}
body.legacy-player .legacy-slot-dialog .legacy-catalog-page{height:100%;padding:110px 23px 16px;display:flex;flex-direction:column;min-height:0}
.legacy-slot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;min-height:55px;margin:0 0 15px;padding:0 0 0 1px;background:#030719}
body.legacy-player .legacy-slot-toolbar select{flex:none;width:220px;height:45px;margin-left:0;border:1px solid #ced3dc;border-radius:2px;background:#fff;color:#111;font-weight:700;font-size:13px}
.legacy-slot-search{display:flex;align-items:center;gap:9px;margin-left:auto}
body.legacy-player .legacy-slot-search input{width:168px;height:45px;border:1px solid #a9b6c6;background:#fff;color:#222;font-size:13px}
body.legacy-player .legacy-slot-search input::placeholder{color:#8b8b8b}
body.legacy-player .legacy-slot-search button{height:45px;padding:0 20px;border:0;color:#fff;font-size:13px;font-weight:700;white-space:nowrap;background:linear-gradient(#039ff5,#0036b5)}
body.legacy-player .legacy-slot-search [data-slot-reset]{background:linear-gradient(#ff131c,#b60000)}
body.legacy-player[data-legacy-brand=gogo] .legacy-slot-search [data-slot-reset]{background:linear-gradient(#2077d9,#073882)}
body.legacy-player .legacy-slot-dialog .legacy-catalog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:max-content;gap:10px;align-content:start;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 3px;scrollbar-color:#5e6b7f #080d20;scrollbar-width:thin;background:#030719}
body.legacy-player .legacy-slot-dialog .legacy-catalog-game{height:auto;align-self:start;border:1px solid var(--legacy-border);background:#000;cursor:pointer}
body.legacy-player .legacy-slot-dialog .legacy-catalog-game img,body.legacy-player .legacy-slot-dialog .legacy-catalog-game .legacy-image-missing{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#111}
body.legacy-player .legacy-slot-dialog .legacy-catalog-game img.legacy-catalog-cover-fallback{object-fit:contain}
body.legacy-player .legacy-slot-dialog .legacy-catalog-game>span{display:block;width:100%;height:40px;padding:0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:40px;color:#fff;background:#000;font-size:13px;font-weight:700}
body.legacy-player .legacy-slot-dialog .legacy-catalog-game .legacy-catalog-origin{display:none}
body.legacy-player .legacy-slot-dialog [data-catalog-error]{flex:none;max-height:70px;overflow:auto;margin:8px 0 0}
body.legacy-player .legacy-slot-dialog .legacy-empty{grid-column:1/-1;color:#ddd}
body.legacy-player.legacy-mobile .legacy-slot-backdrop{padding:3px}
body.legacy-player.legacy-mobile .legacy-slot-provider-page{min-height:300px;padding:0 4px 20px}
body.legacy-player.legacy-mobile .legacy-slot-provider-page .legacy-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.legacy-player.legacy-mobile .legacy-slot-provider-page .legacy-provider>span{min-height:37px;padding:9px 4px;font-size:12px}
body.legacy-player.legacy-mobile .legacy-slot-dialog{width:100%;height:calc(100dvh - 6px);min-height:300px;border-radius:3px}
body.legacy-player.legacy-mobile .legacy-slot-close{top:9px;right:9px;width:38px;height:38px;font-size:30px}
body.legacy-player.legacy-mobile .legacy-slot-dialog .legacy-catalog-page{padding:62px 8px 10px}
body.legacy-player.legacy-mobile .legacy-slot-toolbar{display:grid;grid-template-columns:1fr;gap:7px;margin:0 0 8px;padding:0;background:transparent}
body.legacy-player.legacy-mobile .legacy-slot-toolbar select{width:calc(100% - 48px);height:39px}
body.legacy-player.legacy-mobile .legacy-slot-search{width:100%;margin:0;gap:5px}
body.legacy-player.legacy-mobile .legacy-slot-search input{flex:1;width:0;height:39px}
body.legacy-player.legacy-mobile .legacy-slot-search button{height:39px;padding:0 10px;font-size:11px}
body.legacy-player.legacy-mobile .legacy-slot-dialog .legacy-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.legacy-player.legacy-mobile .legacy-slot-dialog .legacy-catalog-game>span{height:34px;line-height:34px;font-size:11px}
@media(min-width:768px) and (max-width:1050px){body.legacy-player .legacy-slot-dialog .legacy-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
