.hm-game,.hm-setup{color:hsl(var(--foreground));min-width:0}.hm-root{scroll-margin-top:6.5rem}.hm-game{container:hangman/inline-size}.hm-game button{touch-action:manipulation}.hm-game>header{gap:.5rem}.hm-game>header button{min-width:44px;min-height:44px}.hm-toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.hm-chip{background:hsl(var(--muted));font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .65rem;font-size:.75rem;font-weight:600;display:inline-flex}.hm-chip svg{width:14px;height:14px}.hm-chip--level{color:hsl(var(--primary));background:hsl(var(--primary) / .1)}.hm-board,.hm-setup,.hm-level-picker{border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:0 8px 24px hsl(var(--foreground) / .04);border-radius:24px;padding:clamp(12px,3vw,24px)}.hm-board{gap:1rem;display:grid}.hm-scene{grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(8px,2vw,24px);display:grid}.hm-figure{fill:none;stroke-width:6px;stroke-linecap:round;stroke-linejoin:round;width:100%;max-height:170px;display:block}.hm-ground{fill:hsl(var(--primary) / .06);stroke:none}.hm-base,.hm-scaffold{stroke:hsl(var(--primary))}.hm-person{stroke:hsl(var(--foreground))}.hm-person circle{fill:hsl(var(--primary) / .12)}.hm-drawing-step{transform-origin:50%;animation:.2s ease-out both hm-draw-in}@keyframes hm-draw-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}.hm-chances{gap:.65rem;min-width:0;display:grid}.hm-chances strong{font-size:clamp(1rem,2.8vw,1.35rem)}.hm-chances[data-low=true] strong{color:hsl(var(--destructive))}.hm-chance-marks{gap:4px;display:flex}.hm-chance-marks span{background:hsl(var(--primary));border-radius:4px;flex:1;max-width:26px;height:7px}.hm-chance-marks span[data-used=true]{background:hsl(var(--muted));border:1px solid hsl(var(--border))}.hm-hint{overflow-wrap:anywhere;color:hsl(var(--muted-foreground));align-items:flex-start;gap:.4rem;font-size:.875rem;line-height:1.45;display:flex}.hm-hint svg{color:hsl(var(--primary));flex:0 0 16px;margin-top:2px}.hm-chances button{white-space:normal;text-align:left;justify-self:start;min-height:44px}.hm-word-display{flex-wrap:wrap;justify-content:center;gap:12px;width:100%;display:flex}.hm-word{flex-wrap:wrap;justify-content:center;gap:4px;max-width:100%;display:flex}.hm-tile{border:1px solid hsl(var(--border));border-bottom:3px solid hsl(var(--primary) / .55);background:hsl(var(--muted) / .5);border-radius:8px;flex:none;justify-content:center;align-items:center;width:clamp(26px,5vw,42px);min-height:clamp(36px,6vw,52px);font-size:clamp(18px,3.5vw,26px);font-weight:750;line-height:1;display:inline-flex}.hm-tile[data-revealed=true]{background:hsl(var(--primary) / .09);color:hsl(var(--foreground));border-bottom-color:hsl(var(--primary))}.hm-tile[data-missed=true]{color:hsl(var(--destructive));border-color:hsl(var(--destructive) / .45)}.hm-tile--punctuation{background:0 0;border:0;width:auto;min-width:12px}.hm-key-area{gap:.5rem;display:grid}.hm-keyboard{grid-template-columns:repeat(5,minmax(44px,1fr));gap:6px;display:grid}.hm-game .hm-key{border:1.5px solid hsl(var(--border));background:hsl(var(--background));min-width:44px;min-height:44px;color:hsl(var(--foreground));border-bottom-width:3px;border-radius:10px;padding:8px 3px;font-size:1rem;font-weight:700;transition:background .12s,border-color .12s;position:relative}.hm-game .hm-key:enabled:hover{background:hsl(var(--primary) / .1);border-color:hsl(var(--primary))}.hm-game .hm-key:enabled:active{transform:translateY(1px)}.hm-game button:focus-visible{outline:3px solid hsl(var(--ring));outline-offset:2px}.hm-game .hm-key[data-result=correct]{background:hsl(var(--success) / .16);border-color:hsl(var(--success));color:hsl(var(--foreground))}.hm-game .hm-key[data-result=wrong]{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.hm-key svg{width:10px;height:10px;position:absolute;top:2px;right:2px}.hm-instruction{text-align:center;color:hsl(var(--muted-foreground));margin:0;font-size:.75rem}.hm-outcome{text-align:center;gap:.75rem;display:grid}.hm-outcome h2{font-size:1.25rem;font-weight:750}.hm-outcome>button{justify-self:center;min-height:44px}.hm-level-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:1rem;display:flex}.hm-level-heading h2,.hm-setup h2{font-size:1.2rem;font-weight:750}.hm-levels{gap:.65rem;display:grid}.hm-level{text-align:left;border:2px solid hsl(var(--border));background:hsl(var(--background));border-radius:16px;grid-template-columns:1fr auto;gap:.25rem .5rem;min-height:72px;padding:1rem;display:grid}.hm-level:hover{border-color:hsl(var(--primary));background:hsl(var(--primary) / .05)}.hm-level strong{font-size:1rem}.hm-level small{color:hsl(var(--muted-foreground))}.hm-level .hm-chip{grid-area:1/2/3;align-self:center}.hm-setup form{gap:1rem;margin-top:1rem;display:grid}.hm-setup label{margin-bottom:.4rem;font-size:.875rem;font-weight:600;display:block}.hm-setup input,.hm-setup button{min-height:44px}.hm-setup p{color:hsl(var(--muted-foreground));margin-top:.35rem;font-size:.875rem}@container hangman (width>=320px){.hm-keyboard{grid-template-columns:repeat(6,minmax(44px,1fr))}}@container hangman (width>=430px){.hm-keyboard{grid-template-columns:repeat(8,minmax(44px,1fr))}}@container hangman (width>=560px){.hm-keyboard{grid-template-columns:repeat(10,minmax(44px,1fr))}.hm-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-level{grid-template-columns:1fr}.hm-level .hm-chip{grid-area:auto/1;justify-self:start}}@media (width<=380px){.hm-board{gap:.8rem;padding:10px}.hm-figure{max-height:125px}}@media (prefers-reduced-motion:reduce){.hm-drawing-step{animation:none}.hm-key{transition:none}}
