html.zw-games-hub-ready #fish-quebec-link,html.zw-games-hub-ready #zworld-pwz-link,html.zw-games-hub-ready #zworld-rummy-link,html.zw-games-hub-ready #zworld-tetris-link{display:none!important}
#games-window.zh-window{background:var(--zw-panel,#191823)}
#games-window.zh-window [hidden]{display:none!important}
#games-window.zh-window .games-titlebar{border-bottom:1px solid var(--zw-border,#514365);gap:8px;padding:12px 16px;min-height:54px;box-sizing:border-box}
#games-window.zh-window .games-titlebar strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#games-window.zh-window .games-titlebar button{border-radius:11px;color:inherit;min-width:34px;min-height:34px;background:#ffffff06}
#games-window.zh-window .games-titlebar .zh-back{font:600 13px system-ui;padding:4px 10px;border:1px solid #b894ed40;color:var(--purple,#b999ed)}
#games-window.zh-window .games-content{display:block;padding:0;overflow:auto;overscroll-behavior:contain;min-width:0}
#games-window .zh-home{padding:24px 22px 16px;box-sizing:border-box;width:100%}
#games-window .zh-intro>span{color:var(--purple,#b999ed);font:700 9px system-ui;letter-spacing:2px}
#games-window .zh-intro h2{font:750 clamp(23px,3vw,30px)/1.2 system-ui;margin:9px 0;color:inherit}
#games-window .zh-intro p{font:400 12px/1.6 system-ui;color:var(--muted,#aaa4b8);margin:0 0 22px}
#games-window .zh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr));gap:10px}
#games-window .zh-card{--zh-accent:#baa0ed;display:flex;align-items:center;gap:13px;padding:16px 13px;min-height:108px;width:100%;box-sizing:border-box;position:relative;overflow:hidden;border-radius:15px;border:1px solid #b59bd629;background:linear-gradient(125deg,#b697db0e,transparent),#ffffff03;color:inherit;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,transform .16s;font-family:system-ui}
#games-window .zh-card[data-tone=mint]{--zh-accent:#79d4b7}#games-window .zh-card[data-tone=blue]{--zh-accent:#83c7e4}#games-window .zh-card[data-tone=gold]{--zh-accent:#e6bf82}#games-window .zh-card[data-tone=rose]{--zh-accent:#e5a0b5}
#games-window .zh-card:hover{border-color:var(--zh-accent);background:#ffffff08;transform:translateY(-1px)}
#games-window .zh-card[data-game-id="2048"]{grid-column:1/-1;min-height:88px}
#games-window .zh-card:focus-visible,#games-window .zh-back:focus-visible{outline:2px solid var(--zh-accent,var(--purple,#ba9bea));outline-offset:3px}
#games-window .zh-icon{display:grid;place-items:center;flex:0 0 43px;height:48px;color:var(--zh-accent)}
#games-window .zh-icon svg{width:42px;height:42px;fill:currentColor;fill-opacity:.15;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#games-window .zh-words{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
#games-window .zh-words small{font-size:8px;font-weight:700;letter-spacing:1.2px;color:var(--zh-accent)}
#games-window .zh-words strong{font-size:16px;font-weight:700;color:inherit;line-height:1.25}
#games-window .zh-words>span{font-size:11px;line-height:1.4;color:var(--muted,#aaa4b8)}
#games-window .zh-arrow{color:var(--zh-accent);font-size:21px;font-weight:400}
#games-window .zh-foot{display:flex;justify-content:space-between;align-items:center;font:400 10px system-ui;color:var(--muted,#aaa4b8);margin:22px 0 2px}
#games-window .zh-foot span{color:var(--purple,#b999ed);font-size:18px}
#games-window .zh-solo{padding:20px 22px;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;min-width:0}
#games-window .zh-player{width:100%;height:100%;display:flex;flex-direction:column;position:relative;min-height:0}
#games-window .zh-game-frame{display:block;flex:1;width:100%;min-height:0;border:0;background:#14131d}
#games-window[data-games-view=external] .games-content{overflow:hidden}
#games-window .zh-loading{position:absolute;left:16px;top:12px;z-index:1;font:500 13px system-ui;color:#eee;background:#242132;padding:12px;border-radius:12px}
#games-window .zh-direct{flex:none;text-align:center;font:500 10px/1.4 system-ui;color:var(--muted,#aaa4b8);padding:6px 10px;min-height:26px;box-sizing:border-box;background:var(--zw-panel,#191823);text-decoration:none}
#games-window .zh-direct:hover{color:var(--purple,#b999ed);text-decoration:underline}
@media(max-width:760px){#games-window .zh-home{padding:22px 18px max(20px,env(safe-area-inset-bottom))}#games-window .zh-grid{grid-template-columns:1fr}#games-window .zh-card{min-height:93px;padding:14px}#games-window .zh-words strong{font-size:17px}#games-window .zh-words>span{font-size:12px}#games-window .zh-intro p{font-size:13px}#games-window.zh-window .games-titlebar{padding:10px 12px}#games-window .zh-solo{padding:24px 18px}#games-window .zh-direct{font-size:11px;min-height:30px}}
@media(prefers-reduced-motion:reduce){#games-window .zh-card{transition:none}#games-window .zh-card:hover{transform:none}}
