/* 929 Family games as Do it with me: Pin's screens over the page, one question each (docs/design/sketches/929.css) */
html.gm-on { overflow: hidden; }
.gm { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; }
.gm[hidden] { display: none; }
.gm-top { display: flex; justify-content: space-between; padding: max(8px, env(safe-area-inset-top)) 8px 0; }
.gm-x { min-width: var(--tap); min-height: var(--tap); border: 0; background: none; color: var(--ink); font: 400 28px/1 var(--ui); touch-action: manipulation; cursor: pointer; }
.gm-main { flex: 1; overflow-y: auto; padding: 8px 20px max(24px, env(safe-area-inset-bottom)); }
.gm-main h2 { font: 700 var(--h2, 26px)/1.2 var(--ui); margin: 12px 0 16px; }
.gm-p { color: var(--muted); margin: 0 0 14px; }
.gm-ok { color: var(--accent); font-weight: 700; margin: 0; }
.gm-choices { display: grid; gap: 12px; }
.gm-big { min-height: 72px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: 700 20px/1.2 var(--ui); touch-action: manipulation; cursor: pointer; }
[data-theme="large"] .gm-big { min-height: 84px; }
.gm-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--btn); border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: 600 max(18px, var(--body))/1.2 var(--ui); margin-top: 16px; text-decoration: none; touch-action: manipulation; cursor: pointer; }
.gm-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--tap); border: 0; background: none; color: var(--accent); font: 600 var(--small) var(--ui); margin-top: 6px; text-decoration: none; touch-action: manipulation; cursor: pointer; }
.gm-stack { display: grid; gap: 10px; }
.gm-sh { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); }
.gm-sh span { display: block; color: var(--muted); font-size: var(--small); }
.gm-pg { display: block; width: 44px; height: 56px; border: 1.5px solid var(--line); border-radius: 4px; background: repeating-linear-gradient(var(--surface) 0 7px, var(--line) 7px 8px); }
.gm-kw { white-space: nowrap; }
