/* LidyaChat game launcher only. Approved artwork is separate from localized text. */
html body #games#games#games#games {
 --lg23-surface:url('./assets/lidya-games-art-v23/light/surface.png');
 --lg23-ink:#382414;--lg23-muted:#63482d;--lg23-edge:#c29b50;--lg23-base:#faf0db;
}
html[data-eris-theme="dark"] body #games#games#games#games {
 --lg23-surface:url('./assets/lidya-games-art-v23/dark/surface.png');
 --lg23-ink:#fff1d0;--lg23-muted:#ebd9b0;--lg23-edge:#c8a257;--lg23-base:#071e17;
}
html body #games#games#games#games .eg-launcher-grid {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-auto-rows:1fr;align-items:stretch!important;gap:10px!important;
}
html body #games#games#games#games .eg-launcher-grid button[data-lg23]:not([hidden]) {
 position:relative!important;isolation:isolate;display:flex!important;align-items:center!important;
 justify-content:flex-start!important;box-sizing:border-box!important;min-width:0!important;
 width:100%!important;height:100%!important;min-height:112px!important;max-height:none!important;
 aspect-ratio:auto!important;padding:10px 7px!important;grid-column:auto!important;gap:0!important;
 overflow:hidden!important;text-align:left!important;border:1px solid var(--lg23-edge)!important;
 border-radius:12px!important;background-color:var(--lg23-base)!important;background-image:linear-gradient(90deg,var(--lg23-base) 0%,transparent 82%),var(--lg23-surface)!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;
 color:var(--lg23-ink)!important;box-shadow:inset 0 0 0 1px #d9b87355,0 2px 5px #00000018!important;
}
html body #games#games#games#games .eg-launcher-grid button[data-lg23][hidden]{display:none!important}
html body #games#games#games#games button[data-lg23]::before,
html body #games#games#games#games button[data-lg23]::after{content:none!important;display:none!important}
html body #games#games#games#games button[data-lg23]>.pg-cover {
 position:absolute!important;inset:0 3px 0 auto!important;width:43%!important;height:100%!important;
 max-height:none!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:right center!important;display:block!important;z-index:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;opacity:1!important;
 padding:0!important;margin:0!important;filter:none!important;pointer-events:none;
 mask-image:linear-gradient(to right,transparent,#000 12% 94%,transparent),linear-gradient(to bottom,transparent,#000 7% 93%,transparent);mask-composite:intersect;
}
html body #games#games#games#games button[data-lg23]>.eg-lc-icon{display:none!important}
html body #games#games#games#games button[data-lg23]>.lgm-copy {
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:center!important;gap:4px!important;position:relative!important;z-index:1!important;
 inset:auto!important;transform:none!important;flex:0 0 56%!important;width:56%!important;max-width:56%!important;
 min-width:0!important;height:auto!important;padding:0!important;margin:0!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-title {
 display:block!important;width:100%!important;margin:0!important;padding:0!important;
 font:italic 600 clamp(12px,3.15vw,17px)/1.22 Georgia,serif!important;
 color:var(--lg23-ink)!important;text-shadow:none!important;letter-spacing:normal!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;hyphens:none!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-desc {
 display:block!important;width:100%!important;margin:0!important;padding:0!important;
 font:400 clamp(10px,2.7vw,13px)/1.28 system-ui,sans-serif!important;
 color:var(--lg23-muted)!important;text-shadow:none!important;white-space:normal!important;
 word-break:normal!important;overflow-wrap:anywhere!important;hyphens:none!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-play {
 display:flex!important;gap:5px!important;align-items:center!important;justify-content:flex-start!important;
 width:auto!important;min-height:0!important;height:auto!important;margin:2px 0 0!important;padding:0!important;
 position:static!important;background:none!important;border:0!important;box-shadow:none!important;
 font:700 10px/1.2 system-ui,sans-serif!important;color:var(--lg23-ink)!important;white-space:nowrap!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-play span{font:inherit!important;color:inherit!important;width:auto!important;padding:0!important;margin:0!important}
html body #games#games#games#games button[data-lg23]:focus-visible{outline:2px solid var(--lg23-edge)!important;outline-offset:2px!important}
html body #games#games#games#games button[data-lg23]:disabled{opacity:.55!important}
html body #games#games#games#games button[data-lg23]:active:not(:disabled){filter:brightness(.94)!important}
html body #games#games#games#games>.title[data-lg23-header]{
 position:relative!important;isolation:isolate;display:flex!important;align-items:center!important;
 min-height:100px!important;height:auto!important;padding:14px 43% 14px 14px!important;
 background-color:var(--lg23-base)!important;background-image:linear-gradient(90deg,var(--lg23-base) 0%,transparent 82%),var(--lg23-surface)!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;
 border:1px solid var(--lg23-edge)!important;border-radius:14px!important;color:var(--lg23-ink)!important;
 font:700 clamp(23px,6vw,36px)/1.2 Georgia,serif!important;overflow:hidden!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
html body #games#games#games#games>.title[data-lg23-header]::before{
 content:''!important;position:absolute!important;inset:3px 5px 3px auto!important;width:41%!important;
 background:var(--lg23-header) right center/contain no-repeat!important;z-index:-1!important;
 mask-image:linear-gradient(to right,transparent,#000 10% 94%,transparent),linear-gradient(to bottom,transparent,#000 7% 93%,transparent);mask-composite:intersect;pointer-events:none;
}
html body #games#games#games#games>.title[data-lg23-header]::after{content:none!important;display:none!important}
@media(max-width:355px){
 html body #games#games#games#games .eg-launcher-grid{grid-template-columns:minmax(0,1fr)!important}
 html body #games#games#games#games .eg-launcher-grid button[data-lg23]:not([hidden]){min-height:100px!important;padding:10px 12px!important}
}

/* LIDYACHAT APPROVED GAME ART V2.20: separate text and un-stretched source motif. */
html body #games#games#games#games {
 --lg220-surface:url('./assets/lidya-games-cards-v220/light/surface.png');
}
html[data-eris-theme="dark"] body #games#games#games#games {
 --lg220-surface:url('./assets/lidya-games-cards-v220/dark/surface.png');
}
html body #games#games#games#games .eg-launcher-grid button[data-lg23]:not([hidden]) {
 min-height:108px!important; height:100%!important; padding:9px 7px!important;
 background-image:var(--lg220-surface)!important;
 background-size:100% 100%!important; background-position:center!important;
 border-radius:12px!important;
}
html body #games#games#games#games .eg-launcher-grid button[data-lg23]>.pg-cover {
 inset:0 3px 0 auto!important; width:48%!important; height:100%!important;
 object-fit:contain!important; object-position:right center!important;
 mask-image:none!important; -webkit-mask-image:none!important;
 pointer-events:none!important;
}
html body #games#games#games#games .eg-launcher-grid button[data-lg23]>.lgm-copy {
 flex:0 0 52%!important; width:52%!important; max-width:52%!important;
 min-width:0!important; align-self:center!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-title {
 font-size:clamp(12px,3.05vw,16px)!important;
 overflow-wrap:break-word!important; word-break:normal!important;
}
html body #games#games#games#games button[data-lg23] .eg-lc-desc {
 font-size:clamp(10px,2.65vw,13px)!important; overflow-wrap:break-word!important;
}
@media(max-width:355px){
 html body #games#games#games#games .eg-launcher-grid button[data-lg23]:not([hidden]){min-height:98px!important;padding:10px 12px!important}
}
/* END LIDYACHAT APPROVED GAME ART V2.20 */

