/*
 * Reference skin for /casino and /live-casino (visual only, loaded after every other lobby stylesheet).
 * Values measured on https://x10tn.net/machines-a-sous (mobile layout, CSS px):
 *   page #001021 | surface #132C46 | accent #E9A722
 *   search 42px, radius 8 | provider tile 126x53 r5, logo box 86x30, gap 10
 *   section title 18/800 uppercase, "view all" 12/800 gold | card 110 wide, thumb 110x120 r10, name 12/700, gap 10
 * No markup, JS, route or data is touched; remove the two <link> tags to revert.
 */
:root{--ref-bg:#001021;--ref-surface:#132C46;--ref-accent:#E9A722}
/* sizing flows through the variables the existing skins already read; doubled selector beats their media-query :root / .x10-prov rules */
:root:root{--x10-card-w:110px;--x10-card-ratio:11 / 12;--x10-tile-radius:10px;--x10-tile-shadow:none}
.x10-prov.x10-prov{--prov-w:126px;--prov-h:53px;--prov-radius:5px;--prov-logo-h:30px;--prov-gap:10px}

/* ---- page chrome: reference has no hero block and no recent-wins strip ---- */
.x10-casino-hero{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;background:none;box-shadow:none;min-height:0}
.x10-demo-winners{display:none!important}
.x10-casino-container{padding-top:10px}

/* ---- search ---- */
.x10-search-box{position:relative}
body .x10-search-box .x10-search-input.x2-search-input,body .x10-search-box .x10-search-input{height:42px;border-radius:8px;border:0;background:var(--ref-surface);padding:0 48px 0 20px;font-size:14px;font-weight:400;box-shadow:none}
.x10-search-input::placeholder{color:rgba(255,255,255,.85);font-weight:400}
body .x10-search-box .x10-search-input:focus{outline:2px solid var(--ref-accent);outline-offset:1px}
.x10-search-icon{left:auto!important;right:16px;color:var(--ref-accent)}

/* ---- provider strip ---- */
.x10-prov{margin:14px 0 6px}
.x10-prov .x10-section-title{font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:0;color:#fff}
.x10-prov .x10-section-count{margin-left:auto;color:var(--ref-accent);font-size:12px;font-weight:800;text-transform:none}
body .x10-prov .x10-providers-ribbon{gap:10px}
body .x10-prov .x10-providers-ribbon .x10-provider-card.x10-prov-tile{padding:10px 20px;flex-direction:row;justify-content:center;gap:0;background:var(--ref-surface);border:1px solid transparent;box-shadow:none}
body .x10-prov .x10-prov-tile .x10-prov-logo{width:86px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
body .x10-prov .x10-prov-tile .x10-prov-img{width:86px;height:30px;object-fit:contain}
body .x10-prov .x10-prov-tile .x10-prov-name,body .x10-prov .x10-prov-tile .x10-prov-count{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body .x10-prov .x10-providers-ribbon .x10-provider-card.x10-prov-tile.is-all{flex:0 0 96px;width:96px;gap:8px}
body .x10-prov .x10-prov-tile.is-all .x10-prov-logo{width:auto;height:auto}
body .x10-prov .x10-prov-tile.is-all .x10-prov-name{position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible;font-size:13px;font-weight:800;color:#fff;text-transform:uppercase}
body .x10-prov .x10-prov-tile .x10-prov-wordmark{font-size:12px;font-weight:800;letter-spacing:.04em;line-height:1.1;color:#fff;text-transform:uppercase;text-align:center}
body .x10-prov .x10-providers-ribbon .x10-provider-card.x10-prov-tile.active,body .x10-prov .x10-providers-ribbon .x10-provider-card.x10-prov-tile[aria-pressed="true"]{background:var(--ref-surface);border-color:var(--ref-accent);box-shadow:0 0 0 1px var(--ref-accent) inset}
.x10-prov .x10-prov-tile.active::after{display:none}

/* ---- provider rows ---- */
#x10-lobby-sections .x10-section{margin:0 0 6px}
#x10-lobby-sections .x10-section-header{padding:10px 0;margin:0}
#x10-lobby-sections .x10-section-title{font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:0;color:#fff;line-height:1.25}
#x10-lobby-sections .x10-section-count{display:none}
#x10-lobby-sections .x10-view-all{font-size:12px;font-weight:800;color:var(--ref-accent);text-transform:capitalize;letter-spacing:0}

/* ---- game cards ---- */
body .x10-game-card .x10-game-thumb{background:var(--ref-surface)}
body .x10-game-card .x10-game-image{width:100%;height:100%;object-fit:cover}
body .x10-game-card .x10-game-info{padding:6px 0 0}
body .x10-game-card .x10-game-name{font-size:12px;font-weight:700;line-height:1.25;color:#fff;text-transform:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
body #x10-lobby-sections .x10-game-card .x10-game-provider{display:none}
body .x10-game-link:focus-visible{outline:2px solid var(--ref-accent);outline-offset:2px}
body .x10-game-link:focus-visible{transform:none}
body .x10-game-card .x10-game-thumb{overflow:hidden}
body .x10-game-card .x10-game-image{transition:opacity .22s ease,transform .35s ease;will-change:auto}
body .x10-game-card .x10-game-info{min-height:34px}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  body .x10-game-link{transition:transform .2s ease}
  body .x10-game-link:hover{transform:translateY(-2px)}
  body .x10-game-link:hover .x10-game-thumb{box-shadow:0 8px 18px rgba(0,0,0,.38)}
  body .x10-game-link:hover .x10-game-image{transform:scale(1.05)}
}
body .x10-prov .x10-providers-ribbon .x10-provider-card.x10-prov-tile:focus-visible{outline:2px solid var(--ref-accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.x10-game-link,.x10-prov-tile{transition:none}}

/* ---- header (reference: 54px bar, 30px controls, 7px button padding; header CSS is !important so match it) ---- */
:root:root{--x10-hdr-height:54px}
body header.header .login-btn,body header.header .register-btn{height:30px!important;padding:0 7px!important}
body header.header .bonus-badge,body header.header .menu-btn{width:30px!important;height:30px!important}
body header.header .wallet-box{height:30px!important}
body header.header .desktop-nav > a{height:30px!important}
