*{box-sizing:border-box;margin:0;padding:0}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5}body{background:#0f172a;color:#f8fafc;min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}.app{flex:1;padding:1rem;max-width:600px;margin:0 auto;width:100%}.app__title{text-align:center;font-size:1.5rem;margin-bottom:1rem;color:#38bdf8}.card{background:#1e293b;border-radius:12px;padding:1.5rem;margin-bottom:1rem;border:1px solid #334155}.card__title{font-size:1.25rem;margin-bottom:1rem;color:#22d3ee}.input{width:100%;padding:.75rem;border-radius:8px;border:1px solid #475569;background:#0f172a;color:#f8fafc;font-size:1rem;margin-bottom:.75rem}.btn{width:100%;padding:.875rem;border-radius:8px;border:none;background:#38bdf8;color:#0f172a;font-weight:600;font-size:1rem;cursor:pointer;margin-bottom:.5rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--ghost{background:transparent;border:1px solid #38bdf8;color:#38bdf8}.error{color:#f87171;font-size:.875rem;margin-bottom:.75rem}.status{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.875rem;color:#94a3b8}.status__dot{width:8px;height:8px;border-radius:50%;background:#22c55e}.status--offline .status__dot{background:#ef4444}.app__server{font-size:.75rem;color:#64748b;margin-bottom:1rem}.game{display:flex;flex-direction:column;gap:1rem}.game__hud{display:flex;justify-content:space-between;font-size:.875rem;color:#94a3b8}.game__timer{text-align:center;font-size:2rem;font-weight:700;color:#38bdf8}.game__timer--low{color:#f87171;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.game__question{display:flex;flex-direction:column;align-items:center;gap:.5rem}.game__meaning{font-size:1.25rem;color:#22d3ee;direction:rtl}.game__word{font-size:2rem;font-weight:700;color:#f8fafc;direction:ltr}.game__answers{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.answer-btn{padding:1.25rem;border-radius:12px;border:2px solid #334155;background:#1e293b;color:#f8fafc;font-size:1.5rem;font-weight:700;cursor:pointer;text-transform:uppercase}.answer-btn:disabled{opacity:.6;cursor:not-allowed}.answer-btn--picked{border-color:#38bdf8;background:#0ea5e9}.answer-btn--correct{border-color:#22c55e;background:#22c55e;color:#0f172a}.answer-btn--wrong{border-color:#ef4444;background:#ef4444;color:#f8fafc}.game__feedback{text-align:center;color:#38bdf8;font-size:.875rem}.game__result{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center}.game__result-correct{font-weight:700;color:#22c55e}.game__result-status{font-size:1rem}.game__waiting{color:#94a3b8;font-size:.875rem}.lobby__code{display:flex;justify-content:space-between;margin-bottom:1rem;font-size:.875rem;color:#94a3b8}.lobby__code-value{font-size:1.5rem;font-weight:700;letter-spacing:.125em;color:#38bdf8}.lobby__count{margin-bottom:1rem;font-size:.875rem;color:#94a3b8}.player-list{list-style:none;margin-bottom:1rem}.player-list__item{display:flex;justify-content:space-between;align-items:center;padding:.625rem;border-bottom:1px solid #334155}.player-list__item span{color:#f8fafc}.badge{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;background:#38bdf8;color:#0f172a}.badge--muted{background:#475569;color:#cbd5e1}.lobby__waiting,.lobby__hint{color:#94a3b8;font-size:.875rem;margin-bottom:1rem}.results{display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center}.results__title{font-size:1.5rem;color:#38bdf8}.results__winner{font-size:1.25rem;font-weight:700;color:#22d3ee}.leaderboard{list-style:none;width:100%}.leaderboard__item{display:flex;justify-content:space-between;padding:.5rem;border-bottom:1px solid #334155}.leaderboard__rank{color:#94a3b8}.leaderboard__name{color:#f8fafc}.leaderboard__score{color:#38bdf8;font-weight:600}.results__empty{color:#94a3b8}
