.matchgame{display:grid;width:var(--container-width);height:var(--container-height);min-height:var(--container-height);margin:0;grid-template-columns:repeat(var(--grid-width),1fr);grid-template-rows:repeat(var(--grid-height),1fr);grid-gap:0;--animation-duration:.3s}.matchgame .grid-image{position:relative;overflow:hidden;margin:var(--grid-grip-gap);cursor:pointer;transition:all .3s;opacity:1;border-radius:.5rem}.matchgame .grid-image.cell-revealed{pointer-events:none;opacity:0}.matchgame .grid-image .cover-image{z-index:0}.matchgame .grid-image .cell-image{z-index:1}.matchgame .grid-image img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:1;object-fit:cover}.matchgame .grid-image .cover-image.hidden{transform:rotateY(90deg)}.matchgame .grid-image .cover-image.shown{animation:cover-image-show var(--animation-duration)}.matchgame .grid-image .cover-image.shown.wrong{animation:cover-image-hide-show .6s!important;animation-delay:.3s}.matchgame .grid-image .cell-image.hidden{transform:rotateY(90deg)}.matchgame .grid-image .cell-image.shown{animation:cell-image-show var(--animation-duration)}.matchgame .grid-image .cell-image.hidden.wrong{animation:cell-image-show-hide 1.2s!important}@keyframes cell-reveal {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}@keyframes cover-image-show {
  0% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}@keyframes cover-image-hide-show {
  0% {
    transform: rotateY(90deg);
  }
  50% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}@keyframes cover-image-hide {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}@keyframes cell-image-show {
  0% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}@keyframes cell-image-show-hide {
  0% {
    transform: rotateY(90deg);
  }
  33% {
    transform: rotateY(0deg);
  }
  66% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}@keyframes cell-image-hide {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}.matchgame-timer h2{color:var(--color-timer-stopped)}.matchgame-win,.matchgame-lost{position:fixed;z-index:100;top:730px;left:120px;overflow:visible;width:900px;min-width:900px;height:450px;transition:all .4s;transform:scale(0);opacity:0;box-shadow:0 0 50px rgba(0,0,0,.45)}.matchgame-win.shown,.matchgame-lost.shown{transform:scale(1);opacity:1}.vlx-user-capture-popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10001;opacity:0;visibility:hidden;transition:opacity .3s ease , visibility .3s ease}.vlx-user-capture-popup.show{opacity:1;visibility:visible}.vlx-user-capture-popup .popup-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);cursor:pointer}.vlx-user-capture-popup .popup-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1);background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:15px;box-shadow:0 25px 50px rgba(0,0,0,.4);width:90%;height:65%;padding:30px;transition:transform .3s ease;overflow-y:auto;box-sizing:border-box}.vlx-user-capture-popup.show .popup-content{transform:translate(-50%,-50%) scale(1)}.vlx-user-capture-popup .popup-header{text-align:center;margin-bottom:25px}.vlx-user-capture-popup .popup-header h3{margin:0 0 8px 0;font-size:24px;font-weight:bold}.vlx-user-capture-popup .popup-header p{margin:0;opacity:.9;font-size:16px}.vlx-user-capture-popup .form-group{margin-bottom:20px}.vlx-user-capture-popup .form-group label{display:block;margin-bottom:6px;font-weight:500;font-size:14px}.vlx-user-capture-popup .form-group input{width:100%;padding:12px 15px;border:none;border-radius:8px;font-size:16px;background:rgba(255,255,255,.9);color:#333;transition:background-color .2s ease , box-shadow .2s ease;box-sizing:border-box}.vlx-user-capture-popup .form-group input:focus{outline:none;background:rgba(255,255,255,1);box-shadow:0 0 0 3px rgba(255,255,255,.3)}.vlx-user-capture-popup .form-group input::placeholder{color:#666}.vlx-user-capture-popup .form-actions{display:flex;gap:15px;margin-top:25px}.vlx-user-capture-popup .form-actions button{flex:1;padding:12px 20px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.vlx-user-capture-popup .btn-close{background:rgba(255,255,255,.2);color:#fff;border:2px solid rgba(255,255,255,.3)}.vlx-user-capture-popup .btn-close:hover{background:rgba(255,255,255,.3);border-color:rgba(255,255,255,.5)}.vlx-user-capture-popup .btn-submit{background:#4caf50;color:#fff;border:2px solid #4caf50}.vlx-user-capture-popup .btn-submit:hover{background:#45a049;border-color:#45a049;transform:translateY(-1px);box-shadow:0 4px 12px rgba(76,175,80,.3)}.vlx-user-capture-popup .form-error{background:rgba(244,67,54,.9);color:#fff;padding:10px 15px;border-radius:6px;margin-bottom:15px;font-size:14px;text-align:center;animation:shake .5s ease-in-out}@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}@media (max-width:480px){.vlx-user-capture-popup .popup-content{width:95%;padding:25px 20px}.vlx-user-capture-popup .popup-header h3{font-size:20px}.vlx-user-capture-popup .popup-header p{font-size:14px}.vlx-user-capture-popup .form-actions{flex-direction:column;gap:10px}.vlx-user-capture-popup .form-group input{font-size:16px}}