 .ghws{--ghws-ink:#172033;--ghws-muted:#687386;--ghws-primary:#5b45d6;--ghws-primary-dark:#4633b4;--ghws-line:#e6e9f0;--ghws-bg:#f6f7fb;position:relative;max-width:780px;margin:24px auto;padding:clamp(18px,4vw,32px);border:1px solid var(--ghws-line);border-radius:24px;background:#fff;color:var(--ghws-ink);font-family:inherit;box-shadow:0 18px 55px rgba(26,32,54,.08);overflow:hidden}
.ghws *{box-sizing:border-box}.ghws-header{text-align:center;margin-bottom:22px}.ghws-brand{display:inline-flex;align-items:center;gap:8px;color:var(--ghws-muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ghws-brand-mark{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:var(--ghws-primary);color:#fff;font-size:11px}.ghws-title{margin:12px 0 5px;font-size:clamp(25px,4vw,34px);line-height:1.15;font-weight:850;color:var(--ghws-ink)}.ghws-subtitle{margin:0;color:var(--ghws-muted);font-size:14px}
.ghws-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.ghws-level{border:1px solid var(--ghws-line);border-radius:14px;padding:12px 8px;background:#fff;color:var(--ghws-ink);cursor:pointer;text-align:center;transition:.18s}.ghws-level span{display:block;font-weight:800;font-size:14px}.ghws-level small{display:block;margin-top:4px;color:var(--ghws-muted);font-size:11px}.ghws-level.is-active{border-color:var(--ghws-primary);background:#f3f0ff;box-shadow:inset 0 0 0 1px var(--ghws-primary)}.ghws-level:disabled{opacity:.48;cursor:not-allowed}
.ghws-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.ghws-stats>div{padding:12px 8px;text-align:center;border-radius:13px;background:var(--ghws-bg)}.ghws-stats span{display:block;color:var(--ghws-muted);font-size:9px;font-weight:800;letter-spacing:.09em}.ghws-stats strong{display:block;margin-top:5px;font-size:20px;font-variant-numeric:tabular-nums}.ghws-low-time [data-time]{color:#d33b4b}
.ghws-play-area{padding:clamp(16px,3vw,25px);border-radius:19px;background:linear-gradient(145deg,#f7f6ff,#f5f8ff);text-align:center}.ghws-status{min-height:22px;margin-bottom:13px;color:var(--ghws-muted);font-size:13px;font-weight:650}.ghws-status.is-active{color:var(--ghws-primary)}.ghws-word-card{padding:22px 12px 16px;border:1px solid rgba(91,69,214,.12);border-radius:17px;background:rgba(255,255,255,.86)}.ghws-category{color:var(--ghws-primary);font-size:10px;font-weight:900;letter-spacing:.13em}.ghws-scrambled{margin:13px 0 8px;color:#25204a;font-size:clamp(31px,7vw,49px);font-weight:900;letter-spacing:.18em;overflow-wrap:anywhere}.ghws-hint{min-height:20px;margin:0;color:var(--ghws-muted);font-size:13px}
.ghws-solved-panel{margin:13px 0 12px;padding:12px 13px;border:1px solid #e2e5ef;border-radius:13px;background:#fff;text-align:left}
.ghws-solved-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:var(--ghws-muted);font-size:9px;font-weight:900;letter-spacing:.12em}
.ghws-solved-heading strong{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:20px;background:#f0edff;color:var(--ghws-primary);font-size:11px;letter-spacing:0}
.ghws-solved-words{display:flex;flex-wrap:wrap;gap:7px;min-height:28px;align-items:center}
.ghws-solved-empty{color:#929bad;font-size:11px;font-style:italic}
.ghws-solved-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #ccebd9;border-radius:999px;background:#effaf3;color:#176c42;font-size:11px;font-weight:850;letter-spacing:.025em;animation:ghws-chip-in .22s ease-out}
.ghws-solved-tick{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#d6f3e1;color:#147344;font-size:10px;font-weight:900}
@keyframes ghws-chip-in{from{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.ghws-answer-form{display:flex;gap:9px;margin:16px 0 10px}.ghws-answer-form input{min-width:0;flex:1;height:48px;padding:0 15px;border:1px solid #dce0eb;border-radius:12px;background:#fff;color:var(--ghws-ink);font:inherit;font-size:15px;outline:none}.ghws-answer-form input:focus{border-color:var(--ghws-primary);box-shadow:0 0 0 3px rgba(91,69,214,.12)}.ghws button{font:inherit}.ghws-submit,.ghws-start{border:0;border-radius:12px;padding:0 21px;background:var(--ghws-primary);color:#fff;font-weight:800;cursor:pointer;transition:.18s}.ghws-submit:hover,.ghws-start:hover{background:var(--ghws-primary-dark);transform:translateY(-1px)}.ghws button:disabled{opacity:.48;cursor:not-allowed;transform:none}.ghws-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.ghws-secondary,.ghws-restart{border:1px solid #dfe2ed;border-radius:10px;padding:9px 13px;background:#fff;color:var(--ghws-ink);font-size:12px;font-weight:750;cursor:pointer}.ghws-secondary span{color:var(--ghws-muted);font-size:10px}.ghws-feedback{min-height:24px;margin:10px 0 4px;font-size:13px;font-weight:800}.ghws-feedback.is-success{color:#14834c}.ghws-feedback.is-error{color:#c23b4b}.ghws-main-actions{display:flex;justify-content:center;gap:9px;margin-top:8px}.ghws-start{min-height:46px}.ghws-restart{min-height:46px;padding:0 18px}.ghws-footer{margin-top:17px;text-align:center;color:var(--ghws-muted);font-size:11px}.ghws-footer strong{color:var(--ghws-ink)}
.ghws-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:20px;background:rgba(20,24,43,.72);backdrop-filter:blur(5px)}.ghws-overlay[hidden]{display:none}.ghws-result{width:min(100%,390px);padding:27px 23px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 20px 70px rgba(0,0,0,.22);animation:ghws-pop .28s ease-out}.ghws-trophy{font-size:58px;line-height:1.2;animation:ghws-bounce .9s ease-in-out infinite alternate}.ghws-result h3{margin:10px 0 6px;font-size:25px;color:var(--ghws-ink)}.ghws-result p{margin:0;color:var(--ghws-muted);font-size:14px;line-height:1.5}.ghws-result-stats{display:flex;justify-content:center;gap:25px;margin:18px 0;color:var(--ghws-muted);font-size:12px}.ghws-result-stats strong{display:block;margin-top:4px;color:var(--ghws-ink);font-size:20px}.ghws-result .ghws-start{min-height:45px}@keyframes ghws-pop{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes ghws-bounce{to{transform:translateY(-7px) rotate(5deg)}}.ghws [hidden]{display:none!important}
@media(max-width:520px){.ghws{padding:15px;border-radius:17px}.ghws-levels{gap:6px}.ghws-level{padding:10px 4px}.ghws-level span{font-size:12px}.ghws-level small{font-size:9px}.ghws-stats{gap:5px}.ghws-stats>div{padding:10px 3px}.ghws-stats strong{font-size:17px}.ghws-answer-form{flex-direction:column}.ghws-answer-form input,.ghws-submit{width:100%;height:46px}.ghws-actions{gap:6px}}
