.hangman-board{max-width:560px;margin:12px auto;text-align:center}
.hangman-hint{color:#eedaff;font-weight:700}
.hangman-attempts{font:700 13px var(--mono);color:#ffc487}
.hangman-slots{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}
.hangman-slots span{display:grid;place-items:center;width:clamp(18px,6vw,36px);min-height:32px;border-bottom:2px solid #c292ff;color:#eddbff;font:700 clamp(14px,4vw,23px) var(--mono)}
.hangman-keys{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
.hangman-keys button{min-width:0;min-height:36px;padding:0;border:1px solid #70518b;border-radius:7px;background:#2c2040;color:#f5ebff;font:700 clamp(13px,3.5vw,18px) var(--mono);cursor:pointer;touch-action:manipulation}
.hangman-keys button:focus-visible{outline:2px solid #e2c0ff}
.hangman-keys button:disabled{cursor:default}
.hangman-keys .hangman-hit{border-color:#ace879;background:#314727;color:#ddffc1}
.hangman-keys .hangman-miss{border-color:#aa6175;background:#3b2533;color:#ffc1ca}
.hangman-drawing{position:relative;width:104px;height:115px;margin:6px auto 10px;border-bottom:3px solid #865fb3}
.hangman-drawing::before{content:"";position:absolute;inset:0 22px 0 12px;border-left:3px solid #865fb3;border-top:3px solid #865fb3;border-radius:3px}
.hangman-drawing::after{content:"";position:absolute;left:79px;top:0;height:15px;border-left:3px solid #865fb3}
.hangman-drawing i{position:absolute;left:79px;width:3px;height:19px;background:#ffae90;border-radius:3px;transform-origin:top;box-shadow:0 0 9px #f5848066}
.hangman-drawing .head{top:14px;left:68px;width:24px;height:24px;border:3px solid #ffae90;border-radius:50%;background:none}
.hangman-drawing .body{top:37px;height:29px}
.hangman-drawing .arm-left,.hangman-drawing .arm-right{top:43px}
.hangman-drawing .leg-left,.hangman-drawing .leg-right{top:63px}
.hangman-drawing .arm-left{transform:rotate(53deg)}
.hangman-drawing .arm-right{transform:rotate(-53deg)}
.hangman-drawing .leg-left{transform:rotate(36deg)}
.hangman-drawing .leg-right{transform:rotate(-36deg)}