/* LIDYACHAT GAME LAYOUT V2.27: independent grid tracks, dynamic text. */
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]:not([hidden]) {
 display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;
 grid-template-rows:auto!important;grid-auto-flow:row!important;align-items:center!important;
 justify-items:stretch!important;align-content:center!important;justify-content:stretch!important;
 gap:6px!important;padding:10px 8px!important;min-height:108px!important;
 height:100%!important;max-height:none!important;overflow:hidden!important;
}
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]>.lgm-copy {
 grid-column:1!important;grid-row:1!important;position:static!important;inset:auto!important;
 transform:none!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;justify-content:center!important;align-self:center!important;
 justify-self:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
 text-align:left!important;gap:4px!important;overflow:hidden!important;
}
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]>.pg-cover {
 grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important;
 transform:none!important;display:block!important;align-self:center!important;justify-self:stretch!important;
 width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;
 min-height:0!important;max-height:100px!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center!important;box-sizing:border-box!important;
 margin:0!important;padding:0!important;pointer-events:none!important;
}
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]>.lgm-copy :is(.eg-lc-title,.eg-lc-desc,.eg-lc-play) {
 min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;
 position:static!important;transform:none!important;text-align:left!important;margin:0!important;padding:0!important;
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
 text-wrap:wrap!important;overflow:visible!important;
}
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]>.lgm-copy .eg-lc-play {
 display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;
 background:none!important;box-shadow:none!important;border:0!important;
}
html body #games#games#games#games .eg-launcher-grid button.eg-launcher-card[data-lg23]>.lgm-copy .eg-lc-play span {
 min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
/* END LIDYACHAT GAME LAYOUT V2.27 */
