.hg-wrapper{max-width:800px;margin:2em auto;font-family:inherit;box-sizing:border-box}.hg-wrapper *{box-sizing:border-box}.hg-wrapper button{text-decoration:none!important}.hg-card{background:#fff;border-radius:12px;box-shadow:0 4px 20px rgb(95 79 152 / .15);padding:2.5em;border:1px solid rgb(95 79 152 / .2);overflow:hidden}.hg-hidden{display:none!important}.hg-welcome-card{background:linear-gradient(135deg,#f5f3fc 0%,#e8e3f7 100%);margin:-2.5em;padding:3.5em 2.5em 2.5em 2.5em;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:380px}.hg-welcome-title{color:#5f4f98;font-size:1.8em;font-weight:700;margin-top:0;margin-bottom:1.5em;line-height:1.3}.hg-btn-launch{max-width:280px;box-shadow:0 4px 12px rgb(95 79 152 / .25)}.hg-welcome-footer{margin-top:3em;color:#776a9e;font-size:.95em;line-height:1.5}.hg-title{color:#5f4f98;margin-top:0;margin-bottom:1.5em;font-size:1.5em}.hg-setup-group{margin-bottom:1.5em}.hg-label{display:block;font-weight:700;margin-bottom:.5em;color:#333}.hg-select{width:100%;padding:.7em;font-size:1em;border:1px solid #ccc;border-radius:4px}.hg-flex-row{display:flex;gap:.5em;flex-wrap:wrap}.hg-btn-toggle{padding:.5em 1em;background:#f0f0f0;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:.95em;color:#333;transition:all 0.2s}.hg-btn-toggle.active{background:#5f4f98;color:#fff;border-color:#5f4f98}.hg-checkbox{display:block;margin-bottom:.5em;cursor:pointer}.hg-btn-primary{display:block;width:100%;padding:.9em;background:#5f4f98;color:#fff!important;font-size:1.2em;font-weight:700;border:none;border-radius:6px;cursor:pointer;transition:background 0.3s,transform 0.2s}.hg-btn-primary:hover{background:#f05;color:#fff!important}.hg-game-header{display:flex;justify-content:space-between;font-weight:700;color:#5f4f98;margin-bottom:1.5em;border-bottom:2px solid rgb(95 79 152 / .1);padding-bottom:.5em}.hg-game-area{text-align:center;min-height:220px;display:flex;flex-direction:column;justify-content:center}.hg-prompt-text,.hg-option-btn,.hg-text-input,.hg-feedback-forms,.hg-stacked-item,.hg-translation-box,.hg-target-word,.hg-errors-textarea{font-family:'SBL Hebrew','SBL','Arial',sans-serif;direction:rtl}.hg-prompt-text{font-size:1.4em;color:#5f4f98;margin-bottom:2em;font-weight:400}.hg-prompt-text b{font-weight:700;color:#4a3d7a}.hg-stack{display:flex;flex-direction:column;align-items:center;gap:1.2em;width:100%}.hg-stacked-item{font-size:2.3em;color:#222;font-weight:400}.hg-options-grid{display:flex;justify-content:center;gap:1em;flex-wrap:wrap;direction:rtl;width:100%}.hg-inline-task{display:flex;align-items:center;justify-content:center;gap:1em;flex-wrap:wrap;direction:rtl;width:100%}.hg-target-word{font-size:2.2em;color:#222;font-weight:400;margin:0;line-height:1}.hg-option-btn{font-size:2.2em;padding:.35em .8em;background:#fff;border:none;box-shadow:0 3px 10px rgb(95 79 152 / .12);color:#5f4f98;border-radius:8px;cursor:pointer;transition:all 0.2s ease;min-width:130px;font-weight:400;outline:none}.hg-option-btn:hover,.hg-option-btn:focus-visible{background:#fff;transform:translateY(-2px);box-shadow:0 6px 16px rgb(95 79 152 / .25);outline:2px solid #5f4f98}.hg-option-btn.correct{background:#e0f7fa!important;color:#00838f!important;box-shadow:0 2px 6px rgb(0 131 143 / .2)!important;transform:none!important;outline:none!important}.hg-option-btn.wrong{background:#ffebee!important;color:#c62828!important;box-shadow:0 2px 6px rgb(198 40 40 / .2)!important;text-decoration:line-through!important;transform:none!important;outline:none!important}.hg-text-input{font-size:2.2em;padding:.2em .5em;text-align:center;border:2px solid #5f4f98;border-radius:8px;width:80%;max-width:420px;font-weight:700;outline:none}.hg-text-input:focus{box-shadow:0 0 0 3px rgb(95 79 152 / .2)}.hg-text-input.correct{background:#e0f7fa;color:#00838f;border-color:#00838f}.hg-text-input.wrong{background:#ffebee;color:#c62828;border-color:#c62828}.hg-feedback{margin-top:1.5em;text-align:center}.hg-feedback-correct{color:#00838f;font-weight:700;font-size:1.5em}.hg-feedback-wrong{color:#c62828;font-weight:700;font-size:1.5em;margin-bottom:.3em}.hg-feedback-forms{font-size:1.8em;color:#444;font-weight:700}.hg-game-footer{margin-top:2em;border-top:1px solid #eee;padding-top:1em}.hg-footer-controls{display:flex;align-items:center;justify-content:center;gap:1.5em;flex-wrap:wrap}.hg-translation-box{color:#888;font-size:1.5em;line-height:1.5;margin-top:1em;text-align:center}.hg-translation-box i{font-family:sans-serif;font-style:italic;color:#888;font-size:.85em}.hg-errors-box{margin-top:1.2em;background:#faf8fc;border:1px solid #e2d9f3;border-radius:8px;padding:.8em 1em}.hg-errors-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5em;font-size:.9em;color:#5f4f98;font-weight:700}.hg-btn-copy{background:#5f4f98;color:#ffffff!important;border:none;border-radius:4px;padding:.3em .8em;font-size:.85em;cursor:pointer;transition:background 0.2s}.hg-btn-copy:hover{background:#f05}.hg-errors-textarea{width:100%;resize:vertical;border:1px solid #d3c7ea;border-radius:6px;padding:.6em;font-size:1.2em;line-height:1.5;background:#fff;color:#333;outline:none;box-shadow:inset 0 1px 3px rgb(0 0 0 / .05)}.hg-level-up-card{background:linear-gradient(135deg,#f5f3fc 0%,#e8e3f7 100%);margin:-2.5em;padding:3.5em 2.5em;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:380px}.hg-level-up-title{color:#5f4f98;font-size:2.2em;font-weight:700;margin-bottom:.4em}.hg-level-up-sub{color:#00838f;font-size:1.6em;font-weight:700}@media (max-width:600px){.hg-welcome-title{font-size:1.4em}.hg-prompt-text{font-size:1.2em}.hg-stacked-item,.hg-target-word{font-size:1.7em}.hg-option-btn{font-size:1.6em;width:100%}.hg-text-input{font-size:1.6em;width:100%}.hg-translation-box{font-size:1.2em}.hg-card{padding:1.5em}.hg-welcome-card{margin:-1.5em;padding:2em 1.5em 1.5em 1.5em}}