.sl-memory-game{--green: #00ef88;--bg: #f3f9f6;--card-bg: #e8f4ee;--dark: #171717;padding:52px 0;font-family:"Inter",sans-serif;font-size:16px;font-weight:400;line-height:normal;color:var(--dark);text-align:left}.sl-memory-game,.sl-memory-game *,.sl-memory-game *::before,.sl-memory-game *::after{box-sizing:border-box}.sl-memory-game *,.sl-memory-game *::before,.sl-memory-game *::after{margin:0;padding:0}.sl-memory-game :where(p,span,a,i){font-size:inherit;font-weight:inherit;line-height:inherit}.sl-memory-game :where(b,strong){font-weight:bolder}.sl-memory-game :where(h1,h2,h3,h4,h5,h6){line-height:inherit}.sl-memory-game .mem-ico{display:inline-block;flex-shrink:0;width:1em;height:1em;line-height:1}.sl-memory-game .mem-ico svg{display:block;width:100%;height:100%;fill:currentColor}.sl-memory-game .mem-wrap{max-width:1360px;margin:0 auto;padding:0 30px}.sl-memory-game .mem-title{font-size:56px;font-weight:700;line-height:1.08;letter-spacing:-0.02em;text-align:center;color:var(--dark)}.sl-memory-game .mem-lead{max-width:760px;margin:22px auto 0;text-align:center;font-size:19px;line-height:1.5;color:var(--dark)}.sl-memory-game .mem-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);border-radius:40px;padding:17px 30px;font-size:16px;font-weight:600;color:var(--dark);text-decoration:none;letter-spacing:-0.16px;transition:background-color .25s ease,color .25s ease;border:none;cursor:pointer}.sl-memory-game .mem-btn:hover{background:var(--dark);color:#fff}@media(max-width: 768px){.sl-memory-game{padding:45px 0}.sl-memory-game .mem-title{font-size:32px;line-height:1.18}.sl-memory-game .mem-lead{font-size:16px}.sl-memory-game .mem-wrap{padding:0 24px}}.sl-memory-game .mem{max-width:1180px;margin:48px auto 0}.sl-memory-game .mem-bar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:var(--card-bg);border-radius:20px;padding:18px 22px;margin-bottom:18px}.sl-memory-game .mem-prog{flex:1;min-width:220px}.sl-memory-game .mem-prog-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}.sl-memory-game .mem-prog-top b{font-size:15px;font-weight:700;color:var(--dark)}.sl-memory-game .mem-prog-top span{font-size:13.5px;color:var(--dark)}.sl-memory-game .mem-track{height:8px;border-radius:100px;background:#fff;overflow:hidden}.sl-memory-game .mem-fill{display:block;height:100%;width:0;border-radius:100px;background:var(--green);transition:width .45s cubic-bezier(0.4, 0, 0.2, 1)}.sl-memory-game .mem-moves{font-size:13.5px;color:var(--dark);white-space:nowrap}.sl-memory-game .mem-moves b{font-size:19px;font-weight:800;letter-spacing:-0.02em;margin-left:6px}.sl-memory-game .mem-shuffle{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border:none;border-radius:40px;background:var(--dark);font-family:inherit;font-size:14px;font-weight:600;color:#fff;cursor:pointer;transition:background .2s ease}.sl-memory-game .mem-shuffle:hover{background:#000}.sl-memory-game .mem-shuffle .mem-ico{font-size:18px}.sl-memory-game .mem-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px}.sl-memory-game .mem-card{position:relative;height:168px;padding:0;border:none;background:none;font-family:inherit;cursor:pointer;perspective:1000px;outline:none}.sl-memory-game .mem-card:disabled{cursor:default}.sl-memory-game .mem-card:focus-visible{outline:3px solid #00945a;outline-offset:3px;border-radius:18px}.sl-memory-game .mem-inner{display:block;position:relative;width:100%;height:100%;transition:transform .5s cubic-bezier(0.4, 0, 0.2, 1);transform-style:preserve-3d}.sl-memory-game .mem-card.flipped .mem-inner{transform:rotateY(180deg)}.sl-memory-game .mem-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 20px;border-radius:18px;text-align:center;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.sl-memory-game .mem-front{background:#dceae3;transition:background .2s ease}.sl-memory-game .mem-card:hover:not(.flipped):not(.done) .mem-front{background:#cfe3d9}.sl-memory-game .mem-front .badge{width:46px;height:46px;border-radius:14px;background:var(--green);display:flex;align-items:center;justify-content:center}.sl-memory-game .mem-front .badge .mem-ico{font-size:24px;color:var(--dark)}.sl-memory-game .mem-back{transform:rotateY(180deg)}.sl-memory-game .mem-back .lab{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.sl-memory-game .mem-back .txt{font-weight:600}.sl-memory-game .mem-back.term{background:var(--green)}.sl-memory-game .mem-back.term .lab{color:#0b6b43}.sl-memory-game .mem-back.term .txt{font-size:21px;font-weight:800;letter-spacing:-0.02em;color:var(--dark)}.sl-memory-game .mem-back.def{background:#fff}.sl-memory-game .mem-back.def .lab{color:#00945a}.sl-memory-game .mem-back.def .txt{font-size:14px;line-height:1.5;color:var(--dark)}.sl-memory-game .mem-card.done .mem-back{background:#d6f5e6}.sl-memory-game .mem-card.done .mem-back.term .txt{color:var(--dark)}.sl-memory-game .mem-card.done .mem-back::after{content:"";background:var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%2300ef88'%3E%3Cpath d='m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z'/%3E%3C/svg%3E") center/17px 17px no-repeat;position:absolute;top:12px;right:12px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}.sl-memory-game .mem-card.done{cursor:default}.sl-memory-game .mem-win{display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:var(--card-bg);border-radius:24px;padding:28px 30px;margin-top:18px;animation:memIn .35s ease both}@keyframes memIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.sl-memory-game .mem-win[hidden]{display:none}.sl-memory-game .mem-win-ico{width:54px;height:54px;border-radius:18px;background:var(--green);display:flex;align-items:center;justify-content:center;flex-shrink:0}.sl-memory-game .mem-win-ico .mem-ico{font-size:30px;color:var(--dark)}.sl-memory-game .mem-win-txt{flex:1;min-width:240px}.sl-memory-game .mem-win-txt h3{font-size:24px;font-weight:700;letter-spacing:-0.02em;color:var(--dark)}.sl-memory-game .mem-win-txt p{font-size:15.5px;line-height:1.55;color:var(--dark);margin-top:6px}@media(max-width: 1000px){.sl-memory-game .mem-grid{grid-template-columns:repeat(3, minmax(0, 1fr));gap:14px}.sl-memory-game .mem-card{height:160px}}@media(max-width: 768px){.sl-memory-game .mem{margin-top:32px}.sl-memory-game .mem-bar{gap:14px;padding:16px;border-radius:16px}.sl-memory-game .mem-prog{min-width:100%;order:1}.sl-memory-game .mem-moves{order:2}.sl-memory-game .mem-shuffle{order:3;margin-left:auto;padding:10px 18px}.sl-memory-game .mem-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px}.sl-memory-game .mem-card{height:146px}.sl-memory-game .mem-face{padding:14px;gap:8px;border-radius:15px}.sl-memory-game .mem-front .badge{width:40px;height:40px;border-radius:12px}.sl-memory-game .mem-back.term .txt{font-size:17px}.sl-memory-game .mem-back.def .txt{font-size:12.5px;line-height:1.45}.sl-memory-game .mem-win{padding:22px;gap:16px;border-radius:18px}.sl-memory-game .mem-win-txt h3{font-size:20px}.sl-memory-game .mem-win-txt p{font-size:14.5px}}.sl-memory-game--no-header .mem{margin-top:0}