.hangman-shell{padding-block:20px;max-width:1100px;width:calc(100% - 40px);margin-inline:auto;min-width:0}.hangman-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:15px}.hangman-heading h1{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--navy);letter-spacing:-.04em;margin:4px 0 8px;overflow-wrap:anywhere}.hangman-heading .lead{font-size:.95rem;margin:0;max-width:680px}.hangman-heading .eyebrow{margin:0;font-size:.65rem}.hangman-sound{font-size:.75rem;white-space:nowrap;padding:9px 12px}.hangman-panel{padding:20px;background:#fff;border:1px solid #d8e5d9;border-radius:24px;box-shadow:0 14px 40px #132e2812;min-width:0}.hangman-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e3ebe5;padding-bottom:12px}.hangman-toolbar label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.8rem}.hangman-toolbar select{min-height:38px;max-width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px}.hangman-counters{display:flex;gap:18px;flex-wrap:wrap;font-size:.75rem;color:#4d605a}.hangman-counters strong{display:block;font-size:1.15rem;color:#102f26}.hangman-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;padding-top:16px;align-items:start}.hangman-playfield{min-width:0;text-align:center}.hangman-stage{position:relative;min-height:280px;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 60% 85%,#d2e9bf 0,transparent 55%),linear-gradient(145deg,#eff8ec,#fbfaf0)}.hangman-stage:before{content:'';position:absolute;inset:auto 0 0;height:28px;background:#c7dda9;border-radius:50% 60% 0 0}.hangman-drawing{display:block;width:100%;max-width:360px;height:280px;margin:auto;color:#173e33;position:relative;z-index:1}.hangman-frame{stroke:#92632d;stroke-width:7}.hangman-new-stroke{animation:hangman-draw .45s ease-out}.hangman-professor{position:absolute;width:190px;height:190px;object-fit:contain;left:-38px;bottom:3px;z-index:2;pointer-events:none}.hangman-stars{position:absolute;top:30px;left:50%;color:#8c5900;font-size:2.5rem;opacity:0;transform:translateX(-50%);pointer-events:none}.is-won .hangman-stars{opacity:1;animation:hangman-celebrate .7s ease-out}.is-won .hangman-professor{animation:hangman-bounce .6s ease-out}.hangman-clue{font-size:1rem;line-height:1.5;overflow-wrap:anywhere;background:#fff8df;border:1px solid #efdfaa;border-radius:12px;padding:10px;margin:14px 0 0}.hangman-word{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:16px 0;min-height:40px}.hangman-word span{display:grid;place-items:center;width:30px;min-height:36px;border-bottom:3px solid #245a48;font-size:1.2rem;font-weight:800}.hangman-word .hangman-article{width:auto;border:0;padding-right:6px;color:var(--muted)}.hangman-controls{padding:12px;border-radius:18px;background:#f5f8fc;min-width:0}.hangman-guide{display:flex;gap:4px;align-items:center;margin-bottom:10px}.hangman-guide img{width:78px;height:70px;object-fit:contain}.hangman-guide p{font-size:.8rem;font-weight:700;line-height:1.4;color:#193c32;margin:0}.hangman-keyboard{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.hangman-keyboard button{min-height:38px;min-width:0;padding:5px 0;border:1px solid #cedbea;border-radius:8px;color:var(--navy);background:#fff;font-size:.84rem;font-weight:800;box-shadow:0 2px 0 #d3ddea;cursor:pointer}.hangman-keyboard button:hover:not(:disabled){background:#fff3c4;transform:translateY(-1px)}.hangman-keyboard button:disabled{background:#e5e9ed;color:#546171;cursor:default;box-shadow:none}.hangman-keyboard button[data-correct=true]{background:#18724f;color:#fff;border-color:#18724f}.hangman-keyboard button[data-correct=false]{background:#984139;color:#fff;border-color:#984139}.hangman-panel button:focus-visible,.hangman-panel select:focus-visible,.hangman-panel input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.hangman-solve{margin-top:20px}.hangman-solve label{font-size:.83rem;font-weight:800}.hangman-solve>div{display:flex;gap:6px;margin:7px 0}.hangman-solve input{width:100%;min-width:0;border:1px solid #bdcada;border-radius:9px;padding:8px;background:#fff;min-height:40px;font-size:1rem}.hangman-solve button{padding:8px 10px;font-size:.8rem}.hangman-solve small{font-size:.72rem;line-height:1.4;color:#536176;display:block}.hangman-status{min-height:1.7em;font-weight:800;margin:12px 0 0;font-size:.95rem;overflow-wrap:anywhere}.is-won .hangman-status{color:#136342}.is-lost .hangman-status{color:#923c35}.hangman-score-detail{font-size:.75rem;color:#405c50;margin:6px 0 0}.hangman-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:18px;border-top:1px solid #e3ebe5;padding-top:14px}.hangman-actions .btn{padding:10px 14px;font-size:.8rem}.hangman-actions small{font-size:.7rem;color:#536176;flex:1;min-width:180px}.hangman-preview{padding-block:18px}.hangman-preview>.hangman-shell{width:100%;padding-top:18px}.hangman-note{font-size:.8rem;color:var(--muted)}@keyframes hangman-draw{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes hangman-celebrate{from{opacity:0;transform:translate(-50%,30px) scale(.6)}to{opacity:1;transform:translate(-50%,0) scale(1)}}@keyframes hangman-bounce{50%{transform:translateY(-16px)}}@media(max-width:760px){.hangman-shell{width:calc(100% - 24px);padding-block:15px}.hangman-layout{grid-template-columns:1fr;gap:14px}.hangman-heading{display:block}.hangman-sound{margin-top:10px}.hangman-panel{padding:14px}.hangman-stage{min-height:220px}.hangman-drawing{height:220px;max-width:310px}.hangman-professor{width:155px;height:155px;left:-26px}.hangman-controls{padding:12px}.hangman-guide{display:none}.hangman-keyboard button{min-height:40px}.hangman-solve{margin-top:14px}.hangman-word{margin-block:14px}.hangman-counters{gap:14px}.hangman-counters strong{font-size:1rem}}@media(prefers-reduced-motion:reduce){.hangman-new-stroke,.is-won .hangman-stars,.is-won .hangman-professor{animation:none}.hangman-keyboard button:hover:not(:disabled){transform:none}}

.hangman-more{display:flex;flex-wrap:wrap;gap:16px;padding-block:18px}.hangman-more a{font-size:.85rem;font-weight:700;color:#234c3d;text-underline-offset:3px}
.hangman-word .hangman-separator{border-bottom:0;width:12px}
.hangman-results{margin-top:18px;min-width:0}.hangman-results>p{text-align:center;font-size:.85rem}.hangman-results>button{display:block;margin:10px auto}.hangman-results>button[hidden]{display:none}.hangman-results .local-leaderboard{margin-top:14px}.hangman-results h2{font-size:1.15rem;margin:6px 0 14px}.hangman-results .field,.hangman-results input,.hangman-results li>strong{min-width:0}.hangman-results li>strong{overflow-wrap:anywhere}.hangman-results [data-round-save-status],.hangman-results [data-board-status],.hangman-results [data-leaderboard-notice]{overflow-wrap:anywhere}.hangman-results [data-board-status],.hangman-results [data-leaderboard-notice]{font-size:.8rem}
