/* The homepage collection order and rails are independent of catalog pages. */
.home-game-rail,.home-live-rail{width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:none;padding-bottom:4px}
.home-game-rail::-webkit-scrollbar,.home-live-rail::-webkit-scrollbar,.wins-track::-webkit-scrollbar{display:none}
.games.home-game-rail{display:grid;grid-template-columns:none;grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px)/6.35);gap:14px}
.home-game-rail>.game{display:block!important;min-width:0}
.home-game-rail .game-label{font-size:10px;line-height:1;padding:4px 6px;top:7px;left:7px}
.home-game-rail .game-label.hot{background:#ed1d49;color:#fff}
.home-game-rail .game-label.new{background:#4dffff;color:#10201e}
.live-games.home-live-rail{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:calc((100% - 45px)/4.25);gap:14px}
.home-live-rail .live-card{min-width:0}
.home-live-rail .live-bottom>div{min-width:0}
.home-live-rail .live-bottom strong,.home-live-rail .live-bottom small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-live-rail .live-label{letter-spacing:0}
[data-game-rail]:focus-visible{outline:2px solid #4dffff;outline-offset:4px;border-radius:7px}
.wins-section .section-head{gap:8px}
.wins-section .section-title{min-width:0;flex-wrap:wrap}
.wins-demo{display:inline-flex;padding:3px 6px;border:1px solid #65837966;border-radius:4px;font-size:10px;line-height:1.3;color:#b8c9c2;white-space:nowrap}
.wins-pause{min-height:32px;min-width:44px;padding:5px 9px;border:1px solid #44564e;border-radius:6px;background:#2b3430;color:#c3e5d6;font-size:12px;white-space:nowrap}
.wins-track{display:flex;gap:14px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-behavior:auto;scroll-snap-type:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.wins-set{display:flex;gap:14px;flex:0 0 auto}
.win-card{display:block;flex:0 0 128px;width:128px;min-width:0;border-radius:9px}
.win-card>img{display:block;width:100%;aspect-ratio:1;height:auto;object-fit:cover;border-radius:10px;background:#333}
.win-meta{display:flex;align-items:center;gap:7px;margin-top:9px;min-width:0}
.win-avatar{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#1b7773;color:#d9fffb;font-size:11px;font-weight:800}
.win-avatar.avatar-1{background:#585298;color:#eeebff}.win-avatar.avatar-2{background:#77533a;color:#ffe6ca}.win-avatar.avatar-3{background:#426148;color:#e0ffe8}
.win-meta>span:last-child{min-width:0}
.win-meta small{display:block;font-size:10px;line-height:1.3;color:#a5b4ac}
.win-meta strong{display:block;font-size:15px;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:.1px;color:#7be5a1}
@media(hover:hover) and (pointer:fine){.wins-pause:hover{border-color:#4dffff80;color:#cffff5}.win-card:hover{filter:brightness(1.08)}}
@media(max-width:1020px){.games.home-game-rail{grid-auto-columns:calc((100% - 42px)/4.25)}.live-games.home-live-rail{grid-auto-columns:calc((100% - 28px)/3.15)}}
@media(max-width:760px){
 .games.home-game-rail{grid-auto-columns:calc((100% - 20px)/2.85);gap:10px}
 .home-game-rail .game-cover{aspect-ratio:3/4}
 .home-game-rail .game-info strong{font-size:12px}.home-game-rail .game-info small{font-size:10px}
 .home-game-rail .game-label{font-size:9px;top:6px;left:6px;padding:3px 5px}
 .live-games.home-live-rail{grid-auto-columns:calc((100% - 18px)/2.1);gap:10px}
 .home-live-rail .live-bottom{padding:9px 8px;gap:5px}.home-live-rail .live-bottom strong{font-size:12px}.home-live-rail .live-bottom small{font-size:10px;margin-top:3px}.home-live-rail .circle-arrow{width:21px;height:21px;flex-shrink:0}
 .home-live-rail .live-label{font-size:8px;top:7px;left:7px}
 .wins-section .section-title{gap:6px}.wins-section .section-title h2{font-size:17px;letter-spacing:0}.wins-section .section-title>.icon{width:19px;height:19px}
 .wins-demo{font-size:9px;padding:2px 4px}.wins-pause{font-size:11px;min-height:30px;padding:4px 7px;min-width:40px}
 .wins-track,.wins-set{gap:11px}.win-card{width:94px;flex-basis:94px}.win-card>img{border-radius:8px}.win-meta{margin-top:7px;gap:5px}.win-avatar{width:22px;height:22px;font-size:10px}.win-meta strong{font-size:13px}.win-meta small{font-size:9px}
}
@media(max-width:360px){.wins-section .section-title h2{font-size:16px}.wins-section .section-title>.icon{display:none}.wins-demo{font-size:8px}}

/* Desktop review: keep the live-game collection in one horizontal row. */
@media(min-width:761px){.live-games.home-live-rail{grid-template-rows:auto}}

/* Compact desktop recent wins, sized from the supplied BetFury reference. */
.wins-controls{display:flex;align-items:center;gap:8px}
.wins-step{display:none}
@media(min-width:761px){
 .wins-section .section-head{margin-bottom:16px}
 .wins-track,.wins-set{gap:12px}
 .wins-section .win-card{width:64px;flex:0 0 64px;border-radius:7px}
 .wins-section .win-card>img{aspect-ratio:7/8;width:64px;height:auto;border-radius:7px}
 .wins-section .win-meta{margin-top:5px;gap:4px;white-space:nowrap}
 .wins-section .win-avatar{width:12px;height:12px;font-size:6px}
 .wins-section .win-meta small{display:none}
 .wins-section .win-meta strong{font-size:9px;line-height:1.5;letter-spacing:0}
 .wins-section .wins-demo{font-size:9px}
 .wins-step{display:grid;place-items:center;width:34px;height:34px}
 .wins-pause{min-height:34px;font-size:10px;padding:5px 8px}
}

@media(max-width:760px){#home-view #table,#home-view #crypto,#home-view #fishing{display:none}}
