/* ===== Moe's games (play/): cards on Home and Play, full-screen overlay frame ===== */
body.noscroll{overflow:hidden}
section.block{scroll-margin-top:76px}
button{color:var(--ink);font-family:inherit}

/* home section header with Moe and her cups */
.gshead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.gshead-tx{display:grid;gap:6px;min-width:0}
.gshead .sub{margin:0}
.gmoe{height:170px;width:auto;margin-bottom:-6px;filter:drop-shadow(0 6px 10px rgba(201,2,22,.12))}
.gcups{display:flex;align-items:flex-end;gap:6px;margin-top:6px}
.gcups img{height:52px;width:auto}
.gcups .ghat{height:44px;margin-left:6px;transform:rotate(-6deg)}
@media(min-width:760px){.gmoe{height:230px}.gcups img{height:64px}.gcups .ghat{height:54px}}

/* game cards */
.gamegrid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-top:16px}
.gcard{display:grid;grid-template-rows:auto 1fr;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.gshot{display:block;width:100%;padding:0;border:0;background:var(--blush);cursor:pointer;aspect-ratio:6/5;max-width:100%;overflow:hidden}
.gshot img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.gshot:hover img{transform:scale(1.03)}
.gtx{display:grid;gap:8px;padding:14px 16px 16px;align-content:start}
.gmeta{display:flex;gap:6px;flex-wrap:wrap}
.gwhere{background:#fff;box-shadow:inset 0 0 0 1.5px var(--line)}
.gwhere svg{width:11px;height:14px}
.glvl.easy{background:var(--leaf);color:#fff}.glvl.medium{background:var(--pink)}.glvl.hard{background:var(--ink);color:#fff}
.gcard h3{font-size:1.35rem;color:var(--red)}
.gcard p{font-size:.94rem;margin:0}
.gfoot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:2px}
.gbest{font-size:.85rem;color:var(--muted)}.gbest b{color:var(--ink)}

/* play tab */
.playhead{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.playhead img{height:140px;width:auto;margin-bottom:-4px}
.ggroup{font-size:1.5rem;color:var(--red);margin-top:22px}
@media(min-width:760px){.playhead img{height:190px}}

/* overlay: the game page fills the screen */
.arcade{position:fixed;inset:0;z-index:90;background:var(--pink);padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);display:flex}
.arcade iframe{flex:1;width:100%;height:100%;border:0;display:block;background:var(--pink)}
