*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}html,body,#root{height:100%;width:100%;overflow:hidden}body{overflow-x:hidden}body{font-family:Heebo,Arial Hebrew,system-ui,-apple-system,sans-serif;background:linear-gradient(135deg,#1e3c72,#2a5298);color:#fff;direction:rtl}.app{height:100vh;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;text-align:center}.title{font-size:clamp(2.5rem,8vw,5rem);font-weight:900;margin-bottom:1rem;text-shadow:3px 3px 0 rgba(0,0,0,.3)}.subtitle{font-size:1.2rem;opacity:.9;margin-bottom:2rem}.btn{background:#ff6b6b;color:#fff;border:none;padding:.7rem 1.6rem;font-size:1.1rem;font-weight:700;border-radius:999px;cursor:pointer;margin:.4rem;font-family:inherit;box-shadow:0 5px #c44;transition:transform .05s,box-shadow .05s}.btn:active{transform:translateY(4px);box-shadow:0 2px #c44}.btn-secondary{background:#4ecdc4;box-shadow:0 6px #2a8a83}.btn-secondary:active{box-shadow:0 2px #2a8a83}.btn-correct{background:#4ade80;box-shadow:0 6px #16803d}.btn-correct:active{box-shadow:0 2px #16803d}.btn-skip{background:#ef4444;box-shadow:0 6px #991b1b}.btn-skip:active{box-shadow:0 2px #991b1b}.btn-big{font-size:1.4rem;padding:.9rem 2rem}.settings{width:100%;max-width:500px;text-align:right}.settings-scroll{width:100%;overflow-y:auto;padding:0 4px;flex:1 1 0;min-height:0}.settings-screen{width:100%;height:100%;max-width:500px;display:flex;flex-direction:column;align-items:stretch;gap:.5rem;min-height:0}.settings-screen .title{text-align:center;font-size:1.8rem!important;margin:0 0 .25rem;padding:0}.settings-screen .title{margin:0;flex-shrink:0}.settings-screen .actions{flex-shrink:0;padding:10px 0 4px;display:flex;justify-content:center;align-items:center;gap:.5rem;position:sticky;bottom:0}.setting-row{background:#ffffff1a;border-radius:12px;padding:.45rem .75rem;margin-bottom:.35rem;min-width:0;overflow:hidden}.setting-row h3{margin-bottom:.3rem;font-size:.9rem}.chips{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:34px;gap:.3rem}.chip{position:relative;background:#ffffff26;border:2px solid transparent;color:#fff;padding:.3rem .4rem;border-radius:10px;font-size:.85rem;cursor:pointer;font-family:inherit;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.1}.chip.active{background:#ff6b6b;border-color:#fff}.time-buttons{display:flex;gap:.4rem}.time-buttons .chip{flex:1;text-align:center;height:34px}.game-screen{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem}.intro-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0006;z-index:5}.intro-number{font-size:clamp(8rem,30vw,18rem);font-weight:900;color:#ffe66d;text-shadow:6px 6px 0 rgba(0,0,0,.4);animation:introPulse 1s ease-out}@keyframes introPulse{0%{transform:scale(.3);opacity:0}40%{transform:scale(1.2);opacity:1}to{transform:scale(1);opacity:1}}.bg-music{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;border:0}.home-btn{background:#ffffff26;border:none;width:48px;height:48px;border-radius:50%;font-size:1.6rem;cursor:pointer;z-index:10;font-family:inherit}.home-btn:active{background:#ffffff4d}.timer{font-size:2.5rem;font-weight:900;text-align:center;flex:1}.timer.warning{color:#ffe66d}.timer.danger{color:#ff6b6b;animation:pulse .5s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.word-card{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;color:#1e3c72;border-radius:24px;padding:1rem;margin:.75rem 0;box-shadow:0 10px 30px #0000004d;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s;border:8px solid transparent}.word-card.penalty{border-color:#ef4444;box-shadow:0 0 40px #ef4444b3;animation:penaltyShake .4s ease-in-out}.word-card.celebrating{background:linear-gradient(135deg,#ffe66d,#ffb800);border-color:#ffb800;box-shadow:0 0 60px #ffd700e6;animation:goldFlash .7s ease-out}@keyframes goldFlash{0%{transform:scale(1)}30%{transform:scale(1.06)}to{transform:scale(1)}}.confetti-piece{position:absolute;top:-20px;width:18px;height:26px;border-radius:3px;pointer-events:none;animation-name:confettiFall;animation-timing-function:ease-in;animation-fill-mode:forwards}@keyframes confettiFall{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(120vh) rotate(720deg);opacity:.8}}.penalty-overlay{position:absolute;top:1rem;left:50%;transform:translate(-50%);background:#ef4444;color:#fff;padding:.4rem 1.2rem;border-radius:999px;font-size:1.3rem;font-weight:900}@keyframes penaltyShake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.word-card.rolling .word-noun,.word-card.rolling .word-adjective{animation:rollWord 60ms linear infinite;filter:blur(1px);opacity:.85}.word-card.settled{animation:settlePop .35s ease-out}.word-card.settled .word-noun,.word-card.settled .word-adjective{animation:revealWord .35s ease-out}@keyframes rollWord{0%{transform:translateY(-8px)}50%{transform:translateY(0)}to{transform:translateY(8px)}}@keyframes settlePop{0%{transform:scale(.95);box-shadow:0 0 #ffe66d00}40%{transform:scale(1.04);box-shadow:0 0 40px #ffe66db3}to{transform:scale(1);box-shadow:0 10px 30px #0000004d}}@keyframes revealWord{0%{transform:scale(.7);opacity:0}60%{transform:scale(1.1);opacity:1}to{transform:scale(1)}}.word-adjective{font-size:clamp(3rem,12vw,7rem);font-weight:900;color:#ff6b6b;margin-top:.5rem}.word-noun{font-size:clamp(3rem,12vw,7rem);font-weight:900}.game-buttons{display:flex;gap:.75rem}.game-buttons .btn{flex:1;border-radius:16px;padding:1rem .5rem;font-size:1.4rem;margin:0}.score{text-align:center;font-size:1.2rem;margin-bottom:.5rem}.results-list{background:#ffffff1a;border-radius:16px;padding:1rem;margin:1rem 0;max-height:50vh;overflow-y:auto;width:100%;max-width:500px}.result-item{display:flex;justify-content:space-between;padding:.5rem;border-bottom:1px solid rgba(255,255,255,.1);font-size:1.1rem}.result-item.correct{color:#6effa3}.result-item.skipped{color:#ffb86b}.big-score{font-size:4rem;font-weight:900;color:#ffe66d}.team-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.25rem;min-width:0}.team-dot{width:18px;height:18px;border-radius:50%;flex-shrink:0;border:2px solid white}.team-input{flex:1 1 0;min-width:0;width:100%;background:#ffffff26;border:2px solid rgba(255,255,255,.3);color:#fff;padding:.3rem .7rem;border-radius:8px;font-size:.95rem;font-family:inherit;box-sizing:border-box;height:32px}.team-input:focus{outline:none;border-color:#ffe66d}.game-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.25rem .25rem .5rem}.team-badge{padding:.3rem .7rem;border-radius:14px;font-weight:900;z-index:5;color:#1e3c72;display:flex;flex-direction:column;align-items:center;line-height:1.1;min-width:48px}.team-badge-name{font-size:.85rem}.team-badge-round{font-size:.95rem;opacity:.8;margin-top:1px}.scoreboard{width:100%;max-width:500px;background:#ffffff1a;border-radius:16px;padding:1rem;margin:1rem 0}.score-row{display:flex;align-items:center;gap:.75rem;padding:.75rem .5rem;border-bottom:1px solid rgba(255,255,255,.1)}.score-row:last-child{border-bottom:none}.score-name{flex:1;font-size:1.3rem;font-weight:700}.score-num{font-size:2rem;font-weight:900;color:#ffe66d}.version-btn{position:fixed;top:12px;left:12px;display:flex;align-items:center;gap:6px;background:#ffffff1a;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:.75rem;padding:4px 10px;border-radius:999px;cursor:pointer;font-family:inherit}.version-btn:hover{background:#fff3}.version-q{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#ffe66d;color:#1a1a2e;font-weight:900;font-size:.7rem}.changelog-entry ul{padding-right:20px;margin:4px 0}.changelog-entry li{font-size:.9rem;line-height:1.5}.changelog-date{font-size:.75rem;color:#ffffff80;font-weight:400}.home-footer{position:fixed;bottom:12px;left:0;right:0;text-align:center;font-size:.8rem;color:#ffffff80}.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4);padding:8px 18px;font-size:1rem;border-radius:999px;cursor:pointer;margin-bottom:8px}.btn-ghost:hover{background:#ffffff1a}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal{background:#1a1a2e;border:2px solid rgba(255,255,255,.2);border-radius:18px;padding:20px 24px;max-width:480px;width:100%;max-height:85vh;overflow-y:auto;text-align:right;color:#fff;display:flex;flex-direction:column;gap:8px}.modal h3{margin:8px 0 4px;color:#ffe66d;font-size:1.1rem}.modal p,.modal li{margin:0;line-height:1.5;font-size:.95rem}.modal ol{padding-right:20px;margin:4px 0;display:flex;flex-direction:column;gap:4px}.modal .btn{align-self:center;margin-top:12px}
