/* Generated PNG surfaces; scores, stakes, symbols and actions remain live. */
html{--pg-panel:#fffaf0;--pg-ink:#49301d;--pg-muted:#78654d;--pg-line:#bd995a;--pg-soft:#eadcc1}
html[data-eris-theme="dark"]{--pg-panel:#0b2721;--pg-ink:#fff0d0;--pg-muted:#c8b996;--pg-line:#ac8d4e;--pg-soft:#183c31}
html body #games>.eyebrow{font-size:11px;color:var(--pg-line);letter-spacing:2px}
html body #games>.title{position:relative;padding:27px 20px;min-height:130px;display:flex;align-items:flex-end;color:var(--pg-ink)!important;border:1px solid var(--pg-line);border-radius:18px;background-image:linear-gradient(0deg,var(--pg-panel),transparent),var(--pg-header);background-position:center;background-size:cover;font:700 31px/1.1 Georgia,serif;box-shadow:0 5px 18px #46311b15}
html body #games .eg-launcher-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body #games .eg-launcher-grid .eg-launcher-card{position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;min-height:0!important;height:auto!important;padding:0 0 12px!important;border:1px solid var(--pg-line)!important;border-radius:14px!important;background:var(--pg-panel)!important;box-shadow:inset 0 0 0 2px #bc924523,0 4px 15px #70502012!important;overflow:hidden!important;grid-column:auto!important}
html body .eg-launcher-card>.pg-cover{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;flex:none;border-radius:0;pointer-events:none}
html body #games .eg-launcher-card>.eg-lc-icon{display:none!important}
html body #games .eg-launcher-card .eg-lc-title{margin:11px 11px 5px!important;font:700 17px/1.25 Georgia,serif!important;color:var(--pg-ink)!important}
html body #games .eg-launcher-card .eg-lc-desc{margin:0 11px 12px!important;font:11px/1.5 system-ui!important;color:var(--pg-muted)!important;flex:1}
html body #games .eg-launcher-card .eg-lc-play{margin:0 10px!important;width:auto!important;border:1px solid var(--pg-line)!important;border-radius:9px!important;padding:8px!important;background:linear-gradient(135deg,var(--pg-soft),var(--pg-panel))!important;color:var(--pg-ink)!important;font-size:11px!important;box-shadow:inset 0 0 0 2px #b48b4123}
html body #games button:focus-visible{outline:2px solid var(--pg-line)!important;outline-offset:3px!important}
html body #erisGamesModal#erisGamesModal .eg-panel{background:var(--pg-panel)!important;color:var(--pg-ink)!important;border-color:var(--pg-line)!important}
html body #erisGamesModal#erisGamesModal .eg-stage{position:relative!important;background-image:linear-gradient(0deg,var(--pg-panel),color-mix(in srgb,var(--pg-panel) 93%,transparent)),var(--pg-header)!important;background-size:cover!important;background-position:center!important;border-color:var(--pg-line)!important}
html body #erisGamesModal#erisGamesModal .eg-keys{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body #erisGamesModal#erisGamesModal .eg-keys button{min-width:0!important;min-height:73px!important;padding:7px 3px!important;background:var(--pg-panel)!important;border:1px solid var(--pg-line)!important;color:var(--pg-ink)!important}
html body #erisGamesModal#erisGamesModal .eg-keys button.active{border:2px solid var(--pg-line)!important;background:var(--pg-soft)!important}
html body #erisGamesModal#erisGamesModal .lg-object{object-fit:contain!important;max-width:100%;filter:drop-shadow(0 2px 3px #321b1225)}
html body #erisGamesModal#erisGamesModal [data-play],html body #erisGamesModal#erisGamesModal [data-cashout],html body #erisGamesModal#erisGamesModal [data-controls] button{background-image:linear-gradient(135deg,#e7c98e,#ab7f36)!important;border:1px solid #98702d!important;color:#312411!important;box-shadow:inset 0 0 0 2px #f3dfac66!important;font-weight:800}
html body #erisGamesModal#erisGamesModal .eris-bj-card.back{background-image:linear-gradient(#164233c7,#164233c7),var(--pg-header)!important;background-size:cover!important;background-position:center!important}
html body #erisGamesModal#erisGamesModal .ev-chest-icon .lg-object{object-fit:contain;max-width:100%}
@media(min-width:800px){html body #games .eg-launcher-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:340px){html body #games .eg-launcher-grid{gap:8px!important}html body #games .eg-launcher-card .eg-lc-title{font-size:15px!important;margin-inline:9px!important}html body #games .eg-launcher-card .eg-lc-desc{font-size:10px!important;margin-inline:9px!important}}
html{--pg-primary:url('./assets/lidya-games-png/light/button-primary.png');--pg-secondary:url('./assets/lidya-games-png/light/button-secondary.png');--pg-status:url('./assets/lidya-games-png/light/panel-status.png')}
html[data-eris-theme="dark"]{--pg-primary:url('./assets/lidya-games-png/dark/button-primary.png');--pg-secondary:url('./assets/lidya-games-png/dark/button-secondary.png');--pg-status:url('./assets/lidya-games-png/dark/panel-status.png')}
html body #games .eg-launcher-card .eg-lc-play{background-image:var(--pg-secondary)!important;background-size:100% 100%!important}
html body #erisGamesModal#erisGamesModal button:not(.eris-cup){background-image:var(--pg-secondary)!important;background-size:100% 100%!important;background-position:center!important;color:var(--pg-ink)!important}
html body #erisGamesModal#erisGamesModal [data-play],html body #erisGamesModal#erisGamesModal [data-cashout],html body #erisGamesModal#erisGamesModal [data-controls] button{background-image:var(--pg-primary)!important;color:#302311!important;min-height:42px!important;padding:10px 18px!important;border-radius:11px!important}
html body #erisGamesModal#erisGamesModal .eg-result{background-image:var(--pg-status)!important;background-size:100% 100%!important;color:var(--pg-ink)!important}


/* A single layout for all launcher cards, including late-installed games. */
html body #games .eg-launcher-grid .eg-launcher-card>.pg-cover{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/1!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;margin:0!important;padding:0!important;background:var(--pg-panel)!important}
html body #games .eg-launcher-grid .eg-launcher-card .eg-lc-play{display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;background-image:var(--pg-secondary)!important;background-size:100% 100%!important;min-height:34px!important}

/* Preserve Dede's existing panorama crop; the card frame still matches all games. */
html body #games .eg-launcher-grid .eg-launcher-card[data-game="dede"]>.pg-cover{object-fit:cover!important;object-position:right center!important}

/* Full-bleed artwork uses the same 2:1 frame as the established menu. */
html body #games .eg-launcher-grid .eg-launcher-card[data-game="prenses"]>.pg-cover,html body #games .eg-launcher-grid .eg-launcher-card[data-game="dogparty"]>.pg-cover,html body #games .eg-launcher-grid .eg-launcher-card[data-game="candy"]>.pg-cover{object-fit:cover!important;object-position:center!important}
html body #games .pp-launcher-card:before,html body #games .dp-launcher-card:before{display:none!important}
