:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:#0a0a0a;color:#fafafa}.game-container{max-width:420px;margin:0 auto;padding:1rem;min-height:100vh;display:flex;flex-direction:column;align-items:center;position:relative}.header{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.header-left,.header-right{display:flex;align-items:center;gap:.75rem}.title{font-size:1.4rem;font-weight:800;letter-spacing:.15em;background:linear-gradient(135deg,#a78bfa,#60a5fa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.level-badge{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:#ffffff73;border:1px solid rgba(255,255,255,.12);padding:.15rem .5rem;border-radius:.25rem}.score{font-size:.95rem;font-weight:600;color:#a78bfa}.mute-btn{background:none;border:1px solid rgba(255,255,255,.15);border-radius:.4rem;font-size:1.1rem;cursor:pointer;padding:.2rem .4rem;line-height:1}.timer-bar{width:100%;height:6px;background:#ffffff14;border-radius:3px;overflow:hidden;margin-bottom:.25rem}.timer-fill{height:100%;border-radius:3px;transition:width 1s linear,background .5s}.timer-text{font-size:.85rem;font-weight:700;font-variant-numeric:tabular-nums;margin-bottom:.5rem}.message{font-size:.85rem;font-weight:600;color:#fbbf24;margin-bottom:.25rem;min-height:1.2rem}.found-words{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-bottom:.25rem;width:100%}.found-word{font-size:.8rem;font-weight:600;letter-spacing:.1em;padding:.25rem .6rem;border-radius:.35rem;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);color:#fff3;transition:all .3s}.found-word.revealed{background:#a78bfa26;border-color:#a78bfa66;color:#a78bfa}.progress-text{font-size:.75rem;color:#ffffff59;margin-bottom:1.25rem}.letter-circle{position:relative;width:260px;height:260px;margin-bottom:1rem}.letter-tile{position:absolute;width:56px;height:56px;border-radius:50%;border:2px solid rgba(255,255,255,.15);background:#ffffff0f;color:#fafafa;font-size:1.3rem;font-weight:700;cursor:pointer;display:grid;place-items:center;transition:all .15s ease;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.letter-tile:hover{background:#ffffff1f;border-color:#ffffff4d;transform:scale(1.08)}.letter-tile.selected{background:linear-gradient(135deg,#7c3aed,#3b82f6);border-color:#a78bfa;transform:scale(1.12);box-shadow:0 0 20px #7c3aed66}.letter-tile:active{transform:scale(.95)}.current-word{font-size:1.3rem;font-weight:700;letter-spacing:.2em;min-height:2rem;color:#ffffffb3;margin-bottom:1rem;text-align:center}.actions{display:flex;gap:.75rem}.btn{padding:.65rem 2rem;border-radius:2rem;border:none;font-size:.95rem;font-weight:700;cursor:pointer;letter-spacing:.05em;transition:all .15s}.btn-clear{background:#ffffff14;color:#ffffffb3;border:1px solid rgba(255,255,255,.12)}.btn-clear:hover{background:#ffffff24}.btn-submit{background:linear-gradient(135deg,#7c3aed,#3b82f6);color:#fff}.btn-submit:hover{opacity:.9;transform:scale(1.03)}.btn-submit:disabled{opacity:.35;cursor:not-allowed;transform:none}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;z-index:10;animation:fadeIn .3s}.overlay-card{background:#16161d;border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:2.5rem 3rem;text-align:center}.win-title{font-size:2rem;font-weight:800;background:linear-gradient(135deg,#4ade80,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem}.lose-title{font-size:2rem;font-weight:800;color:#f87171;margin-bottom:.5rem}.overlay-score{font-size:1.2rem;font-weight:600;color:#ffffffb3;margin-bottom:.25rem}.overlay-bonus{font-size:.9rem;color:#4ade80;margin-bottom:1rem}.overlay-complete{font-size:1rem;color:#fbbf24;font-weight:600}.overlay-actions{margin-top:1rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
