/* V57 — GAME LIBRARY ONLY. Shared V56 header, rails and 109-page architecture remain intact. */
body.v51-inner .v51-content:has(.v57-library-hero){--v57-gold:#f9ce82;--v57-blue:#50c8ff;--v57-ink:#091832}
.v57-breadcrumb{display:flex;align-items:center;gap:9px;margin:6px 0 12px;color:#9eb8d2;font-size:11px}.v57-breadcrumb a:hover{color:#ffd27b}.v57-breadcrumb span:last-child{color:#ebd4ad}
.v57-library-hero{position:relative;isolation:isolate;min-height:310px;overflow:hidden;border:1px solid rgba(249,200,105,.82);border-radius:18px;background:#09122d;box-shadow:0 18px 38px #0007,0 0 26px #ffb84316}
.v57-library-hero::before{content:'';position:absolute;z-index:3;top:0;left:0;width:90px;height:90px;background:url('/assets/decorations/v51-page-corner.svg') 0 0/contain no-repeat;pointer-events:none}
.v57-library-hero::after{content:'';position:absolute;z-index:3;inset:auto 8% -1px;width:84%;height:2px;background:linear-gradient(90deg,transparent,#f6c774,#61d8ff,transparent);filter:drop-shadow(0 0 7px #59c9ff)}
.v57-library-hero__images{position:absolute;inset:0 0 0 35%;display:flex;align-items:stretch;justify-content:end;gap:0;transform:skewX(-9deg) translateX(40px);overflow:hidden}
.v57-library-hero__images img{width:33.333%;height:100%;min-width:0;object-fit:cover;object-position:center;filter:saturate(1.12) contrast(1.03);border-left:2px solid #ffe09b4a;transform:scale(1.11)}
.v57-library-hero__wash{position:absolute;inset:0;background:linear-gradient(90deg,#09152ffb 0%,#0b1734f0 34%,#0c1736a3 53%,#0a132b29 85%),linear-gradient(0deg,#050d22a8,transparent 50%);z-index:1}
.v57-library-hero__copy{position:relative;z-index:2;width:min(74%,570px);padding:35px clamp(22px,4vw,40px)}
.v57-kicker{display:block;color:#75dffa;font-size:10px;font-weight:900;letter-spacing:.17em}
.v57-library-hero h1{margin:12px 0 13px;font-size:clamp(29px,3.2vw,45px);line-height:1.18;font-weight:900;color:#fff4df!important;text-shadow:0 3px 13px #000}.v57-library-hero h1 span{display:block;color:#ffda8c}
.v57-library-hero p{max-width:470px;color:#d2e0f0;font-size:12px;line-height:1.85;margin:0}
.v57-stats{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 18px}.v57-stats>span{display:flex;gap:5px;align-items:baseline;padding:7px 11px;border:1px solid #6485b16b;border-radius:9px;background:#0b2243a8;color:#eaf2ff;font-size:11px}.v57-stats b{color:#ffd185;font-size:17px}
.v57-hero-action{display:inline-flex;align-items:center;gap:12px;border:1px solid #f8cc7d;border-radius:9px;padding:9px 16px;background:linear-gradient(130deg,#a76532,#65302e);color:#fff5db;font-size:12px;font-weight:800;transition:transform .2s,box-shadow .2s}.v57-hero-action:hover{transform:translateY(-2px);box-shadow:0 0 18px #f5b96155}
.v57-category-section{margin:30px 0 29px}.v57-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px;padding-bottom:11px;border-bottom:1px solid #e4b86d61}.v57-section-head h2{margin:5px 0 0;font-size:21px!important;color:#ffe1ac}.v57-section-head>a{font-size:11px;color:#ffda91;font-weight:800;white-space:nowrap}.v57-section-head>a:hover{color:white}
.v57-category-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v57-category{position:relative;isolation:isolate;min-height:146px;overflow:hidden;border:1px solid #e6b568a8;border-radius:13px;background:#101b37;transition:transform .2s,border-color .2s,box-shadow .2s}.v57-category img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}.v57-category:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#030b20f7 0%,#07182b69 70%,transparent)}.v57-category>span{position:absolute;left:11px;bottom:13px;right:20px;z-index:2;display:grid;gap:4px}.v57-category strong{font-size:12px;color:white}.v57-category small{font-size:9px;color:#b7cfdf}.v57-category>b{position:absolute;right:10px;bottom:11px;z-index:2;color:#ffda88}.v57-category:hover{transform:translateY(-3px);box-shadow:0 0 20px #ffbe6150}.v57-category:hover img{transform:scale(1.06)}.v57-category--fishing{border-color:#54d7efad}.v57-category--arcade{border-color:#c08af4ac}.v57-category--table{border-color:#e8a178ac}
.v57-browse{margin:0 0 12px}.v57-search-badge{color:#9eb4d0;font-size:10px}
body.v51-inner .v51-content:has(.v57-library-hero) .catalogue-toolbar{padding:17px;border:1px solid #55729a80;border-radius:14px;background:linear-gradient(130deg,#122843,#0c1b33);margin:0 0 14px;gap:12px}
body.v51-inner .v51-content:has(.v57-library-hero) .search-field{border-color:#7ba3be88;background:#081a32}
body.v51-inner .v51-content:has(.v57-library-hero) .filter-button{min-height:34px;font-size:10px}
body.v51-inner .v51-content:has(.v57-library-hero) .filter-button.selected{border-color:#ffca78;background:#67412e;color:#fff1d4}
body.v51-inner .v51-content:has(.v57-library-hero) .provider-jump{margin:0 0 13px;padding:11px 0;gap:7px}
body.v51-inner .v51-content:has(.v57-library-hero) .provider-jump a{background:#102642;border:1px solid #496f95;border-radius:8px}.v51-content .provider-jump a:hover{border-color:#f7c779!important}
.v57-results-count{font-size:11px;color:#e8c88a!important;margin:11px 0 18px!important}
body.v51-inner .v51-content .v57-provider-block{padding:17px!important;margin:0 0 19px!important;border:1px solid #4161868a!important;border-radius:15px;background:linear-gradient(160deg,#10213b,#09182e 80%);scroll-margin-top:110px}
body.v51-inner .v51-content .v57-provider-block .catalogue-provider-head{padding-bottom:13px;border-bottom:1px solid #d7ab644b;margin-bottom:15px}
.v57-provider-index{color:#eac178;font-size:13px;font-weight:900;letter-spacing:.08em}.v57-provider-block .provider-badge{width:70px;height:54px}.v57-provider-block .catalogue-provider-head h2{color:#ffe0a4;font-size:18px}
body.v51-inner .v51-content .v57-provider-block .game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.v51-inner .v51-content .v57-provider-block .game-card{display:flex;flex-direction:column;min-width:0;border-radius:12px;background:#0a1930}
body.v51-inner .v51-content .v57-provider-block .game-image{width:100%;aspect-ratio:4/3;height:auto!important;min-height:0}.v57-provider-block .game-image.has-cover img{object-fit:contain;padding:7px}.v57-provider-block .game-info{width:100%;flex:1;padding:12px}.v57-provider-block .game-info strong{font-size:13px}.v57-provider-block .game-original{font-size:10px}.v57-provider-block .game-info small{font-size:10px;line-height:1.6}
@media(max-width:1450px){.v57-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v57-category{min-height:140px}body.v51-inner .v51-content .v57-provider-block .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v57-library-hero__copy{width:76%}.v57-category-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.v57-library-hero{min-height:325px}.v57-library-hero__images{inset:0 0 0 10%;opacity:.65}.v57-library-hero__wash{background:linear-gradient(90deg,#08152ff5 0%,#0b1637d0 65%,#0b16376b)}.v57-library-hero__copy{width:100%;padding:26px 19px}.v57-library-hero h1{font-size:30px}.v57-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v57-category{min-height:135px}.v57-section-head h2{font-size:18px!important}body.v51-inner .v51-content .v57-provider-block{padding:12px!important}.v57-search-badge{display:none}}
@media(prefers-reduced-motion:reduce){.v57-category,.v57-category img,.v57-hero-action{transition:none!important}}
