/* Lobby theme: change these tokens for another independently branded deployment. */
body.lobby-refresh{--lobby-bg:#0b1018;--lobby-panel:#131b27;--lobby-raised:#1c2736;--lobby-line:#2a3647;--lobby-text:#f4f6fa;--lobby-muted:#a4b1c3;--lobby-accent:#ffd166;--lobby-accent-ink:#201600;--lobby-card-width:156px;--lobby-card-ratio:4/3;--lobby-radius:10px;background:var(--lobby-bg);color:var(--lobby-text)}
.lobby-refresh .app{display:block;min-height:100vh}.lobby-refresh .sidebar,.lobby-refresh .right,.lobby-refresh #bgFx,.lobby-refresh .bg-fx{display:none}.lobby-refresh .topbar{position:sticky;top:0;z-index:65;display:flex;flex-wrap:wrap;gap:18px;padding:12px max(20px,calc((100vw - 1320px)/2));min-height:68px;height:auto;background:var(--lobby-panel);border-bottom:1px solid var(--lobby-line)}.lobby-refresh .brand-title{font-size:22px;white-space:nowrap;letter-spacing:-.6px}.lobby-refresh .brand-logo-img{display:none}.lobby-refresh .hamburger{display:none}.lobby-primary{display:flex;gap:6px;align-self:stretch;align-items:stretch;white-space:nowrap}.lobby-primary a{display:flex;align-items:center;justify-content:center;padding:9px 14px;color:var(--lobby-muted);font-weight:800;border-radius:7px;text-decoration:none}.lobby-primary a[aria-current]{color:var(--lobby-accent-ink);background:var(--lobby-accent)}.lobby-primary a:last-child{background:var(--lobby-raised);color:var(--lobby-text);border:1px solid var(--lobby-line)}.lobby-refresh .lobby-search{margin:0 0 0 auto;max-width:280px;background:var(--lobby-bg);border-color:var(--lobby-line)}.lobby-refresh .top-actions{margin-left:auto;gap:8px;flex-wrap:wrap}.lobby-refresh .main{padding:18px 20px 36px;max-width:1320px;margin:auto;overflow:visible;min-width:0}.lobby-refresh .hero-carousel{margin:0;border:0;border-radius:var(--lobby-radius);aspect-ratio:1600/390;max-height:238px;height:auto}.lobby-refresh .hc-track,.lobby-refresh .hc-slide{height:100%}.lobby-refresh .hc-slide img{height:100%;object-fit:cover;object-position:center}.lobby-refresh .hc-arrow{opacity:1}.lobby-quick{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--lobby-line);font-size:12px;color:var(--lobby-muted)}.lobby-quick a,.lobby-view-all{color:var(--lobby-accent);text-decoration:none}.lobby-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 13px}.lobby-heading h1{font-size:24px;letter-spacing:-.5px;line-height:1.2}.lobby-heading>span{font-size:12px;color:var(--lobby-muted)}.lobby-refresh .cat-chips{gap:7px;margin:0 0 16px;padding-bottom:8px;scrollbar-width:thin}.lobby-refresh .cat-chip{font-family:inherit;background:var(--lobby-panel);border-color:var(--lobby-line);color:var(--lobby-muted);border-radius:7px;font-size:13px;padding:9px 14px}.lobby-refresh .cat-chip.on{background:var(--lobby-accent);color:var(--lobby-accent-ink)}.lobby-category{margin-bottom:22px;scroll-margin-top:150px}.lobby-refresh .section-head{display:flex;gap:10px;margin:0 0 10px;justify-content:space-between}.lobby-refresh .section-head h2{font-size:18px;letter-spacing:0;text-transform:none}.lobby-view-all{font:700 12px var(--font);background:none;border:0;cursor:pointer;padding:7px 0}.lobby-refresh .games-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:var(--lobby-card-width);gap:12px!important;overflow-x:auto;padding:2px 0 10px;margin:0;scroll-snap-type:x proximity;scrollbar-width:thin}.lobby-refresh .game-card{border:1px solid var(--lobby-line);border-radius:var(--lobby-radius);background:var(--lobby-panel);scroll-snap-align:start;box-shadow:none;min-width:0}.lobby-refresh .game-card:hover{transform:translateY(-2px);border-color:var(--lobby-accent);box-shadow:none}.lobby-refresh .game-thumb{aspect-ratio:var(--lobby-card-ratio);transform:none!important;background:var(--lobby-raised)}.lobby-refresh .game-thumb .thumb-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%}.lobby-refresh .game-card .game-info{padding:7px 8px!important;background:var(--lobby-panel);border-color:var(--lobby-line)}.lobby-refresh .game-card .game-title{font-size:14px!important;line-height:1.3;font-weight:750;margin:0;white-space:normal;overflow-wrap:anywhere;min-height:36px}.lobby-refresh .game-card .game-meta{display:none}.lobby-refresh .game-badge{letter-spacing:.2px;font-size:9px;top:6px;left:6px;padding:3px 6px}.badge-trending{background:var(--lobby-accent);color:var(--lobby-accent-ink)}.lobby-refresh .lobby-category.expanded .games-grid{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(136px,1fr))!important;grid-auto-columns:auto;overflow:visible}.lobby-category[hidden],.lobby-refresh [hidden]{display:none!important}#lobbyEmpty{padding:25px 0;color:var(--lobby-muted)}.lobby-refresh .game-card:focus-visible,.lobby-refresh a:focus-visible,.lobby-refresh button:focus-visible{outline:2px solid var(--lobby-accent);outline-offset:3px}.lobby-refresh .site-footer{margin-top:0}.lobby-refresh .wins-ticker{margin:0 0 15px;background:var(--lobby-panel)}
@media(max-width:1050px){.lobby-refresh .topbar{gap:10px;padding:10px 18px}.lobby-refresh .brand-title{font-size:20px}.lobby-refresh .lobby-search{max-width:220px}.lobby-primary a{padding:9px 12px}.lobby-refresh .sfx-toggle{display:none}}
@media(max-width:700px){body.lobby-refresh{--lobby-card-width:128px;padding-bottom:65px}.lobby-refresh .topbar{padding:10px 12px;gap:9px 10px}.lobby-refresh .brand-title{display:block!important;font-size:21px}.lobby-refresh .top-actions{flex:1;justify-content:flex-end;min-width:0}.lobby-refresh .top-actions .btn{font-size:12px;padding:8px 10px}.lobby-refresh .balance{padding:3px 6px;gap:6px}.lobby-refresh .balance .amt{font-size:15px}.lobby-refresh .balance .curr,.lobby-refresh .balance .sub{display:none}.lobby-refresh .lobby-primary{order:3;flex:0 0 100%;display:grid;grid-template-columns:1fr 1fr;font-size:14px}.lobby-refresh .lobby-primary a{min-height:38px;padding:7px}.lobby-refresh .lobby-search{order:4;flex:0 0 100%;max-width:none;padding:8px 11px}.lobby-refresh .main{padding:12px 12px 25px}.lobby-refresh .hero-carousel{aspect-ratio:1600/470;max-height:none}.lobby-refresh .hc-arrow{width:25px;height:25px;font-size:18px}.lobby-quick{font-size:10px;gap:5px;padding:9px 0}.lobby-heading{margin:15px 0 12px}.lobby-heading h1{font-size:21px}.lobby-heading>span{display:none}.lobby-refresh .cat-chip{font-size:12px;padding:8px 11px}.lobby-refresh .section-head h2{font-size:17px}.lobby-refresh .games-grid{gap:9px!important}.lobby-refresh .game-card .game-title{font-size:13px!important;min-height:34px}.lobby-category{margin-bottom:16px;scroll-margin-top:205px}.lobby-refresh .lobby-category.expanded .games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lobby-refresh .mob-nav{display:flex;background:var(--lobby-panel);padding-bottom:max(9px,env(safe-area-inset-bottom))}.lobby-refresh .mob-nav a{font-family:var(--font);text-decoration:none}.lobby-refresh .dep-nudge{bottom:78px}}
@media(max-width:359px){.lobby-refresh .lobby-category.expanded .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){.lobby-refresh .game-card,.lobby-refresh .hc-track{transition:none}}

.lobby-refresh .topbar .brand-title{display:block;font-family:var(--font);font-style:normal;background:none;color:var(--lobby-text);filter:none}.lobby-refresh:not(.lobby-has-played) .dolla-dep{display:none!important}.lobby-refresh .topbar .btn-primary{background:var(--lobby-accent);color:var(--lobby-accent-ink);box-shadow:none}.lobby-refresh .hero-carousel{width:100%;max-height:none}

body.lobby-refresh{color-scheme:dark}.lobby-refresh .games-grid::-webkit-scrollbar{height:4px}.lobby-refresh .cat-chips::-webkit-scrollbar{height:0}.lobby-refresh .games-grid::-webkit-scrollbar-thumb{background:var(--lobby-line)}

/* Categories wrap naturally, with at most two rows in Browse (limited by lobby.js). */
.lobby-refresh .lobby-category .games-grid{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fill,var(--lobby-card-width))!important;overflow:visible;scroll-snap-type:none;padding:2px 0;margin:0;row-gap:12px!important}
.lobby-refresh .lobby-view-all{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--lobby-accent);border-radius:7px;background:var(--lobby-raised);color:var(--lobby-accent);font-size:13px;font-weight:800;white-space:nowrap}
.lobby-refresh .lobby-view-all:hover{background:var(--lobby-accent);color:var(--lobby-accent-ink)}
@media(max-width:700px){.lobby-refresh .lobby-category .games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lobby-refresh .lobby-view-all{min-height:40px;padding:8px 11px;font-size:12px}}
@media(max-width:359px){.lobby-refresh .lobby-category .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.lobby-refresh .cat-chips{scrollbar-width:none}

.lobby-refresh .lobby-art{position:absolute;inset:0;display:block}.lobby-refresh .lobby-art .thumb-art{width:100%;height:100%}


/* Native 4:3 artwork pairs: display the complete composition on every screen. */
.lobby-refresh .game-card .lobby-art .thumb-art{object-fit:contain;object-position:center}
