html:has(.mg),body:has(.mg){height:100%;margin:0;overflow:hidden}.mg{display:block;color:var(--mg-brown);font-family:Raleway,sans-serif;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mg *{font-family:inherit;box-sizing:border-box}.mg__stage{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#fff var(--mg-border) no-repeat center}.mg__canvas{position:absolute;left:50%;top:50%;width:1080px;height:1920px;transform:translate(-50%,-50%);transform-origin:center center;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.mg img{-webkit-user-drag:none;pointer-events:none}.mg__screen{position:absolute;top:0;right:0;bottom:0;left:0;display:none;padding:13% 10%}.mg__screen.is-active{display:flex;flex-direction:column;justify-content:center}.mg h1,.mg h2,.mg h3,.mg p{margin:0;font-weight:300}.mg h1{font-size:80px;line-height:1.05;text-align:center;letter-spacing:.02em}.mg .mg__intro-title{font-family:Birthstone,cursive;font-weight:400;font-size:144px}.mg .mg__strong-title{font-weight:900;font-size:70px}.mg .mg__score-title{font-weight:600}.mg h2{margin-top:12px;font-size:50px;font-weight:600;text-align:center}.mg h3{margin:20px 0;font-size:54px;font-weight:900;text-align:center}.mg .mg__lead{font-size:35px;font-weight:400;text-align:center}.mg__centered{text-align:center}.mg__balance{text-wrap:balance}.mg__pill{display:inline-flex;align-items:center;justify-content:center;min-width:220px;padding:22px 90px;border:0;border-radius:999px;cursor:pointer;background:var(--mg-brown);color:#fff;font-size:55px;font-weight:600;box-shadow:0 8px 20px #953e1d2e;transition:transform .08s ease}.mg__pill:active{transform:scale(.98)}.mg__pill--static{cursor:default;margin-top:10px}.mg__grid{width:100%;margin:32px auto 0;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr;gap:30px;justify-items:center;align-items:center}.mg__card-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:180px;height:180px;border-radius:50%;transition:transform .2s ease,opacity .5s ease}.mg__card-wrap:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;border-radius:50%;background:var(--mg-gold);opacity:0;pointer-events:none}.mg__intro .mg__card-wrap{opacity:0;transform:translateY(10px) scale(.9)}.mg__intro .mg__card-wrap.is-visible{opacity:1;transform:none}.mg__card-wrap.is-matched{pointer-events:none}.mg__card-wrap.is-matched:before{animation:mg-ring 2s ease-in-out infinite}.mg__card-wrap.is-matched .mg__face--fruit{animation:mg-fruit 2s ease-in-out infinite}@keyframes mg-ring{0%,to{opacity:0}50%{opacity:1}}@keyframes mg-fruit{0%,to{opacity:.5}50%{opacity:0}}.mg__card{position:relative;z-index:1;width:160px;height:160px;border-radius:50%;perspective:800px;cursor:pointer}.mg__card-inner{position:relative;width:100%;height:100%;border-radius:50%;transform-style:preserve-3d;transition:transform .64s cubic-bezier(.2,.8,.2,1)}.mg__face{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:var(--mg-brown);backface-visibility:hidden}.mg__face--fruit,.mg__card.is-up .mg__card-inner{transform:rotateY(180deg)}.mg__face img{width:70%;height:70%;object-fit:contain}@keyframes mg-flip-front{0%{transform:rotateY(0)}50%{transform:rotateY(180deg)}to{transform:rotateY(360deg)}}@keyframes mg-flip-back{0%{transform:rotateY(180deg)}50%{transform:rotateY(360deg)}to{transform:rotateY(540deg)}}.mg__card-wrap.is-flip-front .mg__card-inner{animation:mg-flip-front 1.6s ease-in-out forwards}.mg__card-wrap.is-flip-back .mg__card-inner{animation:mg-flip-back 1.6s ease-in-out forwards}.mg__spacer-32{height:32px}.mg__spacer-48{height:48px}.mg__header{display:flex;flex-direction:column;align-items:center}.mg__logo{width:230px;height:auto;margin-bottom:50px}.mg__timer{display:inline-flex;align-items:center;justify-content:center;min-width:180px;margin-top:16px;padding:16px 28px;border-radius:999px;background:var(--mg-brown);color:#fff;font-size:66px;font-weight:600;letter-spacing:.02em;box-shadow:0 8px 20px #953e1d2e}.mg__timer.is-running{animation:mg-throb 1.2s ease-in-out infinite}@keyframes mg-throb{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.mg__score{padding-bottom:30%}.mg__bottles{display:flex;gap:140px;justify-content:center;align-items:flex-end;margin:80px 0}.mg__bottles img{width:auto;height:300px}.mg__outcome{margin-top:10px;font-size:82px;font-weight:600;text-align:center}.mg__footnote{position:absolute;left:0;right:0;bottom:180px;font-size:26px;font-weight:400;line-height:1.3;text-align:center}.mg__footnote p{margin:0}.mg__qr{display:block;width:280px;height:280px;margin:24px auto 0;padding:16px;border-radius:24px;background:#fff;object-fit:contain}.mg__qr svg{display:block;width:100%;height:100%}.mg__thanks .mg__strong-title{margin-bottom:50px}.mg__thanks h2{margin-bottom:100px}.mg__thanks .mg__lead{margin-bottom:100px;font-size:48px}.mg__editor-warning{position:fixed;right:16px;bottom:16px;z-index:10;max-width:360px;padding:14px 18px;border:2px solid #b42318;border-radius:12px;background:#fff;color:#000;font-size:14px}.mg__home{position:fixed;top:16px;left:16px;z-index:5;display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 12px;border:1px solid var(--mg-brown);border-radius:999px;background:#fff;color:var(--mg-brown);font-size:14px;font-weight:600;text-decoration:none}.mg__home:hover{background:var(--mg-brown);color:#fff}.mg__home img{width:64px;height:auto}.mg__home:hover img{filter:brightness(0) invert(1)}html[data-quiz-mode=event] .mg__home{display:none}@media(max-width:600px){.mg__home span{display:none}.mg__home{padding:8px 12px}}
/*# sourceMappingURL=/cdn/shop/t/29/assets/memory-game.css.map */
