:root{color-scheme:light;font-family:system-ui,sans-serif;color:#172942;background:#eef6f4;--muted: #4e6270;--accent: #115951;--border: #cbded9}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible{outline:3px solid #126d8b;outline-offset:3px}.topbar{max-width:68rem;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,2rem)}.brand{font-weight:800;letter-spacing:.02em;white-space:nowrap}.brand span{color:var(--accent)}.language{display:flex;gap:.55rem;align-items:center;font-size:.875rem}.language select{min-height:44px;padding:.4rem;border:1px solid var(--border);border-radius:.65rem;background:#fff;color:inherit}main{max-width:64rem;margin:0 auto;padding:1rem clamp(.75rem,4vw,2rem) 2rem}.intro{margin-bottom:1.4rem}h1{font-size:clamp(2.6rem,7vw,4.2rem);letter-spacing:-.06em;line-height:1;margin:0}.intro p{color:var(--muted);margin:.75rem 0 0}.board{display:grid;grid-template-columns:minmax(11rem,1fr) minmax(0,2fr);background:#fff;border:1px solid var(--border);border-radius:1.4rem;padding:clamp(.75rem,3vw,1.5rem);gap:clamp(.75rem,3vw,1.5rem)}.drawing{display:grid;place-items:center;background:#dff0e9;border-radius:1rem;color:#17685c;padding:.75rem}.gallows{position:relative;width:108px;height:136px}.gallows i{position:absolute;display:block;background:currentColor;border-radius:4px}.gallows .base{left:1px;bottom:4px;width:78px;height:5px}.gallows .post{left:17px;top:4px;bottom:6px;width:5px}.gallows .beam{left:17px;top:4px;width:63px;height:5px}.gallows .rope{left:77px;top:5px;width:4px;height:22px}.gallows .head{left:66px;top:25px;width:26px;height:26px;background:none;border:4px solid;border-radius:50%}.head span{position:absolute;background:currentColor;border-radius:2px}.head .eyes{left:4px;top:4px;width:3px;height:3px;box-shadow:7px 0 currentColor}.head .nose{left:8px;top:8px;width:2px;height:3px}.head .mouth{left:6px;top:13px;width:6px;height:2px}.gallows .body{left:77px;top:49px;width:4px;height:40px}.gallows .arm,.gallows .leg{left:77px;width:4px;transform-origin:top center}.gallows .arm{top:57px;height:24px}.gallows .leg{top:85px;height:29px}.left-arm{transform:rotate(50deg)}.right-arm{transform:rotate(-50deg)}.left-leg{transform:rotate(31deg)}.right-leg{transform:rotate(-31deg)}.gallows .noose{left:71px;top:48px;width:16px;height:10px;background:none;border:3px solid #b31b2c;border-radius:50%;transform:rotate(-18deg)}.attempts{margin:.1rem 0 .9rem;color:var(--muted);font-size:.9rem}.attempts strong{margin-left:.4rem;color:#172942;font-variant-numeric:tabular-nums}.word{display:flex;flex-wrap:wrap;gap:clamp(3px,1vw,8px)}.tile{width:clamp(17px,5vw,35px);height:2.25rem;border-bottom:3px solid var(--accent);text-align:center;font-size:clamp(1.1rem,4vw,1.55rem);font-weight:800;text-transform:uppercase}.feedback{min-height:3rem;padding-top:.65rem;font-size:.95rem}.keyboard{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:.35rem}.key{min-height:44px;border:1px solid var(--border);border-radius:.55rem;background:#f2f7f5;color:inherit;font-weight:750;padding:0}.key:not(:disabled):hover{background:#dff0e9;border-color:var(--accent)}.key:disabled{color:#526570;cursor:default}.key.correct{color:#124d41;background:#d4efe3;border-color:#87bba9}.key.wrong{color:#732d25;background:#f9e5e0;border-color:#e6b5a8;text-decoration:line-through}.hint{font-size:.84rem;color:var(--muted);margin:.8rem 0}.restart{border:0;border-radius:.65rem;background:var(--accent);color:#fff;min-height:44px;padding:.55rem 1rem;font-weight:750}.restart:hover{background:#0d4842}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:660px){.board{grid-template-columns:minmax(0,1fr)}.drawing{padding:.15rem}.gallows{scale:.8}.keyboard{grid-template-columns:repeat(7,minmax(0,1fr))}}@media(max-width:345px){.language span{position:absolute;clip-path:inset(50%)}}
