.abc-game-container{height:100dvh;font-family:var(--font-outfit),"Inter",system-ui,-apple-system,sans-serif;color:#2d3436;box-sizing:border-box;direction:rtl;flex-direction:column;align-items:center;padding:5px;display:flex;overflow:hidden}.game-wrapper-glass{-webkit-backdrop-filter:blur(12px);background:#ffffffb3;border:1px solid #ffffff4d;border-radius:32px;flex-direction:column;justify-content:center;width:100%;max-width:1100px;max-height:100%;margin-top:5px;padding:10px 20px;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 50px #0000001a}header{text-align:center;margin-bottom:1rem}.header-top{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.back-btn-global{color:#6c5ce7;background:#fff;border-radius:12px;padding:.6rem 1.2rem;font-weight:600;text-decoration:none;transition:all .3s;box-shadow:0 4px 12px #0000000d}.back-btn-global:hover{color:#fff;background:#6c5ce7;transform:translate(5px)}h1{color:#6c5ce7;text-shadow:2px 2px 4px #0000000d;margin:0;font-size:2.5rem}.subtitle{color:#ffffffe6;margin-top:.5rem;font-size:1.2rem}.stage-indicator{justify-content:center;gap:.5rem;margin-bottom:1rem;display:flex}.stage-badge{color:#747d8c;background:#f1f2f6;border:1px solid #0000000d;border-radius:50px;padding:.6rem 1.2rem;font-size:.9rem;font-weight:700;transition:all .3s}.stage-badge.active{color:#fff;background:#6c5ce7;transform:scale(1.1);box-shadow:0 4px 15px #6c5ce74d}.stage-badge.completed{color:#00b894;background:#55efc4}.char-main{font-size:2.5rem;font-weight:800}.game-area{animation:.5s fadeIn;display:none}.game-area.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.mode-switcher{justify-content:center;gap:1rem;margin-bottom:2rem;display:flex}.mode-btn{color:#636e72;cursor:pointer;background:#fff;border:none;border-radius:16px;padding:.8rem 1.5rem;font-weight:600;transition:all .3s;box-shadow:0 4px 12px #0000000d}.mode-btn.active{color:#fff;background:#6c5ce7;box-shadow:0 8px 20px #6c5ce74d}.matching-container{flex-direction:column;align-items:center;gap:1.5rem;margin-top:1rem;display:flex}.targets-row,.sources-row{flex-wrap:wrap;justify-content:center;gap:1.5rem;width:100%;display:flex}.match-target{color:#0003;background:#0000000d;border:3px dashed #b2bec3;border-radius:18px;justify-content:center;align-items:center;width:90px;height:90px;font-size:2rem;font-weight:700;transition:all .3s;display:flex}.match-target.drag-over{background:#6c5ce71a;border-color:#6c5ce7;transform:scale(1.1)}.match-target.matched{color:#fff;background:#55efc4;border-style:solid;border-color:#00b894;animation:.5s bounceCorrect}.match-source{color:#fff;cursor:move;touch-action:none;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:18px;justify-content:center;align-items:center;width:80px;height:80px;font-size:2.8em;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 12px #0003}.match-source:active{cursor:grabbing}.match-source.dragging{opacity:.5;transform:scale(.8)}.match-source.wrong{color:#fff;background:#ff7675;animation:.5s shake}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}@keyframes bounceCorrect{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.success-message{text-align:center;z-index:1000;opacity:0;pointer-events:none;background:#fff;border-radius:40px;padding:3rem;transition:all .5s cubic-bezier(.175,.885,.32,1.275);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)scale(.5);box-shadow:0 30px 60px #0003}.success-message.show{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}.success-emoji{margin-bottom:1rem;font-size:5rem;display:block}.success-message h2{color:#6c5ce7;margin-bottom:.5rem;font-size:2.5rem}.confetti{z-index:9999;pointer-events:none;background-color:red;width:10px;height:10px;position:fixed}.score-board{justify-content:center;gap:2rem;margin-bottom:1.5rem;display:flex}.score-item{background:#fff;border-radius:20px;align-items:center;gap:.8rem;padding:.8rem 1.5rem;display:flex;box-shadow:0 4px 15px #0000000d}.score-icon{font-size:1.5rem}.score-value{color:#6c5ce7;font-size:1.4rem;font-weight:800}.screen-overlay{text-align:center;padding:3rem 1rem}.screen-title{color:#6c5ce7;margin-bottom:1rem;font-size:3rem}.screen-subtitle{color:#ffffffe6;margin-bottom:3rem;font-size:1.4rem}.start-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6c5ce7,#a29bfe);border:none;border-radius:24px;padding:1.2rem 3rem;font-size:1.5rem;font-weight:700;transition:all .3s;box-shadow:0 10px 25px #6c5ce766}.start-btn:hover{transform:translateY(-5px);box-shadow:0 15px 35px #6c5ce780}.game-footer{justify-content:center;gap:1rem;margin-top:1rem;display:flex}.footer-btn{color:#636e72;cursor:pointer;background:#fff;border:none;border-radius:16px;padding:.8rem 2rem;font-weight:600;transition:all .3s;box-shadow:0 4px 12px #0000000d}.footer-btn:hover{color:#2d3436;background:#fdcb6e}@media (max-width:600px){h1{font-size:1.4rem}.subtitle{margin-bottom:5px;font-size:.9rem}.stage-badge{padding:4px 10px;font-size:.75rem}.score-item{padding:5px 12px}.score-value{font-size:1.1rem}.match-target{width:60px;height:60px;font-size:1.4rem}.match-source{width:60px;height:60px;font-size:1.8rem}.game-footer{margin-top:10px}.footer-btn{padding:8px 16px;font-size:.9rem}}
