/* MTWAFIQ v22.43 · "How it works": the step pictures of a game or simulation (build/howto_pages.py) */
.howto{padding-top:clamp(36px,5vw,64px);padding-bottom:clamp(24px,4vw,48px)}
.howto h2{margin:0 0 6px}
.howto .ht-lead{margin:0 0 22px;color:var(--muted);max-width:70ch}
.howto .ht-show{margin:-8px 0 22px;display:flex;flex-wrap:wrap;gap:8px}   /* Builder K's "Show me" (build/show_me.py) always sits here: under the lead, above the pictures */
.ht-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:22px 20px;counter-reset:ht}
.ht-list li{counter-increment:ht;min-width:0}
.ht-list figure{margin:0}
.ht-list img{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:var(--r-sm,12px);background:#fff}
.ht-list figcaption{margin-top:9px;font-size:.93rem;line-height:1.45;color:var(--text)}
.ht-list figcaption::before{content:counter(ht);display:inline-grid;place-items:center;width:1.55em;height:1.55em;margin-inline-end:8px;border-radius:50%;border:1.5px solid var(--turq,#1FB5B2);color:var(--heading);font-weight:700;font-size:.85em;vertical-align:.05em}
