/* Shared scenes for the landing page and Studio. */
.game-art{height:235px;position:relative;display:flex;align-items:center;justify-content:center;perspective:750px;overflow:hidden;background:#e9ebef;border-bottom:1px solid var(--line)}
.game-art:after{content:'';position:absolute;inset:0;box-shadow:inset 0 -20px 25px -25px #11131a44;pointer-events:none}
.mini-deck{display:grid;grid-template-columns:repeat(3,55px);gap:11px;transform:rotateX(34deg) rotateY(-14deg) rotateZ(-20deg);transform-style:preserve-3d;transition:transform .7s var(--ease);margin-top:18px}
.mini-deck>div{height:63px;background:linear-gradient(145deg,#454b56,#23262d);border:1px solid #555c68;border-radius:7px;display:grid;place-items:center;color:#e1e5eb;box-shadow:0 2px #16191f,0 5px #353944,0 7px #11131a,8px 12px 13px #0d15242b;animation:tilelift 6s ease-in-out infinite;animation-delay:calc(var(--k) * -.8s);animation-play-state:paused}
.mini-deck>div:nth-child(2),.mini-deck>div:nth-child(5){color:#282521;background:linear-gradient(145deg,#ffbc72,#ed8928);box-shadow:0 2px #b86a28,0 5px #bd712c,0 7px #9c5018,8px 12px 13px #0d15242b;border-color:#ffc994}
.mini-deck svg{width:23px;height:23px}
.game-card:hover .mini-deck{transform:rotateX(22deg) rotateY(-9deg) rotateZ(-10deg)}
.in-view .mini-deck>div{animation-play-state:running}
.wheel-art{position:relative;transform:rotateX(22deg) rotateY(-18deg);transform-style:preserve-3d}
.wheel-disc{width:150px;height:150px;border-radius:50%;border:5px solid #aeb3be;outline:1px solid #d0d5dc;background:repeating-conic-gradient(from 0deg,#d9dce0 0deg 44deg,#4c515b 44deg 45deg,#343943 45deg 89deg,#4c515b 89deg 90deg,#ef8c2f 90deg 134deg,#4c515b 134deg 135deg,#30353d 135deg 179deg,#4c515b 179deg 180deg);display:grid;place-items:center;box-shadow:1px 3px #777e89,2px 6px #353a43,3px 9px #606570,5px 14px 24px #0008;animation:wheelspin 18s linear infinite;animation-play-state:paused}
.wheel-disc>span{background:linear-gradient(135deg,#4c535e,#191d24);width:42px;height:42px;border:1px solid #868e9b;border-radius:50%;display:grid;place-items:center;font:600 9px var(--display);color:#d3d9e1;box-shadow:0 4px 9px #0006}
.wheel-art>i{position:absolute;top:-8px;left:calc(50% - 8px);border-top:19px solid #fafbfc;border-left:8px solid transparent;border-right:8px solid transparent;filter:drop-shadow(0 3px 3px #0008)}
.in-view .wheel-disc{animation-play-state:running}
.quiz-art{width:216px;padding:17px;background:#f7f8fa;border:1px solid #adb4bf;border-radius:8px;transform:rotateX(12deg) rotateY(-12deg) rotateZ(-5deg);box-shadow:3px 4px #9da5b2,5px 8px #bfc5ce,12px 17px 20px #121a2430;transition:transform .5s var(--ease);margin-top:15px}
.quiz-art small{font:400 7px var(--mono);color:#66717e}
.quiz-art p{font-size:12px;font-weight:600;line-height:1.5;margin:10px 0}
.quiz-art span{display:block;background:#ebedf2;border:1px solid #ced2da;border-radius:4px;padding:7px;font-size:8px;margin-top:6px}
.quiz-art span.correct{background:#fff0df;border-color:#dc8530;color:#7c370b}
.game-card:hover .quiz-art{transform:rotateX(0) rotateY(0) rotateZ(0)}
.mosaic-art{display:grid;grid-template-columns:repeat(6,24px);gap:4px;transform:rotateX(25deg) rotateZ(-15deg);transform-style:preserve-3d;margin-top:15px}
.mosaic-art i{height:24px;background:#7d858f;border:1px solid #ffffff40;border-radius:2px;box-shadow:0 3px #4c5560,2px 5px 8px #0002;animation:mosaiclight 5s ease-in-out infinite;animation-delay:calc(var(--k)*-.21s);animation-play-state:paused}
.mosaic-art i:nth-child(3n){background:#e88a33;box-shadow:0 3px #a25922,2px 5px 8px #0002}
.mosaic-art i:nth-child(4n){background:#f2f3f6}
.mosaic-art i:nth-child(5n){background:#2e333d}
.in-view .mosaic-art i{animation-play-state:running}
.lights-art{display:flex;gap:12px;padding:16px;background:linear-gradient(#363c45,#161a20);border:1px solid #697180;border-radius:12px;transform:rotateY(-15deg) rotateX(10deg);box-shadow:0 3px #06090e,0 5px #535b69,6px 15px 22px #0007}
.lights-art i{height:23px;width:23px;border-radius:50%;background:radial-gradient(circle at 38% 30%,#ff9b76,#ce3c16 70%);border:2px solid #16191f;box-shadow:0 27px #792518;margin-bottom:27px;animation:startlights 7s infinite;animation-delay:calc(var(--k)*.55s);animation-play-state:paused}
.in-view .lights-art i{animation-play-state:running}
.puzzle-art{display:grid;grid-template-columns:repeat(3,45px);gap:4px;transform:rotateX(35deg) rotateZ(-24deg);transform-style:preserve-3d}
.puzzle-art i{height:45px;background:#dfe3e9;border:1px solid #ffffff9c;border-radius:3px;box-shadow:0 3px #9da7b7,0 6px #7f8999,8px 11px 15px #0002;font:400 8px var(--mono);display:grid;place-items:center}
.puzzle-art i:nth-child(3n){background:#f19136;box-shadow:0 3px #c27330,0 6px #ab5c1e}
.puzzle-art i:nth-child(3){transform:translate3d(14px,-10px,22px);transition:transform .5s var(--ease)}
.puzzle-art i:nth-child(7){transform:translate3d(-8px,7px,8px);transition:transform .5s var(--ease)}
.game-card:hover .puzzle-art i{transform:none}
.emblem-art{width:118px;height:118px;display:grid;place-items:center;border:1px solid #6b7484;border-radius:18px;color:#e8ebee;background:linear-gradient(135deg,#414854,#232933);box-shadow:0 3px #111a26,0 7px #8c96a3,0 10px #49515e,12px 18px 20px #0003;transform:rotateX(27deg) rotateY(-22deg) rotateZ(-12deg);transition:transform .5s var(--ease)}
.emblem-art svg{width:48px;height:48px}
.game-card:hover .emblem-art{transform:rotateX(10deg) rotateY(-5deg) rotateZ(0)}
@media(max-width:900px){.game-art{height:200px}
.quiz-art{width:180px}
.quiz-art p{font-size:11px}
.quiz-art span{font-size:7px}}
@media(max-width:760px){.game-art{height:215px}}
@media(max-width:430px){.game-art{height:235px}
.quiz-art{width:216px}
.quiz-art p{font-size:12px}
.quiz-art span{font-size:8px}}
/* Catalog gameplay previews: restrained motion, active only while the art is visible. */
.preview{position:relative;width:min(250px,80%);height:145px;display:flex;align-items:center;justify-content:center;color:#e9edf2}.game-art:has(.preview){background:#191c23;color:#eef0f4}.preview-kicker{position:absolute;top:0;left:0;font:400 7px var(--mono);letter-spacing:.09em;color:#a6adba}.preview small{font:400 7px var(--mono);letter-spacing:.06em;color:#a6adba}.preview i{font-style:normal}.preview *{animation-play-state:paused!important}.game-art.in-view .preview *{animation-play-state:running!important}
.guess-preview{align-items:flex-end;justify-content:space-between;padding:30px 18px 15px}.guess-object{width:76px;height:83px;position:relative;border-radius:22px 22px 17px 17px;background:linear-gradient(145deg,#ffb466,#d86913);box-shadow:0 6px #9b4d14,0 12px 19px #0007;animation:guess-bob 3.4s ease-in-out infinite}.guess-object:before{content:'';position:absolute;width:58px;height:20px;left:9px;top:-7px;border-radius:8px 8px 3px 3px;background:#ffcb8b;box-shadow:0 3px #bc712d}.guess-object i{position:absolute;left:26px;top:-18px;width:24px;height:14px;border:3px solid #f5a354;border-bottom:0;border-radius:8px 8px 0 0}.guess-object b{position:absolute;inset:18px 0 auto;text-align:center;font:600 30px var(--display);color:#42250f}.guess-clues{display:flex;gap:7px}.guess-clues i{display:grid;place-items:center;width:29px;height:34px;border:1px solid #545c69;border-radius:5px;background:#272c35;color:#f4a24e;font:500 15px var(--mono);animation:clue-pop 2.7s ease-in-out infinite;animation-delay:calc(var(--k)*.25s)}.guess-clues i:nth-child(2){--k:1}.guess-clues i:nth-child(3){--k:2}
.reflex-preview{width:190px;height:145px;border-radius:50%;background:radial-gradient(circle,#292e38 0 45%,transparent 46%);display:grid;place-items:center}.reflex-target{width:76px;height:76px;display:grid;place-items:center;border:1px solid #f38a24;border-radius:50%;box-shadow:0 0 0 12px #f38a2414,0 0 0 26px #f38a240a;color:#ffad60;animation:target-pulse 2.2s ease-out infinite}.reflex-target i{position:absolute;width:10px;height:10px;border-radius:50%;background:#f38a24;box-shadow:0 0 17px #f38a24}.reflex-target b{position:absolute;margin-top:49px;font:400 7px var(--mono)}.reflex-pulse{position:absolute;width:112px;height:112px;border:1px solid #f38a24;border-radius:50%;animation:sonar 2.2s ease-out infinite}
.match-preview{flex-direction:column;gap:17px}.match-pair{display:flex;gap:14px}.match-pair i{width:58px;height:63px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#454c58,#282d36);border:1px solid #777f8c;color:#ffad60;font-size:24px;box-shadow:0 4px #16191f,0 8px 12px #0005;animation:match-slide 3s ease-in-out infinite}.match-pair i+i{animation-delay:.2s}.match-check{position:absolute;right:23px;bottom:7px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ff9a3d;color:#171a20;font:600 12px var(--mono);animation:check-pop 3s ease-in-out infinite}
.timeline-preview{flex-direction:column;gap:26px}.timeline-line{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;height:20px;border-bottom:2px solid #767f8c}.timeline-line i{width:9px;height:9px;border-radius:50%;background:#aab2bf;border:2px solid #282d35;box-shadow:0 0 0 1px #aab2bf}.timeline-line i:nth-child(2){background:#f38a24;box-shadow:0 0 0 1px #f38a24}.timeline-line b{position:absolute;right:-3px;top:-17px;display:grid;place-items:center;width:27px;height:30px;background:#343a45;border:1px solid #f38a24;border-radius:4px;color:#ffad60;font:500 14px var(--mono);animation:timeline-drift 3.8s ease-in-out infinite}.timeline-years{display:flex;justify-content:space-between;width:100%;font:400 7px var(--mono);color:#a6adba}
.snake-preview{flex-direction:column;gap:8px}.snake-grid{display:grid;grid-template-columns:repeat(5,24px);grid-auto-rows:19px;gap:3px;padding:8px;background:#222731;border:1px solid #424a57;border-radius:6px}.snake-grid i{display:grid;place-items:center;border:1px solid #343b46;border-radius:2px;color:#ffbb76;font-size:11px}.snake-grid .snake-body{background:#e98a32;border-color:#ffc178;box-shadow:0 2px #9f551d}.snake-grid .snake-head{background:#ffc178;color:#41230e;animation:snake-glide 3.8s steps(4,end) infinite}.snake-grid .snake-food{color:#ff9c4d;animation:food-blink 1.3s ease-in-out infinite}
.spot-preview{flex-direction:column;gap:12px}.spot-pictures{display:flex;gap:12px}.spot-pictures>span{position:relative;width:77px;height:79px;display:grid;place-items:center;background:linear-gradient(145deg,#dde1e7,#9fa8b5);border:1px solid #f7f8fa;border-radius:4px;color:#f38a24;font-size:29px;box-shadow:0 5px #7b8492}.spot-pictures>span:after{content:'';position:absolute;left:15px;right:15px;bottom:12px;height:18px;border-radius:50% 50% 3px 3px;background:#646d79}.spot-pictures>span+span{transform:scaleX(-1)}.spot-pictures>span i{position:absolute;top:12px;left:15px;width:8px;height:8px;border-radius:50%;background:#303641}.spot-pictures>span+span i{left:auto;right:15px;top:31px}.spot-pictures em{position:absolute;width:25px;height:25px;border:2px solid #f28a2e;border-radius:50%;left:122px;top:34px;animation:spot-mark 2.8s ease-in-out infinite}
.crossword-preview{flex-direction:column;align-items:flex-start;gap:9px}.crossword-grid{display:grid;grid-template-columns:repeat(8,22px);grid-auto-rows:22px;gap:2px}.crossword-grid i{display:grid;place-items:center;border:1px solid #697381;background:#292f39;color:#ffb269;font:500 9px var(--mono);animation:letter-in 3s ease-in-out infinite;animation-delay:calc(var(--k)*.13s)}.crossword-grid i:nth-child(2){--k:1}.crossword-grid i:nth-child(3){--k:2}.crossword-grid i:nth-child(4){--k:3}.crossword-grid i:nth-child(5){--k:4}.crossword-grid i:nth-child(6){--k:5}.crossword-grid i:nth-child(7){--k:6}.crossword-grid i:nth-child(8){--k:7}.crossword-grid .crossword-filled{background:#f4a050;color:#24180e;border-color:#ffc481}.crossword-clue{font:400 7px var(--mono);color:#abb2bf}
.show-preview{flex-direction:column;gap:13px}.show-lights{display:flex;gap:12px}.show-lights i{width:19px;height:19px;border-radius:50%;background:#782b1d;border:2px solid #101319;box-shadow:0 0 0 2px #515966;animation:startlights 3.7s infinite;animation-delay:calc(var(--k)*.3s)}.show-buzzer{position:absolute;right:30px;top:43px;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 36% 30%,#ffbc71,#df7016 70%);border:2px solid #ffd19e;color:#7f390c;font-size:13px;box-shadow:0 4px #8f470f,0 7px #343a44;animation:buzzer-press 3.7s ease-in-out infinite}.show-caption{font:400 7px var(--mono);letter-spacing:.09em;color:#c1c6cf}
.quote-preview{justify-content:flex-start;gap:12px;padding:18px 12px;border:1px solid #555e6c;border-radius:9px;background:linear-gradient(135deg,#292e37,#1e222a);box-shadow:0 7px #11141a,8px 12px 16px #0004}.preview-quote-mark{align-self:flex-start;color:#f39a42;font:600 55px/.8 Georgia,serif}.quote-preview>div{display:flex;flex-direction:column;gap:8px}.quote-preview b{font:500 16px/1.25 var(--display);letter-spacing:-.03em;color:#f2f3f5;animation:quote-reveal 4s ease-in-out infinite}.quote-preview small{font-size:6px}
.personality-preview{flex-direction:column;align-items:stretch;gap:10px}.personality-answers{display:grid;gap:5px}.personality-answers i{padding:6px 9px;border:1px solid #454d59;border-radius:4px;background:#252a33;color:#d9dee5;font:400 8px var(--body)}.personality-answers i:nth-child(2){border-color:#ef9745;background:#352a20;color:#ffd09d;animation:answer-select 3.8s ease-in-out infinite}.personality-meter{height:5px;background:#3c434e;border-radius:5px;overflow:hidden}.personality-meter i{display:block;height:100%;width:68%;background:linear-gradient(90deg,#e77f24,#ffc078);transform-origin:left;animation:meter-fill 3.8s ease-in-out infinite}
.scratch-preview{flex-direction:column;gap:9px}.scratch-ticket{position:relative;width:120px;height:76px;display:grid;place-items:center;background:linear-gradient(135deg,#ffbd75,#e77d22);border:1px solid #ffd19c;border-radius:7px;box-shadow:0 5px #a65315,0 11px 16px #0005;overflow:hidden}.scratch-ticket b{font-size:25px;color:#602f0e}.scratch-ticket span{position:absolute;font:600 25px var(--display);color:#7d390c}.scratch-ticket i{position:absolute;inset:0;background:repeating-linear-gradient(135deg,#d7dbe0 0 7px,#adb4bf 7px 14px);border:1px solid #f5f6f7;transform:translateX(0);animation:scratch-reveal 4.5s ease-in-out infinite}.scratch-preview>small{letter-spacing:.1em}
.battle-preview{flex-direction:column;gap:9px}.battle-options{display:flex;align-items:center;gap:8px}.battle-options>i{width:91px;height:83px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #59616e;border-radius:7px;background:linear-gradient(145deg,#303641,#222730);color:#aeb5c1;font:400 7px var(--mono);box-shadow:0 4px #11141a;animation:battle-choice 4.2s ease-in-out infinite}.battle-options b{font-size:20px;color:#e6a45d}.battle-options small{font:400 7px var(--body);color:#d8dce2}.battle-options>span{font:500 8px var(--mono);color:#f39a42}.battle-votes{display:flex;gap:8px;width:190px}.battle-votes i{height:3px;flex:1;background:#616b79;border-radius:3px}.battle-votes i:first-child{background:#f38a24;transform-origin:left;animation:vote-pulse 4.2s ease-in-out infinite}
.hunt-preview{flex-direction:column;gap:8px}.hunt-map{position:relative;width:220px;height:105px;border:1px solid #4b5360;border-radius:7px;background-color:#252b34;background-image:linear-gradient(30deg,transparent 48%,#39414d 49% 51%,transparent 52%),linear-gradient(150deg,transparent 48%,#333b47 49% 51%,transparent 52%);overflow:hidden}.hunt-map svg{position:absolute;inset:0;width:100%;height:100%}.hunt-map path{fill:none;stroke:#ef963e;stroke-width:2;stroke-dasharray:7 5;animation:route-dash 3s linear infinite}.hunt-map>i{position:absolute;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#e98a32;color:#21170e;font:500 8px var(--mono);box-shadow:0 0 0 4px #ed923522}.hunt-map>i:nth-of-type(1){left:16px;bottom:15px}.hunt-map>i:nth-of-type(2){left:92px;top:21px;animation:checkpoint 2.5s ease-in-out infinite}.hunt-map>i:nth-of-type(3){right:23px;top:12px;background:#414955;color:#d2d8e0}.hunt-map>b{position:absolute;right:13px;bottom:12px;color:#ffc17e;font-size:17px}.hunt-preview>small{align-self:flex-end;font-size:6px}
@keyframes guess-bob{50%{translate:0 -6px;rotate:2deg}}@keyframes clue-pop{0%,70%,100%{translate:0 0}78%{translate:0 -5px;box-shadow:0 5px #f38a2466}}@keyframes target-pulse{50%{scale:1.09;box-shadow:0 0 0 18px #f38a2417,0 0 0 36px #f38a240c}}@keyframes sonar{0%{scale:.7;opacity:.7}100%{scale:1.5;opacity:0}}@keyframes match-slide{0%,18%,82%,100%{translate:0 0}40%,60%{translate:0 -5px}}@keyframes check-pop{0%,65%,100%{scale:.65;opacity:.2}78%,92%{scale:1;opacity:1}}@keyframes timeline-drift{0%,20%{translate:0 0}70%,100%{translate:-148px 0}}@keyframes snake-glide{100%{translate:27px 0}}@keyframes food-blink{50%{opacity:.4;scale:.72}}@keyframes spot-mark{0%,25%,100%{scale:.7;opacity:.4}55%,75%{scale:1.2;opacity:1}}@keyframes letter-in{0%,25%,100%{opacity:.55}45%,75%{opacity:1}}@keyframes buzzer-press{0%,55%,100%{translate:0 0;box-shadow:0 4px #8f470f,0 7px #343a44}68%,84%{translate:0 3px;box-shadow:0 1px #8f470f,0 3px #343a44}}@keyframes quote-reveal{0%,12%,85%,100%{opacity:.45;translate:0 3px}28%,75%{opacity:1;translate:0 0}}@keyframes answer-select{0%,25%,100%{border-color:#454d59;background:#252a33}42%,82%{border-color:#ef9745;background:#352a20}}@keyframes meter-fill{0%,20%{scaleX:.18}65%,100%{scaleX:.68}}@keyframes scratch-reveal{0%,15%{translate:0 0}58%,78%,100%{translate:105% 0}}@keyframes battle-choice{0%,30%,100%{border-color:#59616e;translate:0 0}44%,73%{border-color:#ef9745;translate:0 -3px;box-shadow:0 7px #11141a,0 0 0 2px #ef974533}}@keyframes vote-pulse{0%,35%,100%{scaleX:.34}60%,78%{scaleX:.78}}@keyframes route-dash{to{stroke-dashoffset:-24}}@keyframes checkpoint{50%{box-shadow:0 0 0 8px #ed923522,0 0 16px #ef963e}}
@media(prefers-reduced-motion:reduce){.game-art.in-view .preview *{animation:none!important}.game-art.in-view .scratch-ticket i{translate:55% 0}.game-art.in-view .timeline-line b{translate:-74px 0}}
@media(max-width:700px){.preview{transform:scale(.92)}.battle-options>i{width:84px}.hunt-map{width:min(220px,100%)}.crossword-grid{grid-template-columns:repeat(8,20px);grid-auto-rows:20px}}
html.motion-paused .game-art .preview *,html.page-hidden .game-art .preview *{animation-play-state:paused!important}

/* Snake moves as one grid-bound body; Układanka slides one adjacent tile into its vacancy. */
.snake-preview{height:156px;gap:5px}.snake-grid{--step:22px;position:relative;display:block;width:calc(var(--step)*6 + 16px);height:calc(var(--step)*4 + 16px);padding:8px;border:1px solid #46505d;border-radius:7px;background-color:#202630;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:var(--step) var(--step);box-shadow:inset 0 1px #ffffff12,0 5px #12151b}.snake-piece,.snake-food{position:absolute;left:8px;top:8px;width:var(--step);height:var(--step);display:block;border:1px solid #202630;border-radius:6px;transform:translate(var(--x),var(--y)) rotate(var(--turn,0deg));transition:transform .34s linear,background-color .18s,border-radius .18s;z-index:1}.snake-piece.snake-body{background:linear-gradient(145deg,#9ccf6c,#5d9e48);box-shadow:inset 0 1px #d6f2a866,0 1px 2px #0005}.snake-piece.snake-head{z-index:2;background:linear-gradient(145deg,#d1f18c,#8ebf57);border-radius:7px;color:transparent}.snake-piece.snake-head:before,.snake-piece.snake-head:after{content:'';position:absolute;right:4px;width:3px;height:3px;border-radius:50%;background:#273b20}.snake-piece.snake-head:before{top:5px}.snake-piece.snake-head:after{bottom:5px}.snake-food{z-index:0;border:0;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#ffd58d,#f28a2e 58%,#bd5018);box-shadow:0 0 0 3px #f38a2424,0 0 12px #f38a2466;animation:snake-fruit 1.6s ease-in-out infinite}.snake-food:before{content:'';position:absolute;top:-2px;right:3px;width:7px;height:4px;border-radius:100% 0;background:#9bc76e;rotate:-25deg}.snake-score{font:400 6px var(--mono)!important;letter-spacing:.12em;color:#aeb7c3!important}
.slide-puzzle{position:relative;width:220px;height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#333943}.slide-puzzle .preview-kicker{left:50%;top:-14px;transform:translateX(-50%);white-space:nowrap;color:#626975}.slide-board{--tile:39px;display:grid;grid-template-columns:repeat(3,var(--tile));grid-template-rows:repeat(3,var(--tile));gap:4px;padding:7px;border:1px solid #bec5cf;border-radius:8px;background:linear-gradient(145deg,#e3e7ec,#c8ced7);box-shadow:0 4px #a7afbb,0 9px 15px #151a222b;perspective:500px}.slide-tile{display:grid;place-items:center;border:1px solid #e4e8ed;border-radius:5px;background:linear-gradient(145deg,#f9fafb,#d6dce4);box-shadow:0 2px #9ca6b3,0 4px #818b98,0 5px 7px #2d36421c;color:#424a55;font:500 8px var(--mono);font-style:normal;will-change:transform;transition:transform .34s cubic-bezier(.22,1,.36,1);z-index:1}.slide-tile.tile-2,.slide-tile.tile-4,.slide-tile.tile-6,.slide-tile.tile-8{background:linear-gradient(145deg,#ffb766,#e98223);border-color:#ffd19d;color:#58300d;box-shadow:0 2px #c56b1b,0 4px #a85313,0 5px 7px #2d36421c}.slide-tile.tile-5{background:linear-gradient(145deg,#454d59,#272c34);border-color:#6a7380;color:#f4a14a;letter-spacing:.03em}.slide-tile.is-moving{z-index:3}.slide-empty{display:block;width:var(--tile);height:var(--tile);border:1px dashed #9ca5b1;border-radius:5px;background:repeating-linear-gradient(135deg,#bfc6d0 0 4px,#d2d7de 4px 8px);box-shadow:inset 0 1px 4px #6d778533}.slide-puzzle>small{font:400 6px var(--mono);letter-spacing:.07em;color:#68717e}
@keyframes snake-fruit{50%{scale:.8;box-shadow:0 0 0 5px #f38a2425,0 0 16px #f38a2488}}
html.motion-paused .snake-piece,html.page-hidden .snake-piece{transition:none!important}html.motion-paused .slide-tile,html.page-hidden .slide-tile{transition:none!important}
@media(prefers-reduced-motion:reduce){.snake-piece,.snake-food,.slide-tile{animation:none!important;transition:none!important}}
@media(max-width:700px){.snake-grid{--step:20px}.slide-puzzle{transform:scale(.94)}}
.studio-game-art{--display:Studio,system-ui,sans-serif;--body:Studio,system-ui,sans-serif;--mono:ui-monospace,monospace;--ease:cubic-bezier(.2,.8,.2,1);height:118px;min-height:0;position:relative;display:grid;place-items:center;overflow:hidden;background:#191c23;color:#eef0f4;border-radius:8px;box-shadow:inset 0 -2px var(--color,#ef8a35)}.studio-game-art.in-view .preview *{animation-play-state:running}.template-thumb{height:76px;margin:0 0 8px;border-radius:6px}.template-thumb .preview{scale:.72}.template-thumb .slide-puzzle{scale:.65}.template-thumb .game-art{height:100%}.studio-game-art .preview{animation-play-state:running}
.game-art:not(.in-view) *, .studio-game-art:not(.in-view) *{animation-play-state:paused!important}
html.motion-paused .game-art *,html.motion-paused .studio-game-art *,html.page-hidden .game-art *,html.page-hidden .studio-game-art *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.game-art *, .studio-game-art *{animation:none!important;transition:none!important}}
